多:=IF(C>REF(C,1),V,0)/100;
空:=IF(C<REF(C,1),V,0)/100;
多1:=IF(REF(C,1)>REF(C,2),V,0)/100;
空1:=IF(REF(C,1)<REF(C,2),V,0)/100;
正:EMA(MA(多,3),3),colorwhite;
负:EMA(MA(空,3),10),colorgreen,;
比:正/负*100;
买:多>多1 AND 比<40,0,coloryellow;
VERLINE(多>多1 AND 比<40,0);
STICKLINE(正,正,0,10,0),colorred;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,10,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,10,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,10,0),colorbrown;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,10,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,10,0),COLORFF99CC;
STICKLINE(负,负*(-1),0,10,0),COLOR66FF00;
STICKLINE(负,负*(-0.85),0,10,0),COLOR66DD00;
STICKLINE(负,负*(-0.75),0,10,0),COLOR66BB00;
STICKLINE(负,负*(-0.65),0,10,0),COLOR669900;
STICKLINE(负,负*(-0.55),0,10,0),COLOR667700;
STICKLINE(负,负*(-0.45),0,10,0),COLOR665500;
STICKLINE(负,负*(-0.35),0,10,0),COLOR663300;