I would like to access to higher timeframes OHLC and ema values on lower timeframe to generate support and resistance levels based on the past.
But... for example if I'm on 60 timeframe, it can look back on the 1D chart until the time of the first candle of the actual 60 chart...
This is ridiculous. Is there any solution if I want to use the full scope of the higher timeframe?
I tried accessing the bar_index series of the D1 chart, but nothing useful.. It goes until the first candle of the actual timeframe, nothing before.
Thank you in advance
I would like to access to higher timeframes OHLC and ema values on lower timeframe to generate support and resistance levels based on the past.
But... for example if I'm on 60 timeframe, it can look back on the 1D chart until the time of the first candle of the actual 60 chart...
This is ridiculous. Is there any solution if I want to use the full scope of the higher timeframe?
I tried accessing the bar_index series of the D1 chart, but nothing useful.. It goes until the first candle of the actual timeframe, nothing before.
Thank you in advance
Share Improve this question edited Jan 18 at 16:41 marc_s 756k184 gold badges1.4k silver badges1.5k bronze badges asked Jan 18 at 11:30 morlacmorlac 11 bronze badge1 Answer
Reset to default 0No, there is no other way. This is how the execution model is. Your script will be executed on each bar starting from the very first bar on your chart and you will only have access to the available information on that specific bar.