Hello. I have an indicator, all data is taken through request.security, but when the timeframe changes, the data changes, how is it if the data is invited the same through request.security?
Welcome to the BEST forum for traders
Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".
Hello. I have an indicator, all data is taken through request.security, but when the timeframe changes, the data changes, how is it if the data is invited the same through request.security?
Hello there
Looks like a repainting issue
You should get the non-realtime data as explained in the article below
https://www.tradingview.com/pine-script-reference/v5/#fun_request{dot}security
s2=request.security(syminfo.tickerid, "D", close[1], barmerge.gaps_off, barmerge.lookahead_on)