Last TimeFrame Value

Created at 18 Nov 2019, 13:12
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!
RA

RayAdam

Joined 02.06.2019

Last TimeFrame Value
18 Nov 2019, 13:12


Hi Support,

Is there an option which provides value for last Chart.TimeFrame after we switch.

Say I'm on H1 and switch to H4. I need the code to provide last TF value as H1.

Thanks in adcance

 


@RayAdam
Replies

PanagiotisCharalampous
18 Nov 2019, 14:28

Hi RayAdam,

No there is no such option. You can implement it yourself by saving the last used timeframe in a file.

Best Regards,

Panagiotis


@PanagiotisCharalampous