I got this from the MACD and from the RSI.
1) Why am I getting this? - What should I do to fix it? (*** see my bypass below)
2) Why is ExecInfo.MaxBarsBack required by the "CrossesOver" and "CrossesUnder" functions?
Below is some additional information:
- I'm using these Signals untouched, as they come from the installation.
- I remember that when running the same optimization the day before I enterred my registration, it worked without a problem.
- I set the MaxBarsBack to 350, and then to 800.
- I'm letting MACD use a maximum length of 800 in the optimization and RSI uses length up to 250.
- *** I cab bypass the MACD error by changing its code as follows
*** NOTE: with the "bypass" the indicators go bad, and fire a signal on each bar ***:
Code: Select all
if (Bars.CurrentBar > 2 && m_MACD_diff.CrossesOver(0,1));// ExecInfo.MaxBarsBack))
Code: Select all
//if (this.CrossesOver(m_myrsi,OverSold)){
if(m_myrsi.CrossesOver(OverSold,2)){
- I'm using 750 days of 15 minute candles.