提交图

23笔提交

作者 SHA1 备注 提交日期
SahrJohn SahrJohn
8bb1bcbe1c EA v7.27: weekly ladder research scores (leader, hourly, H1); first trade sync/research 10 min after start build-0015 2026-11-09 12:33:48 -06:00
SahrJohn SahrJohn
f5d24c7bf6 EA v7.26: trade reports carry the account; rotation leader re-sends 48h of closed positions every 30 min (broker values) build-0014 2026-11-09 12:24:00 -06:00
SahrJohn SahrJohn
aa8491e3da EA v7.25: R-based exits - break-even at +1.5R, trail 1.5R from +2R, target unchanged (exit study 2026-11-09) 2026-11-09 11:33:13 -06:00
SahrJohn SahrJohn
66d80d5ab1 EA v7.24: rotation closes only charts it opened (hand-opened charts are never closed); adopt the 6 charts v7.23 opened 2026-11-09 09:56:33 -06:00
SahrJohn SahrJohn
a7d74dfc7e EA v7.23: watchlist rotation - 20-symbol watchlist, ranker's top 10 trade; leader chart opens/closes EA charts; new symbols at 0.25 size until 20 trades 2026-11-09 09:52:25 -06:00
SahrJohn SahrJohn
93b11340d5 EA v7.22: daily loss limit = 5% of start-of-day balance, latched until the next server day; 'no signals' coordinator note 2026-11-09 09:31:41 -06:00
SahrJohn SahrJohn
ddd2899da3 EA v7.21: retry an offline AI gateway every minute
A chart that started while n8n was down (2026-11-09 03:06 US Tech 100, 03:31 Wall Street 30) stayed
gateway-offline until reloaded and, with AI_Strict_Gate, refused every trade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 03:35:29 -06:00
SahrJohn SahrJohn
44e53e5daa hooks: launch MetaEditor through PowerShell so spaced paths compile
From Git Bash the quotes inside /compile:"...Shared Projects..." were stripped and MetaEditor
compiled nothing (build-0006/0007 have no .ex5). This commit's build carries EA v7.20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 02:33:34 -06:00
SahrJohn SahrJohn
f94204ab4e EA v7.20: learning upgrades (setups upgraded, never removed)
- re-entries arm only after a winning / break-even parent (ReEntry_Require_Parent_Win):
  2026-10-09..11-06, after a win 71 re-entries won 87% (+4,492), after a loss 80 won 4% (-7,947)
- stacking guards per symbol + side across setups: Max_Same_Side_Positions=3,
  No_Add_Side_Loss_Pct=0.5 (2026-11-06: 12 XAUUSD SELLs from 4 setups, about -5,800)
- daily loss limit counts open losses (Daily_Loss_Include_Floating)
- CHOP-SNAP leaves the blocklist for probation (Setup_Probation, x0.25)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 02:30:20 -06:00
SahrJohn SahrJohn
8e0788f316 hooks: compile with Windows paths, push via Infisical token (no Credential Manager prompt)
Git Bash rewrote MetaEditor's /compile: and /log: arguments, so no build since July
actually compiled; plain git push opened a Credential Manager window and hung.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:00:01 -06:00
SahrJohn SahrJohn
526860b9cd EA: sync live build (Jul-Nov 2026) — trade report direction/setup fix, VZ indicators, risk modules
- AIGateway/profitgtx: report_trade takes direction and setup from the position's
  opening deal ("dir_src":"entry"); the closing deal inverted every direction and
  restarts lost the setup (99% "auto")
- add MATheory, RiskGuards, RiskSizing, TradePolicy (setup blocklist, strict AI gate)
- add VZ_Core + VZ_Features/MFIB/Regime/Setups/Sessions indicators, VZ_FeaturesExport
  service, VZ_DumpMA, VZ_TogglePause
- margin-aware sizing, news, labels and session updates since 2026-07-14

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:48:22 -06:00
SahrJohn SahrJohn
0129230cc1 build: archive from Experts mirror and deploy to Navigator folder
MetaEditor transfers compiled output to the Experts mirror of Shared
Projects, so the hook's archive step never found an .ex5 next to the
.mq5. Archive from the mirror instead, and also deploy each successful
build to MQL5/Experts/VizionAI-Trading/profitgtx.ex5 so the EA shows up
top-level in the MT5 Navigator for drag-and-drop.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 16:51:18 -05:00
SahrJohn SahrJohn
8f7d94ef58 fix: margin-aware lot sizing and broker stops-level clamping
- NormalizeLots: derive rounding digits from SYMBOL_VOLUME_STEP instead of
  hardcoded 2, floor onto the step grid before clamping to min/max
