以下是通达信神奇妖龙副图预警指标源码和截图
通达信神奇妖龙副图选股预警指标源码:
妖股线:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
XG:CROSS(妖股线,15);
:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);线:=20;输出:CROSS(主力资金,抄底线);
高:=REF(HHV(H,72),5);
龙门:REFDATE(高,DATE),COLORWHITE,LINETHICK2;
周:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA30:MA(CLOSE,30);
季:MA(CLOSE,60);
半年:MA(CLOSE,120),COLORFFFF00;
年:MA(CLOSE,250),COLORRED,LINETHICK2;
获利:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
昨半:REF((C+O)/2,1),COLORYELLOW,NODRAW;
半分:(C+O)/2,NODRAW,COLORWHITE;
H2:=MAX(H,REF(H,1));
L2:=MIN(L,REF(L,1));
两日半:(H2+L2)/2,NODRAW;
TM:=1200823;
:IF(DATE TM,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688')ORCODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;
跌停:IF(DATE TM,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688')ORCODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;
明涨停:IF(DATE TM,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688')ORCODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORLIMAGENTA;
明跌停:IF(DATE TM,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688')ORCODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00;
ZT:=C =涨停ANDPERIOD=5ANDH=C;
ZT1:=H =涨停ANDPERIOD=5ANDH
DT:=C =跌停ANDPERIOD=5ANDL=C;
DT1:=L =跌停ANDPERIOD=5ANDL
{涨停K线颜色设置}
STICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
{曾涨跌停打开K线颜色设置}
STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
DRAWTEXT(ZTANDDT1ANDPERIOD=5,L-0.03,'地天板'),COLORCC00CC;{从跌停到涨停}
DRAWTEXT(DTANDZT1ANDPERIOD=5,H+0.03,'天地板'),COLOR00CC00;{从涨停到跌停};
DRAWTEXT(DT1,L-0.09,'撬板'),COLORCC00CC;{从涨停到跌停};
DRAWTEXT(ZT1,H+0.03,'炸板'),COLOR00CC00;{从涨停到跌停};
假阴:=REF(C =O,1)ANDAMOUNT/V/100 REF(C,1)ANDC
假阳:=REF(C =O,1)ANDH REF(O,1)ANDC (REF(O-C,1))/3+REF(C,1)ANDAMOUNT/V/100 REF(C,1)ANDC
STICKLINE(假阴,O,C,0.2,0),COLORRED;{假阴柱};
STICKLINE(假阳,O,C,0.7,0),COLORLIGREEN;{假阳};
首板:=ZTANDCOUNT(ZT,3)=1;
二板:=REF(首板,1)ANDZT;
三板:=REF(二板,1)ANDZT;
四板:=REF(三板,1)ANDZT;
五板:=REF(四板,1)ANDZT;
六板:=REF(五板,1)ANDZT;
七板:=REF(六板,1)ANDZT;
八板:=REF(七板,1)ANDZT;
九板:=REF(八板,1)ANDZT;
十板:=REF(九板,1)ANDZT;
DRAWTEXT(首板,L,'1'),COLORWHITE;
DRAWTEXT(二板,L,'2'),COLORYELLOW;
DRAWTEXT(三板,L,'3'),COLOR00CC99;
DRAWTEXT(四板,L,'4'),COLORGREEN;
DRAWTEXT(五板,L,'5'),COLORLIGRAY;
DRAWTEXT(六板,L,'6'),COLORLIRED;
DRAWTEXT(七板,L,'7'),COLORLIBLUE;
DRAWTEXT(八板,L,'8'),COLORBLUE;
DRAWTEXT(九板,L,'9'),COLORWHITE;
DRAWTEXT(十板,L,'10'),COLORYELLOW;
DTP:=C 周AND周 MA10ANDMA10 MA30AND周
妖线:=EMA(EMA(C,9)*1.11,5);
捉妖:=C REF(C,1)*1.03ANDCROSS(C,龙门-0.05)ANDCROSS(C,妖线)ANDDTP;
DRAWICON(捉妖,(C+O)/2,23);
跟庄看盘:DRAWNULL,COLOR0088FF;
现价:REFDATE(C,DATE),DOTLINE,COLORLIGRAY;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX 0,2)ANDCROSS(DX,MA(DX,2));
JRS:=DRAWICON(FILTER(买=1,5),L*0.97,1);
收盘价买入:CROSS(JRS,0.8);
全年选股次数:SUM(JRS,250),NODRAW;
三日内涨2点卖出:HHV(H,2) REF(C,2)*1.02ANDREF(CROSS(JRS,0.8),2);
全年成功次数:SUM(三日内涨2点卖出,250),NODRAW;
通达信神奇妖龙副图选股预警指标截图