起涨点主图指标公式指标公式[通达信公式]
相关标签:通达信分时主图指标 、 通达信主趋势公式指标 、 通达信私募主图指标 、 通达信副图指标公式 、 通达信买卖点指标公式 、 通达信龙虎榜主图指标 、 通达信主图暴涨指标 、 通达信老鼠仓主图指标 、 通达信主图指标源码 、 通达信均线主图指标 、 通达信起爆点指标公式 、 通达信主图买卖指标 、 通达信带bs点主图指标 、 通达信主散指标公式 、
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
MA5:MA(CLOSE,5),LINETHICK1;
MA10:MA(CLOSE,10),LINETHICK1;
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30),LINETHICK1;
MA60:MA(CLOSE,60),COLORRED,LINETHICK2;
MA120:MA(CLOSE,120),COLORFFFF00,LINETHICK2;
MA250:=MA(CLOSE,250);
A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=MA(CLOSE,30);
A5:=MA(CLOSE,60);
A6:=MA(CLOSE,120);
A7:=MA(CLOSE,250);
均线金叉:=CROSS(A1, A2);
ZTO1:=EXIST(均线金叉,2);
ZT:=CLOSE>REF(CLOSE,1)*1.03;
BB:=(V/FROMOPEN)*240>=1.9*REF(V,1);
XGW1:=ZTO1 AND BB AND ZT;
XGWA1:=XGW1 AND A2>A4 AND A4>A5;
XGWA2:=XGW1 AND A5>A4;
DRAWTEXT(XGWA1,L-0.6,' 起涨Z'),COLORRED;
DRAWTEXT(XGWA2,L-0.6,' 起涨F'),COLORYELLOW;
AC1:=REF(C,1)/REF(C,2)>1.095 AND REF(C,1)>REF(O,1) ;
AC2:= L>REF(H,1) AND C<O AND V>REF(V,1) ;
XGF:=AC1 AND AC2 ;
DRAWTEXT(XGF,H-0.09,'●黑太阳'),COLORYELLOW;
TRFL:=VOL>REF(HHV(VOL,10),1)*3;
DRAWTEXT(TRFL,H-0.08,'●突然放量'),COLORRED;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,O,C,2.5,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,L,C,0,0), COLORRED;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,O,C-(C-O)/2,2.5,0),COLORBLUE ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,O,C-(C-O)/2,2.5,0), COLORBLUE ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,O,C-(C-O)/3,2.5,0),COLORYELLOW;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,O,C-(C-O)/3,2.5,0),COLORYELLOW ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,O,C-(C-O)*2/3,2.5,0),COLORBLUE;
STICKLINE(C<REF(C,1)AND REF(100*WINNER(C),1)-100*WINNER(C)>=30 ,O,C,2.5,0),COLOR00FF00 ;
STICKLINE(C<REF(C,1)AND REF(100*WINNER(C),1)-100*WINNER(C)>=30 ,H,O,0,0), COLOR00FF00 ;
STICKLINE(C<REF(C,1)AND REF(100*WINNER(C),1)-100*WINNER(C)>=30 ,L,C,0,0), COLOR00FF00;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,O*1.02,C,2.5,0), COLORRED ;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,L,C,0,0), COLORRED;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
选股买点1:=VAR10;
选股买点2:=CROSS(VAR20<-110 AND 选股买点1>0,0.5);
组合买:=(VAR11+VAR13+VAR15+VAR17);
买点确认:=组合买 OR 选股买点1 OR 选股买点2;
DRAWICON(买点确认,(L * 0.98),1);
均线金叉A:=CROSS(A1, A5);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
XGSD:=EXIST(买点确认 AND J<30,30)AND 均线金叉A AND A5>A6;
均线死叉:=CROSS(A2, A1)AND CROSS(A3, A1);
DRAWTEXT(均线死叉,H-0,'●-----------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
--------------------------------------------'),COLORRED;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容