通达信顺势而动副图指标公式
安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。
不会安装点击 安装指南 步骤操作。
A1:=SMA(MAX((CLOSE - REF(CLOSE,1)),0), 8, 1) / SMA(ABS((CLOSE - REF(CLOSE,1))), 8.000, 1) * 100;
A2:=SMA(MAX((CLOSE - REF(CLOSE,1)),0), 55, 1) / SMA(ABS((CLOSE - REF(CLOSE,1))), 55.000, 1) * 100;
A3:=A1<=20 AND A2<=49;
超短1:=REF(A3,1)=1;
超短2:=REF(SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<12,1)=1;
超短3:=CROSS(SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100,12);
共振:超短1+超短2+超短3=3 COLORRED;
STICKLINE(共振,90,80,3,0),COLORRED;
DRAWTEXT(共振,75,'共振'),COLORRED;
LC:=REF(C,1);
RSI:=SMA(MAX(C-LC,0),14,1)/SMA(ABS(C-LC),14,1)*100;
BIAS:=(C-MA(C,12))/MA(C,12)*100;
A4:=RSI<27;
A5:=(C/MA(C,20)-1)*100<-14;
AA:=COUNT(C<=DTPRICE(REF(C,1),0.1),2)=2;
BB:=IF(EXIST(AA,20),0,1);
CC:=IF(REF(H<=DTPRICE(REF(C,1),0.1),1),0,1);
A6:=BB AND CC;
A7:=EXIST(H=HHV(H,250),60);
抄底:A4 AND A5 AND A6 AND A7,COLORYELLOW;
STICKLINE(抄底,100,110,3,0),COLORYELLOW;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
KK:=EMA(SMA(RG,3,1),2);
DD:=SMA(KK,3,1);
VAR11:=1;
VAR22:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR33:=LLV(LOW,5);
VAR44:=HHV(HIGH,4);
C1:=(EMA((((VAR22-VAR33)/(VAR44-VAR33))*100),4)*VAR11);
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR11);
TJ1:=CROSS(C1,C2);
TJ2:=CROSS(C2,C1);
TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;
TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
VAR500:=3*VAR300-2*VAR400;
异动:=CROSS(VAR500,VAR300) AND VAR300<2.1 AND C>O;
BV11:=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);
势:=EMA(BV11,3);
顺势而动:异动 AND 势<5 AND 势>=REF(势,1), COLORDB70DB,LINETHICK1;
STICKLINE(顺势而动,80,90,3,0),COLORFF00FF;
VAR1P:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2P:=SMA(ABS(LOW-VAR1P),13,1)/SMA(MAX(LOW-VAR1P,0),10,1);
VAR3P:=EMA(VAR2P,10);
VAR4P:=LLV(LOW,33){需要编写选股关注微信公众号:程序化指标};
VAR5P:=EMA(IF(LOW<=VAR4P,VAR3P,0),3);
主力进场:IF(VAR5P>REF(VAR5P,1),VAR5P,0),COLOR8C7853,NODRAW;
精准抄底:主力进场>10,COLORBLUE,NODRAW;
STICKLINE(VAR5P>REF(VAR5P,1),0,VAR5P,3,0 ),COLORRED;
STICKLINE(VAR5P>REF(VAR5P,1) AND 主力进场>10,0,VAR5P,3,0 ),COLORBLUE;
洗盘:IF(VAR5P<REF(VAR5P,1),VAR5P,0),COLORGREEN,NODRAW;
STICKLINE(VAR5P<REF(VAR5P,1),0,VAR5P,3,0),COLORGREEN;
STICKLINE(抄底,0,VAR5P,1,1), COLORYELLOW;
DRAWTEXT(抄底,VAR5P+10,'抄底'), COLORYELLOW;
STICKLINE(顺势而动,0,VAR5P,1,0 ), COLORCC3299;
DRAWTEXT(顺势而动,VAR5P+5,'顺势而动'), COLORCC3299;
版权声明
所有指标均为免费分享。
文章内容来自互联网,本网站无任何收费项目也不推荐股票广告投放请自行识别风险。