Expert Advisors: MQL5 Wizard - Trade Signals Based on Crossover of Two Exponentially Smoothed Moving Averages - page 3

 
Vladimir Karputov:

I didn't notice the error on the original module. Perhaps more information is needed.

Where is it located, can you post it here?

 
Andy:

Where is it located, can you post it here?

It is attached in the article (at the end). That is, the whole article is devoted to creating a signal module based on the crossing of two iMAs.

 
Vladimir Karputov:

It is attached in the article (at the end). That is, the whole article is devoted to the creation of a signal module based on the intersection of two iMAs.

Please give me a link to the article and the file you are talking about.

 
Andy:

Please give here a link to the article and file you are talking about.

MQL5 Wizard - Trading signals on the crossover of two exponential moving averages:


 
This is an old non-working file (the first one), try to connect it in the new wizard - you won't succeed. I have done it all, read my question carefully.
 

Please note that after copying the signal module to [data folder]\MQL5\Include\Expert\Signal\signalcrossema.mqh, you need to open the signal module in the editor and put a new type - "SignalAdvanced":

//| Type=SignalAdvanced.                                              |

After that restart the editor.

After restarting the editor will see this module and it will be possible togenerate an Expert Advisor.

I have generated and attached it:

Files:
1.mq5  13 kb
 

Same thing - not a single deal! And attach the signal module file itself, because the previous one (1.mq5) is not needed - it is created by the wizard as it is. The question was about it (the module).

 
Andy:

I'll try your file now and report back.....

UPD: the same thing - not a single deal! Can you attach the signal module file itself?

The signal module in the article is indeed written according to the previous standard. It should be rewritten - take the standard module (from the delivery) as a basis [data folder]\MQL5\Include\Expert\Signal\SignalMA.mqh.

Added: see my signal modules with two iMA SignalMAAboveBelow modules

 
Vladimir Karputov:

The signal module in the article is indeed written according to the previous standard. It is necessary to rewrite it - take the standard module (from the delivery) as a basis [data folder]\MQL5\Include\Expert\Signal\SignalMA.mqh.

Added: see my signal modules with two iMA SignalMAAboveBelow modules

That's what I was talking about - where to get a new module.

OK, I will look at yours, but the question is not solved...

 
Andy:

Despite an update in 2016, the SignalCrossEMA.mqh signal module does not open trades in the tester on the current version 2085.

I added:

(to detect in the wizard and eliminate the error "CExpertBase::SetPriceSeries: changing of timeseries is forbidden"), I did not change anything else.

It is not quite clear how it gives signals for opening and closing, I think there should be Short and Long Condition instead of CheckOpenShort, etc.

What else needs to be changed or where can I find a working module?