文华财经期货软件指标公式源码实战指标 止盈止损.doc

文华财经期货软件指标公式源码实战指标 止盈止损.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/* NH:SUMBARS(IF(BC2TC2,HP,LP),1); STICKLINE(VARC90,100,85,3,0),COLORRED; VARD:=87.5; VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR8:=LLV(LOW,30); VARAA:=HHV(HIGH,30); B:EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8),RGB(255,255,119); DRAWTEXT(IF(CROSS(B,VARD) AND VARE=100,50,0),56,目标); DRAWTEXT(IF(CROSS(VARD,B),90,0),85,跑); DRAWTEXT(IF(CROSS(B,VARE) AND B87,87,0),70,卖); B1:=EMA(B,5); STICKLINE(B0 AND B-B1=0,79,80,3,0),COLORWHITE; STICKLINE(B0 AND B-B10,79,80,3,0),COLORWHITE; STICKLINE(B0 AND B-B1=0,49,50,3,0),COLORRED; STICKLINE(B0 AND B-B10,49,50,3,0),COLORRED; 强弱分界:1.75,COLORRED,DOT; 趋势:MA(动力线,3); IF(趋势REF(趋势,1),趋势,NULL),LINETHICK1,COLORRED; IF(趋势REF(趋势,1),趋势,NULL),LINETHICK1,COLORBLUE; 出击:IF((趋势REF(趋势,1)) AND (REF(趋势,1)REF(趋势,2)) AND (趋势0.5),0.3,0); AW:=CROSS(趋势,0.5); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;//收盘价与N周期最低值做差,N周期最高值与N周期最低值做差,两差之间做比值。 K:=SMA(RSV,3,1);//RSV的移动平均 D:=SMA(K,3,1);//K的移动平均值 DRAWTEXT(BU,L*0.99999,买),LINETHICK1,COLOR00AAFF; DRAWTEXT(SEL,H*1.000001,卖),LINETHICK1,COLOR00FF00; STICKLINE1(买线=卖线,LOW,HIGH,0,1),COLOR0000CC; STICKLINE1(买线=卖线,CLOSE,OPEN,2,1),COLOR0000CC; STICKLINE1(买线卖线,CLOSE,OPEN,2,0),COLORCYAN; STICKLINE1(买线卖线,LOW,HIGH,0,0),COLORCYAN; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA), COLORSTICK; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(CLOSE,A1+1)CLOSE AND REF(DIFF,A1+1)DIFF AND CROSS(DIFF,DEA); MACD底背离:FILTER(B10,5); STICKLINE(FILTER(B10,5),0,10,1,0),COLOR00FF00; DRAWTEXT(FILTER(B10,5),10,MACD底背),COLOR00FF00; A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1)); B3:=REF(CLOSE,A3+1)CLOSE AND REF(RSI1,A3+1)RSI1 AND CROSS(RSI1,RSI2); RSI底背离:FILTER(B30,5),LINETHICK0; STICKLINE(FILTER(B30,5),0,30,1,0),COLORFFFF00; DRAWTEXT(FILTER(B30,5),30,RSI底背),COLORFFFF00; C1

文档评论(0)

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

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

1亿VIP精品文档

相关文档