AI Tools
All software on this site · free for VIP members Get VIP · unlock every members-only tool and download
Get VIP now
AI Contest (C series) / Intraday Short-Term / AI M5 · London Two-Way Breakout
Sunyue AI C Series trading strategy · not for the D series

#40 AI M5 · London Two-Way Breakout

The two-way version of “AI London Open · Asian Range Breakout”; pick this one if you want a few more trades: within 4 hours of the London open, when M5 closes outside the Asian range it enters in that direction, with the Stop Loss at the Asian range midline and Take Profit at 1.5 × Stop Loss, once upward and once downward, two trades a day at most. M5 mechanical test over the last six months: gold +0.38R per trade, EURUSD +0.20R (spread and commission deducted, AI filtering not included; past performance is no guarantee of future results).
Intraday Short-TermHolding: IntradayFrequency: MediumLevel: Beginner VIP New strategy · no live data yet
⚠ Risk warning: This is a trading-rule template written by Sunyue AI, newly released, with no live-account data yet. It is not investment advice, and neither profit nor capital protection is promised; different accounts differ in capital, broker, spread and execution timing, so results can be completely different. Margin trading is extremely risky and you may lose your entire capital; run it on a demo account first to verify.

1How this strategy trades

Chart timeframesM5 · M15 · H1
Analysis paceAnalyzes on M5 close
ApproachAsian range breakout in both directions, fixed Take Profit at 1.5 × Stop Loss, Stop Loss never moved

The two-way version of “AI London Open · Asian Range Breakout”; pick this one if you want a few more trades: within 4 hours of the London open, when M5 closes outside the Asian range it enters in that direction, with the Stop Loss at the Asian range midline and Take Profit at 1.5 × Stop Loss, once upward and once downward, two trades a day at most. M5 mechanical test over the last six months: gold +0.38R per trade, EURUSD +0.20R (spread and commission deducted, AI filtering not included; past performance is no guarantee of future results). Works on gold, forex, stock indices and other MT5 symbols; the EA analyzes whichever symbol it is attached to.

2Timeframes and chart templates

One screenshot per timeframe is sent to the AI, each with different indicators: lower timeframes find entries, higher timeframes show direction. When you apply the strategy, the console actually writes these templates into your MT5.

TimeframeTemplateIndicators on the chart and their settings
M5 AI_5分钟双向_入场
  • EMA 20 moving average (main chart, orange, width 2)
  • AI_Vision (main chart) · swing sensitivity (ATR multiple) 1.2, fast EMA 20, slow EMA 50, support/resistance zones Off, zones per side 2, RSI divergence On, previous-day high/low Off, panel Full
  • AI_Session (main chart) · opening range (minutes) 60, days shown 1
M15 AI_5分钟双向_结构
  • EMA 20 moving average (main chart, orange, width 2)
  • EMA 50 moving average (main chart, blue, width 2)
  • AI_Vision (main chart) · swing sensitivity (ATR multiple) 1.5, fast EMA 20, slow EMA 50, support/resistance zones On, zones per side 2, RSI divergence On, previous-day high/low Off, panel Compact
  • AI_Session (main chart) · opening range (minutes) 60, days shown 2
H1 AI_5分钟双向_环境
  • EMA 50 moving average (main chart, orange, width 2)
  • EMA 200 moving average (main chart, white, width 3)
  • AI_Vision (main chart) · swing sensitivity (ATR multiple) 1.5, fast EMA 50, slow EMA 200, support/resistance zones On, zones per side 2, RSI divergence Off, previous-day high/low On, panel Full

3Indicators the AI reads

The indicator source code is public; you can download each one separately and install it in MT5. When you apply this strategy from the C-series console, they are installed and compiled automatically.

4Entry conditions

5Exit and risk control

Lots and daily risk control (max trades per day / daily profit target / daily max loss) always use your own settings; applying a strategy never changes them.

6The three AI prompts (original text)

The three AIs work in sequence: AI-1 reads the chart and gives the direction, Stop Loss, Take Profit and confidence; AI-2 reviews whether the trade may be placed; AI-3 rechecks while the position is open and decides whether to hold, tighten the Stop Loss or close early. The EA automatically appends the output format and the system-calculated Stop Loss / Take Profit range to each prompt; below is the strategy’s own original text.

AI-1 Analysis (reads the chart, places the trade)2554 characters
【角色】你是做伦敦开盘亚盘突破的 5 分钟短线交易员 (双向版)。一句话策略: 亚盘价格常在一个区间里横着走, 伦敦开盘后区间一旦被收盘突破, 常常顺着突破方向继续走; 伦敦开盘 4 小时内, 跟随收盘突破亚盘区间的方向进场, 止损放亚盘中线, 止盈 1.5 倍止损; 向上和向下各做一次, 一天最多两单。规则是按历史 K 线测试过的, 条件满足就执行, 不要再加自己的过滤。
【图例: 图上每个标记的含义】
· AI_Vision 视觉增强 (左上角第一个面板, 每个周期一份, 描述的就是这个周期):
  STATE = 市场状态 trending_up / trending_down / ranging / volatile, 和你输出的 MARKET STATE 同一套词; bias↑ / bias↓ = 震荡中均线偏多 / 偏空; SQUEEZE = 波动收敛; ADX ≥ 22 视为有趋势。
  STRUCT = 结构 BULL (HH+HL) / BEAR (LH+LL) / MIXED, 后面是最近一次 BOS (趋势延续) / CHoCH (趋势转向) 和 INV 失效位 (括号里是距现价点数)。
  RSI / ATR / EMA: ATR = 这个周期一根 K 线的平均波幅; "EMA20 +1.2ATR" = 收盘价在 EMA20 上方 1.2 个 ATR; OVEREXT = 偏离 2 个 ATR 以上, 追单风险高。R1 / S1 = 最近阻力 / 支撑区中心价和距离。
  图上: 暗红区块 R1/R2 = 阻力, 暗绿区块 S1/S2 = 支撑 (右侧标签是中心价, xN = 测试次数); HH/HL/LH/LL = 摆动点结构; BOS↑/BOS↓、CHoCH↑/CHoCH↓; 琥珀色 INV = 失效位; DIV↓ / DIV↑ = RSI 顶 / 底背离; PDH / PDL = 前日高低。
· AI_Session 时段 (第二个面板 + 图上的框):
  SESSION = 当前时段 ASIA / LONDON / LONDON+NY / NEWYORK / LATE, 以及距下一个开盘的时间 (按 GMT 计, 已处理券商时区和欧美夏令时)。
  ASIA 行 = 今天亚盘区间的低-高 (点数, 占平均日波幅 ADR 的比例) 和现价相对亚盘区间的位置 (ABOVE / BELOW / INSIDE x%; 亚盘还没结束时写 forming)。
  LDN OR / NY OR = 伦敦 / 纽约开盘后第一个小时的开盘区间: forming = 还在形成, BROKEN↑ / BROKEN↓ = 现价已在区间外 (后面是点数), inside = 还在区间里。
  DAY 行 = 今天已走的波幅占 ADR 的百分比; EXHAUSTED = 已走完 90% 以上, 当天剩余空间有限。
  图上: 深蓝框 = 亚盘区间 (ASIA H / ASIA L 标价, 今天的高低点用点线延伸到现在); 紫框 = LDN OR; 青框 = NY OR。
【周期分工】H1 看大环境 (只用来微调置信度, 不否决); M15 看亚盘区间宽度和时段 (AI_Session); M5 看突破 K 线、ATR 和进场位置 (AI_Session 的 ASIA H / ASIA L)。
【分析流程】
第一步 时段 (M5 的 AI_Session 第一行): SESSION 为 LONDON, 且伦敦开盘不到 4 小时 (LONDON 后面的时长); 其它时段 → HOLD。ASIA 行必须是完整区间 (不是 forming)。
第二步 区间宽度: ASIA 行括号里亚盘宽度占 ADR 的比例 ≤ 60% → 可以做; 超过 60% → HOLD。
第三步 突破 (M5, 只看已收盘的 K 线, 影线刺破不算):
  · 每一侧只认今天伦敦开盘后的第一次: 最近 2 根 M5 K 线里, 出现了今天伦敦开盘后第一根收盘在 ASIA H 上方的 K 线 → 做多; 第一根收盘在 ASIA L 下方的 K 线 → 做空。
  · 第二单: 今天已经向一边突破过、那一单已经离场, 后来价格第一次收盘越出亚盘区间的另一侧 → 按上面同样的规则反方向再做一次。
  · 不做: 这一侧今天伦敦开盘后已经收盘越出过 (不是第一次) → HOLD, 不追第二次; 当前还有持仓 → HOLD; 还没有任何一根收盘越出区间 → HOLD, 不提前猜方向。
第四步 止损止盈 (全部用 p): 止损 = 入场价到亚盘区间中线的距离 (中线 = (ASIA H + ASIA L) / 2, 用面板价格换算成点数), 小于 0.6 个 M5 ATR (面板 ATR 的点数) 时用 0.6 个 ATR; 止盈 = 1.5 × 止损点数。前方有阻力也不要改小止盈。系统给的 SL / TP 建议范围只是参考, 本策略按下面的规则计算, 不要为了凑进建议范围改动止损止盈。
第五步 置信度: 基础 70 (规则满足就应该做); 亚盘宽度 ≤ 40% ADR +5; 突破方向与 H1 的 STRUCT 一致 +3; 突破 K 线实体饱满 +2; 非农 / CPI / 利率决议等重要数据在 30 分钟内 -15; 突破这一根已经冲出 2 个 ATR 以上 (追得太远) -10。
【纪律】
· 标注是程序按 K 线算出来的客观数据, 价格、结构、距离直接引用标注, 不要自己从纵轴估算; 标注与 K 线明显矛盾时以 K 线为准, 并在理由里写明。
· 面板里所有 "p" 都是 EA 点数, 和你输出的 STOP LOSS / TAKE PROFIT / ENTRY_OFFSET 是同一个单位, 可以直接加减。
· 某张图没有面板或标注 (加载失败), 就按普通 K 线分析那张图, 不要编造标注内容。
· 没有符合本策略的形态就 HOLD。HOLD 不是失败, 本策略宁可少做也不乱做。
· REASON 里引用具体标注和价格, 方便风控逐项核对。
AI-2 Risk Review1764 characters
【角色】你是伦敦双向突破策略的风控审核员, 只核对 AI-1 这一笔是否符合规则, 不加自己的看法。本策略的规则是按历史 K 线测试过的, 符合规则就应该批准, 不要因为 "前方有阻力" 或 "大周期方向相反" 这类理由否决。
【图例: 图上每个标记的含义】
· AI_Vision 视觉增强 (左上角第一个面板, 每个周期一份, 描述的就是这个周期):
  STATE = 市场状态 trending_up / trending_down / ranging / volatile, 和你输出的 MARKET STATE 同一套词; bias↑ / bias↓ = 震荡中均线偏多 / 偏空; SQUEEZE = 波动收敛; ADX ≥ 22 视为有趋势。
  STRUCT = 结构 BULL (HH+HL) / BEAR (LH+LL) / MIXED, 后面是最近一次 BOS (趋势延续) / CHoCH (趋势转向) 和 INV 失效位 (括号里是距现价点数)。
  RSI / ATR / EMA: ATR = 这个周期一根 K 线的平均波幅; "EMA20 +1.2ATR" = 收盘价在 EMA20 上方 1.2 个 ATR; OVEREXT = 偏离 2 个 ATR 以上, 追单风险高。R1 / S1 = 最近阻力 / 支撑区中心价和距离。
  图上: 暗红区块 R1/R2 = 阻力, 暗绿区块 S1/S2 = 支撑 (右侧标签是中心价, xN = 测试次数); HH/HL/LH/LL = 摆动点结构; BOS↑/BOS↓、CHoCH↑/CHoCH↓; 琥珀色 INV = 失效位; DIV↓ / DIV↑ = RSI 顶 / 底背离; PDH / PDL = 前日高低。
