Download MetaTrader 5

Shall I let MT4 not show the arrows which are produced by OrderModify()?

To add comments, please log in or register
Fa Cao
1141
Fa Cao  

I mean I use OrderModify() to change stop loss line ticket by ticket, each time an arrow will be produced(as below picture); this must give computer more burden and also I don;t want to see so much arrows.

So how or what I set to get no arrows when OrderModify() is executed?

Tonny Obare
1026
Tonny Obare  
The arrows are actually from trade opening the short hyphen like lines are usually the ones from ordermodify.
Simon Gniadkowski
Moderator
18024
Simon Gniadkowski  
tonny:
The arrows are actually from trade opening the short hyphen like lines are usually the ones from ordermodify.
They are SL and TP . . .
Keith Watford
Moderator
10565
Keith Watford  
Try putting in the last parameter of OrderModify, CLR_NONE
Tonny Obare
1026
Tonny Obare  
RaptorUK:
They are SL and TP . . .


Thats what i meant SL and TP after they have been set/modify. He was talking of the arrows.
Tonny Obare
1026
Tonny Obare  
If your ea opens many trades a day then its best to set CLR_NONE in ordersend to not show arrows and in ordermodify to not show dashes.(trying to stay calm)
Simon Gniadkowski
Moderator
18024
Simon Gniadkowski  
tonny:
If your ea opens many trades a day then its best to set CLR_NONE in ordersend to not show arrows and in ordermodify to not show dashes.(trying to stay calm)
OrderModify() can modify the Open price not just the SL and TP.
Keith Watford
Moderator
10565
Keith Watford  
tonny:

Thats what i meant SL and TP after they have been set/modify. He was talking of the arrows.

Please don't get into an argument. The dash/hyphen in mq4 is still an arrow.
Tonny Obare
1026
Tonny Obare  
Be my guest. Help him out. *moves to next topic*
To add comments, please log in or register