「翔博精选指标」量化指标(通达信公式 副图 源码 测试图)
2021-12-05原创 编 辑:翔博软件
WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
VOLUME:VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(主买>0,0,主买,2,0),COLORRED;
{STICKLINE(主卖>0,主买,VOL,2,-1),COLOR00FF80;}
STICKLINE(主买<REF(主买,1)AND 主买>0,0,主买,2,0),COLOR00FFFF;
换手:VOL/CAPITAL*100,POINTDOT;
十日换手:SUM(换手,10);
MAVOL1:MA(VOLUME,M1),COLORWHITE,LINETHICK2;
MAVOL2:MA(VOLUME,M2),COLORYELLOW,LINETHICK2;
MAVOL3:MA(VOLUME,M3),COLORGREEN,LINETHICK2;
AA:=VOL>=REF(V,1)*2 && C>REF(C,1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;
AA4:=VOL<=REF(V,1)*0.50 ;
STICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(AA2,0,V,1,0),COLORRED;
STICKLINE(AA3,0,V,1,0),COLORWHITE;
STICKLINE(AA4,0,V,1,0),COLORBLUE;
地量:=VOL<=REF(LLV(VOL,55),1);
XG:COUNT(地量>0,3)=3;
DRAWTEXT(XG ,VOL,'芝麻量'),COLORRED;
天量:VOL=HHV(VOL,200);
DRAWTEXT(天量=1,VOL,'天量'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.001,0,0,'倍量黄色 '),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.081,0,0,'芝麻量红色 '),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.161,0,0,'平量白色 '),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.241,0,0,'缩倍量蓝色 '),COLORBLUE;
所属地域:DRAWTEXT_FIX(ISLASTBAR,0.33,0,0,HYBLOCK),COLORYELLOW;
所属概念:DRAWTEXT_FIX(ISLASTBAR,0.46,0,0,GNBLOCK),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
VOLUME:VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(主买>0,0,主买,2,0),COLORRED;
{STICKLINE(主卖>0,主买,VOL,2,-1),COLOR00FF80;}
STICKLINE(主买<REF(主买,1)AND 主买>0,0,主买,2,0),COLOR00FFFF;
换手:VOL/CAPITAL*100,POINTDOT;
十日换手:SUM(换手,10);
MAVOL1:MA(VOLUME,M1),COLORWHITE,LINETHICK2;
MAVOL2:MA(VOLUME,M2),COLORYELLOW,LINETHICK2;
MAVOL3:MA(VOLUME,M3),COLORGREEN,LINETHICK2;
AA:=VOL>=REF(V,1)*2 && C>REF(C,1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;
AA4:=VOL<=REF(V,1)*0.50 ;
STICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(AA2,0,V,1,0),COLORRED;
STICKLINE(AA3,0,V,1,0),COLORWHITE;
STICKLINE(AA4,0,V,1,0),COLORBLUE;
地量:=VOL<=REF(LLV(VOL,55),1);
XG:COUNT(地量>0,3)=3;
DRAWTEXT(XG ,VOL,'芝麻量'),COLORRED;
天量:VOL=HHV(VOL,200);
DRAWTEXT(天量=1,VOL,'天量'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.001,0,0,'倍量黄色 '),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.081,0,0,'芝麻量红色 '),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.161,0,0,'平量白色 '),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.241,0,0,'缩倍量蓝色 '),COLORBLUE;
所属地域:DRAWTEXT_FIX(ISLASTBAR,0.33,0,0,HYBLOCK),COLORYELLOW;
所属概念:DRAWTEXT_FIX(ISLASTBAR,0.46,0,0,GNBLOCK),COLORYELLOW;
所属地区:DRAWTEXT_FIX(ISLASTBAR ,0.88,0,0,DYBLOCK),COLORYELLOW;