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

 
Isn't there a new cross?
 
Yeah. We're looking forward to it, because it's a big problem.
 
ZahvatkiN:

Something during compilation gives errors, screenshot attached

For a new cross in the old Expert Advisor you need to replace the reference to the signal file:

#include <Expert\Signal\SignalCrossMA.mqh>

as well as the line for creating the signal object:

//--- Creation of signal object
CSignalCrossMA *signal=new CSignalCrossMA;

 
Can you post a version without errors in the code?
 
would you please convert this ea into mt4, thanks
 
someone to help please change this ea into mt4, ,Thanks in advance
 
can you give me detailed instructions on what to change or post a version without errors. Thanks in advance,
 

hellow

plz can u transfer this program to fit the MT4.i want u to help me do yhis simple idea

Files:
 

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

I added:

Type=SignalAdvanced
и 
if(!CExpertSignal::ValidationSettings()) return(false)

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

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

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

Files:
 
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 Type=SignalAdvanced and if(!CExpertSignal::ValidationSettings()) return(false) (to detect in the wizard and eliminate the error "CExpertBase::SetPriceSeries: changing of timeseries is forbidden"), I did not change anything else. What else needs to be changed or where can I find a working module?

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

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