C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORFF00FF;
VAR1:=MA(CLOSE,5),COLOR00FFFF;
VAR6:=MA(CLOSE,54),COLORFF9900;
VAR8:= DMA(EMA(CLOSE,12),SUM(VOL/CAPITAL,5)/3),LINETHICK2;
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
VARF:=(2*CLOSE+HIGH+LOW)/4;
VAR10:=LLV(LOW,23);
VAR11:=HHV(HIGH,23);
VAR12:=EMA((VARF-VAR10)/(VAR11-VAR10)*100,6);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,4);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑价:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24)))),COLORWHITE;
压力位:=IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLOR00FF33,LINETHICK1;
支撑位:=IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),COLORCC33CC,LINETHICK1;
支撑:=LLV(LOW,34) ,COLOR7FFF00,LINETHICK2;
阻力价:=HHV(HIGH,19),COLORFF9900, LINETHICK2;
观望:MA(CLOSE,7),LINETHICK2,COLORYELLOW;
十:=MA(C,7),COLOR00FFFF,LINETHICK2;
持股:IF(MA(CLOSE,7)>REF(MA(CLOSE,7),1),MA(CLOSE,7),DRAWNULL),COLORFF00FF,LINETHICK2;
YYY:=IF(MA(CLOSE,7)=REF(MA(CLOSE,7),1),MA(CLOSE,7),DRAWNULL),COLORYELLOW,LINETHICK3;
空仓:IF(MA(CLOSE,7)<REF(MA(CLOSE,7),1),MA(CLOSE,7),DRAWNULL),COLORGREEN,LINETHICK2;
【流通盘】:FINANCE(7)/100000000,NODRAW,NODRAW,COLORRED;
【市盈率】YNAINFO(39),NODRAW,COLORGREEN;
【净资产】:FINANCE(34),NODRAW,COLORYELLOW;
【每股收益】:FINANCE(30)/FINANCE(1),NODRAW,COLORFF00FF;
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);
BB:=IF(BETWEEN(C,JJ,L),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
DDX:=10*(AA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
DDX1:=EMA(DDX,60)*60;
E:=MA(DDX1,7);
F:=MA(E,11);
G:=REF(E,1);
U:=REF(E,3);
I:=REF(E,5);
W:=REF(E,6);
S:=REF(E,2);
Y:=REF(F,2);
A:=REF(MA(CLOSE,7),1);
B:=REF(MA(CLOSE,7),3);
ZZ:=CLOSE;
KK:=REF(CLOSE,8);
QQ:=REF(CLOSE,1);
YY:=(ZZ/KK)<1.3 AND (ZZ/KK)>1;
VAR19:=E>F AND G>U AND U>I AND S>Y AND EVERY((DDX>=0),5) AND A>B AND ZZ>QQ AND YY;
STICKLINE(VAR19,OPEN,(OPEN+(CLOSE-OPEN)/2),2,0),COLORYELLOW;
DRAWTEXT(VAR19,(LOW)*(0.96999998),'红牛'),COLOR00FFFF; |