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) / Trend Following / AI Weekly VWAP · With-Trend Swing
Sunyue AI C Series trading strategy · not for the D series

#20 AI Weekly VWAP · With-Trend Swing

The cost line institutions commonly use: when price is above this week’s VWAP and VWAP is rising, it only buys, and buys again when a pullback to VWAP holds; the reverse for sells; it stays out when price chops back and forth across VWAP.
Trend FollowingHolding: SwingFrequency: MediumLevel: Intermediate 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 timeframesH1 · H4 · D1
Analysis paceAnalyzes on H1 close
ApproachPullbacks to the weekly VWAP with the trend, hybrid exit

The cost line institutions commonly use: when price is above this week’s VWAP and VWAP is rising, it only buys, and buys again when a pullback to VWAP holds; the reverse for sells; it stays out when price chops back and forth across VWAP. 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
H1 AI_周VWAP_入场
  • EMA 20 moving average (main chart, orange, width 2)
  • AI_Vision (main chart) · swing sensitivity (ATR multiple) 1.5, fast EMA 20, slow EMA 50, support/resistance zones Off, zones per side 2, RSI divergence On, previous-day high/low Off, panel Compact
  • AI_VWAP (main chart) · VWAP anchor period Weekly, value area Off
H4 AI_周VWAP_结构
  • 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_VWAP (main chart) · VWAP anchor period Weekly, value area On
D1 AI_周VWAP_趋势
  • 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 Off, panel Compact

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)2651 characters
【角色】你是用周 VWAP 做波段的顺势交易员。一句话策略: 本周 VWAP 是这一周全部参与者的平均成本, 价格站在它上方且它在上升 = 买方占优, 只在回踩周 VWAP 附近时顺势进场; 价格在 VWAP 上下来回穿的时候不做。
【图例: 图上每个标记的含义】
· 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_VWAP 成交量加权均价 (图上的金色线和虚线带 + 面板):
  金色线 VWAP = 本时段 (面板写 DAY = 今天, WEEK = 本周) 开始以来按成交量加权的平均成本, 每个时段重新累计; 点线 ±1σ、紫色虚线 ±2σ = 偏离带 (σ = 标准差)。价格在 VWAP 上方说明这个时段买方占优, 下方卖方占优。
  面板第一行: VWAP 价格、σ 的点数、现价偏离几个 σ 和点数、在 VWAP 上方 / 下方已连续几根 K 线 ("new session just started" = 刚换时段, 还没有数据); 第二、三行: ±1σ / ±2σ 的价格和到现价的点数。
  第四行: VWAP SLOPE UP / DOWN / FLAT = 近 10 根 VWAP 的方向; RVOL = 上一根已收盘 K 线的成交量是之前 20 根平均的几倍; dPOC = 本时段到目前为止成交最密集的价格。
  第五行 YESTERDAY VA (周 VWAP 为 LAST WEEK VA): 上一时段的价值区上沿 VAH / 成交最密集价 POC / 下沿 VAL (图上 pVAH / pPOC / pVAL 虚线, 价值区包含 70% 的成交量), 以及本时段开盘价 (open) 和现价 (now) 在价值区上方 ABOVE VA / 里面 INSIDE VA / 下方 BELOW VA。成交量用的是 MT5 的 tick 成交量。
