We are having difficulties running the MA Strategy backtest example from the esignal.com web site. We have isolated the problem to the retrieval of values from the ema() function.
In the attached example, we have inserted debugPrintln() to find where the backtest fails. The program never gets past line 89 ("Main Test2a"); ie. it seems to fail at xMA.getValue(-1).
Any suggestions on what the issue is would be appreciated. Again, this is the sample program from the esignal.com web site.
Many thanks for any help.
In the attached example, we have inserted debugPrintln() to find where the backtest fails. The program never gets past line 89 ("Main Test2a"); ie. it seems to fail at xMA.getValue(-1).
Any suggestions on what the issue is would be appreciated. Again, this is the sample program from the esignal.com web site.
Many thanks for any help.
Comment