
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
Hello,
I'm new to trading, but with years of experience in programming.
However, I can't understand some messages I get in journal.
I got the code for the new bar from https://www.mql5.com/en/articles/159
Here's the code I'm testing, a simple EMA crossing script:
And here are some screenshots of the tester:
Settings:
1:
2:
3:
And here are my questions:
Picture 1, why is there a autotrade #6 -> #7 on the 4th of january 8am, but journal doesn't show anything for that time?
Picture 1, why is it trading at 8am when the lines are clearly not crossing?
Picture 2: why is it saying that's autotrade #5, when the journal is saying deal 5 takes place the 11th of january?
Picture 2: why is it showing 3 lines going out of autotrade 5, that go close at 3 different times?
Picture 3: what is it doing here? it opens and closes multiple times evend though my conditions are so simple, only do trade on crossing ma.
I know I must be doing something wrong, I'm not blaming mt5.. I just need some help understanding.
Thanks