{指标介绍:
1.暗红色区块是主升持股区域(操作或持股);蓝色区块是反弹区域(观望或做反弹);深蓝色区域是持币区域(持币);
2.减仓和预警卖是减仓信号,当两信号共振时更有效,要清仓;
3.主图中的其他信号可以作为辅助使用;
4.原则上K线站上(突破)上箱顶黄线时准备介入;(主升段肯定是在黄线上的)
5.主图白线不破黄线就是强势(暗红色块区);只做白线在红绿线(二线合一)上方的行情;}
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;
源码粘贴完整。。。。。下载附件....