How do I start a script with the first closed bar of the current day? I don't want any calculations for any prior bars since that affects my charting of the results.
I'm using a 1-minute chart with setComputeOnClose(). I think this is just a simple comparison of dates but I have trouble with dates. Any help would be appreciated.
Processor time is at a premium. Thanks.
Bob
I'm using a 1-minute chart with setComputeOnClose(). I think this is just a simple comparison of dates but I have trouble with dates. Any help would be appreciated.
Processor time is at a premium. Thanks.
Bob
Comment