您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

改成文华公式 [文华财经]

  • 咨询内容:  RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));VAR21:=SMA(RSVA2,9,1)+100;VAR11:=SMA(RSVA1,3,1);VAR51:=SMA(VAR11,3,1)+100;顶底线:=VAR51-VAR21+50;VAR2:=LLV(LOW,33);VAR3:=HHV(HIGH,21);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);STICKLINE(C,100,90,4,0),COLORFFCC33;STICKLINE(C,90,80,4,0),COLORFF9933;STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR9999FF;STICKLINE(顶底线<REF(顶底线,1),20,80,4,0),COLOR009966;STICKLINE((趋势>REF(趋势,1) AND 顶底线<REF(顶底线,1)),20,80,4,0),COLOR9999FF;STICKLINE((趋势<REF(趋势,1) AND 顶底线>REF(顶底线,1)),20,80,4,0),COLOR009966;STICKLINE(C,20,10,4,0),COLORFF6633;STICKLINE(C,10,0,4,0),COLORFF3333;底线:10,COLORWHITE;顶线:90,COLORWHITE;趋势线:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK2,COLORBLUE;当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,LINETHICK2,COLORRED;DRAWTEXT(CURRBARSCOUNT=6,5,'高安全区'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,15,'安全区'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,45,'绿区持币'),COLORFFC000;DRAWTEXT(CURRBARSCOUNT=6,50,'(投资区)'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,55,'粉区持股'),COLORFFC000;DRAWTEXT(CURRBARSCOUNT=6,85,'风险区'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=6,95,'高风险区'),COLORWHITE; 

     

     来源:程序化99

  • 文华技术人员:  请参考
    CURRBARSCOUNT:=DATACOUNT-BARPOS+1; RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)); VAR21:=SMA(RSVA2,9,1)+100; VAR11:=SMA(RSVA1,3,1); VAR51:=SMA(VAR11,3,1)+100; 顶底线:=VAR51-VAR21+50; VAR2:=LLV(LOW,33); VAR3:=HHV(HIGH,21); VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100; 趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1); STICKLINE(C,100,90,4,0),COLORFFCC33; STICKLINE(C,90,80,4,0),COLORFF9933; STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR9999FF; STICKLINE(顶底线<REF(顶底线,1),20,80,4,0),COLOR009966; STICKLINE((趋势>REF(趋势,1) AND 顶底线<REF(顶底线,1)),20,80,4,0),COLOR9999FF; STICKLINE((趋势<REF(趋势,1) AND 顶底线>REF(顶底线,1)),20,80,4,0),COLOR009966; STICKLINE(C,20,10,4,0),COLORFF6633; STICKLINE(C,10,0,4,0),COLORFF3333; 底线:10,COLORWHITE; 顶线:90,COLORWHITE; 趋势线:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK2,COLORBLUE; 当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,LINETHICK2,COLORRED; DRAWTEXT(CURRBARSCOUNT=6,5,'安全区',COLORWHITE; DRAWTEXT(CURRBARSCOUNT=6,15,'全区',COLORWHITE; DRAWTEXT(CURRBARSCOUNT=6,45,'区持币',COLORFFC000; DRAWTEXT(CURRBARSCOUNT=6,50,'投资区)',COLORWHITE; DRAWTEXT(CURRBARSCOUNT=6,55,'区持股',COLORFFC000; DRAWTEXT(CURRBARSCOUNT=6,85,'险区',COLORWHITE; DRAWTEXT(CURRBARSCOUNT=6,95,'风险区',COLORWHITE;

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容