i was playing around with it last night ..... turns out it does work fine, it was something to do with MT not my code, i changed my demo to another broker and got many trades. thanks.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
ive managed to compile a very simple setup
buy on close above 21EMA, sell on close below. is the above code right?, when i try it on the backtest it doesnt do anything.