殷保华换手
{YC买卖盘}
V1:=AMOUNT/10000;
成交金額:V1/1000;
MA1:MA(AMOUNT/10000,5), LINETHICK2;
MA2:MA(AMOUNT/10000,24), LINETHICK2;
MA3:MA(AMOUNT/10000,60), LINETHICK2;
换手率:100*V/CAPITAL;
VAR1:=REF(C,1);
VAR4:=(VAR1-L)/(H-L);
VAR5:=V1*VAR4;
VAR2:=V*VAR4;
VAR3:=ABS(VAR2);
VAR6:=ABS(VAR5);
VAR7:=ABS(V1-VAR6);
买盘:ABS(V-VAR3)/100;
卖盘:VAR3/100;
买卖盘比%:ABS(V-VAR3)/V*100;
STICKLINE(C>0,0,VAR6,3,0),COLORCYAN;
STICKLINE(换手率<3,VAR6,V1 ,3 ,0),COLORRED;
STICKLINE(换手率>=3 AND 换手率<7,VAR6, V1,3,0),COLORYELLOW;
STICKLINE(换手率>=7,VAR6, V1, 3,0) ,COLORGREEN;
殷宝华变色MA
MA5:EMA(C,5),COLORWHITE;
工作线:EMA(C,14),COLORF00FF0,LINETHICK1;
二号线:EMA(C,25),COLOR00FF00,LINETHICK1;
九号线:EMA(CLOSE,99),LINETHICK1;
MA120:EMA(CLOSE,120),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.5,0),COLORYELLOW;
STICKLINE(TJ,O,C,4,0),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0.5,0),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,4,1),COLORF00FF0;
STICKLINE(DIFF<DEA,H,L,0.5,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,4,0),COLORF0F000;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORGREEN;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,10,1),LINETHICK3,COLORRED;
|