Re: Reset indicator at a given time every day in mt5
So... I have tried to use this code as a restart of the ohlc values, but with no luck. int index=0; while (iTime(_Symbol,PERIOD_CURRENT,index+1)>=iTime(_Symbol,PERIOD_D1,0)) { index++; } double close_firstCurrent_today=iClose(_Symbol,PERIOD_CURRENT,index); //-- if(close_firstCurrent_today!=iClose ...
- Forum: Coding Help
- Topic: Reset indicator at a given time every day in mt5
- Replies: 3
- Views: 1775
- Mon Oct 31, 2022 5:12 am
- Jump to post