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

转化文华指标 [文华财经]

  • 咨询内容:  
    {三色出彩}
    N:=9;M1:=3;M2:=3;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:=SMA(RSV,M1,1);
    D:=SMA(K,M2,1);
    J:=3*K-2*D;
    钝化:=IF(COUNT(K<20,3)=3,10,DRAWNULL) AND IF(COUNT(K<20,1)=1,10,DRAWNULL);
    红:=COUNT(钝化,3)>=2;
    MA1:=EMA(CLOSE,8);
    趋势线:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);
    GUA1:=((CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3)) AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND ((REF(CLOSE,4)>REF(CLOSE,2)) OR (REF(CLOSE,4)<=REF(CLOSE,2)) AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR (CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)<=REF(CLOSE,2))
    AND (CLOSE>=REF(CLOSE,2)) AND ((REF(CLOSE,3)>REF(CLOSE,1)) OR(REF(CLOSE,3)<=REF(CLOSE,1)) AND (REF(CLOSE,4)>=REF(CLOSE,2))));
    GUB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
    GUB3:=EMA(GUB2,7);
    GUB4:=EMA(GUB3,10);
    GUB5:=(3)*(GUB3)-(2)*(GUB4);
    GUB6:=EMA(GUB5,5);
    底部:=IF((趋势线<=5),58,0),COLORFF00FF;
    串:=EMA(GUB6,1);{www.gpxiazai.com}
    黄:=串 AND IF(REF((COUNT((串<=REF(串,1)),5)=5),1) AND (串>REF(串,1)),10,0);
    P1:=3;
    P2:=3;
    RSSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    KS:=SMA(RSSV,3,1),COLORYELLOW;
    DS:=SMA(KS,3,1),COLOR00DD00;
    蓝:=FILTER(CROSS(KS,DS) AND KS<20,4);
    出彩:=红 AND 黄 AND 蓝;
    STICKLINE(出彩,0,75,2,0),COLORWHITE;
    STICKLINE(出彩,52,73,1.2,0),COLORRED;
    STICKLINE(出彩,27,48,1.2,0),COLORYELLOW;
    STICKLINE(出彩,2,23,1.2,0),COLORBLUE;

     

     来源:程序化99

  • 文华技术人员:

    参考:

     

    {三色出彩}
    N:=9;
    M1:=3;
    M2:=3;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:=SMA(RSV,M1,1);
    D:=SMA(K,M2,1);
    J:=3*K-2*D;
    钝化:=IF(COUNT(K<20,3)=3,10,NULL) AND IF(COUNT(K<20,1)=1,10,NULL);
    红:=COUNT(钝化,3)>=2;
    MA1:=EMA(CLOSE,8);
    趋势线:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);
    GUA1:=((CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3)) AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND ((REF(CLOSE,4)>REF(CLOSE,2)) OR (REF(CLOSE,4)<=REF(CLOSE,2)) AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR (CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)<=REF(CLOSE,2))
    AND (CLOSE>=REF(CLOSE,2)) AND ((REF(CLOSE,3)>REF(CLOSE,1)) OR (REF(CLOSE,3)<=REF(CLOSE,1)) AND (REF(CLOSE,4)>=REF(CLOSE,2))));
    GUB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
    GUB3:=EMA(GUB2,7);
    GUB4:=EMA(GUB3,10);
    GUB5:=(3)*(GUB3)-(2)*(GUB4);
    GUB6:=EMA(GUB5,5);
    底部:=IF((趋势线<=5),58,0),COLORFF00FF;
    串:=EMA(GUB6,1);
    {WWW.GPXIAZAI.COM}
    黄:=串 AND IF(REF((COUNT((串<=REF(串,1)),5)=5),1) AND (串>REF(串,1)),10,0);
    P1:=3;
    P2:=3;
    RSSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    KS:=SMA(RSSV,3,1),COLORYELLOW;
    DS:=SMA(KS,3,1),COLOR00DD00;
    蓝:=FILTER(CROSS(KS,DS) AND KS<20,4);
    出彩:=红 AND 黄 AND 蓝;
    STICKLINE(出彩,0,75,2,0),COLORWHITE;
    STICKLINE(出彩,52,73,1.2,0),COLORRED;
    STICKLINE(出彩,27,48,1.2,0),COLORYELLOW;
    STICKLINE(出彩,2,23,1.2,0),COLORBLUE;

     

     来源: WWW.CXH99.COM

  • 文华客服: 没有显示

     

  • 网友回复:

    您指标条件比较严格,没有同时满足 红 黄 蓝这3个条件,因此没显示柱体。

 

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

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

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

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


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

相关文章

    没有相关内容