multiple time frames
I would like to find out how to synchronize getCurrentBarIndex() between different time frames. eSignal does it in advanced charts: when you move the time cursor (vertical line) in one time frame the time cursors in other charts with different time frames also move, and their movement is synchronized.
My question is how to map active Bar numbers in different time frames. For example, I can access data in a weekly chart from a daily chart. But if I look, for example, at bar -12 in a daily chart, the corresponding bar number in the weekly chart is not -12, but something else. If there is a way to map current bar numbers between charts in different time frames?
dtrosty
I would like to find out how to synchronize getCurrentBarIndex() between different time frames. eSignal does it in advanced charts: when you move the time cursor (vertical line) in one time frame the time cursors in other charts with different time frames also move, and their movement is synchronized.
My question is how to map active Bar numbers in different time frames. For example, I can access data in a weekly chart from a daily chart. But if I look, for example, at bar -12 in a daily chart, the corresponding bar number in the weekly chart is not -12, but something else. If there is a way to map current bar numbers between charts in different time frames?
dtrosty