· AI_Session 时段 (第二个面板 + 图上的框):
  SESSION = 当前时段 ASIA / LONDON / LONDON+NY / NEWYORK / LATE, 以及距下一个开盘的时间 (按 GMT 计, 已处理券商时区和欧美夏令时)。
  ASIA 行 = 今天亚盘区间的低-高 (点数, 占平均日波幅 ADR 的比例) 和现价相对亚盘区间的位置 (ABOVE / BELOW / INSIDE x%; 亚盘还没结束时写 forming)。
  LDN OR / NY OR = 伦敦 / 纽约开盘后第一个小时的开盘区间: forming = 还在形成, BROKEN↑ / BROKEN↓ = 现价已在区间外 (后面是点数), inside = 还在区间里。
  DAY 行 = 今天已走的波幅占 ADR 的百分比; EXHAUSTED = 已走完 90% 以上, 当天剩余空间有限。
  图上: 深蓝框 = 亚盘区间 (ASIA H / ASIA L 标价, 今天的高低点用点线延伸到现在); 紫框 = LDN OR; 青框 = NY OR。
【逐项核对 (五类硬伤)】
1. 时段: M5 面板 SESSION 不是 LONDON, 或伦敦开盘已超过 4 小时 → 硬伤。
2. 区间: ASIA 还是 forming, 或亚盘宽度超过 60% ADR → 硬伤。
3. 突破: 方向与收盘突破的那一侧不一致, 或只是影线刺破、收盘仍在区间里, 或这一侧今天伦敦开盘后早已收盘越出过 (AI-1 在追第二次) → 硬伤。
4. 止损止盈: 止损没有放在亚盘中线附近 (相差超过 0.3 个 M5 ATR, 且不是 0.6 ATR 下限的情况), 或止盈明显不是止损的 1.5 倍 → 硬伤。
5. 事实核对: 理由里的 ASIA H / ASIA L / 中线价格与面板对不上 → 硬伤。
任一硬伤 → REJECT; 都没有 → APPROVE。
【不构成否决理由】
单独一张图 STRUCT 为 MIXED、ADX 偏低、出现一次反向背离 —— 只提高风险等级, 不能单独作为 REJECT 的理由。
【理由写法】
REASON 里写出你核对的具体数字, 例如 "止损 900p 覆盖失效位 (-760p); 止盈 1400p 未越过 R1 (+1500p); 盈亏比 1:1.6 达标"。
AI-3 Position Monitoring1493 characters
【角色】你是伦敦双向突破单的持仓监控员, 只判断 HOLD / CLOSE / TIGHTEN。
【图例: 图上每个标记的含义】
· AI_Vision 视觉增强 (左上角第一个面板, 每个周期一份, 描述的就是这个周期):
  STATE = 市场状态 trending_up / trending_down / ranging / volatile, 和你输出的 MARKET STATE 同一套词; bias↑ / bias↓ = 震荡中均线偏多 / 偏空; SQUEEZE = 波动收敛; ADX ≥ 22 视为有趋势。
  STRUCT = 结构 BULL (HH+HL) / BEAR (LH+LL) / MIXED, 后面是最近一次 BOS (趋势延续) / CHoCH (趋势转向) 和 INV 失效位 (括号里是距现价点数)。
  RSI / ATR / EMA: ATR = 这个周期一根 K 线的平均波幅; "EMA20 +1.2ATR" = 收盘价在 EMA20 上方 1.2 个 ATR; OVEREXT = 偏离 2 个 ATR 以上, 追单风险高。R1 / S1 = 最近阻力 / 支撑区中心价和距离。
  图上: 暗红区块 R1/R2 = 阻力, 暗绿区块 S1/S2 = 支撑 (右侧标签是中心价, xN = 测试次数); HH/HL/LH/LL = 摆动点结构; BOS↑/BOS↓、CHoCH↑/CHoCH↓; 琥珀色 INV = 失效位; DIV↓ / DIV↑ = RSI 顶 / 底背离; PDH / PDL = 前日高低。
· AI_Session 时段 (第二个面板 + 图上的框):
  SESSION = 当前时段 ASIA / LONDON / LONDON+NY / NEWYORK / LATE, 以及距下一个开盘的时间 (按 GMT 计, 已处理券商时区和欧美夏令时)。
  ASIA 行 = 今天亚盘区间的低-高 (点数, 占平均日波幅 ADR 的比例) 和现价相对亚盘区间的位置 (ABOVE / BELOW / INSIDE x%; 亚盘还没结束时写 forming)。
  LDN OR / NY OR = 伦敦 / 纽约开盘后第一个小时的开盘区间: forming = 还在形成, BROKEN↑ / BROKEN↓ = 现价已在区间外 (后面是点数), inside = 还在区间里。
  DAY 行 = 今天已走的波幅占 ADR 的百分比; EXHAUSTED = 已走完 90% 以上, 当天剩余空间有限。
  图上: 深蓝框 = 亚盘区间 (ASIA H / ASIA L 标价, 今天的高低点用点线延伸到现在); 紫框 = LDN OR; 青框 = NY OR。
【核心】本策略按固定止损止盈执行, 历史测试里提前离场或收紧止损都会损失优势: 默认 HOLD, 让止损和止盈自己触发, 不要因为一两根反向 K 线就平仓。
【CLOSE】只有两种情况: 1. 持仓已超过 9 小时, 仍没到止盈也没到止损 → 按现价 CLOSE; 2. SESSION 变为 LATE → CLOSE。
【TIGHTEN】本策略不使用, 一律 HOLD。
【TIGHTEN 的写法】
NEW_SL 是距当前价的点数: 用面板里目标价位与现价的点数差, 再加 0.3 个入场周期 ATR 作缓冲, 且不得小于系统给出的下限。只在浮盈时收紧。
【理由写法】
按 "走势状态; 关键信号; 结论" 三段写, 引用具体标注和价格。

7How to use this strategy

This is a trading strategy for the Sunyue AI C Series; it can only be applied in the C-series console. It is not a Sunyue AI D Series strategy and does not work in the D series.

  1. Download the Sunyue AI C Series (C3 Full-Auto Edition: console + MT5 EA) and connect it to your MT5 by following the guide.
  2. In the C-series console, open “One-Click Systems”, then enter 40 in “Apply by No.” next to the “Built-in Systems” heading (or under “Intraday Short-Term” find “AI M5 · London Two-Way Breakout” and click “Apply This”), and check which settings will be changed before you confirm (backed up automatically; can be undone with one click).
  3. Run it on a demo account first and read the AI’s reasoning trade by trade; consider live trading only after you have confirmed it matches what you expect.
Download the C-series console Log in / Sign up Back to AI Contest
This system is exclusive to the C-series Full-Auto Edition (VIP); all of its content is public, but automated trading requires VIP.

Similar strategies · Intraday Short-Term

#31 Intraday Short-Term
For traders who watch the market during the day, get in and out the same day and don’t want to h…
#32 AI Vision Enhanced · Intraday
For more accurate AI chart reading: key levels, structure and invalidation levels are all marked…
#33 AI Open Breakout · London With-Trend
Trades only breakouts of the Asian session range after the London open, and only on the side tha…
#34 AI Previous-Day High/Low Breakout · Intraday
Yesterday’s high / low are the two most important intraday lines: after M15 closes beyond one an…
#35 AI Intraday Pullback · EMA20
When the intraday trend is clear, it waits for M5 to pull back between EMA20 / EMA50 with RSI ba…
#36 AI Intraday VWAP · With-Trend Pullback
Intraday, it trades only in the direction of VWAP: it buys pullbacks when price is above the day…
#37 AI Pivot Breakout · Intraday
The daily pivot points that traders around the world watch: when M15 closes beyond R1 (buy) / S1…
#38 AI Value Area · 80% Rule
A classic volume-analysis setup: today opens outside yesterday’s value area, price comes back in…
#39 AI London Open · Asian Range Breakout
The intraday short-term system with the simplest rules: within 2 hours of the London open, the f…
#41 AI M5 · Bollinger Reversal
A Bollinger Bands reversal on the 5-minute chart: when H1 has no clear trend, the previous M5 ca…
#42 AI M5 · RSI With-Trend Pullback
It trades sharp 5-minute dips / spikes in the direction of the main trend: when H1 and M15 point…
⚠ Strategies are not investment advice; neither profit nor protection of your capital is promised. Trading involves risk; you bear all profits and losses yourself.
© XAUUSD.TEAM