if(Symbol == null) {Symbol = getSymbol();}
if(Interval == null) {Interval = getInterval();}
var vSymbol = Symbol+","+Interval;
xMA1 = offsetSeries(eval(Type)(Length1,eval(Source)(sym(v Symbol))),Offset);
In the above, all of the parameters are passed into main from the functional parameters in premain. This works fine when offset=0. When offset is a negative number, the chart does not update. My return statement uses xMA1.getValue(0).
I searched the forum but couldn't find any specifics. Any ideas about this problem are appreciated Thanks.
Bob
if(Interval == null) {Interval = getInterval();}
var vSymbol = Symbol+","+Interval;
xMA1 = offsetSeries(eval(Type)(Length1,eval(Source)(sym(v Symbol))),Offset);
In the above, all of the parameters are passed into main from the functional parameters in premain. This works fine when offset=0. When offset is a negative number, the chart does not update. My return statement uses xMA1.getValue(0).
I searched the forum but couldn't find any specifics. Any ideas about this problem are appreciated Thanks.
Bob
Comment