通达信王者归来主图+王者回调副图/选股预警 源码

做强牛回调成功率不错的套装指标,具体如何使用一看就懂,不必细说

者归来主图源码
是否创业:=IF(CODELIKE('300') OR CODELIKE('301') ,1,0);

是否科创:=IF(CODELIKE('688') OR CODELIKE('689'),1,0);

涨停价格10:=ZTPRICE(REF(CLOSE,1),0.1);

涨停价格20:=ZTPRICE(REF(CLOSE,1),0.2);

跌停价格10:=DTPRICE(REF(CLOSE,1),0.1);

跌停价格20:=DTPRICE(REF(CLOSE,1),0.2);

非上市首日:=BARSLAST(DATE<>REF(DATE,1))+1;

 

涨停:=C=涨停价格10 OR C=涨停价格20;

STICKLINE(涨停,OPEN,CLOSE,2.95,0),COLORRED;

跌停:=C=跌停价格10 OR C=跌停价格20;

STICKLINE(跌停 AND C<>O,OPEN,CLOSE,2.95,0),COLORBLUE;

 

 

 

二一位:IF(C>O,(C-O)*0.5+O,(O-C)*0.5+C),NODRAW,COLORRED;

三一位:O+(C-O)*2/3,NODRAW,COLORRED;

涨停价格:=IF(是否创业 OR 是否科创,ZTPRICE(C,0.2), ZTPRICE(C,0.1));

明日涨停:涨停价格,NODRAW,COLORRED;

 

{板块信息}

DRAWTEXT_FIX(ISLASTBAR,0,1,0,HYBLOCK),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0.1,1,0,GNBLOCK),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0.05,1,0,DYBLOCK),COLORRED;

 

 

是否触及跌停:=L <= 跌停价格10;

实体是否是阴:=C<O;

 

STICKLINE(是否触及跌停 AND 实体是否是阴,C,L,0.01,0),COLORBLUE;

STICKLINE(是否触及跌停 AND 实体是否是阴,OPEN,CLOSE,2.95,0),COLORBLUE;

 

低开高走:=C>O;

假阳1:=C<REF(C,1) AND 低开高走 AND 非上市首日;

假阳2:=AMOUNT/V/100<REF(C,1) AND AMOUNT/V/100>(REF(C,1)/10) AND O<REF(C,1) AND NOT(假阳1) AND 低开高走 AND 非上市首日;

 

倍量柱:=C>REF(C,1) AND V >= REF(V,1)*2 AND V < REF(V,1)*3 AND C>O AND NOT(假阳1) AND NOT(假阳2);

STICKLINE(倍量柱,OPEN,CLOSE,2.95,0),COLOR0099FF;

 

高开低走:=C<O;

假阴1:=C>REF(C,1) AND 高开低走;

假阴2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(假阴1) AND 高开低走;

前日涨停:=REF(CLOSE,1)>=ZTPRICE(REF(CLOSE,2),0.1);

STICKLINE(假阴1 AND 前日涨停,OPEN,CLOSE,2.95,0),COLORMAGENTA;

STICKLINE(假阴2 AND 前日涨停,OPEN,CLOSE,2.95,0),COLORMAGENTA;

 

{低开高走:=C>O;

假阳1:=C<REF(C,1) AND 低开高走 AND 非上市首日;

假阳2:=AMOUNT/V/100<REF(C,1) AND AMOUNT/V/100>(REF(C,1)/10) AND O<REF(C,1) AND NOT(假阳1) AND 低开高走 AND 非上市首日;

STICKLINE(假阳1,OPEN,CLOSE,2.95,0),COLOR00CCFF;

STICKLINE(假阳2,OPEN,CLOSE,2.95,0),COLOR00CCFF;}

 

是否板枪:=H >= 涨停价格10;

实体是否是阳:=C>O;

 

STICKLINE(是否板枪 AND 实体是否是阳,C,H,0.01,0),COLORRED;

STICKLINE(是否板枪 AND 实体是否是阳,OPEN,CLOSE,2.95,0),COLORRED;

 

{二一位画线}

FLAG:=ABS(C-O)/IF((H-L) = 0,100,H-L);

ZHANGF:=ABS(C-O)/O;

STICKLINE(ZHANGF>=0.03 && FLAG >= 0.03,二一位,二一位,-1,0),COLORLIRED;

 

 

跳空:=C>O AND  O>=REF(MAX(C,O),1)+0.01  OR O>=REF(C,1)+0.01 AND C!=O;

STICKLINE(跳空, O,(C-O)*0.01+O,-1,0),COLORBLUE;

 

王者归来回调源码

X_1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);

X_2:=DMA(CLOSE,X_1);

