Download MetaTrader 5

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

To add comments, please log in or register
Publish your article. We will translate it into other languages!
Fa Cao
1141
Fa Cao 2013.11.29 01:56 

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
1020
Tonny Obare 2013.11.29 05:49  
The arrows are actually from trade opening the short hyphen like lines are usually the ones from ordermodify.
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2013.11.29 08:47  
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
9625
Keith Watford 2013.11.29 08:48  
Try putting in the last parameter of OrderModify, CLR_NONE
Tonny Obare
1020
Tonny Obare 2013.11.29 09:20  
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
1020
Tonny Obare 2013.11.29 11:54  
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
18001
Simon Gniadkowski 2013.11.29 11:56  
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
9625
Keith Watford 2013.11.29 12:38  
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
1020
Tonny Obare 2013.11.29 14:34  
Be my guest. Help him out. *moves to next topic*
To add comments, please log in or register