Conditions for Marking a Bar / Marking Todays Bars

Hello. I like to mark all bars of the current day (today). I did not found 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.
Tagged:

Comments

  • 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],ADC

    This mark just today on any intraday chart.

  • Thank You. The solution is working fine.
  • The code seems to work with intraday time based charts and not with price based charts like range charts. Is there a way to make the code work for a range chart?
  • Unfortunately there is not a way to just mark current day on a sub-minute exotic chart type.
Sign In or Register to comment.