Get Index of Day start, Week start and Month Start

Created at 20 Sep 2021, 12:24
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!
HA

hamsider

Joined 16.09.2021 Blocked

Get Index of Day start, Week start and Month Start
20 Sep 2021, 12:24


Hello, I try to to draw trend lines like from Day start to current index (0), Week start to current index (0) and Month start to current index (0). Any help how to get the index of Day start, Index of Week start and Index of Month Start.

Ref: 

Here the trend line is from session start to session end.

Thank you.


Replies

firemyst
22 Sep 2021, 04:39

RE:

hamsider said:

Hello, I try to to draw trend lines like from Day start to current index (0), Week start to current index (0) and Month start to current index (0). Any help how to get the index of Day start, Index of Week start and Index of Month Start.

Ref: 

Here the trend line is from session start to session end.

Thank you.

 

Look at this thread:

 


@firemyst