Hi,
I have the following studies and efsExternal, however, I am getting null for the string inside the myMA function.
var xLMA = efsExternal("myMA.efs", "close", MAlength, eSignalsym+" "+ContractMth+Exchange);
SMA0 = xSMA.getValue(0);
and inside myMA.efs, I get Null when I print the aSymbol string.
function main(nPrice, MALength, aSymbol) {
...
debugPrintln(aSymbol);
var temp=open(0,sym(aSymbol));
}
Not sure what I'm doing wrong.
W
I have the following studies and efsExternal, however, I am getting null for the string inside the myMA function.
var xLMA = efsExternal("myMA.efs", "close", MAlength, eSignalsym+" "+ContractMth+Exchange);
SMA0 = xSMA.getValue(0);
and inside myMA.efs, I get Null when I print the aSymbol string.
function main(nPrice, MALength, aSymbol) {
...
debugPrintln(aSymbol);
var temp=open(0,sym(aSymbol));
}
Not sure what I'm doing wrong.
W
Comment