1、 NN:=2400; HD:=HHV(V,NN); LD:=LLV(V,NN);最高:=REFX1(HD,9999),NODRAW;最低:=REFX1(LD,9999),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(CREF(C,1),VOL,0);打压量:=IF(CREF(MA(V,5),1) AND RE
2、F(MA(V,5),1)REF(MA(V,5),2);价两步:= C=REF(C,1) AND REF(C,1)REF(C,2);价上岗量破5:=C均价黄 AND VMA(V,5);量起爆:=V=REF(V,1)*1;价创新高:=C=HHV(C,0);量创新高:=V=HHV(V,0);对昨日涨幅:=(C/REF(C,DAYBARPOS)-1)*100=2,首次起爆量,13);STICKLINE(C0,0,V,0,0),COLOR00FFFF; STICKLINE(C=昨拉升最高值,0,V,0,0),COLOR00FF00; STICKLINE(C=REF(C,1),0,V,0,0),COLOR
3、FFFFFF; STICKLINE(CREF(C,1) AND V=今打压最高值,0,V,0,0),COLORRED; STICKLINE(C=今拉升最高值,0,V,0,0),COLORGREEN; STICKLINE(CREF(C,1) AND (V昨拉升最高值 OR V昨打压最高值),0,V,0,0),COLOR0000FF; STICKLINE(CREF(C,1) AND V=2*昨拉升最高值 AND VREF(C,1) AND V=5*昨拉升最高值,0,V,0,0),COLORMAGENTA;STICKLINE(每日一点,最低+轴差*0.8,0,1,0),COLORMAGENTA; D
4、RAWICON(每日一点,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/REF(C,DAYBARPOS)TV AND ZF,COLORWHITE;TA1:=BARSLAST(TIME=110000); CC1:=REF(HHV(C,0),TA1+1); VV1:=REF(HHV(V,0),TA1+1); ZF1:=CC1/REFX1(C,9999)VV1 AND ZF
5、1,COLORYELLOW;突破:=XG1 OR XG2,COLORRED; VT:=BARSSINCE(突破)+1;首次突破价:=REF(C,VT-1),NODRAW;突破收益:(REFX1(C,9999)-首次突破价)/首次突破价*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;