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

修改指标,麻烦 [文华财经]

  • 咨询内容:  MA5:MA(CLOSE,5),LINETHICK1,COLORGREEN;MA10:MA(CLOSE,10),LINETHICK1,COLORRED;MA30:MA(CLOSE,30),LINETHICK2,COLORYELLOW;_持仓:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORRED,{COLOR9955FF};_空仓:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN,{COLORDDFF00};_现价:CLOSE,COLORWHITE,NODRAW;_10日涨跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
    {二次给力}    给:=EMA(C,2),COLORRED;力:=EMA(SLOPE(C,9)*20+C,37);买:=CROSS(给,力);卖:=CROSS(力,给);DRAWICON(买,L*0.97,1);DRAWTEXT(买,L*0.95,'进攻'),COLORYELLOW;DRAWICON(卖,H*1.03,2);DRAWTEXT(卖,H*1.08,'撤退'),COLORWHITE;STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORRED;STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORRED;STICKLINE(给<力,LOW,HIGH,0.01,0),COLORFFDD00;STICKLINE(给<力,CLOSE,OPEN,2,0),COLORFFFF00;STICKLINE(CROSS(给,力),OPEN,CLOSE,2.5,0),COLORYELLOW;STICKLINE(CROSS(力,给),OPEN,CLOSE,2.5,0),COLORWHITE;
    主图的吗

     

  • 文华技术人员:

     MA5:MA(CLOSE,5),LINETHICK1,COLORGREEN;
    MA10:MA(CLOSE,10),LINETHICK1,COLORRED;
    MA30:MA(CLOSE,30),LINETHICK2,COLORYELLOW;
    持仓:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),NULL),CIRCLEDOT,COLORRED,NODRAW;
    空仓:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),NULL),CIRCLEDOT,COLORGREEN;
    现价:CLOSE,COLORWHITE,NODRAW;
    10日涨跌:(C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
    给:=EMA(C,2),COLORRED;
    力:=EMA(SLOPE(C,9)*20+C,37);
    买:=CROSS(给,力);
    卖:=CROSS(力,给);
    DRAWICON(买,L*0.97,'1');
    DRAWTEXT(买,L*0.95,'进攻'),COLORYELLOW;
    DRAWICON(卖,H*1.03,'2');
    DRAWTEXT(卖,H*1.08,'撤退'),COLORWHITE;
    STICKLINE1(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;
    STICKLINE1(给>=力,CLOSE,OPEN,2,1),COLORRED;
    STICKLINE1(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;
    STICKLINE1(给>=力,CLOSE,OPEN,2,1),COLORRED;
    STICKLINE1(给<力,LOW,HIGH,0.01,0),COLORFFDD00;
    STICKLINE1(给<力,CLOSE,OPEN,2,0),COLORFFFF00;
    STICKLINE1(CROSS(给,力),OPEN,CLOSE,2.5,0),COLORYELLOW;
    STICKLINE1(CROSS(力,给),OPEN,CLOSE,2.5,0),COLORWHITE;

    仅供参考;

 

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

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


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

相关文章

    没有相关内容