免代码 EA builder

设计 MT5 等平台的交易机器人——无需手写代码。

AIStrategyMiner Strategy Builder 是一款无代码开发工具。你可以在免费画布上用可视化编辑器设计交易逻辑,用内置强度测试检验,并用 Generate 工具免费进行一次试运行搜索。使用 Pro,可选择生成器的全部设置、查看每个候选策略的条件,并下载可用的 MetaTrader 5 EA——可编辑的 MQL5(.mq5)源代码,由你自己在 MetaEditor 中编译。

AIStrategyMiner Strategy Builder: strategy blocks wired together on a canvas, with the properties panel on the right
12
个策略模板
129
个逻辑积木块,分为 8 个类别
.mq5
Pro 提供 MQL5 源代码与导出
0
次安装——在浏览器中运行

Strategy Builder 是什么——不是什么

AIStrategyMiner Strategy Builder 是一款输出源代码的软件开发工具。它不是交易机器人、经纪商、信号服务,也不是财务建议。

  • 它会根据可视化设计生成 MQL5 源代码。
  • 它不会执行交易、下单,或连接经纪商。
  • 它不会提供交易信号、可跟随的策略,或投资建议。Generate 产出的候选策略是对过去数据的拟合,可能只是偶然拟合;它们只是供你测试的起点,而不是推荐。
  • 由你编译代码,并决定如何使用你生成的源代码。

工作原理

从想法到通过测试的 EA,只需三步

  1. 1. 可视化设计你的逻辑
    1

    可视化设计你的逻辑

    把积木块——指标、入场和出场条件、风险规则——拖放到画布上,或从 12 个策略模板中选一个开始。不知道从哪里入手?Generate 会在你的浏览器中搜索积木块组合和参数(不会向服务器发送任何内容);任何候选策略都可以在编辑器中打开并修改。无需记忆 MQL5 语法。

  2. 2. 先测试,再信任
    2

    先测试,再信任

    在历史数据上运行内置的强度测试,并在主要货币对上运行稳健性矩阵——全部在浏览器中完成,在任何东西接触你的终端之前。

  3. 3. 下载并自行编译
    3

    下载并自行编译

    使用 Pro 下载可编辑的 MQL5(.mq5)源代码,在 MetaEditor 中打开(在 MetaTrader 5 中按 F4),再按 F7 编译为 .ex5。如何使用成果由你决定——Strategy Builder 绝不会替你运行。

功能

一个开发环境,而非黑箱

可视化积木编辑器

无需编写代码即可搭建入场/出场规则、指标条件与资金管理逻辑。8 个类别中共 129 个积木块。

12 个策略模板

从均线交叉、RSI 回归、布林带突破等模板开始,再把积木块调整成你自己的想法。

内置强度测试

在历史数据上回测你的设计,并在主要货币对上评估稳健性——全部在浏览器中完成,导出之前即可验证。

风险管理积木块

止损、止盈、保本和移动止损逻辑均以可复用组件的形式提供,导出前还会对危险配置发出警告。

项目保存在你的账户中

登录后可将设计保存为项目,在任何设备上重新打开,从上次停下的地方继续。未登录的设计只保存在你的浏览器中。

可读的源代码输出

Pro 版生成结构清晰、带注释的 MQL5 代码,供你查看、修改和进行版本控制。你的设计与生成结果完全归你所有。

你可以用什么来构建

