通达信起涨点主图指标

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;




未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图