X_3:=(1+9/100)*X_2;

X_4:=(1-9/100)*X_2;

X_5:=CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/REF(CLOSE,1)<1.1035 AND CLOSE=HIGH;

X_6:=REF(COUNT(X_5,6)=1,1);

X_7:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-10),1);

X_8:=AMOUNT/VOL/7;

X_9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;

X_10:=SUM(AMOUNT,10)/X_8/7;

X_11:=DMA(X_9,VOL/X_10);

X_12:=(CLOSE-X_11)/X_11*100;

X_13:=CROSS(X_12,(-5)) OR CROSS(X_12,(-10));

X_14:=CLOSE/REF(CLOSE,20)<1.3 OR REF(CLOSE,3)/REF(CLOSE,20)<1.3;

X_15:=X_6 AND X_7 AND CLOSE>X_4 AND CLOSE<X_2 AND CLOSE/REF(CLOSE,1)>1.01 AND X_13 AND X_14;

X_16:=FILTER(X_15,2);

STICKLINE(X_16,0.5,0.9,0.5,0),COLORWHITE;

STICKLINE(X_16,0,0.5,0.5,0),COLORMAGENTA;

DRAWICON(X_16,1.2,1);

 

王者VOL源码

非上市首日:=BARSLAST(DATE<>REF(DATE,1))+1;

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));

MTIME:=MOD(FROMOPEN,TOTAL);

CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1) && FROMOPEN > 60,VVOL,0,-1,-1),COLOR00C0C0;

VOLUME:VOL,VOLSTICK;

{MAVOL1:MA(VOLUME,M1);

MAVOL2:MA(VOLUME,M2);}

 

跌停价格10:=DTPRICE(REF(CLOSE,1),0.1);

跌停价格20:=DTPRICE(REF(CLOSE,1),0.2);

 

跌停:=C=跌停价格10 OR C=跌停价格20;

STICKLINE(跌停,VOL,0,-1,0),COLORBLUE;

是否触及跌停:=L <= 跌停价格10;

实体是否是阴:=C<O;

STICKLINE(是否触及跌停 AND 实体是否是阴,VOL,0,-1,0),COLORBLUE;

 

倍量柱:=C>REF(C,1) AND V >= REF(V,1)*2 AND V < REF(V,1)*3 AND C>O;

STICKLINE(倍量柱,VOL,0,-1,0),COLOR0099FF;

 

TJ:=C<O;

TJ1:=C>REF(C,1) AND TJ;

TJ2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(TJ1) AND TJ;

前日涨停:=REF(CLOSE,1)>=ZTPRICE(REF(CLOSE,2),0.1);

STICKLINE(TJ1 AND 前日涨停,VOL,0,-1,0),COLORMAGENTA;

STICKLINE(TJ2 AND 前日涨停,VOL,0,-1,0),COLORMAGENTA;

 

{低开高走:=C>O;

假阳1:=C<REF(C,1) AND 低开高走 AND 非上市首日;

假阳2:=AMOUNT/V/100<REF(C,1) AND AMOUNT/V/100>(REF(C,1)/10) AND O<REF(C,1) AND NOT(假阳1) AND 低开高走 AND 非上市首日;

STICKLINE(假阳1,VOL,0,-1,0),COLOR00CCFF;

STICKLINE(假阳2,VOL,0,-1,0),COLOR00CCFF;}

 

 

涨停价格10:=ZTPRICE(REF(CLOSE,1),0.1);

涨停价格20:=ZTPRICE(REF(CLOSE,1),0.2);

 

是否板枪:=H >= 涨停价格10;

实体是否是阳:=C>=O;

TJ3:=是否板枪 AND 实体是否是阳 AND PERIOD = 5;

STICKLINE(TJ3,VOL,0,-1,0),COLORRED;

 

 

 

{DRAWICON(TJ1,H,1);

DRAWICON(TJ2,H,5);};

SL1TJ:=V=LLV(V,100) AND BARSCOUNT(V)>10;

SL2TJ:=V<REF(V,1)/2 AND NOT(SL1TJ);

SDI:=IF(C>O,O,C);

SDING:=IF(C>O,C,O);

SL3TJ:=V<REF(V,1)/1.5 AND NOT(SL2TJ) AND NOT(SL1TJ);{ AND SDI>REF((SDING-SDI)/1.5+SDI,1);}

 

DRAWTEXT(SL3TJ,V*0.95,'3'),DRAWABOVE,COLORRED;

DRAWTEXT(SL2TJ,V*0.95,'2'),DRAWABOVE,COLORRED;

DRAWTEXT(SL1TJ,V*0.95,'1'),DRAWABOVE,COLORRED;



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

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

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

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