以下是通达信星星二代主图+副图指标(无源码的请下载附件导入)
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
底部:=CROSS(RSI20,11)*1;
VAR3A:=3;
VAR2A:=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);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:=IF(FILTER(YXF=1,5),1,0);
QQ:= CLOSE>REF(CLOSE,1)*1.02;
BB1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),21,1)*1000;
GG1:=MA(BB-LLV(BB1,27),5);
AA1:=(REF(H,4)-REF(L,1))/C*100>10;
S1:=DYNAINFO(7)>3 AND DYNAINFO(7)<88;
S2:=FINANCE(7)<1900000000 AND FINANCE(1)<2100000000;
S4:=IF(NAMELIKE('S'),0,1);
S5:=IF(NAMELIKE('*'),0,1);
S6:=NOT(DYNAINFO(4)=0) AND S1 AND S2 AND S4 AND S5;
IF(底部 AND 加仓 AND AA1 AND S6 ,1,0);
619100111.jpg
|