JJJJJJ11111
Member
Code:
def length = 5;
def offset = 1;
def ADV = Average(volume, length)[offset] ;
def rVol = volume / ADV;
def rVNb = 2.3;
def rVolAb2 = rVol >= rVNb ;
AddLabel( rVol);
# draw arrows
Hi please help with some coding on this.
I'm using this on 1minute chart,
so want the chart to put label of current relative volume (rVol) , the background color of the label in LIGHT_GRAY if the rVol is below 2.3, the background color label in GREEN if the rVol above 2.3 .
and also put an arrow if the rVol equal or above 2.3.
the arrows to disappear after 1 day.
thanks a lot !