Experts: EMA CROSS

 

EMA CROSS:

Crossing of the two iMAs.

EMA_CROSS tester

Author: Vladimir Karputov

 
Does not trade on M5 futures, testing was successful. What could be the reason?
 
volkov.ivan:
Does not trade on M5 futures, testing was successful. What could be the reason?

For example, inaccurate setting of the lot rate ...

Plus you should at least read the log-file.

Or maybe you have switched off the Autotrade button in the terminal ...

Or maybe ... 1001 other reasons

 
Vladimir Karputov:

For example, sloppy lotting ...

Plus you should at least read the log file.

Or maybe you have switched off the Autotrade button in the terminal ...

Or maybe ... 1001 other reasons

Trading on an external server, everything is synchronised, others are working.

The lot size is set correctly in 1 lot = 1 futures.

What is a log file?

Give a couple more reasons, I want it to work, very much

 
volkov.ivan:

Trading on external server, everything is synchronised, others are working

The lot size is set correctly in 1 lot = 1 futures

What is a log file?

Give me a couple more reasons, I want it to work, very much

Log-file: if an Expert Advisor is launched in the terminal, it writes its service messages to the "Experts" tab.

 
Kyle Paarman :

Hello!

May I ask, how would I convert this from your current IMA cross to EMA cross instead?

Thank you! :)

Reference: iMA - The function returns the handle of the Moving Average indicator.


Now clarify your question.


Documentation on MQL5: Technical Indicators / iMA
Documentation on MQL5: Technical Indicators / iMA
  • www.mql5.com
//|                                                     Demo_iMA.mq5 | //|                        Copyright 2011, MetaQuotes Software Corp. | //|                                              https://www.mql5.com | "The method of creation of the handle is set through the 'type' parameter (function type...
 
It's a shame Magik isn't in the settings.
 

The Expert Advisor attracted my attention by the simplicity of the code and settings. Since there is no description, I will describe what I noticed. Two variants have been tested. By default, with EMA, but with my settings of periods, TP and SL. And the second variant in the Code I changed MA types to my own with settings. I didn't touch anything else. Reversal is disabled. Both variants trade steadily in plus. But there are no regularities as in the description on MA crossings on the current candle. That is, it opens not clear how, but in plus. That's fine. It is true that it was tested only on one EUR/USD. I should add that I have not tried to test it, as I don't use a tester, I can't test it graphically either for the reasons described above.

The Expert Advisor opens only one trade, even if it is on many pairs. It may not open even one trade if there are other open trades.

You can trade, but only without hurrying. There is no sense to put it on many pairs at once.

 
Vladimir Karputov #:

For example, sloppy lotting ...

Plus you should at least read the log file.

Or maybe you have switched off the Autotrade button in the terminal ...

Or maybe ... 1001 other reasons

Is there an indicator for MT-5 to signal at the crossing of the EMA? Can I have a link? I've already searched for it

Thank you.