图片
图片
图片
图片
图片
主图公式源码
MA1:MA(CLOSE,120)COLORYELLOW,DOTLINE;
MA2:MA(CLOSE,250)COLORMAGENTA,DOTLINE;
TDZB3:=MA(CLOSE,30),LINETHICK1;
TDZB2:=MA(CLOSE,20),LINETHICK0;
TDZB6:=MA(CLOSE,60);
TDZB12:=MA(CLOSE,120),COLORBLUE,LINETHICK1;
GS买线:=EMA(CLOSE,2);
GS卖线:=EMA(SLOPE(CLOSE,32)*20+CLOSE,56),LINETHICK0;
BU:=CROSS(GS买线,GS卖线);
SEL:=CROSS(GS卖线,GS买线);
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13);
上轨:=1.06*AHC2;
顶:=1.13*AHC2;
ZT:=REF(C,1)*1.1-C< 0.01 AND H=C;
超牛:=CROSS(C,顶) AND ZT;
STICKLINE(超牛,O,C,2.5,0),COLORRED;
BOLL:=MA(C,20);
UPPER:=BOLL+2*STD(C,20);
LOWER:=BOLL-2*STD(C,20);
黑马:=CROSS(C,UPPER) AND C/REF(C,1)>1.05 ;
DRAWTEXT(黑马,L-1.15,'黑马'),COLORYELLOW;
N2:=60;
N1:=30;
GS11:=C=LLV(C,2);
DDSJ:=BARSLAST(FILTER(CROSS(0.08,GS11),N1))+1;
DRAWICON(DDSJ,L,1);
NA:=6;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,NA),NA)/EMA(EMA(ABS(MTM),NA),NA);
买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
DRAWICON(FILTER(卖1=1,1),H*1.06,2),COLORGREEN;
DRAWTEXT_FIX(1,0.0,0.8,0,'公'),COLORRED,LINETHICK1;
DRAWTEXT_FIX(1,0.0,0.8,0,' 众'),COLORRED,LINETHICK1;
DRAWTEXT_FIX(1,0.0,0.8,0,' 号:通达指标'),COLORRED,LINETHICK1;
选股指标源码
MA1:=MA(CLOSE,120);
MA2:=MA(CLOSE,250);
多方线3:=MA(CLOSE,30);
多方线2:=MA(CLOSE,20);
多方线6:=MA(CLOSE,60);
多方线12:=MA(CLOSE,120);
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,32)*20+CLOSE,56),LINETHICK0;
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13);
上轨:=1.06*AHC2;
顶:=1.13*AHC2;
ZT:=REF(C,1)*1.1-C< 0.01 AND H=C;
超牛:=CROSS(C,顶) AND ZT;
BOLL:=MA(C,20);
UPPER:=BOLL+2*STD(C,20);
LOWER:=BOLL-2*STD(C,20);
黑马:CROSS(C,UPPER) AND C/REF(C,1)>1.05 ;
本文中分享的指标公式源码都是测试截图,文章种指标源码复制--到通达信软件新建指标使用。复制源码注意复制完整,主图副图选股分开复制新建---欢迎关注--持续更新 本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。