Scrolling multiple charts together

Back to topics list To post a new topic, please log in or register
avatar
186
Yellowbeard 2016.04.27 17:17
 

Is there a way to scroll multiple charts at the same time, from the same point, on each chart?


Thanks!



avatar
1109
Ovo 2016.04.27 17:22 #
 

Sure, there is a way. You have ChartNavigate() function to move your chart to a location.

 

avatar
186
Yellowbeard 2016.04.27 17:33 #
 
This would work for scrolling charts, of different pairs, together, at the same time?  So that I can see how price moves in each, relative to each other.
avatar
1109
Ovo 2016.04.27 18:50 #
 
Yellowbeard:
This would work for scrolling charts, of different pairs, together, at the same time?  So that I can see how price moves in each, relative to each other.

The function scrolls any chart, implementing of the synchronization needs some work.

I have an indicator on every chart which scrolls together. Then I use OnChartEvent to detect a chart move, and a custom event for broadcasting the location in focus. The indicators on the other charts receive the event and call the above function to advance to the location.

But I can imagine you could have only a single indicator, which scrolls all the visible charts altogether. 

avatar
12995
Back to topics list  

To add comments, please log in or register