Hi!! Need help to set a time StopLoss that will close the order after N-hours.
I can provide code of a great purchased EA in change!
- Set of stoploss.
- EA to close trades at candle close
- need help in ea code
for( int i = OrdersTotal()-1; i >= 0; i--){
OrderSelect(i, SELECT_BY_POS, MODE_TRADES){
if( TimeCurrent() > OrderOpenTime()+DURATION_IN_SECONDS){
OrderClose(... ... ... )