年度星钻会员尊享!MT4 EA:Quantora Trade Manager MT4 持仓管理,支持部分平仓与移动止损量化交易程序 - 交易机器人 | 助力投资交易更好成功资源合集论坛量化交易程序 - 交易机器人 | 助力投资交易更好成功Meta Trade 4量化交易程序 - 交易机器人 | 助力投资交易更好成功BBTrading

年度星钻会员尊享!MT4 EA:Quantora Trade Manager MT4 持仓管理,支持部分平仓与移动止损

此资源为年度星钻会员专享,每日更新,收录于《大白EA宝库:星钻会员专属合集》。

这是一个持仓管理类工具 EA,管的是已经开出去的仓位:支持部分平仓、移动止损等持仓管理动作,适合给手动单或其他 EA 的单子做统一的出场管理。本帖文件为 MT4 源码,打包成 zip 下载,解压后在 MetaEditor 里编译使用,参数与文件开头见下方源码预览。

源码预览(先看代码,再决定下不下)

本帖是源码 EA:Quantora_Trade_Manager.mq4,全文共 705 行。下面是它的全部可调参数与文件开头,完整源码在上方下载区,星钻会员可见。

可调参数(36 个)

  • string InpScopeHeader = "========== TRADE SCOPE =========="
  • ENUM_Q_SCOPE InpScope = Q_CURRENT_SYMBOL
  • ENUM_Q_MAGIC_FILTER InpMagicFilter = Q_MANUAL_ONLY
  • int InpSpecificMagic = 0
  • bool InpManageBuyTrades = true
  • bool InpManageSellTrades = true
  • string InpStopsHeader = "========== AUTOMATIC SL / TP =========="
  • bool InpSetMissingStopLoss = true
  • int InpStopLossPoints = 500
  • bool InpSetMissingTakeProfit = true
  • int InpTakeProfitPoints = 1000
  • string InpBreakEvenHeader = "========== BREAK EVEN =========="
  • bool InpUseBreakEven = true
  • int InpBreakEvenTriggerPoints = 400
  • int InpBreakEvenOffsetPoints = 30
  • string InpTrailingHeader = "========== TRAILING STOP =========="
  • bool InpUseTrailingStop = true
  • int InpTrailingStartPoints = 600
  • int InpTrailingDistancePoints = 350
  • int InpTrailingStepPoints = 50
  • string InpProtectionHeader = "========== ACCOUNT PROTECTION =========="
  • bool InpUseDailyLossLimit = false
  • double InpDailyLossLimitMoney = 100.0
  • bool InpCloseAllAtDailyLoss = false
  • bool InpUseDailyProfitTarget = false
  • double InpDailyProfitTargetMoney = 200.0
  • bool InpCloseAllAtDailyProfit = false
  • string InpExecutionHeader = "========== EXECUTION =========="
  • int InpSlippagePoints = 30
  • int InpTimerSeconds = 1
  • bool InpEnablePrintLog = true
  • string InpPanelHeader = "========== QUANTORA PANEL =========="
  • bool InpShowPanel = true
  • ENUM_BASE_CORNER InpPanelCorner = CORNER_LEFT_UPPER
  • int InpPanelX = 15
  • int InpPanelY = 145
//+------------------------------------------------------------------+
//|                                       Quantora Trade Manager MT4 |
//|                    Professional Trading Utility for MetaTrader 4 |
//|                                                                  |
//| Copyright © 2026 Quantora                                        |
//| https://www.b123.com/                    |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2026 Quantora"
#property link      "https://www.b123.com/"
#property version   "1.00"
#property strict
#property description "Professional automatic trade management utility for MetaTrader 4."
#property description "Automatic SL/TP, break-even, trailing stop and account protection."

//============================== ENUMS ======================================
enum ENUM_Q_SCOPE
  {
   Q_CURRENT_SYMBOL = 0,
   Q_ALL_SYMBOLS    = 1
  };

enum ENUM_Q_MAGIC_FILTER
  {
   Q_MANUAL_ONLY    = 0,
   Q_ALL_TRADES     = 1,
   Q_SPECIFIC_MAGIC = 2
  };

//============================== INPUTS =====================================
input string              InpScopeHeader             = "========== TRADE SCOPE ==========";
input ENUM_Q_SCOPE        InpScope                   = Q_CURRENT_SYMBOL;
input ENUM_Q_MAGIC_FILTER InpMagicFilter             = Q_MANUAL_ONLY;
input int                 InpSpecificMagic           = 0;
input bool                InpManageBuyTrades         = true;
input bool                InpManageSellTrades        = true;

风险提示:EA 交易有风险,过往与参数表现不代表未来。正式使用前先在模拟盘跑够样本,确认在自己的点差、滑点环境下仍符合预期,再决定是否上实盘。

版本说明:资源随 MT4/MT5 版本迭代可能失效,如遇失效请在本帖留言反馈。

请登录后发表评论