最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

performance - Accessing data of a higher timeframe in full scope - Stack Overflow

programmeradmin1浏览0评论

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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

No, 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.

发布评论

评论列表(0)

  1. 暂无评论