分时主图,强大实用,手机电脑端可用

VOL03082020-10-19 00:50:54

使用方法:

出现黄色K线提示,不能马上买进,要参考附图指标(自用VOL),不然成功率就会降低,

这个指标叫做十战七胜,我们追求的是十战十胜。所以要过滤一些错误的提示,有选择

的参与,不能一看见提示就买入。

源码:

{分时主图手机}

MA30:=EMA(CLOSE,30);

强弱:=EMA(CLOSE,900);

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:L1+P1*7/8,COLORLIMAGENTA,DOTLINE;

支撑:L1+P1*0.5/8,COLORCYAN,DOTLINE;

中:(支撑+阻力)/2,COLORBLUE,POINTDOT;

现价:=CLOSE,COLORWHITE,LINETHICK3;

{DRAWTEXT(ISLASTBAR AND 现价,现价,STRCAT('-',CON2STR(现价,2))),COLORYELLOW;}

MZ0:=(BARSLAST(((HOUR=9) AND (MINUTE=31)))+1);

上穿分时:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),LINETHICK1,COLORLIRED;

底支:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK1,COLORLIGREEN;

STICKLINE(TIME=931 OR TIME=1000,上穿分时,底支,0,-1),COLORLIBLUE;

分时上突:=CROSS(C,上穿分时);上突:=C<上穿分时 AND 上穿分时>底支;

股价支撑线:=MA(CLOSE,20);

VAR106:=BARSCOUNT(CLOSE);

VAR107:=MAX(DYNAINFO(3),DYNAINFO(5));

VAR108:=MIN(DYNAINFO(3),DYNAINFO(6));

VAR109:=VAR107-VAR108;

VAR110:=VAR108+VAR109*7/8;

VAR111:=VAR108+VAR109*0.5/8;

DRAWICON(LONGCROSS(VAR111,CLOSE,2),CLOSE,1);

DRAWICON(LONGCROSS(CLOSE,VAR110,2),CLOSE,2);

双轨线上强势:0,COLORRED,NODRAW;

双轨线下弱势:0,NODRAW,COLORFF9900;

把握疯牛卖点:0,NODRAW,COLOR00FF00;

HH:=(H+C)/2;

LL:=(L+O)/2;

三日均高:=(H+REF(H,2)+REF(H,3))/3;

三日收盘:=(C+REF(C,2)+REF(C,3))/3;

强势线:EMA((三日均高+三日收盘)/2,7),COLORRED,LINETHICK2;

支撑线:EMA((LL+REF(LL,2)+REF(LL,3))/3,7),COLOR00FF00,LINETHICK2;

IF(强势线>REF(强势线,1),强势线,DRAWNULL),LINETHICK2,COLORRED;

IF(强势线<REF(强势线,1),强势线,DRAWNULL),LINETHICK2,COLORGREEN;

IF(支撑线>REF(支撑线,1)*0.997,支撑线,DRAWNULL),LINETHICK4,COLORRED;

IF(支撑线<REF(支撑线,1)*0.997,支撑线,DRAWNULL),LINETHICK4,COLORGREEN;

量比:=DYNAINFO(17),NODRAW;

涨幅:=(CLOSE/DYNAINFO(3))>=1.005 AND (CLOSE/DYNAINFO(3))<=1.04;

涨幅1:=(CLOSE/DYNAINFO(3))>=1.005 AND (CLOSE/DYNAINFO(3))>=1.05;

收盘涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

A1:=NAMELIKE('ST');

A2:=NAMELIKE('*');

A3:=NAMELIKE('S');

去除ST:=(A1+A2+A3)=0;

冲高减仓:=C>=HHV(H,60) AND 涨幅1 AND 量比<2 AND CLOSE/DYNAINFO(3)<9 AND 去除ST ,NODRAW;

VAR3:=REF(CLOSE,1);

VAR4:=(SMA(MAX(CLOSE-VAR3,0),6,1))/(SMA(ABS(CLOSE-VAR3),6,1))*100;

