平量成交量幅圖 TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK; TJ:=IF(C>O,VOL,DRAWNULL); T:BARSLASTCOUNT(RANGE(TJ/REF(TJ,1),0.97,1.03))NODRAW; TJA:=(T=0 AND REFX(T=1,1)) OR T>0; STICKLINE(TJA,0,TJ,2,0),COLORYELLOW; 倍量主圖 STICKLINE(V>REF(V,1)*2 AND C>O,C,O,2,0),COLORLIMAGENTA; DRAWLINE(V>REF(V,1)*2 AND C>O,L,REF(V>REF(V,1)*2 AND C>O,1),REF(L,1),1),COLORYELLOW; -------------------------------------- 從最高成交量那天起,收盤(pán)價(jià)都不低于最高成交量那天的最低價(jià)
AA:=HHV(V,60); B:=BARSLAST(V=AA); STICKLINE(B=0,C,O,2,0),COLORYELLOW; AA:=HHV(V,60); B:=BARSLAST(V=AA); XG:LLV(L,B+1)>=REF(L,B) AND B>0; |
|