See attached :
– the value of the ADX in the timeframe 4hours (on the left) is different from the calculated 4h ADX indicator under the 15min timeframe
the code is quite simple
1
2
3
timeframe(4hours,default)
a1=adx[8]
return
The variable “8” is the same in both timeframes, and it seems, according to the “steps” under the 15min timeframe that the indicator follows the same 4h period.
How to get the correct version of ADX 4h in the 15min timeframe ?
Thank you a lot.
Sorry, I have however read (too quickly obviously) this topic….
so the answer would be, as per Nicolas :
Expand the units displayed of the 5-minutes TF chart, in order to get the necessary data to calculate the historical volatility of the daily timeframe.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.