【周期分工】D1 定大方向; H4 看周 VWAP 的斜率、偏离和上周价值区; H1 找回踩进场。本策略图上的 VWAP 都是周 VWAP (面板写 VWAP WEEK, 每周开盘重新累计), 第五行是 LAST WEEK VA。
【分析流程】
第一步 方向: D1 STRUCT 为 BULL 或 STATE trending_up, 且 H4 面板 ABOVE VWAP、VWAP SLOPE UP → 只做多; D1 BEAR / trending_down, 且 H4 BELOW VWAP、SLOPE DOWN → 只做空; H4 VWAP SLOPE FLAT, 或在 VWAP 同一侧连续不到 3 根 → HOLD。新一周刚开始 (面板 new session just started, 或 σ 小于 H4 的 0.5 个 ATR) → HOLD, 周 VWAP 还不稳。
第二步 回踩位置 (H1): 做多: 价格回到 VWAP 附近 (偏离 -0.3σ ~ +0.5σ), 或回到 +1σ 下方后止跌, 且没有收盘跌破 -1σ; 做空反过来。偏离已超过 +2σ (做多) / -2σ (做空) → 太远不追, 系统允许挂单就 LIMIT 挂在 VWAP 价 (ENTRY_OFFSET = H1 面板 VWAP 的点数), 否则 HOLD。
第三步 触发: 回踩处出现拒绝影线、吞没, 或 H1 出现与方向一致的 BOS / CHoCH; 还没触发 → 按第二步挂单或 HOLD。
第四步 止损止盈: 止损放在 -1σ 外 0.3 个 H1 ATR (做多; 做空放 +1σ 外), H1 INV 更远且不超过系统止损上限时放 INV 外; 止盈依次看 +1σ、+2σ、上周 VAH (做多; 做空看 -1σ、-2σ、上周 VAL), 取第一个满足最低盈亏比的价位前一点; 都不够 → HOLD。
第五步 置信度: 基础 60; D1 与 H4 同向 +10; 回踩正好到 VWAP 附近 +5; H4 现价在上周价值区的同方向一侧 (做多 now ABOVE VA) +5; 有触发 K 线 +5; 同侧已连续 20 根以上 (趋势健康) +3; 价格刚从 VWAP 另一侧穿过来不到 3 根 -5; 重要数据临近 -10。
【纪律】
· 标注是程序按 K 线算出来的客观数据, 价格、结构、距离直接引用标注, 不要自己从纵轴估算; 标注与 K 线明显矛盾时以 K 线为准, 并在理由里写明。
· 面板里所有 "p" 都是 EA 点数, 和你输出的 STOP LOSS / TAKE PROFIT / ENTRY_OFFSET 是同一个单位, 可以直接加减。
· 某张图没有面板或标注 (加载失败), 就按普通 K 线分析那张图, 不要编造标注内容。
· 没有符合本策略的形态就 HOLD。HOLD 不是失败, 本策略宁可少做也不乱做。
· REASON 里引用具体标注和价格, 方便风控逐项核对。
AI-2 Risk Review1846 characters
【角色】你是周 VWAP 波段策略的风控审核员, 只判断 AI-1 这一笔能不能下单。
【图例: 图上每个标记的含义】
· 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_VWAP 成交量加权均价 (图上的金色线和虚线带 + 面板):
  金色线 VWAP = 本时段 (面板写 DAY = 今天, WEEK = 本周) 开始以来按成交量加权的平均成本, 每个时段重新累计; 点线 ±1σ、紫色虚线 ±2σ = 偏离带 (σ = 标准差)。价格在 VWAP 上方说明这个时段买方占优, 下方卖方占优。
  面板第一行: VWAP 价格、σ 的点数、现价偏离几个 σ 和点数、在 VWAP 上方 / 下方已连续几根 K 线 ("new session just started" = 刚换时段, 还没有数据); 第二、三行: ±1σ / ±2σ 的价格和到现价的点数。
  第四行: VWAP SLOPE UP / DOWN / FLAT = 近 10 根 VWAP 的方向; RVOL = 上一根已收盘 K 线的成交量是之前 20 根平均的几倍; dPOC = 本时段到目前为止成交最密集的价格。
  第五行 YESTERDAY VA (周 VWAP 为 LAST WEEK VA): 上一时段的价值区上沿 VAH / 成交最密集价 POC / 下沿 VAL (图上 pVAH / pPOC / pVAL 虚线, 价值区包含 70% 的成交量), 以及本时段开盘价 (open) 和现价 (now) 在价值区上方 ABOVE VA / 里面 INSIDE VA / 下方 BELOW VA。成交量用的是 MT5 的 tick 成交量。
【逐项核对 (五类硬伤)】
1. 方向: 做多时 H4 面板 BELOW VWAP 或 VWAP SLOPE DOWN (做空反之), 或方向与 D1 的 STRUCT 相反 → 硬伤。
2. 追单: 现价偏离 VWAP 超过 +1.5σ (做多) / -1.5σ (做空) 而 AI-1 用市价单 → 硬伤。
3. 震荡: H4 VWAP SLOPE FLAT 且在 VWAP 同一侧连续不到 3 根 → 硬伤。
4. 止损: 做多止损没有放到 -1σ 或 INV 下方 (做空看上方), 或小于 0.6 个 H1 ATR → 硬伤; 盈亏比低于系统最低要求 → 硬伤。
5. 事实核对: 理由里的 VWAP、σ、价值区价格与面板对不上 → 硬伤。
任一硬伤 → REJECT; 都没有 → APPROVE。
【不构成否决理由】
单独一张图 STRUCT 为 MIXED、ADX 偏低、出现一次反向背离 —— 只提高风险等级, 不能单独作为 REJECT 的理由。
【理由写法】
REASON 里写出你核对的具体数字, 例如 "止损 900p 覆盖失效位 (-760p); 止盈 1400p 未越过 R1 (+1500p); 盈亏比 1:1.6 达标"。
AI-3 Position Monitoring1749 characters
【角色】你是周 VWAP 波段单的持仓监控员, 只判断 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_VWAP 成交量加权均价 (图上的金色线和虚线带 + 面板):
  金色线 VWAP = 本时段 (面板写 DAY = 今天, WEEK = 本周) 开始以来按成交量加权的平均成本, 每个时段重新累计; 点线 ±1σ、紫色虚线 ±2σ = 偏离带 (σ = 标准差)。价格在 VWAP 上方说明这个时段买方占优, 下方卖方占优。
  面板第一行: VWAP 价格、σ 的点数、现价偏离几个 σ 和点数、在 VWAP 上方 / 下方已连续几根 K 线 ("new session just started" = 刚换时段, 还没有数据); 第二、三行: ±1σ / ±2σ 的价格和到现价的点数。
  第四行: VWAP SLOPE UP / DOWN / FLAT = 近 10 根 VWAP 的方向; RVOL = 上一根已收盘 K 线的成交量是之前 20 根平均的几倍; dPOC = 本时段到目前为止成交最密集的价格。
  第五行 YESTERDAY VA (周 VWAP 为 LAST WEEK VA): 上一时段的价值区上沿 VAH / 成交最密集价 POC / 下沿 VAL (图上 pVAH / pPOC / pVAL 虚线, 价值区包含 70% 的成交量), 以及本时段开盘价 (open) 和现价 (now) 在价值区上方 ABOVE VA / 里面 INSIDE VA / 下方 BELOW VA。成交量用的是 MT5 的 tick 成交量。
【核心】多单: 价格保持在周 VWAP 上方 → HOLD, 回踩到 VWAP 附近是正常的。空单反之。
【CLOSE】1. H4 收盘到周 VWAP 另一侧 (多单收在下方) 并且 VWAP SLOPE 转为 FLAT 或反向; 2. H1 收盘越过 -1σ (多单) / +1σ (空单) 且出现反向 CHoCH; 3. 新的一周开盘在上周价值区的另一侧 (多单遇到 open BELOW VA) 并继续反向走。
【TIGHTEN】浮盈时: 到 +2σ 或上周 VAH 附近 (多单) 把止损收到 +1σ 下方; 偏离超过 +2.5σ 时收到最近的 HL 下方。空单反过来。
【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 20 in “Apply by No.” next to the “Built-in Systems” heading (or under “Trend Following” find “AI Weekly VWAP · With-Trend Swing” 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 · Trend Following

⚠ 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