通达信立桩量主副图选股公式
{立桩量主图}
MA13:MA(CLOSE,13);
MA26:MA(CLOSE,26); MA156:MA(CLOSE,156); MA321:MA(CLOSE,321); V2:=IF(CURRBARSCOUNT=1,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,H,L,3,0),COLORYELLOW; 立桩决策价:='--------'; DRAWTEXT(V2>=1,L ,立桩决策价),COLORCYAN; DRAWTEXT(V2>=1,H ,立桩决策价),COLORBLUE; 正向分形:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
正向定位:=CROSS(C,正向分形) AND 正向分形>REF(正向分形,1); STICKLINE(正向定位,H,L,0,1),COLORRED,LINETHICK2; STICKLINE(正向定位,O,C,1.8,0),COLORRED,LINETHICK2; {立桩量副图}
VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,5); MAVOL2:MA(VOLUME,10); V2:IF(CURRBARSCOUNT=1,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1),LINETHICK0,COLORRED; STICKLINE(V2>=1,0,VOL/3,2,0),COLORYELLOW; {立桩量选股}
VOLUME:=VOL,VOLSTICK; MAVOL1:=MA(VOLUME,5); MAVOL2:=MA(VOLUME,10); V2:=IF(CURRBARSCOUNT=1,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1),LINETHICK0,COLORRED; XG:V2>=1,COLORYELLOW; |
|