Last Visible Date Time

Created at 23 Jan 2021, 13:38
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!
CT

cTKit

Joined 15.09.2016

Last Visible Date Time
23 Jan 2021, 13:38


A cTrader user is able to drag the small count down at the bottom of the chart to shift the chart to create space after the last bar rendered.  To facilitate creating indicators that stick to the right edge of the chart I would like the automation API to provide developers with a LastVisibleDateTime property and an event that notifies us when the user has shifted the chart.


cTrader Automate
@cTKit
Replies

Shares4UsDevelopment
22 Feb 2022, 12:30

RE:

cTKit said:

A cTrader user is able to drag the small count down at the bottom of the chart to shift the chart to create space after the last bar rendered.  To facilitate creating indicators that stick to the right edge of the chart I would like the automation API to provide developers with a LastVisibleDateTime property and an event that notifies us when the user has shifted the chart.

Bars[Chart.LastVisibleBarIndex).OpenTime

or

Chart.DrawStaticText();
 


@Shares4UsDevelopment