Conditions for Marking a Bar / Marking Todays Bars
Hello. I like to mark all bars of the current day (today). I did not find a condition for that. At the moment I solve this task with the LocalDayOfWeek(@) = x formula. But this is not ideal as I need to change the "x" every day.
Thank You.
1
vote
Adminlaurie
(Admin, CQG)
shared this idea
-
Adminlaurie (Admin, CQG) commented
This is one piece of code we do not have - that of current day.
This is the work around.xxx:=clip(@,-0,1);
xxx[1],ADCThis marks just today on any intraday chart.
The code seems to work with Intraday time based charts and not with price based charts like range charts.