将资金变色线连接
-
相关简介:编写要求: 以下公式中的彩色线, 在紫平线处上穿时缺了一截,上穿时应变红连接, 请求高手帮助!公式如下:量_价:=1;CTKG:=1; W:=量_价; EPSL:=0.0001; ZZ:=(C+H+L)/3; TJA:=ZZ=MAX(C,O) AND CTKG=1; TJB:=ZZ=MIN(C,O) AND CTKG=1; ZF:=IF(TJA,1,IF(TJB,-1,0));{正负数}; TJ0:=TJA OR TJB; TJ1:=H=L AND CREF(C,1);{一字涨停}; TJ2:=
-
文章来源:股海网作者:股海网发布时间:2015-06-03浏览次数:
编写要求:
以下公式中的彩色线, 在紫平线处上穿时缺了一截,上穿时应变红连接, 请求高手帮助!公式如下:量_价:=1;CTKG:=1; W:=量_价; EPSL:=0.0001; ZZ:=(C+H+L)/3; TJA:=ZZ>=MAX(C,O) AND CTKG=1; TJB:=ZZ<=MIN(C,O) AND CTKG=1; ZF:=IF(TJA,1,IF(TJB,-1,0));{正负数}; TJ0:=TJA OR TJB; TJ1:=H=L AND C>REF(C,1);{一字涨停}; TJ2:=H=L AND CO,VAR3*(H-L),IF(CO,0-VAR3*((H-C)+(O-L)),IF(C=0,DDX1,DRAWNULL),COLORRED,LINETHICK3; IF(DDX1<=REF(DDX1,1) AND DDX1>0,DDX1,DRAWNULL),COLORYELLOW,LINETHICK3; IF(DDX1<=REF(DDX1,1),DDX1,DRAWNULL),COLORYELLOW,LINETHICK3; IF(DDX1<=REF(DDX1,1) AND DDX1<0,DDX1,DRAWNULL),COLORYELLOW,LINETHICK3; IF(DDX1<=REF(DDX1,2) AND DDX1<0,DDX1,DRAWNULL),COLORGREEN,LINETHICK3; IF(DDX1<=0,DDX1,DRAWNULL),COLORGREEN; IF(DDX1<0 AND DDX1>=REF(DDX1,1),DDX1,DRAWNULL),COLORYELLOW,LINETHICK3;
www.guhai.com.cn股海网解答:
资金:SMA(DX,3,1),COLORRED,NODRAW; 改成: 资金:SMA(DX,3,1),linethick3,COLORRED;