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!
 

for( int i = OrdersTotal()-1; i >= 0; i--){

OrderSelect(i, SELECT_BY_POS, MODE_TRADES){

if( TimeCurrent() > OrderOpenTime()+DURATION_IN_SECONDS){

OrderClose(... ... ... )

Reason: