Please wait for the next build. Such problem was fixed
Please wait for the next build. Such problem was fixed
Stringo,
Thanks for your answer!!
Regards,
Insert underlined line to file Expert\Signal\SignalEMACross.mqh
//+------------------------------------------------------------------+ //| Validation settings protected data. | //| INPUT: no. | //| OUTPUT: true-if settings are correct, false otherwise. | //| REMARK: no. | //+------------------------------------------------------------------+ bool CSignalCrossMA::ValidationSettings() { //--- validation settings of additional filters if(!CExpertSignal::ValidationSettings()) return(false); //--- initial data checks if(m_fast_period>=m_slow_period) { printf(__FUNCTION__+": period of slow MA must be greater than period of fast MA"); return(false); } //--- ok return(true); }
Hello Guys,
1. Using MQL5 Wizard I compile successfully an EA using SignalCBC_WS_MFI.mqh class
2. When I try to run the EA it show the following errors:
CExpertBase::SetPriceSeries: changing of timeseries is forbidden
CExpertBase::SetOtherSeries: changing of timeseries is forbidden
3. Client v5.00 build540 (11/11/2011)
Thanks for your help.
- 2011.01.11
- MetaQuotes Software Corp.
- www.mql5.com
Hello Guys,
1. Using MQL5 Wizard I compile successfully an EA using SignalCBC_WS_MFI.mqh class
2. When I try to run the EA it show the following errors:
CExpertBase::SetPriceSeries: changing of timeseries is forbidden
CExpertBase::SetOtherSeries: changing of timeseries is forbidden
3. Client v5.00 build540 (11/11/2011)
Thanks for your help.
Blueyes,
Even with this message your expert can work normally.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Guys,
Anyone could help me with this?
I`ve done a simple EMA Cross signal, after that I used MQL5 Wizard to built my EA...
When I try to run the EA it show the following errors:
CExpertBase::SetPriceSeries: changing of timeseries is forbidde
CExpertBase::SetOtherSeries: changing of timeseries is forbidden
Debugging the code I could see that the exception throws in this method of the Created EA:
//--- Tuning of all necessary indicators
if(!ExtExpert.InitIndicators())
{
//--- failed
printf(__FUNCTION__+": error initializing indicators");
ExtExpert.Deinit();
return(-9);
}
//--- ok
I enter the method debbuging the code and I`ve seen that inside ExpertBase.mqh there is a check of init_phase, that if isnt iqual to Validation it is impossible to change the timeseries:
bool CExpertBase::SetPriceSeries(CiOpen *open,CiHigh *high,CiLow *low,CiClose *close)
{
//--- check the initialization phase
if(m_init_phase!=INIT_PHASE_VALIDATION)
{
printf(__FUNCTION__+": changing of timeseries is forbidden");
return(false);
}
//--- check pointers
if((IS_OPEN_SERIES_USAGE && open==NULL) ||
(IS_HIGH_SERIES_USAGE && high==NULL) ||
(IS_LOW_SERIES_USAGE && low==NULL) ||
(IS_CLOSE_SERIES_USAGE && close==NULL))
{
printf(__FUNCTION__+": NULL pointer");
return(false);
}
m_open =open;
m_high =high;
m_low =low;
m_close=close;
//--- ok
return(true);
}
I didnt understand this error because I`m using MQL5 wizard and the code was generated automatically.
Thanks,