Dislikedspike...the code of SMC EA Basic is working for the most of pairs so I don't understand why the code is not working for the others ???? Your EA is perfect to me.....currently it opened 4 trades according to the rules so you have to check AUDUSD,AUDCAD,EURAUD,USDCHF... about TP and SL , we'll see later maybe if you can provide the mq4 , we'll be able to help you regardsIgnored
Thanks for the reply and sorry for the error. It does work except I had put a line of code in to stop it trading while I tested it. It kept opening hundreds, i mean over 450 orders, while I was running it so I needed to pause it while I cured the issue. I think its ok now but will use the next 2 days to thoroughly check it. While I am doing that you could let me know what you want for StopLoss and Profit levels. Do you also want One Order Cancels the other. Anything else? A Moving Average filter. I use weighted and weighted close which is very close to a standard deviation model, although it doesn't repaint its very close over 6 bars.
I happy to continue as this is different to my other ideas and gives me some learning opportunity.
PS I have also added a facility to CLOSE ALL orders Buys,Sells, BUYSTOP, SELLSTOP by setting the CloseALLOrders GlobalVariable found in the Tools menu.