一个副图加两个选股,超短买和短爆买选股出来的信号都是在副图上能看到,配合使用
超爆买选股源码:
趋势线:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-
2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
尝试买:=趋势线
AAA:=DMA((((H+L)+(C*2))/4.15),0.9);
AAA1:=REF(EMA(AAA,3),1);
AAA2:= KDJ.J 50 AND C REF(C,3);
AA:=(C-MA(C,30))/MA(C,30)*100;
AA1:=CROSS(0,(C-MA(C,5))/MA(C,5)*100);
A2:=AA REF(AA,1);
A3:=MA(C,10) REF(MA(C,10),1);
A4:=FILTER(AA1 AND A2 AND A3,10);
A5:=(2*C+H+L)/4;{www.9m8.cn 九毛八公式指标网}
A6:=MA(EMA((A5-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5),1);
B3:=REF(A4,2) AND CROSS(C,EMA(C,5)) ;
B4:=A6 REF(A6,1) AND REF(A6,1) REF(A6,2);
AB:=VOL/((H-L)*2-ABS(C-O));
AB1:=IF(C O,AB*(H-L),IF(C O,AB*((H-O)+(C-L)),VOL/2));
AB2:=IF(C O,AB*((H-C)+(O-L)),IF(C O,AB*(H-L),VOL/2));
AB3:= KDJ.J
BBBB:=AB1 AB2*6 AND AB3;
BBBB1:=CROSS(C,AAA1) AND AAA2;
BBBB2:=B3 AND B4;
短爆买:尝试买 AND (BBBB OR BBBB1 OR BBBB2);
超短买选股源码:
趋势线:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-
2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
尝试买:=趋势线
趋势线2:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-
3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);
低进1:=CROSS(趋势线2,8) AND 尝试买;
低进2:=L =REFDATE(REF(LLV(L,150),3),DATE) AND 尝试买;
S:=C-REF(C,1);{www.9m8.cn 九毛八公式指标网}
DX:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX 0,2) AND CROSS(DX,MA(DX,2)),1,0);
拉升:=FILTER(买=1,5);
超短买:拉升 AND (低进1 OR 低进2);
FF:=SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3,1);
短线趋势:=SMA((FF-50)*2,3,1)+SMA((EE-50)*2,3,1)/1,COLORYELLOW,LINETHICK2,NODRAW;
顶警戒:150,DOTLINE,COLORMAGENTA;
底戒线:(-150),DOTLINE,COLORGREEN;
STICKLINE(短线趋势 (-100),短线趋势,100,0,0),COLOR323232;
STICKLINE(短线趋势 (-100),短线趋势,100,0,0),COLOR9F9F5F;
STICKLINE(短线趋势 (-100),短线趋势,(-100),1,0),COLORYELLOW;
STICKLINE(短线趋势 (-120),短线趋势,(-120),1,0),COLORFF2400;
STICKLINE(短线趋势 (-140),短线趋势,(-140),1,0),COLORMAGENTA;
STICKLINE(短线趋势 (-150),短线趋势,(-150),1,0),COLORRED;
STICKLINE(短线趋势 100,短线趋势,100,1,0),COLORWHITE;
STICKLINE(短线趋势 120,短线趋势,120,1,0),COLORFF2400;
STICKLINE(短线趋势 140,短线趋势,140,1,0),COLORMAGENTA;
STICKLINE(短线趋势 150,短线趋势,150,1,0),COLORRED;
AABB:=LOW MA(SLOPE(CLOSE,20)*5+CLOSE,10) AND LOW MA(CLOSE,20);
CCDD:=COUNT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),5)
神猎手:CROSS(CLOSE,REF(LLV(LOW,250/12),2)) AND AABB AND CCDD,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,GNBLOCK),COLOR00CCCC;
趋势线:=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);
赶快买:CROSS(趋势线,5),NODRAW;
秘密买:趋势线 =5,COLOR00FF99,NODRAW;
尝试买:趋势线 =13,COLORCYAN,NODRAW;
STICKLINE(尝试买,0,-100,4,-1),COLORCYAN;
STICKLINE(秘密买,-90,-10,1,0),COLOR00FF99;
STICKLINE(赶快买,-90,100,1,0),COLORFF00FF;
STICKLINE(神猎手,-90,90,1,0),COLORRED;
趋势线2:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-
3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);
低进1:=CROSS(趋势线2,8) AND 尝试买;
低进2:=L =REFDATE(REF(LLV(L,150),3),DATE) AND 尝试买;
超短买:低进1 OR 低进2,COLOR0099FF,NODRAW;
STICKLINE(超短买,-60,20,3,0),COLOR0090FF;
STICKLINE(超短买,-55,15,1,-1),COLORRED;
AAA:=DMA((((H+L)+(C*2))/4.15),0.9);
AAA1:=REF(EMA(AAA,3),1);
AAA2:= KDJ.J 50 AND C REF(C,3);
AA:=(C-MA(C,30))/MA(C,30)*100;
AA1:=CROSS(0,(C-MA(C,5))/MA(C,5)*100);
A2:=AA REF(AA,1);
A3:=MA(C,10) REF(MA(C,10),1);
A4:=FILTER(AA1 AND A2 AND A3,10);
A5:=(2*C+H+L)/4;
A6:=MA(EMA((A5-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5),1);
B3:=REF(A4,2) AND CROSS(C,EMA(C,5)) ;
B4:=A6 REF(A6,1) AND REF(A6,1) REF(A6,2);
AB:=VOL/((H-L)*2-ABS(C-O));
AB1:=IF(C O,AB*(H-L),IF(C O,AB*((H-O)+(C-L)),VOL/2));
AB2:=IF(C O,AB*((H-C)+(O-L)),IF(C O,AB*(H-L),VOL/2));
AB3:= KDJ.J
BBBB:=AB1 AB2*6 AND AB3;
BBBB1:=CROSS(C,AAA1) AND AAA2;
BBBB2:=B3 AND B4;{www.9m8.cn 九毛八公式指标网}
短爆买:尝试买 AND (BBBB OR BBBB1 OR BBBB2),COLORRED,NODRAW;
STICKLINE(短爆买,0,70,3,0),COLORRED;
DRAWTEXT(短爆买,40,'短爆买'),COLORYELLOW;
DRAWTEXT(超短买,-20,'超短买'),COLORFFFFFF;
DRAWTEXT(赶快买,85,'赶快买'),COLORGREEN;
DRAWTEXT(神猎手,60,'神猎手'),COLORWHITE;
【短线趋势】:SMA((FF-50)*2,3,1)+SMA((EE-50)*2,3,1)/1,COLORYELLOW,LINETHICK2;
IF(短线趋势 =REF(短线趋势,1),短线趋势,DRAWNULL),COLORFF2400,LINETHICK2;
趋势上拐:=短线趋势 REF(短线趋势,1);
趋势下拐:=短线趋势 =REF(短线趋势,1);
DRAWICON(趋势上拐 AND REF(NOT(趋势上拐),1),短线趋势,1);
DRAWICON(趋势下拐 AND REF(NOT(趋势下拐),1),短线趋势,2);