暗暗指标_股票公式_顶尖财经网
  您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文

暗暗指标

加入日期:2009-5-3 11:33:59
源码如下:

{暗暗指标  n,0,300,3 n1,0,300,13 n2,0,300,73 n3,0,300,120}

n:=3;n1:=13;n2:=73;n3:=120;
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
DRAWTEXT(CROSS(84,Var2),HIGH,小鸡快跑 ),coloryellow , ;
DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.01,获利了卖吧);
Var3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
Var4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
Var5:=Var3 AND Var4;
DRAWTEXT(Var5,LOW,试买入 ),coloryellow , ;
Var6:=REF(CLOSE,1);
Var7:=SMA(MAX(CLOSE-Var6,0),6,1)/SMA(ABS(CLOSE-Var6),6,1)*100;
Var8:=CROSS(80,Var7);
DRAWTEXT(Var8,HIGH*1.02,卖出吧 ),coloryellow , ;
MA1: MA(CLOSE,N),colorwhite , ;
MA2: MA(CLOSE,N1),coloryellow , ;
MA3: MA(CLOSE,N2),colorblue ,;
MA4: MA(CLOSE,N3),colorgreen , ;
年线: MA(CLOSE,250),linethick2 ,colorred ;
Var9:=ema("KDJ.K"(9,3,3),5);
VarA:=ema("KDJ.D"(9,3,3),5);
VarB:=3*Var9-2*VarA;
VarC:=CROSS(VarB,VarA) AND CROSS(VarB,Var9) AND CROSS(Var9,VarA);
DRAWTEXT(VarC,LOW,周K),colorf00ff0, ;
VarD:=CROSS(VarA,VarB) AND CROSS(Var9,VarB) AND CROSS(VarA,Var9);
DRAWTEXT(VarD,HIGH,周K),color00ff00, ;
VarE:=ema("KDJ.K"(9,3,3),22);
VarF:=ema("KDJ.D"(9,3,3),22);
Var10:=3*VarE-2*VarF;
Var11:=VarC AND CROSS(Var10,VarF) AND CROSS(Var10,VarE) AND CROSS(VarE,VarF);
DRAWTEXT(Var11,LOW/1.02,月K),colorred , ;

Var12:=EMA(CLOSE,12)-EMA(CLOSE,26);
Var13:=EMA(Var12,9);
Var14:=CROSS(Var12,Var13) AND VarC;
DRAWTEXT(Var14,LOW/1.01,注意钱),colorf00ff0 , ;
DRAWTEXT(CROSS(Var12,Var13),LOW,macd),colorf00ff0 , ;
DRAWTEXT(CROSS(Var13,Var12),HIGH,MACD),color00ff00 , ;
小鸡快跑 :if(CROSS(84,Var2),1,0),coloryellow , ;
获利了卖吧:if(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),1,0),color00ff00;
卖出吧:if(Var8,1,0),colorf0f000 , ;
试买入:if(Var5,1,0),colorf00ff0, ;




以上信息为博客会员、合作方、加盟会员提供,本站不拥有版权,版权归原作者所有,所载文章、数据仅供参考,据此操作,风险自负。
顶 尖 财 经 -- 中 华 顶 尖 网 络 信 息 服 务 中 心
Copyright? 2000 - 2004 www.58188.com