When I apply the following code fragment to a watch list it works perfectly (i.e. returning the current value of the ema):
var vEMA = null;
function main() {
vEMA = ema(49);
return getSeries(vEMA);
}
However, when I increase the ema to 50 or more (which is what I actually want) I get no result at all.
It look list the Watch List can't see enough bars to calculate the 50 ema.
Is this a bug? Have I missed something? Does anyone have any ideas?
Thank you.
var vEMA = null;
function main() {
vEMA = ema(49);
return getSeries(vEMA);
}
However, when I increase the ema to 50 or more (which is what I actually want) I get no result at all.
It look list the Watch List can't see enough bars to calculate the 50 ema.
Is this a bug? Have I missed something? Does anyone have any ideas?
Thank you.
Comment