Issue
This Content is from Stack Overflow. Question asked by user18600191
Im trying to use a 10min indicator to calculate a condition for a 2 min Chart
Currently im using:
//Get 10min RSI and RSIMA
RSI = request.security(syminfo.tickerid, "10", ta.rsi(close,14))
RSIMA = request.security(syminfo.tickerid, "10", ta.rma(close,50))
//RSI 10 min Conditions
RSIUP = RSIMA > RSI
RSIDOWN = RSI < RSIMA
and the indicator timeframe is 2min.
when the full condition is calculated it doesn’t take the 10min timeframe into consideration.
Is there a way to make it work?
Solution
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.