頂:90,COLORRED,LINETHICK1;
強:80,COLORRED,LINETHICK1;
弱:05,COLORGREEN,LINETHICK1;
走強線: 20,COLORCYAN;
DRAWTEXT(ISLASTBAR, 頂,' 頂'),COLORYELLOW;
DRAWTEXT(ISLASTBAR, 強,'強'),COLORRED;
DRAWTEXT(ISLASTBAR, 走強線,'走強'),COLORLIRED;
DRAWTEXT(ISLASTBAR, 弱,' 弱'),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW
VAR9:=IF(VAR8>100,100,VAR8);
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力:=EMA(J,6),COLORYELLOW;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走勢:=CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;
AA6:=SMA(AA3,21,8);
吸籌:STICKLINE(VAR9>-120,50,50+(VAR9/2),3,1),COLORRED;
特快:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK1,COLORFF00FF;
DRAWICON(CROSS(90,特快),90,15);
{超短線}
R1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
R2:=SMA(R1,3,1);
R3:=SMA(R2,3,1);
R4:=3*R2-2*R3;
R5:=LLV(LOW,5);
R6:=HHV(HIGH,5);
R7:=EMA((CLOSE-R5)/(R6-R5)*100,4)*2;
R8:=EMA(0.667*REF(R7,1)+0.333*R7,2);
R9:=3*R7-2*R8;
RA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
RB:=POW(MA(LOW,5),2)+MA(LOW,5);
RC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
RD:=(RA-LLV(RB,64))/(HHV(RC,64)-LLV(RB,64))*150+65-10;
RE:=SMA(RD,3,1)*1.5-100;
RF:=SMA(RE,3,1);
R10:=3*RE-2*RF;
R11:=(HIGH+LOW+CLOSE*2)/4;
R12:=EMA(R11,13);
R13:=STD(R11,13);
R14:=(R11-R12)*100/R13;
R15:=EMA(R14,5);
R17:=EMA(R15,13)+200-100;
R18:=EMA(R17,10);
R19:=3*R17-2*R18;
R1A:=R2+R7+RE+R17;
R1B:=R3+R8+RF+R18;
R1C:=R4+R9+R10+R19;
R1D:=(HIGH+LOW+CLOSE)/3;
R20:=(R1D-MA(R1D,34))/(0.015*AVEDEV(R1D,34));
R22:=(HIGH+LOW+CLOSE+R1D)/4;
R23:=EMA(R22,24);
R24:=STD(R22,24);
R25:=(R22-R23)/R24*100;
R26:=(R1D-MA(R1D,24))/(0.015*AVEDEV(R1D,24));
R27:=EMA(R25,5);
R2A:=((R27+R26+R20)/3+165)/4;
R2C:=(R1A+R1B+R1C*30)/32/5-15;
R2E:=(R2A+R2C)/2/1.1*0.6+20;
超短:EMA(R2E,3),COLORRED,LINETHICK4;
短線:EMA(超短,5);
吸:=XLPL.NOTEXT吸,COLORMAGENTA,CIRCLEDOT,LINETHICK3;
{洗盤}
VA1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VA2:=SMA(ABS(LOW-VA1),13,1)/SMA(MAX(LOW-VA1,0),10,1);
VA3:=EMA(VA2,10);
VA4:=LLV(LOW,33);
VA5:=EMA(IF(LOW
資金建倉:=IF(VA5>REF(VA5,1),1,0),COLORRED,NODRAW;
洗盤:=IF(VA5
建倉洗盤:資金建倉 OR 洗盤;
X_1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_2:=(X_1-LLV(X_1,27))/(HHV(X_1,27)-LLV(X_1,27))*4*25;
X_3:=(X_1-LLV(X_1,9))/(HHV(X_1,9)-LLV(X_1,9))*4*25;
X_11:=EMA(WINNER(CLOSE)*70,3);
X_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_14:=X_11/(X_11+X_12)*100;
慢線:X_2,COLORFFFF00,LINETHICK2;
快線:X_3,LINETHICK1,COLORWHITE;
多:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,COLORGREEN;
選股:吸 AND 建倉洗盤 AND 多
STICKLINE(選股,5,50,3,0),COLORYELLOW;
DRAWBAND(短線,RGB(0,255,255),超短,RGB(240,128,128));
DRAWICON(CROSS(90,快線),90,9);