Hi,
I'm getting null in the printout of the nSMA object series. Both RSI.efs and WAverage.efs are written by myself.
Not sure why the null object series from the debugPrintln.
William
I'm getting null in the printout of the nSMA object series. Both RSI.efs and WAverage.efs are written by myself.
Not sure why the null object series from the debugPrintln.
William
PHP Code:
function main() {
var xRSI = efsExternal("RSI.efs", "OC/2", 7);
//return (xRSI.getValue(0));
var nSMA = efsExternal("WAverage.efs", xRSI, 1);
if (nSMA == null) return;
debugPrintln(getCurrentBarCount(), nSMA.getValue(0));
Comment