张口抓妖建仓(通达信公式 主图 源码 测试图)

 2023-02-20 14:36:44    通达信指标网  

{公式名称: 张口抓妖建仓 公式源码

公式类型: 技术指标公式-大势型
画线方法: 主图叠加
}
VAR1:=STRCAT(STRCAT(4,CON2STR(FINANCE(32),2)),5);
VAR2:=STRCAT(STRCAT(6,CON2STR(FINANCE(18),2)),5);
DRAWTEXT_FIX(ISLASTBAR,0.01,0.1,0,VAR1),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.15,0,VAR2),COLORCYAN;
VAR3:=STRCAT(7,GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.9,1,1,VAR3),COLORMAGENTA;
所属地域:DRAWTEXT_FIX(ISLASTBAR,0.78,0,1,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(ISLASTBAR,0.91,0,1,HYBLOCK),COLORYELLOW;
VAR4:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
STICKLINE(VAR4,CLOSE,OPEN,1,0),COLORYELLOW;
VAR5:=5;
VAR6:=3;
VAR7:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
VAR8:=IF(YEAR>=2025,0,1);
VAR9:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
VAR10:=EMA(CLOSE/VAR9*(1.88*CLOSE+LOW+OPEN)/2.75,3);
VAR11:=(VAR10-VAR9)/VAR9/2;
VAR12:=EMA(VAR10-VAR11*VAR10,5)*VAR8;
VAR13:=EMA(CLOSE,300)-3*STD(CLOSE,300);
张口下:IF(VAR7>VAR12,VAR7,VAR12)*VAR8,COLORYELLOW,LINETHICK2;
张口上:IF(VAR12<VAR7 AND VAR12<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),VAR12),COLORYELLOW,LINETHICK2;
IF(VAR12>VAR7,张口上,DRAWNULL),COLORGREEN,LINETHICK2;
开口XG:BARSLASTCOUNT(张口下!=张口上)=1,NODRAW;
DRAWICON(开口XG,MIN(张口上,张口下)*0.96,11);

DRAWTEXT(开口XG,LOW,71),COLORYELLOW;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=1048

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服