Download MetaTrader 5
To add comments, please log in or register
Traders have already contributed more than 300 articles. Write your own one!
Kerubin
9
Kerubin 2014.11.29 18:39 
I want to edit ADX crosses to arrow appear 5 seconds before the end of candle? Is it possible? Thanks
Carl Schreiber
5926
Carl Schreiber 2014.11.29 22:08  
datetime ACTION = Time[0] + PeriodSeconds() - 5;
whroeder1
13589
whroeder1 2014.11.30 13:26  
datetime ACTION = Time[0] + PeriodSeconds() - 5;
if( TimeCurrent() >= ACTION){ ...
Note if the code is in start and there is no tick during that 5 seconds, the code won't work. You'll have to use the timer.
/
To add comments, please log in or register