uncleVic: A little more detail... What is the next line (or better several) in the log?
2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetOtherSeries: changing of timeseries is forbidden 2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetPriceSeries: changing of timeseries is forbidden
2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetOtherSeries: changing of timeseries is forbidden 2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetPriceSeries: changing of timeseries is forbidden
nothing else
I have found an old module somewhere. Please attach the code of Expert Advisor you got in Wizard. It is not secret, is it?
It will work. To avoid it, insert it in CSignalCandles::ValidationSettings() method, at the very beginning:
bool CSignalCandles::ValidationSettings()
{
if(!CExpertSignal::ValidationSettings()) return(false);
if(m_range<=0)
{
printf(__FUNCTION__+": candles range must be greater than 0");
return(false);
}
//--- okreturn(true);
}
A little more detail... What is the next line (or better several) in the log?
2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetOtherSeries: changing of timeseries is forbidden
2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetPriceSeries: changing of timeseries is forbidden
nothing else
2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetOtherSeries: changing of timeseries is forbidden
2012.02.22 12:51:15 st (EURUSD,H1) CExpertBase::SetPriceSeries: changing of timeseries is forbidden
nothing else
There is an old-style module somewhere. Please attach the EA code obtained in the Wizard. It's not secret, is it?
#include <Expert\Signal\SignalCandles.mqh> - это старый модульPS The file could have just been attached.
Strange that this code compiles at all.
PS The file could have just been attached.
The thing is, the tester works fine with it... but will it work in trading?
as i understand there is no new module? then what should i do in this one, if it's not difficult
The thing is, the tester works fine with it... but will it work in trading?
as i understand there is no new module? then what do i have to do in this one, if it's not difficult
It will work. You have to insert it in the method CSignalCandles::ValidationSettings(), at the very beginning:
It will work. To avoid it, insert it in CSignalCandles::ValidationSettings() method, at the very beginning:
Thank you, if I may ask a quick question - is it acceptable for two processes to read from the same area?
it's already here.