过滤盘整震荡指标源码文华期货指标 九转系列.doc

过滤盘整震荡指标源码文华期货指标 九转系列.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/* VAR1:=1; VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4); 高位:90,COLORFFFF00; 低位:20,COLORMAGENTA; VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF; C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF; H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW; F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED; DRAWTEXT(CROSS(C1,C2),REF(C2,1),种金),COLORRED; DRAWTEXT(CROSS(C2,C1),REF(C1,1),收获),COLORGREEN; H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK7,COLORMAGENTA; F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW; DRAWICON(CROSS(C1,C2) AND C20,C2,1); DRAWICON(CROSS(C2,C1) AND C2-100,C1,2); DRAWICON(CROSS(C1,C2) AND C20,C2,1); DRAWICON(CROSS(C2,C1) AND C2-100,C1,2); 条件:=CROSS(C1,C2) AND C140; 条件0:=CROSS(C2,C1) AND C190; DRAWTEXT(条件,20,买),COLORWHITE; {MACD?参数优化} SHORT0:=6; LONG0:=12; MID0:=9; DIF0:=EMA(CLOSE,SHORT0)-EMA(CLOSE,LONG0); DEA0:=EMA(DIF0,MID0); {KD?参数设置} N0:=9; M10:=3; M20:=3; RSV:=(CLOSE-LLV(LOW,N0))/(HHV(HIGH,N0)-LLV(LOW,N0))*100; K:=SMA(RSV,M10,1); D:=SMA(K,M20,1); {成交量柱} MA005:=MA(VOL,5); MA010:=MA(VOL,10); {多空评估} 多方:=IF( DIF0DEA0 AND DIF0REF(DIF0,1) AND KD AND KREF(K,1) AND MA005MA010, 1,0); 空方:=IF( DIF0DEA0 AND DIF0REF(DIF0,1) AND KD AND KREF(K,1) AND MA005MA010, -1, 0); UP0:=IF(多方=1 AND REF(多方,1)=0,1,0); DOWN0:=IF(空方=-1 AND REF(空方,1)=0,-1,0); DRAWICON(UP0=1,0,1); DRAWICON(DOWN0=-1,0,2); {叠加CCI} TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); AAA:100;BBB:-100;CCC:0; ? ? DRAWTEXT(条件0,85,卖),COLORYELLOW; DRAWTEXT(CROSS(C1,75),70,开始冲顶),COLORWHITE; ? ? */ NN:=BARPOS; KH:=HHV(NN,300); VERTLINE(DATEREFX(DATE,1)ISLASTBAR1KH1,COLORBLUE); QQ:=OPI-REF(OPI,1); K1:=IFELSE(CLOSEOPENQQ=0,QQ,0); KK1:=IFELSE(CLOSEOPENQQ0,QQ,0); KKK1:=IFELSE(CLOSE=OPEN,QQ*0.5,0); K2:=IFELSE(CLOSEOPENQQ=0,QQ,0); KK2:=IFELSE(CLOSEOPENQQ0,QQ,0); DO:=SUM(K1,NN)+SUM(KK1,NN)+SUM(KKK1,NN); KO:=SUM(K2,NN)+SUM(KK2,NN)+SUM(KKK1,NN); N4:=IFELSE(NN=4,NN,4); VK1:=IFELSE(CLOSE=OPEN,VOL,0); V

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档