Auto Scroll on Multiple Chats

Created at 19 May 2020, 21:20
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
EY

eynt

Joined 08.05.2020

Auto Scroll on Multiple Chats
19 May 2020, 21:20


When I scroll a chart right or left I want the other charts (at least the same symbol charts) to automatically scroll to the same date. Is that  possible?

 

Thanks


@eynt
Replies

PanagiotisCharalampous
20 May 2020, 08:46

Hi Yuval,

In principle it is possible if you develop an indicator like Sync Objects which would sync the scrolling instead.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

eynt
20 May 2020, 10:57

RE:

Hello

 

I don't know how to apply the change from drawing objects to scrolling a bar. Can you please provide with a code sample?


@eynt

PanagiotisCharalampous
20 May 2020, 11:09

Hi Yuval,

You can use ScrollXBy or ScrollXTo to scroll a chart.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

eynt
22 May 2020, 12:14

RE:

Thank you

 

Unfortuanatlly I did not completly understood the way the SyncObjectsInstance works and therefor do not know how to add the ScrollXBy/ScrollXTo. Perhaps you show me the modifications I need to add to the SyncObjectsInstance itself so it not only sync objects but scrolling as well. I'm pretty sure it's a small change and I could take if from there.

 


@eynt

PanagiotisCharalampous
25 May 2020, 08:28

Hi Yuval,

It is not a simple change, therefore you will need to figure it out your self of outsource it to a professional.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous