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

修改成文华源码 [文华财经]

  • 咨询内容: VV:=IF(CLOSE>REF(CLOSE,1) ,1,-1);{可调节参数}
    YY:=SUM(IF(CLOSE=REF(CLOSE,1),0,VV),0);{可调节参数}
    BBB:=YY-REF(YY,1);
    量能等K线:SUM(BBB,0)COLORYELLOW;
    MAA:HHV(量能等K线,2),COLORLIRED,LINETHICK1,DOTLINE;
    MAB:LLV(量能等K线,2),COLORLIBLUE,LINETHICK1,DOTLINE;
    STICKLINE(BBB>0 ,BBB+量能等K线,量能等K线,1,1),COLORLIRED;
    STICKLINE(BBB<0 ,量能等K线+BBB,量能等K线,1,1),COLORLIBLUE;
    H2:=REF(HIGH,10);
    L2:=REF(LOW,10);
    E1:=HIGH>H2 AND LOW>=L2
    AND CLOSE>REF(CLOSE,1);
    E11:=HIGH>H2 AND LOW>=L2
    AND CLOSE<=REF(CLOSE,1);
    E2:=LOW<L2 AND HIGH<H2;
    E3:=HIGH>H2 AND LOW<L2
    AND CLOSE>REF(CLOSE,1);
    E31:=HIGH>H2 AND LOW<L2
    AND CLOSE<=REF(CLOSE,1);
    E4:=HIGH<=H2 AND LOW>=L2;
    TURBO:=SUM(IF(E1,HIGH,IF(E11,LOW,IF(E2,-HIGH,IF(E3,HIGH,IF(E31,-HIGH,IF(E4,0,0)))))),0)/100,LINETHICK1,COLORGRAY,DOTLINE;
    STICKLINE(TURBO>=REF(TURBO,1),量能等K线,BBB+量能等K线,1,1),COLORLIMAGENTA;{股票之友自创定位参数}
    STICKLINE(TURBO<REF(TURBO,1),量能等K线,量能等K线+BBB,1,1),COLORBLUE;{股票之友自创定位参数}
    STICKLINE(BBB>=0 AND C=HHV(C,5) AND MAA>REF(MAA,1),BBB+量能等K线,量能等K线,1.0,0),COLORRED;{调节参数作为减仓依据}
    STICKLINE(BBB<0 AND C=LLV(C,5) AND MAB<REF(MAB,1),量能等K线+BBB,量能等K线,1.0,0),COLORGREEN;{调节参数作为减仓依据 

     

     来源:程序化99

  • 文华技术人员:  参考:
    VV:=IF(CLOSE>REF(CLOSE,1) ,1,-1);
    YY:=SUM(IF(CLOSE=REF(CLOSE,1),0,VV),0);
    BBB:=YY-REF(YY,1); 量能等K线:SUM(BBB,0),COLORYELLOW; MAA:HHV(量能等K线,2),COLORRED,LINETHICK1,DOT; MAB:LLV(量能等K线,2),COLORBLUE,LINETHICK1,DOT; STICKLINE1(BBB>0 ,BBB+量能等K线,量能等K线,1,1),COLORRED; STICKLINE1(BBB<0 ,量能等K线+BBB,量能等K线,1,1),COLORBLUE; H2:=REF(HIGH,10); L2:=REF(LOW,10); E1:=HIGH>H2 AND LOW>=L2 AND CLOSE>REF(CLOSE,1); E11:=HIGH>H2 AND LOW>=L2 AND CLOSE<=REF(CLOSE,1); E2:=LOW<L2 AND HIGH<H2; E3:=HIGH>H2 AND LOW<L2 AND CLOSE>REF(CLOSE,1); E31:=HIGH>H2 AND LOW<L2 AND CLOSE<=REF(CLOSE,1); E4:=HIGH<=H2 AND LOW>=L2; TURBO:=SUM(IF(E1,HIGH,IF(E11,LOW,IF(E2,-HIGH,IF(E3,HIGH,IF(E31,-HIGH,IF(E4,0,0)))))),0)/100,LINETHICK1,COLORGRAY,DOT; STICKLINE1(TURBO>=REF(TURBO,1),量能等K线,BBB+量能等K线,1,1),COLORMAGENTA;
    STICKLINE1(TURBO<REF(TURBO,1),量能等K线,量能等K线+BBB,1,1),COLORBLUE;
    STICKLINE1(BBB>=0 AND C=HHV(C,5) AND MAA>REF(MAA,1),BBB+量能等K线,量能等K线,1.0,0),COLORRED;
    STICKLINE1(BBB<0 AND C=LLV(C,5) AND MAB<REF(MAB,1),量能等K线+BBB,量能等K线,1.0,0),COLORGREEN;

     

     来源: WWW.CXH99.COM

  • 文华客服: 出击主图之绝密买点选股指标公式

    MA1:MA(CLOSE,5);
    MA2:MA(CLOSE,10);
    MA3:MA(CLOSE,20);
    MA4:MA(CLOSE,30);
    MA5:MA(CLOSE,60);
    MA6:MA(CLOSE,120);
    强势线:MA(C,25)+MA(C,25)*20/100,LINETHICK2,COLORWHITE;
    TC3:=REF(C,1);
    涨停:=IF((C-TC3)*100/TC3>=(10-0.03*100/TC3),1,0);
    STICKLINE(涨停,OPEN,CLOSE,1.5,0),COLORYELLOW;
    跌停:=IF((TC3-C)*100/TC3>=(10-0.03*100/TC3),1,0);
    STICKLINE(跌停,OPEN,CLOSE,1.5.0.1,0),COLORBLUE;
    VAR2:=CLOSE*VOL;
    VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)
    +EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);
    上:=(SMA(HIGH,21,2) * 1.05);
    BMA:=MA(CLOSE,118);
    阻挡:=(SMA(HIGH,21,2) * 1.05);
    RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=((3 * K) - (2 * D));
    RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
    K12:=SMA(RSV12,3,1);
    D12:=SMA(K12,3,1);
    J12:=((3 * K12) - (2 * D12));
    RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
    K24:=SMA(RSV24,3,1);
    D24:=SMA(K24,3,1);
    J24:=((3 * K24) - (2 * D24));
    压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),LINETHICK2,COLOR00FF00;
    {主图叠加指标}
    {火鸟出击}
    AM1:=C/REF(C,1)>1.095 AND C=H;
    H1:=(REF(C,1)/REF(C,2)<=0.96) OR (REF(O,1)/REF(C,1)>=1.05);
    H2:=H/REF(C,1)>1.041 AND C>REF(C,1);
    XGH1:=H1 AND H2;
    XGH2:=REF(C,2)/REF(C,3)<1.099;
    XGY:=XGH1 AND XGH2;
    ABXG:=COUNT(REF(AM1,3),8) AND XGY;
    DRAWICON(ABXG,L*0.98,24);
    DRAWTEXT(ABXG,L*0.95,'火鸟出击'),COLORYELLOW;
    {绝密买点}
    KM1:=C/REF(C,1)>1.095 AND C=H;
    DM1:=H/REF(C,1)>1.041 AND L<MA(C,5) AND C>MA(C,5) AND L<MA(C,10) AND C>MA(C,10) AND L<MA(C,20) AND C>MA(C,20)
    AND ((L<MA(C,60)AND C>MA(C,60)) OR (L<MA(C,120)AND C>MA(C,120)));
    KDXG:=COUNT(REF(KM1,3),10) AND DM1;
    DRAWICON(KDXG,L*0.93,22);
    DRAWTEXT(KDXG,L*0.91,'绝密买点'),COLORRED;

     

  • 网友回复: 还有这个

     

  • 网友回复: 还有这个

 

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

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

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

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


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

相关文章

    没有相关内容