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

麻烦老师修改一下文华用 [文华财经]

  • 咨询内容:  MA5:MA(C,5);

     MA10:MA(C,10);

     MA20:MA(C,20);

     VAR1:=(CLOSE+HIGH+LOW)/3;

     VAR2:=EMA(VAR1,10);

     VAR3:=REF(VAR2,1);

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE;

     STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF;

     STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00;

     STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00;

     STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00;

     STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;

     STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;

     C4:=CROSS(VAR2,VAR3);

     C5:=CROSS(VAR3,VAR2);

     DRAWICON(C4,LOW-0.2,7);

     A1AA:=9;

     A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);

     DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'心变盘',COLORFFFFFF;

     DRAWTEXT(CROSS(83,RSI),H*1.04,'逃顶'COLORYELLOW;

     

     来源:程序化99

  • 文华技术人员:  参考:
    LC := REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; MA5:MA(C,5); MA10:MA(C,10); MA20:MA(C,20); VAR1:=(CLOSE+HIGH+LOW)/3; VAR2:=EMA(VAR1,10); VAR3:=REF(VAR2,1); STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC; STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD; STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE; STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF; STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00; STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00; STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED; C4:=CROSS(VAR2,VAR3); C5:=CROSS(VAR3,VAR2); DRAWICON(C4,LOW-0.2,7); A1AA:=9; A2AA:=(REF(CLOSE,A1AA+1)<CLOSE); DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'心变盘',COLORFFFFFF; DRAWTEXT(CROSS(83,RSI),H*1.04,'逃顶',COLORYELLOW;

 

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

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

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

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


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

相关文章

    没有相关内容