in trying to get to grips with the EFS2 i am noticing that some of the returns are different to the original EFS, a example is below where i was trying to test the return values for different symbols in different time frames, in trying to fault find with the use of debugPrintln i have noticed that i keep getting returns of [Object Series], is this normal .
PHP Code:
var test = 12;
var aa = null;
var axp = null;
var ba = null;
var c = null;
var cat = null;
var dd = null;
function main(){
debugPrintln(test," test = ");
aa = close("aa");
axp = close("axp");
ba = close("ba");
//c = close(-1,"cat",5);
//cat = close(-1,"cat",60);
//dd = close(-1,"dd",D);
debugPrintln(test," test2 = ");
debugPrintln(aa," aa = ",axp," axp = ",ba," ba = ", getSeries(aa));
return aa;
//return getSeries(aa);
}
Comment