expert closes the transaction after closing the candle

 
how can i do that
. after closing the candle
 
Kristjan Saarsalu:
how can i do that
. after closing the candle

presume you're not the one who coded it so i recommend you ask the one who did

likely you set 'Duration value' to represent the number of bars that must exceed before a position is closed