Hi, how do I reference the RSI (14 period) of a 15 minute chart from a 5 minute chart?
I know you can use the TIMEFRAME feature on the scanner but is there something similar when back testing or creating an indicator?
Many thanks,
this i something that could help you… it is on pivot points but you can modify it with any indicators. With this code you see the indicator of 1 hour period in 5 minute timeframe
once i =0
once x =0
if minute = 0 then
i=0
Massimo = high[0]
while i<12
if high[i+1]>Massimo then
Massimo = high[i+1]
endif
i=i+1
wend
endif
if minute = 0 then
x=0
Minimo = low[0]
while x<12
if low[x+1]<Minimo then
Minimo = low[x+1]
endif
x=x+1
wend
endif
if minute = 0 then
chiusura = close[0]
endif
//return Massimo as "Massimo", Minimo as "Minimo", chiusura coloured(0,0,255) as "Chiusura"
PP = (massimo+minimo+chiusura)/3
Res1 = (2*PP) - minimo
Sup1 = (2*PP) - massimo
Res2 = PP + (Res1 - Sup1)
Sup2 = PP - (Res1 - Sup1)
return PP[1] coloured(0,0,255), Res1[1] coloured(0,255,0), Sup1[1] coloured(255,0,0), Res2[1], Sup2[1]
Hi,
Thanks for sending over the code. I’m new to coding and this makes no sense to me. I hope someone can show me the exact code.
Many thanks
Hi TraderArun, unfortunately, multitimeframe indicators are still not available, but this feature will be part of a next major version of the platform.