多:=IFF(C>REF(C,1),V,0)/100;
空:=IFF(C<REF(C,1),V,0)/100;
正:EMA(MA(多,3),3),NODRAW,COLORRED;
负:EMA(MA(空,3),3),NODRAW,COLORGREEN;
STICKLINE(正,正,0,2.5,0),COLORRED;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,2.5,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,2.5,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,2.5,0),COLORBROWN;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,2.5,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,2.5,0),COLORFF99CC;
STICKLINE(负,负*(-1),0,2.5,0),COLOR66FF00;
STICKLINE(负,负*(-0.85),0,2.5,0),COLOR66DD00;
STICKLINE(负,负*(-0.75),0,2.5,0),COLOR66BB00;
STICKLINE(负,负*(-0.65),0,2.5,0),COLOR669900;
STICKLINE(负,负*(-0.55),0,2.5,0),COLOR667700;
STICKLINE(负,负*(-0.45),0,2.5,0),COLOR665500;
STICKLINE(负,负*(-0.35),0,2.5,0),COLOR663300;
牛熊分界线:EMA((EMA(HHV(H,21)-LLV(L,21)/INDEXC,34)+EMA(HHV(H,21)-LLV(L,21)/INDEXC,70))/2,10),POINTDOT,LINETHICK1,COLORWHITE;
牛牛:牛熊分界线*1.191;
熊:牛熊分界线/1.191;
狗熊:熊/1.191;
臭狗熊:狗熊/1.191;