EA ORDER MONITOR OF SPREAD

iliosellas

Trader
Jul 13, 2013
1
0
12
I wonder if someone has come up with an EA, which when an order is placed only places this order if it is withing certain acceptable spread value?

Loop
ButtonPress (buy/sell) = false, loop
If spread =< x value, (e.g.: .2 pips), place buy/sell; loop
(spread too high), Loop
End


I don't know mql but I am sure this is a very simple EA for someone with such skills to construct.