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

求大神帮忙改个指标 [文华财经]

  • 咨询内容: 这是通达信的,麻烦帮忙改成文华财经的,谢谢





     N1:=50;N:=8;
    80,COLORGREEN;
    20,COLORRED;
    LC:=REF(CLOSE,1);
    ☆:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW;
    ☆1:IF(☆<20,40,20),COLORRED;
    ☆2:IF(☆>80,60,80),COLORGREEN;
    ☆↑:STICKLINE(FILTER(REF(☆,1)<20 AND ☆>REF(☆,1),5),20,40,8,0),COLORRED;
    ☆↓:STICKLINE(FILTER(REF(☆,1)>80 AND ☆<REF(☆,1),5),60,80,8,0),COLORGREEN;
    DRAWTEXT(FILTER(REF(☆,1)<20 AND ☆>REF(☆,1),5),40 ,'入'),COLORRED;
    DRAWTEXT(FILTER(REF(☆,1)>80 AND ☆<REF(☆,1),5),60 ,'出'),COLORGREEN;
    X: REF(CLOSE,1);
    冰山: SMA(MAX(CLOSE-X,0),8,1)/SMA(ABS(CLOSE-X),8,1)*100 ;
    排顺序: IF(CROSS(冰山,15),20,0),STICK,LINETHICK1;
    DRAWICON(排顺序>0,20,1 );
    DRAWTEXT(CROSS(排顺序,11) , LOW,' 低吸 ',COLOR00B7B4 ;
    买入A:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)<REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,COLORRED , LINETHICK2;

     

     来源:程序化99

  • 文华技术人员:   N1:=50; N:=8; 80,COLORGREEN; 20,COLORRED; LC:=REF(CLOSE,1); ☆:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW; ☆1:IF(☆<20,40,20),COLORRED; ☆2:IF(☆>80,60,80),COLORGREEN; STICKLINE(FILTER(REF(☆,1)<20 AND ☆>REF(☆,1),5),20,40,8,0),COLORRED; STICKLINE(FILTER(REF(☆,1)>80 AND ☆<REF(☆,1),5),60,80,8,0),COLORGREEN; DRAWTEXT(FILTER(REF(☆,1)<20 AND ☆>REF(☆,1),5),40 ,'入'),COLORRED; DRAWTEXT(FILTER(REF(☆,1)>80 AND ☆<REF(☆,1),5),60 ,'出'),COLORGREEN; X: REF(CLOSE,1); 冰山: SMA(MAX(CLOSE-X,0),8,1)/SMA(ABS(CLOSE-X),8,1)*100 ; 排顺序: IF(CROSS(冰山,15),20,0),STICK,LINETHICK1; DRAWICON(排顺序>0,20,1 ); DRAWTEXT(CROSS(排顺序,11) , LOW,' 低吸 ',COLOR00B7B4 ; 买入A:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)<REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,COLORRED , LINETHICK2;

 

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

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

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

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


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

相关文章

    没有相关内容