Download MetaTrader 5

Modify TP on open trade

To add comments, please log in or register
All MQL5.community events are grouped together. Have a look at the Wall!
Quentin Pitts
9
Quentin Pitts 2014.03.12 02:59 
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 2014.03.12 03:00  
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
9596
Keith Watford 2014.03.12 03:10  
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