通達信成交量終結(jié)版指標公式
虛擬成交:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虛擬成交,0,-1,-1),COLORC0C0C0; 【手】:VOL,NODRAW,VOLSTICK; 標準:HHV(V,100)*0.382,NODRAW; 量倍:V/REF(V,1),NODRAW,COLOR0000DD; STICKLINE(IF(V>REF(HHV(V,239),1),0.99,1)<1,V,0,-1,1),COLORDD00DD; STICKLINE(IF(V>REF(HHV(V,239),1),0.99,1)<1 AND O>C,V,0,-1,0),COLORDD00DD; STICKLINE(IF(V<REF(LLV(V,119),1),0.99,1)<1,V,0,-1,0),COLOR00DD00; STICKLINE(IF(V<REF(LLV(V,239),1),0.99,1)<1,V,0,-1,0),COLORDD0000; STICKLINE(V/REF(V,1)>2 ,0,V/2,2,0),COLORDDDDDD; DRAWICON(LAST(V>REF(V,1),2,0),V/3,1); DRAWICON(LAST(V>標準,2,0) AND C>O,0,38); DRAWBAND(標準,RGB(250,250,0),標準,RGB(0,0,0)); DRAWRECTREL(0,0,285,999.2,IF(120,RGB(10,10,100),0)); DRAWRECTREL(50,400,50+CONST(INDEXADV/8),500,RGB(215,50,50)); DRAWRECTREL(50,550,50+CONST(INDEXDEC/8),650,RGB(50,250,250)); DRAWRECTREL(50,700,50+CONST(DYNAINFO(60)/8),800,RGB(215,50,250)); DRAWRECTREL(50,850,50+CONST(DYNAINFO(61)/8),950,RGB(50,250,50)); DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.01,0.4,0,CONST(INDEXADV)),COLORRED; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.01,0.55,0,CONST(INDEXDEC)),COLORLIBLUE; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.01,0.7,0,CONST(DYNAINFO(60))),COLORYELLOW; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.01,0.85,0,CONST(DYNAINFO(61))),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.1,0,★ 情緒沖動 未設(shè)止盈止損),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.25,0,★ 短期暴漲過后 有疑問的企業(yè) 不要下單),COLORYELLOW;
|