I am writing select data on my trades to a .txt file. My EA operates at the tick level.
I calculate the current server time at the minute level = CMinute.
At minutes 5,15,30,45,59, I want to "write
to file" only once during that minute.
I am currently posting, say on CMinute = 15, from 5-30 records (ticks) to the .txt file.
How can I get the EA to post only once during the selected minutes.
Seems like there should be an easy way.
Thank you in advance