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

能帮转成能用吗? [文华财经]

  • 咨询内容:  N:=14;
    MM:=6;
    RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    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(B1>0,5);
    STICKLINE(FILTER(B1>0,5),0,10,1,0),COLOR00FF00;
    DRAWTEXT(FILTER(B1>0,5),10,'ACD底背',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(B3>0,5),LINETHICK0;
    STICKLINE(FILTER(B3>0,5),0,30,1,0),COLORFFFF00;
    DRAWTEXT(FILTER(B3>0,5),30,'SI底背',COLORFFFF00;

     

     来源:程序化99

  • 文华技术人员:  参考:
    N:=14; MM:=6; RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 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(B1>0,5); STICKLINE1(FILTER(B1>0,5),0,10,1,0),COLOR00FF00; DRAWTEXT(FILTER(B1>0,5),10,'ACD底背',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(B3>0,5),NODRAW; STICKLINE1(FILTER(B3>0,5),0,30,1,0),COLORFFFF00; DRAWTEXT(FILTER(B3>0,5),30,'SI底背',COLORFFFF00;

 

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

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

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

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


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

相关文章

    没有相关内容