DRAWTEXT_FIX(1,0.00,0,0,‘只见粉红不见绿,乘机买进莫踌躇;只见绿量不见红,只卖不买养成性。许多红绿替换出,多空交兵且莫入;分时打破量侵犯,镇定考虑放第一。’)COLOR00FF00;
{以上注解只习气二日分时用,请注意}
NN:=2400;
HD:=HHV(V,NN);
LD:=LLV(V,NN);
最高:=CONST(HD),NODRAW;
最低:=CONST(LD),NODRAW;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
中心价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;
轴差:=最高-最低;
拉升量:=IF(C》REF(C,1),VOL,0);
打压量:=IF(C《REF(C,1),VOL,0);
昨拉升最高值:CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
昨打压最高值:=CONST(FINDHIGH(打压量,FROMOPEN,240,1)),LINETHICK1,COLORCYAN,NODRAW;
今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORRED;
今打压最高值:CONST(REF(HHV(打压量,FROMOPEN),0)),COLORCYAN,NODRAW;
侵犯力度:今拉升最高值/昨拉升最高值,NODRAW;
量能均线:=SUM(V,FROMOPEN)/FROMOPEN;
量:=VOL,VOLSTICK;
五日量:=MA(量,5),COLORWHITE;
TT:=BARSCOUNT(C);{取得有用收盘价}
均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}
量两步:=MA(V,5)》REF(MA(V,5),1)ANDREF(MA(V,5),1)》REF(MA(V,5),2);
价两步:=C》=REF(C,1)ANDREF(C,1)》REF(C,2);
价上岗量破5:=C》均价黄ANDV》MA(V,5);
量起爆:=V》=REF(V,1)*1;
价创新高:=C》=HHV(C,0);
量创新高:=V》=HHV(V,0);
对昨日涨幅:=(C/DYNAINFO(3)-1)*100《=2.50;{涨幅控制2个点以内}
每日一点:=量两步AND价两步AND价上岗量破5AND量起爆AND价创新高AND量创新高AND对昨日涨幅;
{核算收益、已爆分钟}
VV:=BARSSINCE(每日一点)+1;
初度起爆价:=REF(C,VV-1),NODRAW;
起爆收益:(DYNAINFO(7)-初度起爆价)/初度起爆价*100,NODRAW;
{DRAWNUMBER(VV》=1,V*0.8,今天收益);}
流通盘:=CAPITAL*100/100000000,NODRAW;
起爆时间:=REF(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
{画出底线和红球}
初度起爆量:=REF(VOL,VV-1),COLORWHITE;
DRAWICON(已爆分钟》=2,初度起爆量,13);{出现红球,至少现已供认2分钟了};
STICKLINE(C》0,0,V,0,0),COLOR00FFFF;
STICKLINE(C《REF(C,1)ANDV》=昨拉升最高值,0,V,0,0),COLOR00FF00;
STICKLINE(C=REF(C,1),0,V,0,0),COLORFFFFFF;
STICKLINE(C》REF(C,1)ANDV》=今打压最高值,0,V,0,0),COLORRED;
STICKLINE(C《REF(C,1)ANDV》=今拉升最高值,0,V,0,0),COLORGREEN;
STICKLINE(C》REF(C,1)AND(V》昨拉升最高值ORV》昨打压最高值),0,V,0,0),COLOR0000FF;
STICKLINE(C》REF(C,1)ANDV》=2*昨拉升最高值ANDV《5*昨拉升最高值,昨拉升最高值,V,0,0),COLORFF00FF;
STICKLINE(C》REF(C,1)ANDV》=5*昨拉升最高值,0,V,0,0),COLORMAGENTA;
STICKLINE(每日一点,最低+轴差*0.8,0,1,0),COLORMAGENTA;
DRAWICON(每日一点,V,1),COLORRED;
DRAWTEXT(每日一点,最低+轴差*0.8,‘∠起爆’),COLORMAGENTA;
TA:=BARSLAST(TIME=100000);
TC:=REF(HHV(C,0),TA+1);
TV:=REF(HHV(V,0),TA+1);
ZF:=TC/DYNAINFO(3)《1.05;
XG1:=CROSS(C,TC)ANDV》TVANDZF,COLORWHITE;
TA1:=BARSLAST(TIME=110000);
CC1:=REF(HHV(C,0),TA1+1);
VV1:=REF(HHV(V,0),TA1+1);
ZF1:=CC1/DYNAINFO(3)《1.05;
XG2:=CROSS(C,CC1)ANDV》VV1ANDZF1,COLORYELLOW;
打破:=XG1ORXG2,COLORRED;
VT:=BARSSINCE(打破)+1;
初度打破价:=REF(C,VT-1),NODRAW;
打破收益:(DYNAINFO(7)-初度打破价)/初度打破价*100,NODRAW;
STICKLINE(打破,V,0,1,0),COLORRED;
DRAWICON(打破=1,V,17);
DRAWTEXT(打破=1,最低+轴差*0.65,‘☆打破’),COLORRED;
DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),V,1);
DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.50,‘★侵犯’),COLORYELLOW;
DRAWICON(FILTER(CROSS(拉升量,今打压最高值),30),V,1);
DRAWTEXT(FILTER(CROSS(拉升量,今打压最高值),30),最低+轴差*0.35,‘★侵犯’),COLORMAGENTA;