③日内交易 (主图日线)
MA3:="MASS.A";
MA5:="MASS.B";
量能博弈:=VOL>=HHV(VOL,10);
FV:=VOL*MA3/MA5;
量能博弈平台:REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(量能博弈)),CROSSDOT,LINETHICK1,colorFFFFFF;
PARTLINE(REF(VOL/CAPITAL*100,BARSLAST(量能博弈))>3,量能博弈平台),CROSSDOT,LINETHICK1,colorFFFF00;
异动雷达:=SUMBARS(REF(FV,1)-FV,0);
PARTLINE(REF(异动雷达,BARSLAST(量能博弈))>=300,量能博弈平台),CROSSDOT,LINETHICK1,colorFFFF;
PARTLINE(BETWEEN(REF(异动雷达,BARSLAST(量能博弈)),100,300),量能博弈平台),CROSSDOT,LINETHICK1,colorFF0000;
DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),CLOSE,’所属板块:’+BLKNAME),ALIGN4,colorFFFF;
A:=BLKNAME;
BK:=STRLEFT(A,STRFIND(A,’,’,1)-1);
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,’所属行业: ‘+BK),ALIGN3,colorFF;
年线:=EMA(CLOSE,250);
半年线:=EMA(CLOSE,125);
季线:=EMA(CLOSE,60);
月线:=EMA(CLOSE,30);
多空线①:月线-(EMA(CLOSE,15)-月线),LINETHICK3,colorFFFFFF;
多空线②:季线-(EMA(CLOSE,15)-季线),LINETHICK3,colorFF;
多空线③:半年线-(EMA(CLOSE,15)-半年线),LINETHICK3,colorFFFF;
牛熊分界:年线-(EMA(CLOSE,15)-年线),LINETHICK3,colorFF00FF;
DRAWTEXT(BARPOS=SYSPARAM(3),牛熊分界,’☆’),colorFF00FF;
DRAWTEXT(BARPOS=SYSPARAM(3),多空线①,’①’),colorFFFFFF;
DRAWTEXT(BARPOS=SYSPARAM(3),多空线②,’②’),colorFF;
DRAWTEXT(BARPOS=SYSPARAM(3),多空线③,’③’),colorFFFF;
评论(0)