![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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:![Settings Settings](https://c.mql5.com/3/171/Screenshot_2018-02-05_10.36.04__1.png)
1:![1 1](https://c.mql5.com/3/171/Screenshot_2018-02-05_10.39.40__1.png)
2:![3 3](https://c.mql5.com/3/171/Screenshot_2018-02-05_10.38.36__1.png)
3:![4 4](https://c.mql5.com/3/171/Screenshot_2018-02-05_10.58.24__1.png)
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