「翔博精选指标」慢牛开启副图,解开通达信公式源码分享 副图
2022-03-11原创 编 辑:翔博软件
{公式名称: 慢牛开启副图
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
XA_1:=13;
XA_2:=55;
XA_3:=100;
XA_4:=0.1*CONST(HHV(VOL,240));
XA_5:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,XA_5,0,1,(-1)),COLOR00C0C0;
量:VOL,VOLSTICK;
换手:VOL*10000/FINANCE(7),NODRAW,COLORYELLOW;
换10T:SUM(换手,10),NODRAW,COLORMAGENTA;
XA_6:=1.9;
XA_7:=VOL>=REF(VOL,1)*XA_6 AND IF(CLOSE<OPEN,CLOSE>REF(CLOSE,1),1);
XA_8:=REF(VOL,1)>=VOL*XA_6;
XA_9:=RANGE(VOL/REF(VOL,1),0.97,1.03) AND BARSCOUNT(VOL)>=2;
XA_10:=VOL=LLV(VOL,XA_1) AND BARSCOUNT(VOL)>=XA_1;
XA_11:=VOL=LLV(VOL,XA_2) AND BARSCOUNT(VOL)>=XA_2;
XA_12:=VOL=LLV(VOL,XA_3) AND BARSCOUNT(VOL)>=XA_3;
XA_13:=VOL*0.95;
XA_14:=VOL*0.86;
STICKLINE(XA_7,0,XA_13,1,0),COLORYELLOW;
STICKLINE(XA_12,0,XA_14,1,0),COLORGRAY;
STICKLINE(XA_8,0,VOL*0.45,1,0),COLORMAGENTA;
XA_15:=CLOSE>OPEN OR CLOSE>REF(CLOSE,1);
XA_16:=REF(XA_15,3);
XA_17:=REF(XA_7,3);
XA_18:=REF(VOL,3)>=HHV(VOL,7);
XA_19:=LLV(CLOSE,3)>=REF(LOW,3);
XA_20:=COUNT(CLOSE>=REF(CLOSE,1),3)=3;
XA_21:=COUNT(VOL<=REF(VOL,1),3)=3;
XA_22:=COUNT(XA_15,3)=3;
XA_23:=XA_17 AND XA_19 AND XA_16;
XA_24:=XA_18 AND XA_19 AND XA_16;
XA_25:=XA_23 OR XA_24;
XA_26:=XA_25 AND XA_20 AND XA_21 AND XA_22;
STICKLINE(XA_26,0.3*VOL,0.7*VOL,1,0),COLORRED;
DRAWICON(XA_26,VOL*1.5,1);
XA_27:=VOL<=LLV(VOL,100)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=100;
XA_28:=COUNT(XA_27,5)>=3;
XA_29:=VOL<REF(LLV(VOL,100),1);
DRAWTEXT(XA_29,VOL*1.5,17),COLORYELLOW;
XA_30:=VOL/REF(VOL,1)>0.5 AND VOL/REF(VOL,1)<0.67;
DRAWTEXT(XA_30,VOL*1.5,18),COLORLIBLUE;
XA_31:=VOL/REF(VOL,1)>0.34 AND VOL/REF(VOL,1)<0.5;
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
XA_1:=13;
XA_2:=55;
XA_3:=100;
XA_4:=0.1*CONST(HHV(VOL,240));
XA_5:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,XA_5,0,1,(-1)),COLOR00C0C0;
量:VOL,VOLSTICK;
换手:VOL*10000/FINANCE(7),NODRAW,COLORYELLOW;
换10T:SUM(换手,10),NODRAW,COLORMAGENTA;
XA_6:=1.9;
XA_7:=VOL>=REF(VOL,1)*XA_6 AND IF(CLOSE<OPEN,CLOSE>REF(CLOSE,1),1);
XA_8:=REF(VOL,1)>=VOL*XA_6;
XA_9:=RANGE(VOL/REF(VOL,1),0.97,1.03) AND BARSCOUNT(VOL)>=2;
XA_10:=VOL=LLV(VOL,XA_1) AND BARSCOUNT(VOL)>=XA_1;
XA_11:=VOL=LLV(VOL,XA_2) AND BARSCOUNT(VOL)>=XA_2;
XA_12:=VOL=LLV(VOL,XA_3) AND BARSCOUNT(VOL)>=XA_3;
XA_13:=VOL*0.95;
XA_14:=VOL*0.86;
STICKLINE(XA_7,0,XA_13,1,0),COLORYELLOW;
STICKLINE(XA_12,0,XA_14,1,0),COLORGRAY;
STICKLINE(XA_8,0,VOL*0.45,1,0),COLORMAGENTA;
XA_15:=CLOSE>OPEN OR CLOSE>REF(CLOSE,1);
XA_16:=REF(XA_15,3);
XA_17:=REF(XA_7,3);
XA_18:=REF(VOL,3)>=HHV(VOL,7);
XA_19:=LLV(CLOSE,3)>=REF(LOW,3);
XA_20:=COUNT(CLOSE>=REF(CLOSE,1),3)=3;
XA_21:=COUNT(VOL<=REF(VOL,1),3)=3;
XA_22:=COUNT(XA_15,3)=3;
XA_23:=XA_17 AND XA_19 AND XA_16;
XA_24:=XA_18 AND XA_19 AND XA_16;
XA_25:=XA_23 OR XA_24;
XA_26:=XA_25 AND XA_20 AND XA_21 AND XA_22;
STICKLINE(XA_26,0.3*VOL,0.7*VOL,1,0),COLORRED;
DRAWICON(XA_26,VOL*1.5,1);
XA_27:=VOL<=LLV(VOL,100)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=100;
XA_28:=COUNT(XA_27,5)>=3;
XA_29:=VOL<REF(LLV(VOL,100),1);
DRAWTEXT(XA_29,VOL*1.5,17),COLORYELLOW;
XA_30:=VOL/REF(VOL,1)>0.5 AND VOL/REF(VOL,1)<0.67;
DRAWTEXT(XA_30,VOL*1.5,18),COLORLIBLUE;
XA_31:=VOL/REF(VOL,1)>0.34 AND VOL/REF(VOL,1)<0.5;
DRAWTEXT(XA_31,VOL*1.5,19),COLORMAGENTA;