通达信四线金叉副图指标
通达信四线金叉副图指标
源码
EMA30:EMA(C,30),COLORWHITE,LINETHICK3;
EMA60:EMA(C,60),COLORFF00FF,LINETHICK2;
EMA90:EMA(C,90),COLORYELLOW,LINETHICK2;
EMA120:EMA(C,120),COLORFFCC66,LINETHICK2;
EMA250:EMA(C,250),COLORBLUE,LINETHICK2;
SS:=CROSS(EMA30,EMA60) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA30,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)};
DRAWICON(SS,L-0.04,1);
DD:=CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA60,EMA250) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA90,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA60,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA30,EMA250);
{DD:=CROSS(EMA30,EMA250);}
DRAWICON(DD,L-0.04,3);
- 上一篇公式:通达信安全阻击主图指标
- 下一篇公式:通达信均量线战法源码选股/副图