If ToDay(Time[0]) if the date of the bar (in ccyymmdd format), how can I compare that to see if the bar is today or a previous day. I want to display statistics on the screen and show various stats for just today (but I want to load the chart for the last week).
I know I can input a variable and compare against that but I am looking to just use the current date (and not have to change an input variable everytime).
Comment