Download MetaTrader 5

Scale Out Function after Time - page 2

To add comments, please log in or register
Add the thread to Favorites. Track the changes even faster!
whroeder1
14480
whroeder1 2014.12.05 13:28  
Fx90: Thanks a lot, but it doesnt work (at least in my code..) . I tried it before your help in a similar way, but in the backtest it isnt noted.
datetime barExit  = Time[0] + _Period*60*10 - 1;
If you used Gooly's code, it wouldn't because barExit isn't saved - not static or globally declared.
Sven Hohmann
120
Sven Hohmann 2014.12.06 13:17  
thx i understand it now and used a loop for the Orderselect... it works now
12
To add comments, please log in or register