DRAWTEXT_FIX(1,0.00,0,0,'只見粉紅不見綠,伺機買進莫遲疑;只見綠量不見紅,只賣不買養(yǎng)成性。大量紅綠交替出,多空交戰(zhàn)且莫入;分時突破量攻擊,冷靜思考放第一。')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) AND REF(MA(V,5),1)>REF(MA(V,5),2); 價兩步:= C>=REF(C,1) AND REF(C,1)>REF(C,2); 價上崗量破5:=C>均價黃 AND V>MA(V,5); 量起爆:=V>=REF(V,1)*1; 價創(chuàng)新高:=C>=HHV(C,0); 量創(chuàng)新高:=V>=HHV(V,0); 對昨日漲幅:=(C/DYNAINFO(3)-1)*100<=2.50;{漲幅控制2個點以內(nèi)} 每日一點:=量兩步 AND 價兩步 AND 價上崗量破5 AND 量起爆 AND 價創(chuàng)新高 AND 量創(chuàng)新高 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);{出現(xiàn)紅球,至少已經(jīng)確認2分鐘了}; STICKLINE(C>0,0,V,0,0),COLOR00FFFF; STICKLINE(C<REF(C,1) AND V>=昨拉升最高值,0,V,0,0),COLOR00FF00; STICKLINE(C=REF(C,1),0,V,0,0),COLORFFFFFF; STICKLINE(C>REF(C,1) AND V>=今打壓最高值,0,V,0,0),COLORRED; STICKLINE(C<REF(C,1) AND V>=今拉升最高值,0,V,0,0),COLORGREEN; STICKLINE(C>REF(C,1) AND (V>昨拉升最高值 OR V>昨打壓最高值),0,V,0,0),COLOR0000FF; STICKLINE(C>REF(C,1) AND V>=2*昨拉升最高值 AND V<5*昨拉升最高值,昨拉升最高值,V,0,0),COLORFF00FF; STICKLINE(C>REF(C,1) AND V>=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) AND V>TV AND ZF,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) AND V>VV1 AND ZF1,COLORYELLOW; 突破:=XG1 OR XG2,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; |
|