This is your EA...
...but you have to think of some filters. This condition only, has no chances of success.
I have coded only the buy/sell section (condition 1). You can set it on "Ask manual confirmation" so you can decide if the EA should enter the trade.
If you find any bugs in this EA, please let me know.
Bye.
|