量柱擒漲停   學(xué)習(xí)筆記  通達(dá)信公式

學(xué)過(guò)第4講后,我將其中的各種量形編寫成了通達(dá)信的指標(biāo)公式,供大家看盤時(shí)進(jìn)行參考:

VOLUME:=VOL;
量柱:V/CAPITAL*100,VOLSTICK;
倍量柱:=IF(V/REF(V,1)>1.9 AND C>REF(C,1),1,0);
高量柱:=IF(V=HHV(V,10),3,2);
低量柱:=IF(V=LLV(V,10),9,8);
并肩平量柱:=IF((V/REF(V,1)>0.95 AND V/REF(V,1)<1.05),7,6);
縮量柱:=IF(V<REF(V,1) AND REF(V,1)<REF(V,2) AND REF(V,2)<REF(V,3),25,35);
梯量柱:=IF(V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3),11,10);
DRAWTEXT(倍量柱>0,量柱*0.99,'倍');
DRAWTEXT(高量柱>2,量柱*0.85,'高');
DRAWTEXT(并肩平量柱>6,量柱*0.7,'平');
DRAWTEXT(梯量柱>10,量柱*0.55,'梯');
DRAWTEXT(低量柱>8,量柱*1.01,'低'),COLORYELLOW;
DRAWTEXT(縮量柱<35,量柱*1.01,'縮'),COLORYELLOW;