过滤盘整震荡指标源码文华期货指标MACD顶底背离买卖点.doc

过滤盘整震荡指标源码文华期货指标MACD顶底背离买卖点.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/* Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,30); Var4:=MA(CLOSE,60); Var5:=EMA(COST(85),7); Var6:=EMA(COST(15),7); Var7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4); Var8:=INTPART(Var7*100)/100; Var9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7); VarA:=INTPART(Var9*100)/100; VarB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28); VarC:=INTPART(VarB*100)/100; VarD:=EMA(CLOSE,5)-EMA(CLOSE,10); VarE:=EMA(CLOSE,5)-EMA(CLOSE,10); VarF:=EMA(VarD,9); 放空段: IF(VarDVarF,VarF,VarE),COLOR00FF00,LINETHICK2; 持股段: IF(VarD VarF,VarF,VarE),COLORRED,LINETHICK2; Var10:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; Var11:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; Var12:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; Var13:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; Var14:=REF(VarF,1); Var15:=VarF; Var16:=Var15-Var14; Var17:=REF(VarD,1); Var18:=VarD; Var19:=Var18-Var17; Var1A:=OPEN; Var1B:=CLOSE; 变盘点: IF(Var1A=Var1 AND Var1A=Var2 AND Var1A=Var3 AND Var1B=Var1 AND Var1B=VarC AND Var160 AND Var190,0.5,0), STICK,COLORWHITE; Var1C:=IF(CROSS(VarD,VarF) AND VarD0 AND VarF-0.2 AND Var1145 AND Var160,0.3,0); 买进1: IF(Var1C,0.5,0),COLORYELLOW; DRAWICON(买进1,0.5,1); Var1D:=(2*CLOSE+HIGH+LOW)/4; Var1E:=LLV(LOW,34); Var1F:=HHV(HIGH,34); Var20:=EMA((Var1D-Var1E)/(Var1F-Var1E)*100,13); Var21:=EMA(0.667*REF(Var20,1)+0.333*Var20,2); Var22:=REF(CLOSE,1); Var23:=SMA(MAX(CLOSE-Var22,0),6,1)/SMA(ABS(CLOSE-Var22),6,1)*100; 卖出: IF(CROSS(84,Var23),0.5,0),COLOR00FF00; DRAWICON(卖出,0.5,2); 持仓:0,colorff00ff; 空仓:0,colorgreen; ? */ DIF1:=EMA(CLOSE,5) - EMA(CLOSE,35),LINETHICK2; DEA1:=EMA(DIF1,5),LINETHICK2; MACD1:=2*(DIF1-DEA1); MACD2:=EMA(MACD1,3); STICKLINE1(MACD1MACD2 AND MACD10,0,MACD1,3.2,0),COLOR000055; STICKLINE1(MACD1MACD2 AND MACD10,0,MACD1,2.7,0),COLOR000077; STICKLINE1(MACD1MACD2 AND MACD10,0,MACD1,2.1,0),COLOR000099; STICKLINE1(MACD1MACD2 AND MACD10,0,MACD1,1.5,0),COLOR0000BB; STICKLINE1(MACD1MACD2 AND MACD10,0,MACD1,0.9,0),COLOR0000DD; STICKLINE1(MACD

文档评论(0)

yifangtianzun + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档