将资金变色线连接
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
以下公式中的彩色线, 在紫平线处上穿时缺了一截,上穿时应变红连接, 请求高手帮助!公式如下:量_价:=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 C[O,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;]
解答:
资金:SMA(DX,3,1),COLORRED,NODRAW; 改成: 资金:SMA(DX,3,1),linethick3,COLORRED;
选股票看什么指标最好 >
股票指标网
精彩评论