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

老师修改成文华可用 [文华财经]

  • 咨询内容: 老师修改时,请调整分钟级别用着比较明确
    中轴线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

    压力线: BBI+3*STD(BBI,10);

    支撑线: BBI-3*STD(BBI,10);

    安全线: MA(CLOSE,30), CIRCLEDOT,COLORFFFF00;

    上开:=O;

    上收:=C;

    上高:=H;

    上低:=L;

    JJ:=(上开+上高+上低)/3;

    A:=EMA(JJ,4);

    VA1:=EMA(上收,8);

    VA2:=EMA(上收,20);

    LC:=REF(CLOSE,1);

    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

    DRAWTEXT(CROSS(84,RSI) , HIGH,'逃顶'),COLORYELLOW ;

    DRAWTEXT(CROSS(RSI,11) , LOW-0.05,' 低吸'),COLORRED ;


    DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND A>REF(A,1),VA1*0.97,'★买'),COLOR00FF00;

    DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★绝佳') ,LINETHICK2,COLORRED;

    DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖');

    箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;

    箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;

    买线:=EMA(C,2);

    卖线:=EMA(SLOPE(C,21)*20+C,42);

    DRAWTEXT(CROSS(买线,卖线)AND 箱顶>=REF(箱顶,1),LOW*0.95,'★跟'),COLOR00FFFF;

    X1:=(C+L+H)/3;

    X2:=EMA(X1,6);

    X3:=EMA(X2,5);

    DRAWTEXT(CROSS(X2,X3),L-0.09,'★'),COLORYELLOW;


    S:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1);

    庄:=IF(S>0,MA(S,1),0);

    DRAWTEXT(CROSS(庄,0.001),L-0.09,'☆');

    {VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);

    VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);

    STICKLINE(VAR327>90,L*0.80,L*0.95,4,0),COLORYELLOW;

    DRAWTEXT(VAR327>90,LOW*0.79,'追涨'),COLORYELLOW;};

     

     来源:程序化99

  • 文华技术人员: 参考:
    中轴线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 压力线: BBI+3*STD(BBI,10);
    支撑线: BBI-3*STD(BBI,10);
    安全线: MA(CLOSE,30), CIRCLEDOT,COLORFFFF00;
    上开:=O;
    上收:=C;
    上高:=H;
    上低:=L;
    JJ:=(上开+上高+上低)/3;
    A:=EMA(JJ,4);
    VA1:=EMA(上收,8);
    VA2:=EMA(上收,20);
    LC:=REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    DRAWTEXT(CROSS(84,RSI) , HIGH,'顶',COLORYELLOW ;
    DRAWTEXT(CROSS(RSI,11) , LOW-0.05,'低吸',COLORRED ;

    DRAWTEXT(CROSS(VA1,VA2) AND (C>=O) AND A>REF(A,1),VA1*0.97,'买',COLOR00FF00;
    DRAWTEXT(CROSS(ZIGZAG(C,8,1),REF(ZIGZAG(C,8,1),1)),LOW*0.978,'绝佳' ,LINETHICK2,COLORRED;
    DRAWTEXT(CROSS(REF(ZIGZAG(C,10,1),1),ZIGZAG(C,10,1)),HIGH*1.02,'卖';
    箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
    箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
    买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    DRAWTEXT(CROSS(买线,卖线) AND 箱顶>=REF(箱顶,1),LOW*0.95,'跟',COLOR00FFFF;
    X1:=(C+L+H)/3;
    X2:=EMA(X1,6);
    X3:=EMA(X2,5);
    DRAWTEXT(CROSS(X2,X3),L-0.09,'',COLORYELLOW;

    S:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1);
    庄:=IF(S>0,MA(S,1),0);
    DRAWTEXT(CROSS(庄,0.001),L-0.09,'';


 

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

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

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

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


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

相关文章

    没有相关内容