Strategy Builder 的全部积木块,一张清单。

  • Moving AverageMoving Average (SMA/EMA/SMMA/LWMA)趋势
  • RSIRelative Strength Index振荡指标
  • Bollinger BandsBollinger Bands (Upper/Main/Lower)波动率
  • MACDMACD (Main/Signal)振荡指标
  • ATRAverage True Range波动率
  • IchimokuIchimoku Kinko Hyo (Tenkan/Kijun/Senkou A/B/Chikou)趋势
  • Donchian ChannelHighest high / lowest low of the last N bars - for breakout and swing-level conditions波动率
  • Opening Range BreakoutFreezes the high/low of the first N bars from a given time as a range, then reports a break of it as +1 (up) / -1 (down) / 0 (none)价格位
  • Heiken AshiHeiken Ashi candle close/open - detect trend by candle color flip趋势
  • ADXADX — Trend Strength (Main/+DI/-DI)趋势
  • CCICommodity Channel Index振荡指标
  • Parabolic SARParabolic SAR — Trend-following stop趋势
  • StochasticStochastic Oscillator (%K/%D)振荡指标
  • Williams %RWilliams %R — Overbought/oversold oscillator (-100~0)振荡指标
  • MomentumMomentum — Rate of price change振荡指标
  • OBVOn Balance Volume — Cumulative volume indicator成交量
  • DeMarkerDeMarker — Trend exhaustion detection (0~1)振荡指标
  • AlligatorBill Williams Alligator — Jaw/Teeth/Lips 3 lines趋势
  • Bears PowerBears Power — Selling pressure strength振荡指标
  • Bulls PowerBulls Power — Buying pressure strength振荡指标
  • Force IndexForce Index — Price change x Volume成交量
  • EnvelopeMA Envelope — Upper/Lower bands around moving average波动率
  • RVIRelative Vigor Index — Trend strength (Main/Signal)振荡指标
  • DEMADouble Exponential MA — a moving average with reduced lag趋势
  • TEMATriple Exponential MA — even less lag than DEMA趋势
  • Adaptive MAKaufman Adaptive MA — smoothing adapts to volatility趋势
  • FrAMAFractal Adaptive MA — smoothing driven by fractal dimension趋势
  • VIDyAVariable Index Dynamic Average — a CMO-driven adaptive MA趋势
  • Std DeviationStandard Deviation — how far price spreads from its average波动率
  • Awesome OscAwesome Oscillator — momentum from the 5/34 SMA difference振荡指标
  • Accelerator OscAccelerator Oscillator — the acceleration of AO振荡指标
  • SupertrendSupertrend — trend direction from an ATR-width trailing band趋势
  • VLDMIVariable-period RSI — stretches the RSI period by the ATR ratio and fades sharp drops or spikes振荡指标
  • Persistence RatioDirection-agreement ratio — how often the last N bars moved the same way as the bar before them趋势
  • Hull MAHull MA — recombines two LWMAs so the line keeps up with price instead of trailing it趋势
  • QQEQQE — trails a one-way band around a smoothed RSI and reports which side it broke振荡指标
  • VWAPVWAP — volume-weighted average price accumulated from an anchor (the day boundary by default). The bands are multiples of the weighted standard deviation.成交量
  • ADX WilderADX Wilder — trend strength using Wilder’s original smoothing (Main / +DI / −DI)趋势
  • Keltner ChannelKeltner Channel — a moving average with bands at a multiple of ATR (Upper / Main / Lower)波动率
  • ROCRate of Change — the percentage change from N bars ago振荡指标
  • Linear RegressionLinear Regression — the value, or the slope, of a straight line fitted to the last N prices趋势
  • Pivot PointsPivot Points - a base line and the resistance and support lines around it, from the last finished day's (or week's, month's) high, low and close价格位
  • KST (Know Sure Thing)KST - four rates of change, each averaged, added with weights 1, 2, 3 and 4. The signal line can be chosen too振荡指标
  • CorrelationCorrelation - how closely this symbol's closes move with another symbol's (-1 to +1)振荡指标
  • Ultimate OscillatorUltimate Oscillator — buying pressure over three periods, blended 4:2:1振荡指标
  • DPODetrended Price Oscillator — strips the trend out and leaves the cycle振荡指标
  • OsMADifference between the MACD line and its signal (histogram)振荡指标
  • TRIXRate of change of a triple-smoothed EMA — momentum without the noise振荡指标
  • Chaikin OscChaikin Oscillator — money flow that includes volume成交量
  • Money Flow IndexMoney Flow Index — an RSI that includes volume (0-100)成交量
  • VolumesTick volume — how active the bar was成交量
  • Accum/DistribA/D line — cumulative buying and selling pressure成交量
  • BW Market FacilBill Williams Market Facilitation Index — range per unit of volume成交量
  • Gator OscGator Oscillator — the spread between the three Alligator lines振荡指标
  • FractalsBill Williams Fractals — the most recent confirmed swing high/low价格位
  • Swing High / LowSwing High / Low - the price of the latest swing peak or trough价格位
  • iCustomGet custom indicator values自定义
  • CompareCompare two values (>, <, ==, !=, >=, <=)Conditions
  • CrossCrossover / Crossunder detectionConditions
  • MA Perfect OrderChecks whether multiple MAs are aligned in period order (perfect order). Composable with other conditions via AND/ORConditions
  • Consecutive BarsChecks whether the last N closed bars moved in the same direction (up/down). Composable with other conditions via AND/ORConditions
  • RSI DivergenceDetects regular divergence between RSI and price. Connect an RSI node (shift=1)Conditions
  • AND GatePass only when all conditions are trueConditions
  • OR GatePass when any condition is trueConditions
  • Chart Pattern SignalChart pattern - true only on the bar that closes through the neckline of a double top/bottom, head and shoulders, or triangleConditions
  • NOT GateInvert condition (NOT)Conditions
  • Signal LatchFires once, then stays silent until the reset condition occursConditions
  • Level LatchRemembers a value (e.g. the day high) at a set time and is true once, on the first tick that breaks itConditions
  • Math OperationsArithmetic on two inputsConditions
  • Open BuyOpen a buy positionActions
  • Open SellOpen a sell positionActions
  • Close PositionClose position(s)Actions
  • Time ExitClose by holding time / bars / time-of-day / FridayActions
  • Profit Pips CloseClose the whole basket when aggregate floating pips reach the target (with time-decay)Actions
  • Basket Money CloseClose the basket when its floating P/L in account currency reaches a thresholdActions
  • Virtual/Hidden SL/TPClose at market on internal SL/TP levels (never sent to the broker)Actions
  • Basket Average TPPlaces the weighted-average open +/- N pips as a hard TP on every position (disconnect-proof grid/nanpin take-profit)Actions
  • Buy LimitBuy limit pending orderActions
  • Sell LimitSell limit pending orderActions
  • Buy StopBuy stop pending orderActions
  • OCO BracketOCO straddle: places a Buy Stop above and a Sell Stop below; when one leg fills, the other is auto-cancelledActions
  • Sell StopSell stop pending orderActions
  • AlertAlert notificationActions
  • Partial ClosePartial position closeActions
  • Pending Orders ManagerDeletes pending orders by weekday/hour or age, and remembers their prices to re-place them laterActions
  • Time FilterTrading time restrictionFilters
  • Spread FilterMaximum spread filterFilters
  • Position FilterMaximum position count limitFilters
  • Session (auto DST)Gate by market session with automatic daylight-saving adjustmentFilters
  • Holiday FilterHalt new orders on holidays and year-endFilters
  • High-Low Range FilterSkip entry when the N-bar high-low range is out of range (filters volatile/quiet markets)Filters
  • Range Size FilterBlocks entry unless the last closed bar's body is at least N times the recent average body (expansion-bar gate)Filters
  • Days of Month FilterTrade only on the listed calendar days (comma-separated 1-31), e.g. 24,25,26,27,28,29 for the month-end weekFilters
  • Candle Pattern FilterSkip entries unless the last closed bars form the chosen candlestick pattern (pin bar, engulfing, harami, morning star, belt hold and more, 27 in all)Filters
  • MA Distance FilterBlocks entry when the price-to-MA distance (pips) is out of range (pullback / over-extension filter)Filters
  • Cooldown FilterWait N seconds/minutes after last entryFilters
  • Daily Trade LimitStop opening new trades once the daily count is reachedFilters
  • Gotobi FilterTrade only on Gotobi days (5th,10th,15th,20th,25th,month-end). Ideal for Nakane trade.Filters
  • Weekday FilterAllow trading on specific weekdays onlyFilters
  • Drawdown FilterStop trading when max drawdown exceededFilters
  • Period Loss LimitStops new entries for the rest of the period (day / week / month / year / since start) once the period loss reaches the limit. The limit can be an amount, and a profit cap can be set too. Protects against prop-account daily-loss rulesFilters
  • Volatility FilterStop trading when volatility outside ATR rangeFilters
  • Market Regime FilterCombines an ADX trend/range read with an ATR expansion/compression read, and trades only in the market regimes you allowFilters
  • Equity TargetStop trading when profit target reachedFilters
  • Session FilterTrading session filter with a selectable time basis (server time or UTC). Use Session (auto DST) for windows that follow daylight saving.Filters
  • News FilterPause trading N minutes before/after news eventsFilters
  • New Bar FilterPass only on new bar formationFilters
  • Fixed LotFixed lot sizeMoney Mgmt
  • Risk-Based LotCalculate lot from balance × risk %Money Mgmt
  • Margin-Leverage LotAllocates a fixed % of balance as margin and sizes the lot at current leverageMoney Mgmt
  • Martingale LotDouble lot on loss (Martingale)Money Mgmt
  • PyramidingPyramiding — Add positions in profit directionMoney Mgmt
  • Averaging DownAveraging Down — Add positions against loss to improve avg priceMoney Mgmt
  • Reversal EntryReversal Entry — Enter opposite direction after closingMoney Mgmt
  • Trailing StopTrailing stop lossExit Strategy
  • Break EvenMove SL to entry when in profitExit Strategy
  • Basket Break EvenMove every basket position SL to the weighted-average break-even once total floating profit hits the triggerExit Strategy
  • Staged Trailing TableStaged trailing table - switches the stop-loss rule by profit stageExit Strategy
  • Take ProfitTake profit level (Fixed pips / ATR multiple / Risk-reward ratio)Exit Strategy
  • Stop LossStop loss level (Fixed pips / ATR multiple / High-low of the last N bars)Exit Strategy
  • Close AllClose All — Close all positions when condition metExit Strategy
  • Account GuardClose this EA's positions when the account's floating loss exceeds N% of balance, then pause new entriesExit Strategy
  • Current PriceAsk/Bid/SpreadPrice / Info
  • OHLCCandlestick Open/High/Low/ClosePrice / Info
  • Time InfoTime information (Hour/Minute/DayOfWeek)Price / Info
  • Account InfoAccount info (Balance/Equity/Profit)Price / Info
  • ConstantOutput a fixed valuePrice / Info
  • StartOnTick — Entry point executed every tickUtility
  • Multi TimeframeReference indicator values from higher timeframesUtility

