📅 财经日历 📊 实时波动 📈 大盘云图 📶 行情走势 🆚 投机情绪 🚀 今日热点

    有关ECN平台不能开单时直接设止损止盈的问题--引用牛版的EA

    徐雯 LV13
    2011-11-24 · 9798 阅读
    牛版的EA :http://bbs.520fx.com/viewthread.php?tid=165&highlight=chimoku    此EA在ECN平台不能运行,是因为此类平台不能开单进直接设止损止盈,我改了下,能开单,第一单可以高止损止盈,第二单就不行了,请高手帮助看下。下划线是我改动为0;红色是我加的(就是选择定单,加止损止盈,)哪里出错了???谢谢
      
      //+------------------------------------------------------------------+
      //|                           Copyright 2005,  bobammax              |
      //|                                                                  |
      //+------------------------------------------------------------------+
      
      #property copyright \"Copyright 2005, bobammax aka foreverold\"
      #property link      \"\"
      
      
      
      
      #define MAGIC 85718
      
      extern double lStopLoss = 370;
      extern double sStopLoss = 350;
      extern double lTakeProfit = 800;
      extern double sTakeProfit = 750;
      extern double lTrailingStop = 200;
      extern double sTrailingStop = 200;
      extern color clOpenBuy = Blue;
      extern color clCloseBuy = Aqua;
      extern color clOpenSell = Red;
      extern color clCloseSell = Violet;
      extern color clModiBuy = Blue;
      extern color clModiSell = Red;
      extern string Name_Expert = \"Ichimoku\";
      extern int Slippage = 4;
      extern bool UseSound = True;
      extern string NameFileSound = \"alert.wav\";
      extern double Lots = 1.00;
      
      
      void deinit() {
         Comment(\"\");
      }
      //+------------------------------------------------------------------+
      //|                                                                  |
      //+------------------------------------------------------------------+
      int start(){
         if(Bars
    ""
    还没有人打赏,支持一下
    回复

    举报

     

    回答|共 24 个

    yiyang LV5

    发表于 2012-11-22 00:12:46 | 显示全部楼层

    应该加分  

    樱桃小猪猪 LV5

    发表于 2012-11-22 00:12:46 | 显示全部楼层

    太棒了!  

    果果 LV4

    发表于 2012-11-22 00:12:46 | 显示全部楼层

    回帖是种美德.  

    加Q2219910020 LV5

    发表于 2012-11-22 00:12:46 | 显示全部楼层

    不看白不看,看也不白看  

    闲暇时光在这里 LV5

    发表于 2012-11-22 00:12:46 | 显示全部楼层

    你好!我想编写一平仓条件,可一直不成功。当下单成功后赢利超过7点之后赢利又小于6点平仓。就这个平仓条件能辛苦帮我写一下吗?这样能保住赢利不会变亏损。先行谢谢了!!!~~~  

    卢苏 LV5

    发表于 2012-11-22 00:12:46 | 显示全部楼层

    EA见识的多了,没见过能有一个稳定盈利的  

    fuxiaowei00 LV3

    发表于 2014-11-7 15:55:19 | 显示全部楼层

    感谢分享

    tesfhhia LV3

    发表于 2014-11-26 18:59:06 | 显示全部楼层

    想学EA,拜师,谁收了我吧

    ak47fx LV3

    发表于 2014-11-30 13:20:07 | 显示全部楼层

    回复看看
    123下一页
    您需要登录后才可以回帖 登录 | 注册

    提醒: 禁止引战、谩骂、灌水内容

    微信二维码

    有问题联系客服