There was more recoding to do than I originally envisaged, and I am fairly sure that there are some faults - the ea appears to be doing a lot of sl mods in backtesting.
I have added a new input, TradeExpiryHours. Unfilled pending trades will delete themselves after this number of hours have expired.
Not sure the OCO thingy is working, but if not then that is the fault of the original coder and I will sort it out if there really is a problem.
Have a play with this on Monday and see what happens. Those of you with Sunday candles will probably see strange thingies, as I have not seen a check for this and did not think about it. I have run out of steam tonight, and will sort out details like these next week.
Revision history:
- V 1.01: Spidexx added Matt's liborderreliable stuff and the pips to points conversion. Thanks Spi.
- V 1.02:
- added SendTradesNow input. This tells the ea to send the pendings immediately and not wait for a new candle to form. Disabled by default.
- added code to ignore the Saturday and Sunday candles when calculating the pending prices, and to look only at the Friday candle.