通达信乾坤选股指标公式
2020/7/30 18:33:33
A0:=(L+H+C*2)/4;
A1B:=EMA(A0,14);
A2B:=EMA(A0,25);
A1X:=(A1B-REF(A1B,1))/REF(A1B,1)*100;
短线趋势:=(EMA(C,7) - EMA(C,13));
中线趋势:=EMA(短线趋势,13);
VAR4:=MA(C,7);
VAR5:=MA(C,13);
VAR6:=MA(C,34);
VAR7:=MA(C,55);
VAR10:=((0 - ((10 * (HHV(C,5) - C)) / (HHV(C,5) - LLV(L,5)))) + 10);
VAR11:=((0 - ((10 * (HHV(C,13) - C)) / (HHV(C,13) - LLV(L,13)))) + 10);
VAR12:=((0 - ((10 * (HHV(C,21) - C)) / (HHV(C,21) - LLV(L,21)))) + 10);
VAR13:=((0 - ((10 * (HHV(C,34) - C)) / (HHV(C,34) - LLV(L,34)))) + 10);
VAR14:=REF(中线趋势,1);
VAR15:=中线趋势;
VAR16:=(VAR15 - VAR14);
VAR17:=REF(短线趋势,1);
VAR18:=短线趋势;
VAR19:=(VAR18 - VAR17);
VARE:=(SUM(((C * VOL) * 10),34) / SUM((VOL * 200),34));
VARF:=(INTPART((VARE * 10)) / 10);
欣喜:=MEMA(XMA((((C-O)*2)+O),30),13);
若狂:=MEMA(MEMA((((C-O)*2)+O),5),13);
TT:=欣喜-若狂>0;
买:=(O<=VAR4 AND O<= VAR5 AND O<= VAR6 AND C>= VAR4 AND C>= VARF AND VAR16 > 0 AND VAR19 > 0 AND TT);
MAH:=(H*18+REF(H,1)*17+REF(H,2)*16+REF(H,3)*15+REF(H,4)*14+REF(H,5)*13+REF(H,6)*12+REF(H,7)*11+REF(H,8)*10+REF(H,9)*9+REF(H,10)*8+REF(H,11)*7+REF(H,12)*6+REF(H,13)*5+REF(H,14)*4+REF(H,15)*3+REF(H,16)*2+REF(H,17)*1)/171;
MAL:=(L*18+REF(L,1)*17+REF(L,2)*16+REF(L,3)*15+REF(L,4)*14+REF(L,5)*13+REF(L,6)*12+REF(L,7)*11+REF(L,8)*10+REF(L,9)*9+REF(L,10)*8+REF(L,11)*7+REF(L,12)*6+REF(L,13)*5+REF(L,14)*4+REF(L,15)*3+REF(L,16)*2+REF(L,17)*1)/171;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
DK:= CLOSE>=MAH OR (C>MA5 AND C>MA10 AND C>MA20 AND C>MA20);
KK:= MAL>CLOSE OR (C<MA5 AND C<MA10 AND C<MA20 AND C<MA20);
DK1:=BARSLAST(DK);
KK1:=BARSLAST(KK);
DK2:=BARSLAST(CROSS(KK1,DK1));
KK2:=BARSLAST(CROSS(DK1,KK1));
HS:=DK2<KK2;
LS:=KK2<DK2;
TY:=C;
AA1:=REF(TY,10)=HHV(TY,2*10+1);
BB1:=FILTER(AA1,10);
C1:=BACKSET(BB1,10+1);
HD:=FILTER(C1,10);
AA2:=REF(TY,10)=LLV(TY,2*10+1);
BB2:=FILTER(AA2,10);
CC2:=BACKSET(BB2,10+1);
LD:=FILTER(CC2,10);
前期低位:=REF(L,BARSLAST(LD));
前期:=CROSS(C,前期低位);
{看多:LONGCROSS(A1X,0,2) AND 买=1 AND REF(LS,1) AND DYNAINFO(4)>0 AND 前期=1 {--83.3%};{AND HS=1 AND REF(LS,1) AND DYNAINFO(4)>0};
看多:LONGCROSS(A1X,0,2) AND 买=1 AND REF(LS,1) AND DYNAINFO(4)>0 ;{--77.3%};
看股吧公 式 www .kanguba.com
其它股票公式列表