追涨:=CROSS(85,VAR4) AND 涨幅;

高抛:=CROSS(VAR4,80) AND 涨幅1 AND 量比<2;

DRAWTEXT(追涨,L*0.985,'强势'),COLORYELLOW;

DRAWTEXT(COUNT(冲高减仓,3)>=1 AND 收盘涨幅<2 AND C>强势线*1.12,H*1.01,'卖'),COLORGREEN;

上穿双轨:=(CROSS(C,强势线) AND CROSS(C,支撑线)) OR (支撑线>REF(支撑线,1) AND L<支撑线 AND C>强势线) OR REF(CROSS(C,支撑线),1)=1 AND CROSS(C,强势线);

双穿卖出:=(CROSS(强势线,C) AND CROSS(支撑线,C)) OR ( (C<支撑线 AND H>强势线) OR (REF(H,1)>强势线 AND CROSS(支撑线,C)));

STICKLINE(上穿双轨 ,OPEN,CLOSE,3.3,0),COLOR0055FF;

STICKLINE(上穿双轨,OPEN,CLOSE,3.3,0),COLOR0077FF;

STICKLINE(上穿双轨 ,OPEN,CLOSE,3,0),COLOR0099FF;

STICKLINE(上穿双轨,OPEN,CLOSE,2.2,0),COLOR00BBFF;

STICKLINE(上穿双轨,OPEN,CLOSE,1.5,0),COLOR00DDFF;

STICKLINE(上穿双轨,OPEN,CLOSE,0.4,0),COLOR00FFFF;

{STICKLINE(双穿卖出,OPEN,CLOSE,3.3,0),COLOR00FF00;};

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);

量价:=(VOL/CLOSE)/3;

A22:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);

A33:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);

A66:=A22+A33;

DD1:=1;

比:=A22/A33;

AAA1:=STRCAT(STRCAT('买= ',CON2STR((100*A22)/A66,0)),'%');

AAA2:=STRCAT(STRCAT('卖= ',CON2STR((100*A33)/A66,0)),'%');

AAA3:=STRCAT(STRCAT('差= ',CON2STR((100*(A22-A33))/A66,0)),'%');

DRAWTEXT_FIX(DD1=1,0.4,0.7,0,AAA1),COLORRED;

DRAWTEXT_FIX(DD1=1,0.6,0.7,0,AAA2),COLORGREEN;

DRAWTEXT_FIX(DD1=1,0.8,0.7,0,AAA3),COLOR00FFFF;

DRAWTEXT_FIX(比>2,0,0.40,0,'涨'),COLORCYAN;

DRAWTEXT_FIX(比>2,0,0.48,0,'停'),COLORMAGENTA;

DRAWTEXT_FIX(比>2,0,0.56,0,'板'),COLORRED;

中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;

DRAWTEXT(比<1.1,(DYNAINFO(5)+DYNAINFO(6))/2,'。'),COLORGREEN;

DRAWTEXT(比>1.5,(DYNAINFO(5)+DYNAINFO(6))/2,'。'),COLORCYAN;

DRAWTEXT(比>2,(DYNAINFO(5)+DYNAINFO(6))/2,'。'),COLORMAGENTA;

DRAWTEXT(比>2.5,(DYNAINFO(5)+DYNAINFO(6))/2,'。'),COLORRED;

DRAWTEXT((比>1.1 AND 中期线<5),(DYNAINFO(5)+DYNAINFO(6))/2,'。'),COLORWHITE;

DRAWTEXT((比<1.1 AND 中期线>98.0),(DYNAINFO(5)+DYNAINFO(6))/2,'。'),COLORWHITE;

DRAWTEXT((比>1.1 AND 中期线<5),C,'买'),COLORYELLOW;

DRAWTEXT((比<1.1 AND 中期线>98.0),C,'卖'),COLORGREEN;

(0)

相关推荐