通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
公式解读:
二、强势选股指标公式
JDZ:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
S1:=IF(CODELIKE( 300 ),0,1);
S2:=IF(NAMELIKE( S ),0,1);
S3:=IF(NAMELIKE( * ),0,1);
{去掉停牌}
S4:=DYNAINFO(17)
去掉:=S1ANDS2ANDS3ANDS4;
公式:=REF(C,1) REF(JDZ,1)ANDC
倾角5日:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)
A1:=MA(CLOSE,34);
A2:=MA(CLOSE,55);
A3:=MA(CLOSE,89);
A4:=MA(CLOSE,120);
A5:=CLOSE A1ANDA1 A2ANDA2 A3ANDA3 A4ANDCLOSE OPEN;
A6:=V REF(V,20)*1.55;{(手) 5日前的成交量(手)*2}
公式AND去掉ANDSUM(100*V/CAPITAL,2) =5.1
ANDC 26ANDRANGE(CAPITAL/100,3000,140000)
ANDIF(COUNT(倾角5日,3) =1,1,0)ANDA5ANDA6;
Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);
Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);
Var3b:=(CLOSE-Var1b)/Var1b*100
Var4b:=(Var1b-Var2b)/Var2b*100
逆势买入:if(Var3bANDVar4bAND
(OPEN-REF(CLOSE,1))/REF(CLOSE,1) -0.05,45,0),stick,linethick3,col
orf00ff0;
drawtext(逆势买入,40, 逆势买入 ),colorf0f000;
{龙战四海:99%成功率,选股条件:龙战四海=65}
Var1c:=REF(OPEN,1) REF(OPEN,2);
Var2c:=REF(CLOSE,1) REF(CLOSE,2);
Var3c:=REF(LOW,1) REF(LOW,2);
Var4c:=OPEN REF(CLOSE,1)ANDOPEN/REF(CLOSE,1) =1.03;
Var5c:=CLOSE OPENANDCLOSE/OPEN 1.03;
Var6c:=Var1cANDVar2cANDVar3cANDVar4cANDVar5c;
Var7c:=CLOSE/MA(CLOSE,3) =1.07ANDCLOSE=HHV(CLOSE,3)
ANDMA(VOL,2)/MA(VOL,40) =3AND
MA(VOL,2)=HHV(MA(VOL,2),3)ANDVOL REF(VOL,1)AND
CLOSE REF(CLOSE,1);
Var8c:=REF(CLOSE,1);
Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5,
1)*100;
VarA:=COUNT(Var9c 20,20)
VarB:=Var7cANDVarA;
龙战四海:if(VarBANDVar6c,65,0),colorf0f000;
drawtext(龙战四海,55, 龙战四海 ),colorf00ff0;
{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。最后在星
位跳空下跌,标志着市场最后一线希望破灭,但与此同时行情在绝望
之中诞生,伴随第三天股价跳空上涨,一轮触底回升行情就此展开。}
{云梯}{参数描述:P1(0,100,20)P(0.9,1.1,1.088)P2(1,300,5)}
Var1d:=REF(INDEXC,1);
Var2d:=SMA(MAX(INDEXC-Var1d,0),6,1)/SMA(ABS(INDEXC-Var1d
),6,1)*100;
Var3d:=COUNT(Var2d 20,20) =3ORVar2d =1.088;
Var4d:=Var2d =75ANDVar2d
Var5d:=Var3dORVar4d;
Var6d:=SUM(VOL/CAPITAL,0)/BARSCOUNT(CLOSE);
Var7d:=VOL/(CAPITAL*Var6d);
Var8d:=MA(Var7d,5);
Var9d:=100*Var6d;
VarA1:=Var8d-Var9d;
VarB1:=(HIGH+LOW)/2;
VarC1:=VOL/CAPITAL/SMA(VOL/CAPITAL,25,2);
VarD1:=MA(VarB1*VarC1,25);
云梯:if(Var3dANDCLOSE =REF(CLOSE,1)AND
AND
ANDVarA1 0AND
INDEXC =0.98*REF(INDEXC,1)
CLOSE =1.45*LLV(CLOSE,55)
VarD1 0,30,0),stick,color00ff00;
drawtext(云梯,25, 云梯 ),colorwhite;
{东升}
Var1f:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100
Var2f:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSEREF(CLOSE,1)),3,1)*100
Var3f:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
东升:if(Var1fANDVar2fANDCROSS(Var3f,79)AND(OPEN CLOSE
公式解读:
推荐阅读:最强选股指标
AA:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:=AA/10000;
指数百万个万手:=VOL/10000;
TY:=C;
A11:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A11,10);C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
前期高位:=REF(H,BARSLAST(HD));
X:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)
倍量:=预测 =REF(指数百万个万手,1)*1.2;
XG:=CROSS(C,前期高位)ORC 前期高位;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028,LINETHICK3;
A9:=MA(OPEN,3.2)*1.028,LINETHICK3;
安全线:=EMA(CLOSE,55);
CLOSE OPENANDA1 A2ANDA2 A3ANDA3 A4ANDA4 A5ANDA5 A6AND
A6 A7AND
XGANDCLOSE OPENANDXAND倍量ANDC
M:SUM(C*V,60)/SUM(V,60),COLORRED,LINETHICK2;
GL:=(H/M-1)*100;
TJ:=EVERY(GL 9,80);
XG1:=REF(TJ,1)ANDCROSS(GL =9,0.5);
STICKLINE(XG1,L,H,0,0),COLOR0088EE;
STICKLINE(XG1,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(XG1,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(XG1,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(XG1,C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