- FitLotsToMargin: shrink volume to fit 90% of free margin via
  OrderCalcMargin; skip the trade when even VOLUME_MIN cannot be afforded
  (fixes repeated 'not enough money' rejects on XAUUSD)
- GetSLPoints/GetTPPoints: clamp to SYMBOL_TRADE_STOPS_LEVEL + spread
  (fixes repeated 'invalid stops' rejects on GBPUSD counter trades)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 16:19:12 -05:00
SahrJohn SahrJohn
f0ae626459 Skip compile step when MetaEditor GUI is already open
/compile only runs headless when no instance is open; otherwise it
hands off to the running instance and silently does nothing. Detect
that case via tasklist and skip cleanly instead of racing a compile
that will never happen.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-14 16:05:11 -05:00
SahrJohn SahrJohn
dbdd3d87fa Poll for MetaEditor compile log instead of assuming synchronous exit
MetaEditor64.exe hands off /compile requests to an already-running
instance and returns immediately, so the previous version read an
empty/missing log file. Now waits for the log to appear and stop
growing before checking it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-14 16:02:16 -05:00
SahrJohn SahrJohn
5df50184ae Add auto-versioning post-commit hook for build-NNNN tags
Every commit to main now tags itself sequentially, compiles the EA via
MetaEditor CLI, archives the .ex5 to builds/, pushes, and prunes tags
and archived builds down to the last 10.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-14 16:01:01 -05:00
d920b2758a fix: correct StringToCharArray call and add XAUUSD chart template
- AIGateway.mqh: use StringLen(json_payload) instead of WHOLE_ARRAY to avoid
  null terminator being included in POST body (caused malformed JSON to gateway)
- ea_template.tpl: add XAUUSD H1 chart template for MT5 terminal setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 23:36:51 +00:00
SahrJohn SahrJohn
da0412b400 feat: update EA gateway, NN, news, and execution modules 2026-02-27 21:49:28 -06:00
SahrJohn SahrJohn
ff2b8746f5 chore: add local gitignore and nn model artifact 2026-02-26 10:35:54 -06:00
4049f984ee feat: replace OpenAI with n8n AI Gateway + session + watchlist
- Remove OpenAI.mqh entirely (no direct API calls)
- Add AIGateway.mqh: unified gateway → n8n → OpenRouter → Claude
  - advisory mode: EA never fails to start (gateway down = MAYBE 0.5x)
  - mandatory mode: blocks trades if gateway unreachable
  - actions: validate_trade, get_briefing, get_session, get_news_bias,
    report_trade, watchlist_status, ping
  - includes bid/est_sl/est_tp in validate_trade payload
- Add AISession.mqh: AMD session detection (Asia/London/NY/Interbank)
  with corner chart labels showing session phase + GW status
- InputParams.mqh: AI_Mode, AI_Gateway_URL, briefing TF flags,
  AI_Session_Draw, Use_Watchlist_Gate
- GlobalVariables.mqh: gateway state, per-TF briefing cache,
  session + news headlines globals
- MasterAICoordinator.mqh: wired to AIGateway (SetUseOpenAI shim kept)
- NewsEngine.mqh: merges live AI news bias from gateway
- AISignalConfirmation.mqh: delegates to AIValidateTrade()
- AILabels.mqh: GW status (color-coded), validation stats, per-TF briefs
- ChartLabels.mqh: session label integration
- profitgtx.mq5 v7.00: OnInit init gateway + session, OnTimer multi-TF
  briefing refresh, OnTradeTransaction fire-and-forget trade report
- Recompile: 0 errors, 0 warnings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 06:34:27 +00:00
b72c361693 Fix MT5 compile issues and update build output 2026-02-19 20:05:27 +00:00
f6bead226f Sync from vizion-trading infra/mt5/ea_local 2026-02-15 05:13:55 +00:00
3d9fff49f6 Initial commit 2026-02-15 04:52:07 +00:00