多空BBD附图指标(大智慧)

AL:=(C+L+H)/3;

ao:=SMA(AL,5,1)-SMA(AL,13,1);

bbd:(AO-SMA(AO, 3,1))*100,COLORFFCCFF,LINETHICK0;

BBDA:SMA(BBD,5,2),COLORRED,LINETHICK0;

RSV1:=BBD;

RSV2:=BBDA;

{BBD彩色柱体}

BBD1:=IF(BBD>=REF(BBD,1),BBD,0);

BBD2:=IF(BBD<REF(BBD,1),BBD,0);

stICKLINE(BBD1,0,BBD,8,0),COLOR000088;

STICKLINE(BBD1,0,BBD,6,0),COLOR0000AA;

STICKLINE(BBD1,0,BBD,4,0),COLOR0000CC;

STICKLINE(BBD1,0,BBD,2,0),COLOR0000FF;