【情绪】:EMA(WINNER(CLOSE)*60,5),COLORYELLOW;
【活筹】:EMA((WINNER(CLOSE*1.08)-WINNER(CLOSE*0.92))*80,5),COLORWHITE;
X8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X9:=SMA(X8,3,1);
X10:=SMA(X9,3,1);
X11:=2.5*X9-3*X10;
X12:=EMA(EMA(WINNER(CLOSE)*CLOSE,3),3);
X13:=(X12-REF(X12,1))/REF(X12,1)*1000;
X14:=LLV(LOW,27);
X15:=HHV(HIGH,34);
X16:=EMA((CLOSE-X14)/(X15-X14)*4,4)*25;
建仓:IF(X16<10,0-6,0),COLORFFFFBB,LINETHICK2;
低吸:IF(X16<30,0-6,0),COLORCYAN,LINETHICK2;
警戒:IF(X16>92,0-6,0),COLORFF00BB,LINETHICK0;
X17:=100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1);
X18:=100-3*SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1);
X19:=X17<REF(X18,1) AND vol>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(X19 AND COUNT(X19,30)=1,40,99),COLOR0099FF;
X20:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
X21:=2*Abs(X20);
加仓资金:IF(X20<0,X21,0),COLOR00CCFF,LINETHICK0;
STICKLINE(加仓资金>0,0,4,6,0),COLOR00CCFF;
DRAWTEXT(FILTER(加仓资金>0,15),4,'加仓资金'),LINETHICK2,COLOR00CCFF;
STICKLINE(警戒,0-0,0-4,6,0),COLORFF00BB;
DRAWTEXT(FILTER(警戒,15),0-4,'警戒'),LINETHICK2,COLORFF00BB;
X_1:=CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CLOSE>REF(CLOSE,1);
要上涨:FILTER(X_1,30),COLORMAGENTA,NODRAW;
STICKLINE(要上涨,1,80,3,0),COLORMAGENTA;
X_2:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10));
起涨:crOSS(X_2,0.05)*3 AND FILTER(CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28),COLORRED,NODRAW;
STICKLINE(起涨,0,60,3,0),COLORRED;
X1_1:=(OPEN+HIGH+LOW)/3;
起爆:CROSS(EMA(X1_1,7),EMA(X1_1,55)),COLORLIBLUE,NODRAW;
STICKLINE(起爆,0,40,3,0),COLORLIBLUE;
TJ:=C<50 AND CAPITAL/1000000<18;
A:=DKX;
A1:=MA(DKX,10);
A2:=MA(V,60);
A21:=MA(V,10);
A3:=EMA(C,12);
TS:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416<45;
A4:= EXIST(REF(C<A AND A<A1,3)AND REF(CROSS(C,A1),2)AND REF(BETWEEN(C/REF(C,1),1.03,0.98),1)AND BETWEEN(C/REF(C,1),1.03,0.98),15)AND EXIST(CROSS(A,A1),15);
金牛:TS AND A4 AND REF(CROSS(A,C),1)AND CROSS(C,A)AND A>A1 AND A1>REF(A1,5)AND A>REF(A,1) AND TJ AND REF(EXIST(V>A2 AND C>O,10),1)AND A3>REF(A3,1)AND A21>A2,COLORYELLOW;
STICKLINE(金牛,0,40,2,0),COLORYELLOW;
X1:=CLOSE*1.075;
X2:=CLOSE*0.925;
X3:=WINNER(X1);
X4:=WINNER(X2);
X5:=(X3-X4)*100;
X6:=WINNER(CLOSE)*100;
X7:=X6-X5;
风险:WINNER(CLOSE)*100>75 AND X7>50 AND CROSS(X6,X5),COLORGREEN;
STICKLINE(风险=1,0,20,6,0),COLORGREEN;
VAR2:=REF(L,1);
VAR3:=SMA(ABS(L-VAR2),13,1)/SMA(MAX(L-VAR2,0),13,1)*100;
VAR4:=EMA(IF(C*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(L,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(L,56),1,0);
VAR8:=EMA(IF(L<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
AA:=VAR8>REF(VAR8,1);
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
CD0:=L=ZD;
CD1:=AA AND CD0;
CD2:=CD1>REF(CD1,1);
超跌反弹:(CD2>REF(CD2,1))*30,COLORYELLOW,LINETHICK3;
S1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
S2:=SMA(S1,9,1)+100;
S3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
S4:=SMA(S3,3,1);
S5:=SMA(S4,3,1)+100;
S6:=S5-S2;
主力线:=IF(S6>45,S6-45,0);
VAR_2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10;
能量:=SMA(VAR_2,5,1)/100,COLORRED;
NOTEXT高抛区:(COUNT(能量>REF(能量,1),6)=6 AND 主力线>=65)*80,LINETHICK2,COLORLIMAGENTA;
DRAWTEXT(FILTER(NOTEXT高抛区>0,15),70,'★注意高抛'),LINETHICK2,COLORLIMAGENTA;
N:=5; N1:=21;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),COLOR00AAFF;
X_3:=LLV(LOW,10);
X_4:=HHV(HIGH,25);
X_5:=EMA((CLOSE-X_3)/(X_4-X_3)*4,4);
DRAWTEXT(CROSS(3.6,X_5),85,11428),COLORGREEN,LINETHICK2;
卖出或洗盘:IF(CROSS(3.6,X_5)=1,88,100),COLORGREEN;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
NOTEXT低吸:20,DOTLINE,COLORLIMAGENTA;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
出击:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;
XG:=CROSS(出击,0.01);
STICKLINE(REF(出击,1)<出击,出击,REF(出击,1),3,0),COLORLIMAGENTA;
STICKLINE(REF(出击,1)>出击,出击,REF(出击,1),3,0),COLORFFCCCC;
DRAWTEXT(趋势线>89 AND REF(出击,1)>出击 AND FILTER((REF(出击,1)>出击),15) ,89,'★卖'),COLORGREEN;