Download MetaTrader 5

Modify TP on open trade

To add comments, please log in or register
Quentin Pitts
9
Quentin Pitts  
How can I modify an order when my set TP is hit on a trend? I have tried various methods where Bid=OrderTakeProfit, Bid<OrderTakeProfit && Bid>=OrderTakeProfit-(difference value). I am stymied as what I may be missing here. Any help would be huge. Thanks.
Quentin Pitts
9
Quentin Pitts  
I should note I have been researching through this site and what I have found has been vague or I just cannot see what the code is doing that makes sense.
Keith Watford
Moderator
9642
Keith Watford  
qdpitts:
How can I modify an order when my set TP is hit on a trend? I have tried various methods where Bid=OrderTakeProfit, Bid<OrderTakeProfit && Bid>=OrderTakeProfit-(difference value). I am stymied as what I may be missing here. Any help would be huge. Thanks.


If your set TP is hit, the order is closed.

You cannot modify a closed order

To add comments, please log in or register