Download MetaTrader 5
To add comments, please log in or register
Having troubles understanding the code? Perhaps, you can find an article on that topic!
Duckling99
6
Duckling99 2016.05.27 01:36 

Hi All,


I currently have an EA that moves the pending orders a lot which results in a few thousand modify messages per hour.  How do I disable all of those order modify messages that appear in the journals or logs?

I still want the open order messages to appear on the journals and logs though.

I've been really stuck on trying to disable these internal messages.

Appreciate any help,

Thanks

Duckling99

Keith Watford
Moderator
9596
Keith Watford 2016.05.27 03:35  

I don't think that it is possible to disable particular log entries.

Sometimes, when I need to, I write a script to read a log and copy to another file, coded to not copy lines that contain key phrases.

whroeder1
14457
whroeder1 2016.05.27 09:15  
Duckling99: I currently have an EA that moves the pending orders a lot
Humans can't watch the screen 24/7 so they use pending orders; EA's can. Why don't you have it wait until the market reaches the trigger price and open an order?
/
To add comments, please log in or register