Below is a snippet of the code I am using. The MTV series object is returning values as expected. However the LR and LBDivine values are both returning null values. Any ideas as to why? They are using functions that are built in to eSignal.
Code:
function main(LookBack) { if (MTV==null) MTV=efsInternal("MTValue",LookBack); if (LR==null) LR=middleLinearReg(10,1,MTV); if (LBDivine==null) LBDivine=lowerBB(18,1.8,LR); debugPrintln("MTV = " + MTV.getValue(0)); debugPrintln("LR = " + LR.getValue(0)); debugPrintln("LBDivine = " + LBDivine.getValue(0)); Divine=LR.getValue(0)-LBDivine.getValue(0); return Divine; }
Comment