However, say I have CalculateOnBarClose set to false and I want to do something at certain intervals, how can I code this?
For example if I wanted to check every 60 minutes i could write
pseudocode
if time=09:00||10:00||11:00 ... etc or variations of that theme
do something
But there must be a more efficient way to do this i.e. some way to say
if last two digits of time are 00 ... or 25 or whatever
do something
Like a substring type function? Been a while since I last wrote any code properly and I'm new to c#.
Thanks,
Al
Comment