公式有未来数据,信号会变化
DRAWTEXTEX(CLOSE,1,0,0,STKLABEL+' '+STKNAME+''),colorFFBF00;
流通:FINANCE(7)/10000,LINETHICK0,PRECISION2;
市值:FINANCE(7)*CLOSE/10000,LINETHICK0,PRECISION2;
R1:=STKINDI('','rsi.rsi1',0,6);
R2:=STKINDI('','rsi.rsi3',0,6);
J1:="MACD.DIFF";
J2:="MACD.DEA";
J3:="KDJ.K";
J4:="KDJ.D";
LC:=REF(CLOSE,1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
YX:=CLOSE>LC AND ISUP;
D1:=REF(D,1);
W1:=D1<30 AND CROSS(K,D) AND YX;
VARF:=TROUGHBARS(3,15,1)<4;
W2:=FILTER(VARF=1,3);
VL:=REF(LOW,1);
VH:=REF(HIGH,1);
VAR1:=(SMA(ABS(HIGH-VH),13,1))/(SMA(MAX(HIGH-VH,0),13,1))*100;
VAR2:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR3:=REF(CLOSE,1);
VAR4:=MA(VAR2,13);
VAR5:=LLV(LOW,34);
VAR6:=(SMA(MAX(CLOSE-VAR3,0),6,1))/(SMA(ABS(CLOSE-VAR3),6,1))*100;
VAR7:=CROSS(93,VAR6);
VAR8:=EMA(IF(LOW<=VAR5,VAR4,0),3);
VAR9:=HIGH>LLV(LOW,0)*4;
VAR10:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR11:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR10*10.9;
VARL14:=STKINDI('','macd.dea',0,7);
VAR12:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10);
VAR22:=DMA(VAR12,VOL/SUM(VOL,66));
VAR23:=DMA(VAR12,VOL/CAPITAL);
VAR24:=IF(CLOSE>1000,VAR22,VAR23);
VAR21:=LLV(LOW,60);
VAR31:=HHV(HIGH,60);
VAR41:=EMA((CLOSE-VAR21)/(VAR31-VAR21)*100,13);
VAR51:=EMA(0.667*REF(VAR41,1)+0.333*VAR41,21);
结束:FILTER(IF(VAR11<=VAR10 AND VAR8>REF(VAR8,1),VAR8*8,0),20),STICK,LINETHICK4,colorFF00FF;
加速:FILTER(W1 AND ANY(W2,5),22),STICK,LINETHICK4,colorFFFF;
牛股:FILTER(CROSS(VAR12,VAR24) AND VAR24>-5 AND VAR24<15 AND VAR12<20 AND VARL14<0,34),STICK,LINETHICK4,colorFF;
T1:FILTER(IF(CROSS(J4,J3) AND (SUM(J1<REF(J1,1),3))>3,CROSS(J2,J1),0),13),STICK,LINETHICK3,colorFFFFFF;
T2:FILTER(CROSS(J4,J3) AND CLOSE/(REF(CLOSE,1)-1)*100<>5 AND VAR9 AND CROSS(R2,R1) AND R2>50,90),STICK,LINETHICK3,colorFFFF00;
T3:FILTER(CROSS(VAR51,VAR41) AND VAR41>84,22),STICK,LINETHICK3,colorFF00;
DRAWTEXT(T1,T1,'注\n\n意\n\n洗\n\n盘'),ALIGN4,SHIFT2,PXDN50,color5E8262;
DRAWTEXT(结束,结束,'洗\n \n盘\n \n结\n \n束'),ALIGN4,SHIFT2,PXDN50,colorFFFFFF;
DRAWTEXT(加速,加速,'加速'),SHIFT2,colorFFFF;
DRAWTEXT(T2,T2,'出\n \n局'),SHIFT2,colorFFFF00;
DRAWTEXT(T3,T3,'风\n \n险'),ALIGN4,SHIFT2,PXDN80,colorFF00;
DRAWTEXT(牛股,牛股,'抓\n \n牛\n \n股'),ALIGN4,SHIFT2,PXDN50,colorBFFF;
|