Hi,
I get no value (<None>) in the chart, if I use my code:
I cant see the error!
Warm Regards
I get no value (<None>) in the chart, if I use my code:
PHP Code:
var myStudy1 = null;
function main() {
var myVar1;
var sma3V;
sma3V = ( (sma(8)+sma(3)) /2 + (sma(9)+sma(4)) /2 + (sma(10)+sma(5)) /2 ) /3;
myStudy1 = offsetSeries( getSeries(sma3V), -2 );
myVar1 = myStudy1.getValue(0);
return myVar1;
}
Warm Regards
Comment