您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通达信最新指标公式 通达信回头突破指标公式源码(2)

2018-06-29 16:35    股票知识   zhishi.southmoney.com
    

V4:=EMA(C,60);
M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;
M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;
M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;
M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);
M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);
粘合:IF(M4 OR M5,40,0),COLORYELLOW,POINTDOT;
STICKLINE(粘合,40,0,1,1),COLORYELLOW;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盘整:IF(W4 AND COUNT(W4,5)=1,35,0),COLORFF00FF,POINTDOT;
STICKLINE(突破盘整,35,0,1,1),COLORFF00FF;
突破在即:IF(W4 AND COUNT(W4,5)=1,40,0),COLORRED,POINTDOT;
STICKLINE(突破在即,40,0,1,1),COLORRED;
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
EMA34:=EMA(C,34);
U1:=EMA13>EMA21 AND EMA21>EMA34;
U2:=BARSLAST(C<EMA13) OR BARSLAST(C<EMA21);
U3:=C>EMA(C,250) AND U1 AND U2 AND EMA13>REF(EMA13,1) AND CROSS(C,EMA13);
U4:=C>EMA(C,250) AND U1 AND U2 AND EMA21>REF(EMA21,1) AND CROSS(C,EMA21);
牛回头:IF(U3 OR U4,35,0),COLORFF00FF,POINTDOT;
STICKLINE(牛回头,35,0,1,1),COLORFF00FF;
VAR1Q:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
STICKLINE(VAR1Q>20 AND VAR1Q<80,VAR1Q,VAR1Q,3,1),COLORRED;
STICKLINE(VAR1Q<REF(VAR1Q,1),VAR1Q,VAR1Q,3,1),COLORFFCC66;
STICKLINE(VAR1Q>80,VAR1Q,VAR1Q,3,1),COLOR00FF00;
STICKLINE(VAR1Q<20,VAR1Q,VAR1Q,3,1),COLORYELLOW;
ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);
M1A:=EMA(ABV,12);
M2A:=EMA(ABV,26);
MTM:=CLOSE-REF(CLOSE,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
MTGJ:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);
MAZL:=MA(ZLGJ,5);
A:=((VOL)/(CAPITAL))*(100);
S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
X:=1;
V1A:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
V2A:=REF(V1A,1);
V3A:=MAX(V1A-V2A,0);
V4A:=ABS(V1A-V2A);
V5A:=SMA(V3A,10,1);
V6A:=SMA(V4A,10,1);
V8A:=COUNT(((V5A)/(V6A)<0.2),5);
V9A:=COUNT((LLV(V1A,10)=V1A),10);
主力进出:=IF((MMS>REF(MMS,1) AND ZLGJ>REF(ZLGJ,1) AND CROSS(ABV,M2A) AND ABV>REF(ABV,1) AND M1A>REF(M1A,1) AND M2A>REF(M2A,1)),65,0),COLORWHITE,POINTDOT;
主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);
STICKLINE(主力进出 OR 主进主轨,65,0,2,1),COLORWHITE;
精准买卖:=V8A>=1 AND V9A>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2A);
短线买点:=V8A>=1 AND V9A>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);
中线买点:=V8A>=1 AND V9A>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);
(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号