Hello guys,
I am using the following code to index the days since a specific date:
indexDate= BarsSince( DateTime() <= _DT("2023-07-01") );
However, I want to use as a start date the range I manually set from the following menu:
Alternatively, I can also use preset range (start/end) date as a function from formula editor.
One of the two solution would save me time because otherwise If I use the current solution I would need to change range from the menu and the date from editor.
Thank you