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

1. 请老师帮我把通达信改文华指标 [文华财经]

  • 咨询内容:                            DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);

    <!--[if !supportLists]-->·                                 <!--[endif]-->DRAWTEXT_FIX(1,0.88,5,0,'~☆~皓天~☆~'),COLORBLUE;

    <!--[if !supportLists]-->·                                 <!--[endif]-->Z1:=STRCAT(HYBLOCK,' ');

    <!--[if !supportLists]-->·                                 <!--[endif]-->Z2:=STRCAT(Z1,DYBLOCK);

    <!--[if !supportLists]-->·                                 <!--[endif]-->Z3:=STRCAT(Z2,' ');

    <!--[if !supportLists]-->·                                 <!--[endif]-->DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;

    <!--[if !supportLists]-->·                                 <!--[endif]-->金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;

    <!--[if !supportLists]-->·                                 <!--[endif]-->金钻趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;

    <!--[if !supportLists]-->·                                 <!--[endif]-->金牛2:EMA(金钻趋势,25)COLORCYAN,LINETHICK2;

    <!--[if !supportLists]-->·                                 <!--[endif]-->DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));

    <!--[if !supportLists]-->·                                 <!--[endif]-->DRAWKLINE(H,O,L,C);

    <!--[if !supportLists]-->·                                 <!--[endif]-->STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),2,0),COLORYELLOW;

    <!--[if !supportLists]-->·                                 <!--[endif]-->STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;

    <!--[if !supportLists]-->·                                 <!--[endif]-->STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;

    <!--[if !supportLists]-->·                                 <!--[endif]-->STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;

    <!--[if !supportLists]-->·                                 <!--[endif]-->VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

    <!--[if !supportLists]-->·                                 <!--[endif]-->回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));

    <!--[if !supportLists]-->·                                 <!--[endif]-->XG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;

    <!--[if !supportLists]-->·                                 <!--[endif]-->DRAWTEXT(XG,L,'▲买入'),COLORRED;

    <!--[if !supportLists]-->·                                 <!--[endif]-->JJ:=(HIGH+LOW+CLOSE)/3;

    <!--[if !supportLists]-->·                                 <!--[endif]-->QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

    <!--[if !supportLists]-->·                                 <!--[endif]-->QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

    <!--[if !supportLists]-->·                                 <!--[endif]-->QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

    <!--[if !supportLists]-->·                                 <!--[endif]-->QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

    <!--[if !supportLists]-->·                                 <!--[endif]-->QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

    <!--[if !supportLists]-->·                                 <!--[endif]-->DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;

    <!--[if !supportLists]-->·                                 <!--[endif]-->V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);

    <!--[if !supportLists]-->·                                 <!--[endif]-->V5:=SMA(V2*120/FROMOPEN*5,2,1);

    <!--[if !supportLists]-->·                                 <!--[endif]-->V10:=SMA(V5,5,1);

    <!--[if !supportLists]-->·                                 <!--[endif]-->V20:=SMA(V10,5,1);

    <!--[if !supportLists]-->·                                 <!--[endif]-->DY:=CURRBARSCOUNT=1 AND C<REF(C,1);

    <!--[if !supportLists]-->·                                 <!--[endif]-->DY2:=REF(V2,1)-DY;

    <!--[if !supportLists]-->·                                 <!--[endif]-->XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;

    <!--[if !supportLists]-->·                                 <!--[endif]-->{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}

    <!--[if !supportLists]-->·                                 <!--[endif]-->  DRAWTEXT(XG2 AND L<金钻趋势,L,'↖金钻起涨'),COLORMAGENTA;

     

     

  • 文华技术人员:   

  • 文华技术人员:CAPITAL、 请老师帮我把下面的指标改文华指标JN:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;JZQS:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;JN2:EMA(JZQS,25)COLORCYAN,LINETHICK2;

     

  • 网友回复:

     XMA函数改写 请参考以下形式

    XMA(X,N)====REFX(MA(X,N),N/2);

     

  • 网友回复:  我不懂请老师帮我修改

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容