Coding a 30 wait

 

How would you code a the following logic?

TakeProfit at 50 pips.

If TakeProfit has been reached, TakeProfit & wait 30 minutes.

 
Chewbaca:
How would you code a the following logic?

TakeProfit at 50 pips.

If TakeProfit has been reached, TakeProfit & wait 30 minutes.

Salam Chewbaca,

Could I ask? Wait 30 minutes then what?

Do you mean that the program wait 30 minues before closing the order?

 
Mohammed:
Salam Chewbaca,

Could I ask? Wait 30 minutes then what?

Do you mean that the program wait 30 minues before closing the order?

Then continue trading. Once you have reached the 50 pips you want to take the profit and close the order then wait 30. After the 30 minutes have been reached continue trading.

 

Here are the logical steps

How would I code:

TakeProfit has been reached.

Close Open Order.

Wait 30 minutes.

After 30 minutes continue trading.

Reason: