Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

Candlestick Volume Bar MA

Candlestick Volume Bar MA
Candlestick Volume Bar MA

//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); /* Matches with default volume indicator in AMI
Previous
Next Post »