在线检测未来函数

通达信主力动机指标公式

来源:Internet,编辑:股旁网,2024-12-23

本文指标含有选股公式如下:
股旁网此处内容已被隐藏,请输入验证码查看内容。
验证码:
请关注本站微信公众号,回复“88”,获取验证码。
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。

VAR1:=(vol/CLOSE)/2;
VAR2:=SUM(IF(VAR1>100 AND CLOSE>REF(CLOSE,1),VAR1,0),0);
VAR3:=SUM(IF(VAR1>100 AND CLOSE<REF(CLOSE,1),VAR1,0),0);
VAR4:=SUM(IF(VAR1<100 AND CLOSE>REF(CLOSE,1),VAR1,0),0);
VAR5:=SUM(IF(VAR1<100 AND CLOSE<REF(CLOSE,1),VAR1,0),0);
VAR6:=VAR2+VAR3+VAR4+VAR5;
VAR7:=(C*2+H+L)/4*10;
VAR8:=EMA(VAR7,13)-EMA(VAR7,34);
VAR9:=EMA(VAR8,5);
VAR10:=2*(VAR8-VAR9)*5.5;
VAR11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
VAR12:=EMA(VAR11,3);
VAR13:=(VAR12-REF(VAR12,1))/REF(VAR12,1)*100;
VAR14:=EMA(EMA(CLOSE,9),9);
VAR15:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*500;
VAR16:=IF(VAR15>REF(VAR15,1) AND VAR15>0,VAR15,0);
VAR17:=IF(VAR15<REF(VAR15,1) AND VAR15>0,VAR15,0);
VAR18:=IF(VAR15<0,VAR15,0);
VAR19:=VAR16+VAR17;
VAR20:=-VAR18;
VAR21:=(SUM(VAR19,0)-SUM(VAR20,0))/20;
VAR22:=(VOL/C)/2;
VAR23:=SUM(IF(VAR22>100 AND CLOSE>REF(CLOSE,1),VAR22,0),0);
VAR24:=SUM(IF(VAR22>100 AND CLOSE<REF(CLOSE,1),VAR22,0),0);
VAR25:=SUM(IF(VAR22<100 AND CLOSE>REF(CLOSE,1),VAR22,0),0);
VAR26:=SUM(IF(VAR22<100 AND CLOSE<REF(CLOSE,1),VAR22,0),0);
VAR27:=VAR23+VAR24+VAR25+VAR26;
VAR28:=(VAR23/VAR27)*100;
VAR29:=(VAR24/VAR27)*100;
VAR30:=VAR28-VAR29;
VAR31:=VAR21>0.1 AND VAR30>0 AND REF(VAR30,1)<=0 AND VAR21+0.3;
VAR32:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;
VAR33:=IF(DATE<=1150530,1,0);
VAR34:=BETWEEN((C*VAR33)/(SUM(AMOUNT,BARSCOUNT((C*VAR33)))/SUM(VOL*100,BARSCOUNT((C*VAR33)))),1.05,0.95);
VAR35:=IF(VAR34=0,MA((C*VAR33),BARSCOUNT((C*VAR33))),(SUM(AMOUNT,BARSCOUNT((C*VAR33)))/SUM(VOL*100,BARSCOUNT((C*VAR33)))));
VAR36:=CLOSE;
VAR37:=MAX(DYNAINFO(3),DYNAINFO(5));
VAR38:=MIN(DYNAINFO(3),DYNAINFO(6));
VAR39:=VAR37-VAR38;
VAR40:=VAR38+VAR39*7/8,COLORGREEN;
VAR41:=VAR38+VAR39*0.5/8,COLORMAGENTA;
VAR42:=EMA(EMA(CLOSE,13),13);
VAR43:=(VAR42-REF(VAR42,1))/REF(VAR42,1)*1000;
VAR44:=VAR43>REF(VAR43,1) AND VAR43<-0.2;
VAR45:=DYNAINFO(11);
VAR46:=55;
VAR47:=8;
VAR48:=3;
VAR49:=(EMA(CLOSE,VAR47)-EMA(C,VAR46))*10;
VAR50:=EMA(VAR49,VAR48),COLOR00FF00;
VAR51:=(CLOSE-VAR45)/VAR45<-0.03;
VAR52:=crOSS(VAR49,VAR50) AND VAR49<-0.3;
VAR53:=8;
VAR54:=FILTER(VAR51 AND VAR44 AND VAR52,VAR53);
VAR55:=IF(HOUR>=9 AND HOUR<14,1,0);
VAR56:=VAR54 AND TIME>15 AND VAR55;
趋势线:(EMA(VAR32,3)-50)*2,COLORWHITE;
主力进:IF(VAR10>=0,VAR10*3,0),COLORCYAN;
主力:=CROSS(趋势线,0) AND 主力进>0 AND expma(C,10)>EXPMA(C,60);
DRAWBAND(主力进,RGB(200,10,10),0,RGB(10,200,10));
STICKLINE(VAR12>=90 AND VAR13,50,60,2,0),COLORCYAN;
抄底线:-85,COLORCYAN,POINTDOT;
见顶线:95,COLORGREEN,POINTDOT;
STICKLINE(EXPMA(C,10)<EXPMA(C,60),0,10,2.0,0),COLORGREEN;
STICKLINE(EXPMA(C,10)>EXPMA(C,60),15,25,2.0,0),COLORRED;
DRAWTEXT_FIX(C>O,0,0.2,0,'趋势线:主力'),COLORMAGENTA;
STICKLINE(EXPMA((C/VAR35),120)>1.003,30,40,2.0,0),COLORMAGENTA;
DRAWTEXT(CROSS(EXPMA((C/VAR35),20),1.04),-50,'板'),COLORCYAN;
DRAWTEXT(CROSS(EXPMA((C/VAR35),20),1.02),-60,'追'),COLORWHITE;
DRAWTEXT(CROSS(EXPMA((C/VAR35),120),1.0029),-80,'量'),COLORWHITE;
DRAWICON(CROSS(EXPMA((C/VAR35),120),1.004),0,17);
DRAWICON(LONGCROSS(VAR36,VAR40,2),95,2);
DRAWICON(CROSS(趋势线,-85),趋势线,9);
STICKLINE(VAR56,-90,-30,1,0),COLORRED;
STICKLINE(主力,-30,30,2,0),COLORRED;
DRAWTEXT(主力,-30,'主进'),COLORYELLOW;

通达信主力动机指标公式

相关文章