Alex (or anyone who knows),
I am trying to access values in amSineWeightedMA.efs.
Because the efs is really a call to an encrypted library I am trying to referece the series that the library function returns but I am having no luck and have tried millions of variations on the theme. I really just want to be able to compare the current (zero index) value. Here is the most recent attempt, and I'd be very greatful for some help...:
var amLib = addLibrary("amStudies.efsLib");
var bInit = false;
var xSWMA = null;
var Symbol = null;
var Interval = null;
function main() {
with( amLib )
{
if(Symbol == null) Symbol = getSymbol();
if(Interval == null) Interval = getInterval();
var vSymbol = Symbol+","+Interval;
xSWMA = getSeries(amSWMA(5,close(sym(vSymbol))));
}
debugClear();
debugPrint("*");
debugPrint(vSymbol);
debugPrint(xSWMA);
}
I am trying to access values in amSineWeightedMA.efs.
Because the efs is really a call to an encrypted library I am trying to referece the series that the library function returns but I am having no luck and have tried millions of variations on the theme. I really just want to be able to compare the current (zero index) value. Here is the most recent attempt, and I'd be very greatful for some help...:
var amLib = addLibrary("amStudies.efsLib");
var bInit = false;
var xSWMA = null;
var Symbol = null;
var Interval = null;
function main() {
with( amLib )
{
if(Symbol == null) Symbol = getSymbol();
if(Interval == null) Interval = getInterval();
var vSymbol = Symbol+","+Interval;
xSWMA = getSeries(amSWMA(5,close(sym(vSymbol))));
}
debugClear();
debugPrint("*");
debugPrint(vSymbol);
debugPrint(xSWMA);
}
Comment