名称和说明与 Strategy Builder 中的显示完全一致。

每一部分能做到什么程度

任意周期,其他品种
每个指标积木块都能读取 M1 到 MN1 的任意周期,大多数还能读取与图表不同的品种。
你自己的指标
iCustom 积木块可读取你正在使用的任何 MT5 自定义指标的数值。
四种手数计算方式
固定手数、按余额百分比承担风险、按余额百分比作为保证金,或带层数上限和回撤停止的马丁格尔。
何时检查规则
每根收盘K线一次、每个 tick,或价格触及某个水平的瞬间。同一个设计也可以同时在多个品种上运行。
细致的出场
按点数、ATR、均线、高低点、Parabolic SAR 等方式追踪止损 —— 另有保本、篮子平仓和整个账户的亏损保护。
先测试,再下载源码
用内置的强度测试和四个主要货币对上的稳健性检查衡量设计,然后下载为可编辑的 MQL5 源代码(.mq5)。

方案

在画布上免费构建;下载源代码与导出请使用 Pro

不含 Pro Pro
可视化编辑器 + 全部 129 个积木块 ✓ ✓
全部 12 个策略模板 ✓ ✓
强度测试 + 稳健性矩阵 ✓ ✓
策略生成器 规模固定且较小的真实试运行;仅显示绩效数字,不含条件 ✓
真实成本、高级搜索设置、你自己的 CSV 数据 — ✓
已挖掘策略的保管库(最多 10,000 条) — ✓
把结果交给你的 AI — ✓
已保存的 Builder 项目 最多 20 个 最多 500 个
自营交易公司检查 Builder 中的规则检查;Prop Report 工具的第一部分 另含 Miner 中的通过率估算和完整的 Prop Report
源代码导出到 5 个目标(MT5 (MQL5), MT4 (MQL4), TradingView (Pine), cTrader (C#), Python) — ✓
Code 标签页中的完整生成源代码 已锁定——不显示代码 ✓
全部 9 个策略配方 结果可见;模块与设置需 Pro ✓

任何人都可以在画布上设计;强度测试需要登录账户。在 Strategy Miner 中,任何人无需注册都可以进行规模固定且较小的试运行搜索,只看到绩效数字。Pro 为一次性 $899 许可,新增生成器的全部设置、每个候选策略的条件、保管库、导出和可编辑的 MQL5 源代码。 查看完整价格 →

适合谁

为想要构建、而非赌博的人而生

Strategy Builder 适合想要快速搭建 MQL5 逻辑原型的开发者,想把想法变成可编辑源代码又不想从空白文件开始的交易者,以及想了解策略逻辑如何映射为整洁 MQL5 代码的学习者。你对生成结果拥有完全的控制权,并对测试、编译以及如何使用所生成的代码全权负责。

常见问题

常见问题解答

可以免费试用 AIStrategyMiner Strategy Builder 吗?

是的。在画布上设计——用积木搭建和打开模板——对所有人开放,免费账户可解锁内置强度测试,在 Strategy Miner 中任何人无需注册都可以进行规模固定且较小的试运行搜索,只显示绩效数字。生成器的全部设置、每个候选策略的条件、保管库、源代码和导出属于 Pro——一次性 $899 许可。

我需要安装什么吗?

不需要。Strategy Builder 完全在浏览器中运行——设计和测试都无需安装任何软件。你只需要带内置 MetaEditor 的 MetaTrader 5,来编译下载得到的 .mq5 源代码并运行结果。

Strategy Builder 会替我交易吗?

不会。Strategy Builder 是一款软件开发工具:它根据你的设计生成智能交易系统(EA)。它绝不会执行交易、下单、连接经纪商,也不提供交易信号。由你来编译、测试,并决定如何使用生成的代码。

使用之前可以测试我的 EA 吗?

可以——而且是两次。在 Strategy Builder 内部(需要免费账户),强度测试会在历史数据上回测你的设计,稳健性矩阵会在主要货币对上评估它。下载 EA 之后,在投入真实资金之前,你还应该用自己经纪商的数据,在 MetaTrader 5 策略测试器中做一次前向测试。

我生成的代码归我所有吗?

是的。你的设计和生成结果都可以下载并归你保留。Pro 许可持有者会获得可编辑、带注释的 MQL5 源代码,你可以像对待任何其他代码一样修改、扩展并进行版本控制。

开始构建

在画布上免费构建——无需安装,无需绑卡。Pro 另含生成器和 MQL5 源代码。

风险提示: 差价合约(CFD)和衍生品交易涉及重大风险,并非适合所有投资者。你用 Strategy Builder 生成的源代码仅作为开发工具提供;你需自行负责对其进行测试,以及由此产生的任何交易决策。回测与稳健性结果描述的是过去的数据,并不能可靠地预示未来的结果。本服务不面向美国或其他受限司法管辖区的居民。