通达信主力突破主图指标 紫色区域操作 蓝色休息 源码分享 附图

DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【地域】',DYBLOCK)),STRCAT('【概念】',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,所属板块),COLORLIRED;
DRAWTEXT_FIX(1,0.5,0.04,0,FGBLOCK),COLORWHITE;
X_1:=EMA(CLOSE,3);
X_2:=EMA(CLOSE,26);
X_3:=X_1-X_2;
牵牛线:EMA(EMA(EMA(CLOSE,3),3),3)+X_3,COLORWHITE;
寻牛线:MA(MA(LOW,3),3),COLORMAGENTA;
上箱顶1:=HHV(寻牛线,60);
DRAWBAND(牵牛线,RGB(85,0,0),上箱顶1,RGB(45,0,140));
DRAWBAND(寻牛线,RGB(0,65,45),上箱顶1,RGB(0,65,155));{廷进波段彩色区块}
上箱顶:HHV(MA(MA(LOW,3),3),60)LINETHICK3,COLORYELLOW;
下箱底:LLV(寻牛线,20)LINETHICK3,COLORFFBB00;
短牵牛:=EMA(CLOSE,6)-EMA(CLOSE,13);
长牵牛:=EMA(短牵牛,20);
MB1:=HHV(短牵牛,20);
MB2:=LLV(短牵牛,20);
箱顶:=REF(MB1,1);
箱底:=REF(MB2,1);
{2020.8.23之后涨跌停显示}
前5天:=BARSCOUNT(C)>5;{上市大于五天,前五天不限制幅度}
ZC:=REF(C,1);
ZF:=(H-ZC+0.01)/ZC*100;
DF:=(ZC-L+0.01)/ZC*100;
涨5:=ZF>=5 AND 前5天 AND C=H;
跌5:=DF>=5 AND 前5天 AND C=L;
涨10:=ZF>=10 AND 前5天 AND C=H;
跌10:=DF>=10 AND 前5天 AND C=L;
涨20:=ZF>=20 AND 前5天 AND C=H;
跌20:=DF>=20 AND 前5天 AND C=L;
涨停板:=IF(INBLOCK('科创板'),涨20,IF(INBLOCK('创业板') AND DATE>1200823,涨20,IF(INBLOCK('ST板块'),涨5,涨10)));
跌停板:=IF(INBLOCK('科创板'),跌20,IF(INBLOCK('创业板') AND DATE>1200823,跌20,IF(INBLOCK('ST板块'),跌5,跌10)));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(涨停板,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(涨停板,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(涨停板,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(涨停板,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(涨停板,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(涨停板,OPEN,CLOSE,0.1,0),COLOR33EEEE;
STICKLINE(跌停板,C,O,2.5,0),COLOR009900;
STICKLINE(跌停板,C,O,1.5,0),COLOR00BB00;
STICKLINE(跌停板,C,O,0.8,0),COLOR00DD00;
STICKLINE(跌停板,C,O,0.1,0),COLOR00FF00;{涨跌停K线}
{3个卖出信号}
X_7:=MA(CLOSE,1);
X_8:=SMA(SMA(SMA(X_7,2,1),2,1),2,1),NODRAW;
X_9:=MA(X_8,3),NODRAW;
{必须卖信号}
操作:=MA((L+H+C)/3,5);
起飞加速线:HHV(操作,60)DOTLINE,COLORLIRED;
DIFF1:=EMA(CLOSE,6)-EMA(CLOSE,13) COLORWHITE,LINETHICK2;
DEA1:=EMA(DIFF1,5) COLORYELLOW,LINETHICK1;
MACD1:=(DIFF1-DEA1)*2;
必须卖:=MACD1<0 AND CROSS(DEA1,DIFF1) AND CROSS(起飞加速线,C) AND 起飞加速线=REF(起飞加速线,1);
DRAWTEXT(必须卖,H,'★必须卖'),COLORGREEN;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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