I have the following code to grab a couple of variables from an external efs. But I can't figure out how to keep the variables from the previous bar.
var DBCall;
var DBUpper;
var DBLower;
DBCall = efsExternal("DecisionBar/DecisionBarStrategy.efs", LowMA, HighMA, NumPrevPivots, 2, true, true);
DBUpper = getSeries(DBCall, 0);
DBLower = getSeries(DBCall, 1);
I need DBUpper and DBLower from the current bar and the previous bar.
var DBCall;
var DBUpper;
var DBLower;
DBCall = efsExternal("DecisionBar/DecisionBarStrategy.efs", LowMA, HighMA, NumPrevPivots, 2, true, true);
DBUpper = getSeries(DBCall, 0);
DBLower = getSeries(DBCall, 1);
I need DBUpper and DBLower from the current bar and the previous bar.
Comment