通达信居士星星选股指标公式
通达信CCI顶底趋势指标公式
通达信居士星星选股指标公式:
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);
通达信另类RSI指标公式