Spread Filter & Pending Orders
-
I use the spread filter on every EA I build and test, it's invaluable. I thought I could use it in a script and also protect that pending order from triggering during the crazy rollover spreads we get. That does not appear to be the case. It will prevent me from using the script but not the actual triggering of the order. Is this the case or am I wrong here?
If I place the pending order using an EA then the spread filter will prevent the actual placement of the pending order during wide spreads but what about the triggering of the order? I can't really test this in Strategy Tester so I would hope somebody might know.
Meanwhile, I will try and test this live with a .01 trade.
-
I would do something like...if spread filter is true, delete pending orders
-
@raveon Tipsy is right. You can create and delete as many pending orders as necessary depending on market conditions.