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

标记编写 [文华财经]

  • 咨询内容:  齐云老師好。拜拖你一下。这个指标。的上分形。请在上分形右端。加紅色字数据。比如5076。请在下分形的右端。加綠色字数据。比如5056。字体可放大缩小。感谢您。。

    VARV:=(2*CLOSE+HIGH+LOW)/4;VARU:=LLV(LOW,30);VARA1:=HHV(HIGH,30);B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);B1:=EMA(B,5);
    //STICKLINE(CROSS(B-B1>0,0.5),70,0,8,0),COLORRED;//STICKLINE(CROSS(B-B1<0,0.5),30,100,8,0),COLORGREEN;LC:=REF(CLOSE,1);


    N1:=BARSLAST(CROSS(B-B1>0,0.5))+1;N2:=BARSLAST(CROSS(B-B1<0,0.5))+1;DRAWCOLORKLINE(N1<N2,COLORRED,0);DRAWCOLORKLINE(N1>N2,COLORGREEN,0);
    HH:=CROSS(BACKSET(REFX(N2=1,1)||ISLASTBAR&&N1<N2,HHVBARS(H,N1)+1),0.5);LL:=CROSS(BACKSET(REFX(N1=1,1)||ISLASTBAR&&N1>N2,LLVBARS(L,N1)+1),0.5);X:=2;DRAWSL(HH,H,0,X,0,COLORWHITE),DOT;DRAWSL(LL,L,0,X,0,COLORWHITE),DOT;





     

     

     来源:程序化99

  • 文华技术人员:  参考:
    VARV:=(2*CLOSE+HIGH+LOW)/4; VARU:=LLV(LOW,30); VARA1:=HHV(HIGH,30); B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8); B1:=EMA(B,5);
    //STICKLINE(CROSS(B-B1>0,0.5),70,0,8,0),COLORRED; //STICKLINE(CROSS(B-B1<0,0.5),30,100,8,0),COLORGREEN; LC:=REF(CLOSE,1);


    N1:=BARSLAST(CROSS(B-B1>0,0.5))+1; N2:=BARSLAST(CROSS(B-B1<0,0.5))+1; DRAWCOLORKLINE(N1<N2,COLORRED,0); DRAWCOLORKLINE(N1>N2,COLORGREEN,0);
    HH:=CROSS(BACKSET(REFX(N2=1,1)||ISLASTBAR&&N1<N2,HHVBARS(H,N1)+1),0.5); LL:=CROSS(BACKSET(REFX(N1=1,1)||ISLASTBAR&&N1>N2,LLVBARS(L,N1)+1),0.5); X:=2; DRAWSL(HH,H,0,X,0,COLORWHITE),DOT; DRAWSL(LL,L,0,X,0,COLORWHITE),DOT;
    DRAWNUMBER(REF(HH,2),REF(H,2),REF(H,2),1,COLORYELLOW),ALIGN0; DRAWNUMBER(REF(LL,2),REF(L,2),REF(L,2),1,COLORYELLOW),ALIGN0;

     

     来源: WWW.CXH99.COM

  • 文华客服:  齐云老師好。收到。谢谢。。数字请修改为整数。不要有小数点。可放大縮小。感谢您。。

     

  • 网友回复:  参考:
    VARV:=(2*CLOSE+HIGH+LOW)/4; VARU:=LLV(LOW,30); VARA1:=HHV(HIGH,30); B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8); B1:=EMA(B,5);
    //STICKLINE(CROSS(B-B1>0,0.5),70,0,8,0),COLORRED; //STICKLINE(CROSS(B-B1<0,0.5),30,100,8,0),COLORGREEN; LC:=REF(CLOSE,1);


    N1:=BARSLAST(CROSS(B-B1>0,0.5))+1; N2:=BARSLAST(CROSS(B-B1<0,0.5))+1; DRAWCOLORKLINE(N1<N2,COLORRED,0); DRAWCOLORKLINE(N1>N2,COLORGREEN,0);
    HH:=CROSS(BACKSET(REFX(N2=1,1)||ISLASTBAR&&N1<N2,HHVBARS(H,N1)+1),0.5); LL:=CROSS(BACKSET(REFX(N1=1,1)||ISLASTBAR&&N1>N2,LLVBARS(L,N1)+1),0.5); X:=2; DRAWSL(HH,H,0,X,0,COLORWHITE),DOT; DRAWSL(LL,L,0,X,0,COLORWHITE),DOT;
    DRAWNUMBER(REF(HH,2),REF(H,2),REF(H,2),0,COLORYELLOW),ALIGN0,FONTSIZE23; DRAWNUMBER(REF(LL,2),REF(L,2),REF(L,2),0,COLORYELLOW),ALIGN0,FONTSIZE23;

 

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

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

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

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


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

相关文章

    没有相关内容