Hi,
Is there any way to get past values of studies like
the bollinger bands?
have a great day,
Jaime
Is there any way to get past values of studies like
the bollinger bands?
have a great day,
Jaime
var BBstudy = upperBB(20,2);//declare the study
var currentBBstudy = BBstudy.getValue(0);//current value
var prevBBStudy = BBStudy.getValue(-1);//value at the prior bar
//use (-2) for two bars ago, (-3) for three bars ago etc
var currentBBStudy = upperBB(20,2,0);//current value
var prevBBStudy(20,2,-1);//value at the prior bar
Comment