年度星钻会员尊享!MT4 EA:Quantora Trailing Stop Manager 自动追踪止损工具量化交易程序 - 交易机器人 | 助力投资交易更好成功资源合集论坛量化交易程序 - 交易机器人 | 助力投资交易更好成功Meta Trade 4量化交易程序 - 交易机器人 | 助力投资交易更好成功BBTrading

年度星钻会员尊享!MT4 EA:Quantora Trailing Stop Manager 自动追踪止损工具

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

这是一个自动追踪止损工具 EA:给已有持仓自动跟随移动止损位,价格往有利方向走,止损跟着往上抬,锁定利润的同时给行情留出呼吸空间。本帖文件为 MT4 源码,打包成 zip 下载,解压后在 MetaEditor 里编译使用,参数与文件开头见下方源码预览。

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

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

可调参数(20 个)

  • 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 InpTrailingHeader = "========== TRAILING STOP =========="
  • int InpTrailingStartPoints = 600
  • int InpTrailingDistancePoints = 350
  • int InpTrailingStepPoints = 50
  • int InpMinimumProfitPoints = 600
  • string InpExecutionHeader = "========== EXECUTION =========="
  • int InpTimerSeconds = 1
  • int InpSlippagePoints = 30
  • bool InpPrintLogs = true
  • string InpPanelHeader = "========== DASHBOARD =========="
  • bool InpShowPanel = true
  • ENUM_BASE_CORNER InpPanelCorner = CORNER_LEFT_UPPER
  • int InpPanelX = 15
  • int InpPanelY = 145
//+------------------------------------------------------------------+
//|                Quantora Trailing Stop 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 trailing stop manager for MetaTrader 4."
#property description "Manages manual trades, all trades or a specific Magic Number."

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 版本迭代可能失效,如遇失效请在本帖留言反馈。

请登录后发表评论