通达信成交量终结版指标公式
在之前的基础上,加了涨跌家数
紫色标的是年内天量,深蓝指年内地量。
虚拟成交:=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,'★ 情绪冲动 未设止盈止损'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.25,0,'★ 短期暴涨过后 有疑问的企业 不要下单'),COLORYELLOW;