以下是通达信选出大指标公式源码和使用说明
通达信选出大黑马选股指标公式源码:
VAR1:=SMA(AMOUNT,10,1)/20;
VAR2:=REF(VAR1,1);
VAR3:=MA(REF(CLOSE,1),5)/50;
最高:=(VAR1*HIGH/VAR3*1/10)/50;
最低:=(VAR1*LOW/VAR3*1/10)/50;
开盘:=(VAR1*OPEN/VAR3*1/10)/50;
收盘:=(VAR1*CLOSE/VAR3*1/10)/50;
生命线:=EMA(收盘,12),COLORWHITE;
动向:=(生命线-REF(生命线,1))*10;
资金动向线:=IF(收盘 开盘,收盘,开盘),COLOR00FFFF;
:=100*WINNER(CLOSE*0.95),LINETHICK0,COLORFFFFFF;
筹码增幅%:=(主力筹码-REF(主力筹码,1))/REF(主力筹码,1);
N3:=BARSLAST(CROSS(C,MA(C,20)));
N4:=BARSLAST((MA(C,20)-C)
黑马跟踪:=IF(N3 N4,N3+1,0),COLOR00FF00,LINETHICK1;
MG:=IF(FINANCE(34) 2ANDFINANCE(32) 0.5ANDFINANCE(33) 0.1,50,0);
买入:=EMA(C,2);
卖出:=EMA(SLOPE(C,21)*20+C,42);
2:=(EMA(C,12)-EMA(C,25));
A2:=EMA(趋势2,3);
:=(趋势2-A2)*500000,COLORFFFF80,LINETHICK2;
庄家动向:=庄家-REF(庄家,1);
大资金:(CROSS(筹码增幅%,1)AND(资金动向线-生命线) 0AND主力筹码 25
AND黑马跟踪 0AND黑马跟踪 4ANDFINANCE(33)
AA:=HHV(H,40);
LJ:=100-100*(AA-C)/(AA-LLV(L,40));
LJ2:=MA(LJ,14);
BB:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
UU:=BB+6*STD(BB,11);
JJ:=V/((H-L)*2-ABS(C-O));
XX:=(IF(C O,JJ*(H-L),IF(C O,JJ*(H-O+C-L),V/2))+IF(C O,0-JJ*(H-C+O-L),IF(C O,0-JJ*(H-L),0-V/2)));
S1:=(XX/3)/1.15;
GJ:=(S1*0.55+(REF(S1,1)*0.33))+(REF(S1,2)*0.22);
LX:=EMA(GJ,3);
B1:=IF(SUM(LX,1) REF(MA(SUM(LX,1),1),1),SUM(LX,1),0);
B2:=IF(SUM(LX,2) REF(MA(SUM(LX,2),1),1),SUM(LX,2),0);
B3:=IF(SUM(LX,3) REF(MA(SUM(LX,3),1),1),SUM(LX,3),0);
B4:=IF(SUM(LX,4) REF(MA(SUM(LX,4),1),1),SUM(LX,4),0);
B5:=IF(SUM(LX,5) REF(MA(SUM(LX,5),1),1),SUM(LX,5),0);
B6:=IF(SUM(LX,6) REF(MA(SUM(LX,6),1),1),SUM(LX,6),0);
B7:=IF(SUM(LX,7) REF(MA(SUM(LX,7),1),1),SUM(LX,7),0);
B8:=IF(SUM(LX,8) REF(MA(SUM(LX,8),1),1),SUM(LX,8),0);
B9:=IF(SUM(LX,9) REF(MA(SUM(LX,9),1),1),SUM(LX,9),0);
BA:=IF(SUM(LX,10) REF(MA(SUM(LX,10),1),1),SUM(LX,10),0);
XG:=B1ANDB2ANDB3ANDB4ANDB5ANDB6ANDB7ANDB8ANDB9ANDBAAND(C-O) =(UU-BB)ANDV/REF(V,1) =1.9;
BUYHAOGU:CROSS(LJ,LJ2)ANDXG;
stICKLINE(C 0,37,50,4,0),COLOR003800;
37,COLORGRAY;
50,COLORGRAY;
43.5,COLORffffff;
多方:SMA(maX(C-REF(C,1),0),8,1)/SMA(Abs(C-REF(C,1)),8,1)*100,
COLORFFB5FF,linethick2;
MA多方:EMA(多方,5),COLOR0000FF,linethick2;
空方:90-多方,COLORFFFF7F;
MA空方:EMA(空方,5),COLORFF9900;
选股公式:
多方:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100,
COLORFFB5FF,linethick2;
MA多方:=EMA(多方,5),COLOR0000FF,linethick2;
空方:=90-多方,COLORFFFF7F;
MA空方:=EMA(空方,5),COLORFF9900;
开合之神:crOSS(多方,空方);
通达信选出大黑马选股指标公式截图