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

改一下麦语言 [文华财经]

  • 咨询内容:  HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
    DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
    STICKLINE(C>0,90,10,10,0),COLOR000000;
    RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
    K1:=SMA(RSV1,13,1);
    D1:=SMA(K1,13,1);

    STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),8,0),COLORFF5D00;
    STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),7,0),COLORFF5D10;
    STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),6,0),COLORFF7710;
    STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),5,0),COLORFF8810;
    STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),4,0),COLORFF9910;
    VA1:=HHV(HIGH,9)-LLV(LOW,9);
    VA2:=HHV(HIGH,9)-CLOSE;
    VA3:=CLOSE-LLV(LOW,9);
    VA4:=VA2/VA1*100-70;
    VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    VA6:=(CLOSE+HIGH+LOW)/3;
    VA7:=SMA(VA3/VA1*100,3,1);
    VA8:=LLV(LOW,34);
    VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
    VARA:=IF(VA9>100,VA9-100,0);
    VARB:=HHV(HIGH,34);
    VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
    VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
    VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
    VARF:=MA(VARE,3);
    VAR1:=HHV(HIGH,9)-LLV(LOW,9);
    VAR2:=HHV(HIGH,9)-CLOSE;
    VAR3:=CLOSE-LLV(LOW,9);
    VAR4:=((VAR2)/(VAR1))*(100)-70;
    VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
    VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
    VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
    VAR8:=LLV(LOW,34);
    VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
    VAR10:=IF((VAR9>100),VAR9-100,0);
    VAR11:=HHV(HIGH,34);
    B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
    DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);

     

     来源:程序化99

  • 文华技术人员: 参考:
     下载信息  [文件大小:   下载次数: ]文件名:t1.txt

      

 

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

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

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

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


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

相关文章

    没有相关内容