{缺口}
stickline(L>REF(H,1),L,REF(H,1),50,1001),color0000FF;
stickline(REF(L,1)>H,ref(L,1),H,50,1001),color00FF00;
{买卖}
操作: MA((LOW+HIGH+CLOSE)/3,5),color00ffff;
拉升: HHV(操作,13),colorff00ff;
压力: HHV(操作,60),color00ff00;
买卖: LLV(操作,13),colorffffff;
支撑: LLV(LOW,60)*1.02,colorffff00;
顶: HHV(HIGH,60)*0.98,color0000ff;
A1:=REF(CLOSE,1)<REF(OPEN,2);
A2:=CLOSE>OPEN ;
A3:=REF(HIGH,1)<REF(LOW,2) ;
Aa4:=HIGH>REF(LOW,1);
stickline(A1 AND A2 AND A3 AND Aa4,(LOW – 0.4),(LOW -1.3),4,0),color00FFFF;
DRAWTEXT( A1 AND A2 AND A3 AND Aa4,(LOW – 0.3),’出击’),color00FFFF;
DRAWTEXT(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01 AND A1 AND A2=0 AND A3=0 AND Aa4=0,(LOW – 0.3),’震仓’),color0000FF;
B:=(SMA(LOW,5,2) * 0.96);
BB:=LLV(HIGH,36);
B2:=LLV(HIGH,30);
stickline(((((LOW <= B) AND (HIGH >= BB)) AND (CLOSE >=B2 )) AND ((CLOSE / OPEN) > 1.03)),(LOW – 0.2),(LOW -0.9),4,0),color0000FF;
DRAWTEXT(((((LOW <= B) AND (HIGH >= BB)) AND (CLOSE >=B2 )) AND ((CLOSE / OPEN) > 1.03)),(LOW – 0.08),’★抄底’),color0000FF;
Va1:=EMA(CLOSE,8);
Va2:=EMA(Va1,20);
Va3:=crOSS(Va1,Va2);
Va4:=vol/SUM(VOL,13);
Va5:=DMA(CLOSE,Va4);
Va6:=Va1<MA(CLOSE,120);
A3a:=Va3 AND Va6 AND (CLOSE-Va5)/Va5*100/2.5>1.6;
A4a:=CROSS( (CLOSE-Va5)/Va5*100/2.5,0 ) and (CLOSE-Va5)/Va5*100/2.5>1.5 ;
DRAWTEXT(A4a>0 or A3a>0,l-0.3,’追涨’),COLORWHITE;
stickline(A4a>0 or A3a>0,(LOW – 0.2),(LOW -0.5),4,0),COLORWHITE;
VV1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VV2:=SMA(VV1,7,1);
VV3:=SMA(VV2,12,1);
VV4:=CROSS(VV3,VV2);
VV5:=VV3>88 OR VV2>88;
VV6:=VV4 AND VV5;
stickline(VV6 OR cross(REF(VV2,1),VV2) AND VV2>95,(HIGH + 0.5),(HIGH +1.2),8,0),COLOR00ff00;
drawtext(VV6 OR cross(REF(VV2,1),VV2) AND VV2>95,h+1.2,’逃顶’),color00ff00;
GLL:=-6;
C0:=(h+l+c)/3;
b1:=HHV(c0,4*15);
b2:=LLV(c0,4*15);
b3:=b1-b2;
b4:=ema((c0-b2)/b3,2)*100;
C1:=HHV(c0,16*15);
C2:=LLV(c0,16*15);
C3:=C1-C2;
C4:=ema((c0-C2)/C3,2)*100;
stickline((CROSS(C,买卖) AND c4>=20 AND VV3<75 AND c4>=20) OR ((CROSS(low,买卖) OR CROSS(low,支撑))AND VV2>VV3 AND b4>=15 AND c4>=20),(LOW – 0.5),(LOW -1.2),8,0),color0000FF;
DRAWTEXT((CROSS(C,买卖) AND c4>=20 AND VV3<75 AND c4>=20) OR ((CROSS(low,买卖) OR CROSS(low,支撑))AND VV2>VV3 AND b4>=15 AND c4>=20),L-0.7,’买’),color0000ff;
A4:=MA(CLOSE,20);
A5:=(CLOSE > MA(CLOSE,5));
A6:=(MA(CLOSE,5) > MA(CLOSE,10));
A7:=(CLOSE > MA(CLOSE,10));
A8:=(MA(CLOSE,5) > MA(CLOSE,20));
A9:=(CLOSE > MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4 > A10);
AVX:=(((((IF(A5,10,(0 – 10)) + IF(A6,10,(0 – 10))) + IF(A7,10,(0 – 10))) + IF(A8,10,(0 – 10))) + IF(A9,10,(0 – 10))) + IF(A11,10,(0 – 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
mc:=REF(c,1);
阻力位:=IF((CLOSE > 200),(CLOSE * 1.01),(CLOSE * 1.07));
阻力位1:=IF((CLOSE < 10),(CLOSE * 1.05),阻力位);
支撑位:=IF((CLOSE > 200),(CLOSE * 0.99),(CLOSE * 0.93));
支撑位1:=IF((CLOSE < 10),(CLOSE * 0.95),支撑位);
阻力位a:=IF((mc > 200),(mc * 1.01),(mc * 1.07));
阻力位2:=IF((mc < 10),(mc * 1.05),阻力位a);
支撑位b:=IF((mc > 200),(mc * 0.99),(mc * 0.93));
支撑位2:=IF((mc < 10),(mc * 0.95),支撑位b);
TJTS1:=BARSTATUS=2 and c<200;
TJTS2:=BARSTATUS=2 and c>200;
DRAWTEXTAbs(58,80,'[昨/今日 支撑位 :’+NUMTOSTRn(支撑位b,2)+’/’+NUMTOSTRn(支撑位1,2)+’**]’),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(58,95,'[昨/今日 阻力位 :’+NUMTOSTRn(阻力位2,2)+’/’+NUMTOSTRn(阻力位1,2)+’]’),LINETHICK1,colorFEBAF5;
T := BArslAST(DISPSTATUS=1)+1;
HHg := HHV(H, T);
ddg := LLV(L, T);
{Hk := LL-HH; G12 := LL-HK*1.55; }
k2:=hhv(h*1.03,barslast(DISPSTATUS=1)+1);
{股旁网-股票公式网站 www.gupang.com}
DRAWTEXT(TJTS1 and ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 ‘),ALIGN2,color00FF00,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 ‘),ALIGN2,color00FF00,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股放量下跌,走势明显偏弱,离场观望。 ‘),ALIGN2,color00FF00,LINETHICK2;
DRAWTEXT(TJTS1 and ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股缩量下跌,走势偏弱,离场观望。 ‘),ALIGN2,color00FF00,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股形态良好,强势明显,量能充足,可以继续持有。 ‘),ALIGN2,color00FFFF,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 ‘),ALIGN2,color00FFFF,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 ‘),ALIGN2,color00FFFF,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股走势趋弱,量能不足,减持大部分筹码。 ‘),ALIGN2,color00FFFF,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股形态不佳,注意成交量的变化,但目前不适合参与。 ‘),ALIGN2,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)) ,k2*0.99,’★该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 ‘),ALIGN2,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股有走强迹象,但量能不足,趋势不明,不适合操作。 ‘),ALIGN2,LINETHICK2;
DRAWTEXT(TJTS1 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)) ,k2*0.99,’★该股走势太弱,没有参与价值。 ‘),ALIGN2,LINETHICK2;
DRAWTEXT(TJTS2 and (CROSS(AVX,1) AND (V1 >= V2)) ,k2*0.99,’★大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, ‘),ALIGN2,color0000FF;
DRAWTEXT(TJTS2 and (CROSS(AVX,1) AND (V1 >= V2)) ,k2*0.98,’★如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS2 and (CROSS(AVX,1) AND (V1 < V2)) ,k2*0.99,’★大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS2 and (CROSS(AVX,1) AND (V1 < V2)) ,k2*0.98,’ ★可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 ‘),ALIGN2,color0000FF,LINETHICK2;
DRAWTEXT(TJTS2 and (CROSS(1,AVX) AND (V1 >= V2)) ,k2*0.99,’★大盘形态走坏,重仓者可以减去大部分仓位。 ‘),ALIGN2,color00FF00,LINETHICK2;
DRAWTEXT(TJTS2 and (CROSS(1,AVX) AND (V1 < V2)) ,k2*0.99,’★大盘缩量调整,注意风险,短线清仓观望。 ‘),ALIGN2,color00FF00,LINETHICK2;
DRAWTEXT(TJTS2 and (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) ,k2*0.99,’★大盘走势良好,量能理想,可以继续持有强势股。 ‘),ALIGN2,color00FFFF,LINETHICK2;
DRAWTEXT(TJTS2 and (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) ,k2*0.99,’★大盘形态良好,但量能稍显不足,随时准备减仓。 ‘),ALIGN2,color00FFFF;
DRAWTEXT(TJTS2 and (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) ,k2*0.99,’★大盘趋势不明,注意成交量变化,目前不适宜进场。 ‘),ALIGN2,LINETHICK2;
{DRAWTEXT(TJTS2 and (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) ,k2*0.99;};
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)