把“丁丁四线”选股公式改为主图指标
2019/12/7 18:48:43
公式编写说明:
丁丁1:=EMA(C,3),COLORWHITE;丁丁2:=EMA(C,5),COLORYELLOW;丁丁3:=EMA(C,7),COLORBROWN;丁丁4:=EMA(C,12),COLORLIGREEN;丁丁5:=EMA(C,20),COLORRED;SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);DRAWICON(SS,L-0.04,5);DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);请老师把选股公式改为主图指标,另加入一条50日均线.
公式源码示例:
{OK.已完成}
丁丁1:=EMA(C,3),COLORWHITE;
丁丁2:=EMA(C,5),COLORYELLOW;
丁丁3:=EMA(C,7),COLORBROWN;
丁丁4:=EMA(C,12),COLORLIGREEN;
丁丁5:=EMA(C,20),COLORRED;
丁丁6:EMA(C,50),COLORFF00FF,LINETHICK2;
SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);
DRAWICON(SS,L-0.04,5);
DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);
DRAWICON(DD,L-0.22,17);
看股 吧公式 www.kangub a.com
其它股票公式列表