主图
X_1:=CLOSE<=MAX(HIGH,REF(CLOSE,1))*0.92;
X_2:=BARSLAST(X_1);
STICKLINE(X_2>0 AND CLOSE<REF(MAX(HIGH,REF(CLOSE,1)),X_2),REF(MAX(OPEN,REF(CLOSE,1)),X_2),REF(CLOSE,X_2),4,0),COLORFF0080;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_3:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1);
X_4:=X_3 AND CLOSE>REF(MAX(HIGH,REF(CLOSE,1)),X_2);
STICKLINE(X_4,REF(CLOSE,1),CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(X_4,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(X_4,LOW,HIGH,0.8,0),COLORRED;
DRAWTEXT(X_4,HIGH,VAR2STR(BARSLASTCOUNT(X_4),0)),COLORMAGENTA,LINETHICK9;
DRAWNUMBER(ISLASTBAR,HIGH*1.15,DATE+19000000);
副图1
渔樵:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X底:=2;
一段选股:CROSS(渔樵,X底);
{一段选股,因为最近有很多朋友和我说我所发出来的指标下载次数要的分享比太多
所以我把2个选股预警指标放在了一起,下面是精选一段选股重的,不喜勿喷,谢谢您的支持与关注,
祝大家股市一路长虹!}
{比较推荐大家拆开使用,指标作为一个参考工具,这只是本人的一个思路,也从中得到了盈利,
同样的指标不同的操作方式,主要还是看自己怎么去看到一个事情的本质,希望大家也能从中找到
投机的方向}
X1:=C-REF(C,1);
X2:=100*EMA(EMA(X1,6),6)/EMA(EMA(ABS(X1),6),6);
X3:=LLV(X2,2)=LLV(X2,7) AND COUNT(X2<0,2)AND CROSS(X2,MA(X2,2));
X4:=FILTER(X3=1,5);
X5:=MAX(DYNAINFO(3),DYNAINFO(5));
X6:=MIN(DYNAINFO(3),DYNAINFO(6));
X7:=X5-X6;
X8:=X6+X7*7/8;
X9:=X6+X7*0.5/8;
X10:=(X9+X8)/2;
X11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(X11,3);
X14:=趋势线<11;
X15:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);
X16:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);
X17:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);
X18:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);
X19:=REF(趋势线,1)<0 AND CROSS(趋势线,0);
X20:=X15=1 OR X16=1 OR X17=1 OR X18=1 OR X19=1;
X21:=X20=1 AND C<X10;
二段选股:X4 AND X14 AND X21;
副图2
HJ_1:=22;
HJ_2:=55;
HJ_3:=0.2;
HJ_4:=3;
HJ_5:=4;
成交额:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,成交额,0,(-1),(-1)),COLOR00C0C0;
虚拟额:VOL,VOLSTICK;
HJ_6:=(CLOSE-REF(CLOSE,30))/REF(CLOSE,30);
STICKLINE(VOL=LLV(VOL,HJ_1),0,VOL,3,0),COLOR000099;
STICKLINE(VOL=LLV(VOL,HJ_1),0,VOL,2.5,0),COLOR0000CC;
STICKLINE(VOL=LLV(VOL,HJ_1),0,VOL,1.5,0),COLORRED;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6>=HJ_3,0,VOL,3,0),COLOR002933;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6>=HJ_3,0,VOL,2.5,0),COLOR008433;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6>=HJ_3,0,VOL,1.5,0),COLOR00B233;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6>=HJ_3,0,VOL,0.5,0),COLOR00E033;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6<HJ_3,0,VOL,3,0),COLOR11008B;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6<HJ_3,0,VOL,2.5,0),COLOR55008B;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6<HJ_3,0,VOL,1.5,0),COLORAA008B;
STICKLINE(VOL=HHV(VOL,HJ_2) AND CLOSE=HHV(CLOSE,HJ_1) AND HJ_6<HJ_3,0,VOL,0.5,0),COLORBLUE;
昨日换手:REF(VOL/CAPITAL*100,1),NODRAW,COLORWHITE;
当天换手:VOL/CAPITAL*100,NODRAW,COLORWHITE;
平均换手:MA(当天换手,180),NODRAW;
月总换手:SUM(当天换手,21),NODRAW,COLORRED;
HJ_7:=1;
HJ_8:=2;
HJ_9:=3;
HJ_10:=5;
HJ_11:=8;
HJ_12:=15;
HJ_13:=25;
HJ_14:=DYNAINFO(37)*100;
DRAWTEXT(HJ_14<HJ_7 AND ISLASTBAR,VOL,1),COLORYELLOW;
DRAWTEXT(HJ_14<HJ_8 AND HJ_14>=HJ_7 AND ISLASTBAR,VOL,2),COLORMAGENTA;
DRAWTEXT(HJ_14<HJ_9 AND HJ_14>=HJ_8 AND ISLASTBAR,VOL,3),COLORYELLOW;
DRAWTEXT(HJ_14<HJ_10 AND HJ_14>=HJ_9 AND ISLASTBAR,VOL,4),COLORRED;
DRAWTEXT(HJ_14<HJ_11 AND HJ_14>=HJ_10 AND ISLASTBAR,VOL,5),COLORGREEN;
DRAWTEXT(HJ_14<HJ_12 AND HJ_14>=HJ_11 AND ISLASTBAR,VOL,6),COLORMAGENTA;
DRAWTEXT(HJ_14<HJ_13 AND HJ_14>=HJ_12 AND ISLASTBAR,VOL,7),COLORGREEN;
DRAWTEXT(HJ_14<100 AND HJ_14>=HJ_13 AND ISLASTBAR,VOL,8),COLORYELLOW;
HJ_15:=(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/MIN(OPEN,CLOSE)*100;
HJ_16:=(MIN(OPEN,CLOSE)-LOW)/LOW*100;
HJ_17:=(HIGH-MAX(OPEN,CLOSE))/MAX(OPEN,CLOSE)*100;
HJ_18:=HJ_16>HJ_15*1.5 AND HJ_16>HJ_17*2 AND (HIGH-LOW)/LOW*100>=3 AND HJ_16>=HJ_4;
DRAWICON(HJ_18,VOL,26);
HJ_19:=HJ_17>HJ_15*1.5 AND HJ_17>HJ_16*2 AND (HIGH-LOW)/LOW*100>=3 AND HJ_17>=HJ_5 AND HIGH>=HHV(HIGH,22);
DRAWICON(HJ_19,VOL,15);
{-----------------------------------};