DEFPARAM CalculateOnLastBars=1000
IF OpenMinute MOD 15 = 0 THEN
HH = high
LL = low
ENDIF
HH = max(HH,high)
LL = min(LL,low)
RETURN HH AS “High”,LL AS “Low”
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.
https://www.prorealcode.com/topic/15-min-high-low-range-on-1-min-chart/#post-106457
DEFPARAM CalculateOnLastBars=1000
IF OpenMinute MOD 15 = 0 THEN
HH = high
LL = low
ENDIF
HH = max(HH,high)
LL = min(LL,low)
RETURN HH AS “High”,LL AS “Low”