anamy,
Ok I have tested it and wow today it made over 80 pips when I set it up for 1300 GMT and the the Fed came out. The Pending are right on target. I use 0 from the High and LOW setting.
It now only puts in 1 position when the current price is close to the High (Fixed). So that is GREAT. But when it is at the LOW and the current price is too close then it does not put in a sell or anything.
Can you make sure it will do the same on a SELL as it does now on a BUY. Like I said the BUY is working GREAT it is just the SELL when the current price is too close to the LOW that it will not put in the SELL order. Tested it all day
Again GREAT EA and the pending are right on. Just the SELL needs fixed and we are on to a MONEY MAKER.
Also I set it not to delete the opposite pending or delete existing orders and I may have messed something up doing that. The reason for not deleting the opposite pendings is like yesterday it whipsawed and hit the Low at about 1500 and went only 5 pips profit (I got out). They it went Long another 20 pips above the High from 1300 GMT and I caught that. Works well in sidways markets if you set the T/P low. And REALLY PROFITABLE in a trending market.
I look forward to testing the revised EA and updating you further. Thanks
PS I have attached the EA, but I have not touched the code since you posted it yesterday.