Candlestick Style Volume Bar With Moving Average


Candlestick Style Volume Bar With Moving Average
Candlestick Style Volume Bar With Moving Average 

//www.aflcode.com

upbar = C > Ref(C,-1);
downbar = C< Ref(C,-1);
barcolor=IIf(downbar, 4, IIf(upbar, 5,19) );
O = IIf(downbar, V, 0); 
C = IIf(downbar, 0, V);
L=0; H = V;
Graph2=C; 
Graph2Style=64;
Graph2BarColor=barcolor;
Graph1=MA(Volume,16); 

Previous
Next Post »