以下是大智慧顾比均线主图指标
大智慧顾比均线主图指标
源码
{ 18安全生命线 }
安全生命线:EMA(C,18),COLORGREEN,LINETHICK2;
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:=EMA(VAR6,2)*1.22;
AD:=EMA(AK,2);
AJ:=3*AK-2*AD;
买进:DRAWICON(CROSS(AK,AD),L*0.95,7);
MA1:EMA(CLOSE,3),COLORRED,LINETHICK2;
MA2:EMA(CLOSE,5),COLOR778899;
MA3:EMA(CLOSE,8),COLOR778899;
MA4:EMA(CLOSE,10),COLOR778899;
MA5:EMA(CLOSE,12),COLOR778899;
MA6:EMA(CLOSE,15),COLOR778899;
MA7:EMA(CLOSE,30),COLOR108090;
MA8:EMA(CLOSE,35),COLOR108090;
MA9:EMA(CLOSE,40),COLOR108090;
MA10:EMA(CLOSE,45),COLOR108090;
MA11:EMA(CLOSE,50),COLOR108090;
MA12:EMA(CLOSE,60),COLOR108090;
EMA(CLOSE,3),COLORyellow,LINETHICK1;
{EMA(C,18),COLORyellow,LINETHICK1;}
{顾比测市}
{M1:EMA(C,5),COLORRED,LINETHICK4;
M2:EMA(M1,5),COLORBLUE;
M3:EMA(M2,5),COLORBLUE;
M4:EMA(M3,5),COLORBLUE;
M5:EMA(M4,5),COLORBLUE;}
{M1S:IF(M1>REF(M1,1),M1,0),COLORGREEN;
M2S:IF(M2>REF(M2,1),M2,0),COLORGREEN;
M3S:IF(M3>REF(M3,1),M3,0),COLORGREEN;
M4S:IF(M4>REF(M4,1),M4,0),COLORGREEN;
M5S:IF(M5>REF(M5,1),M5,0),COLORGREEN;};
{IF M1>REF(M1,1) then M1S:M1,COLORGREEN; ELSE M1S:M1,COLORBLUE;};
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}