Commit graph

16 commits

Author SHA1 Message Date
b29f3f951a fix(ERMT-PME): harden partial closure flow against zero-percent levels 2026-04-29 14:43:41 +01:00
6897cb55c4 feat: Redesign dashboard to top-right with improved readability
- Anchor all chart objects to CORNER_RIGHT_UPPER
- Dark background C'15,15,25', amber gold section headers
- Consolas font, consistent column alignment with padded labels
- Compact label format: 'Active  : N', 'Locked  : N pts', etc.
- Section headers: STATUS / RISK / EXECUTION / LIVE CONFIG
- Background panel 260x330px, offsets from right/top edge
- InpDashboardY default: 20px from top
- Also include TechnicalAnalysis ATR symbol fixes from prev session
- Update ermt_1.6_aggressive.set dashboard Y to 20
2026-04-23 12:45:48 +01:00
e5620ff6c0 fix: Improve multi-chart symbol registration and ATR calculations
- Enhance GetATR() to explicitly select symbol in Market Watch
- Add fallback logging if symbol selection fails
- Improve ComputeATRManual() to use only valid bars for ATR calculation
- Add symbol name to position registration log for diagnostics
- Ensures ATR calculations use position-specific symbol, not chart symbol
2026-04-23 12:14:03 +01:00
c3ee69912a fix: ERMT PME 1.6 - Fix ATR-only partial mode initialization and file header
- Remove stray character at line 1 that corrupted parser
- Make fixed-point trigger validation conditional on InpPartialMode
  * Skip validation when using PARTIAL_MODE_ATR (all-zero triggers are valid)
  * Only validate ascending order for PARTIAL_MODE_FIXED or PARTIAL_MODE_HYBRID
- Allows clean initialization of aggressive ATR-based presets (ermt_1.6_aggressive.set)
2026-04-23 12:04:55 +01:00
7973517965 Title
feat: add ERMT PME 1.6 with live input-driven phase and basket protection

Body

create versioned 1.6 EA and module set
wire phase triggers and safety floors to live EA inputs
preserve runner sizing with original-position partial math
add equity-aware daily loss and drawdown protection
add FX basket de-risking for overlapping pairs
remove hidden profile overrides from manual trail and partial settings
keep 1.5 baseline intact while validating 1.6 behavior
2026-04-20 10:35:46 +01:00
16a2b2abdb chore: checkpoint current workspace updates 2026-03-26 21:26:25 +00:00
6be2c3c9e9 fix(pme): resolve enum migration compile errors 2026-03-26 20:57:40 +00:00
4da4fe3f8d feat(pme-1.5): A3 enum migration + A5 cleanup + gitignore expansion
- A3: ENUM_PARTIAL_MODE migration with backward-compat remapping
- A5: Archive v1.5 @!!@ files; add Archive/ to gitignore
- Gitignore: Suppress Examples/**/*.ex5, Free Robots/**/*.ex5, Previous/**/*.ex5

All Track A items (A1-A5) now complete
2026-03-26 17:02:22 +00:00
70c6f3d196 docs(pme): add Track B/C implementation roadmap
IMPLEMENTATION_ROADMAP_v2.2_B_C.md documents the full implementation plan
for v2.2 (Track B phases 1-7: config surface, HTF gate, thesis invalidation,
adaptive ATR partials, stale-trade decay, precedence ordering, test harness)
and housekeeping tasks (Track C: module consolidation, guide archive,
branch retirement) with field tables, pseudocode, and a sequencing schedule.
2026-03-25 12:49:17 +00:00
6fe50afe02 feat(pme-1.5): Track A - fix retracement buffer semantics and enhance dashboard
A1: Change InpPartialProfitBuffer from absolute-points to % above trigger.
  - ProfitMaximizer_PME.mqh: profit_buffer local var now computed as
    (current_profit - trigger) / trigger * 100.0; gate comparison updated;
    struct field comment, SetRetracementGate/SetSymbolClassGatePresets param
    names, ResolveGateSettings signature all updated to *_pct convention.
  - ERMT_PME_1.5.mq5: input label updated; dashboard gate_pass uses
    buffer_pct; startup log updated.

A2: Dashboard ATR_STATE label now shows both ATR and fixed trigger.
  - When ATR mode active: 'L1 A:<atr> F:<fixed> | cur | ret% | EXEC/DEFER'
  - When fixed mode: 'L1 F:<fixed> | cur | ret% | EXEC/DEFER'

A4: Commit previously modified-but-unstaged docs.

A5: Remove three tracked @!!@ MT5 editor auto-save files via git rm;
    add **/*@!!@*.mq5 rule to .gitignore; .gitignore committed.
2026-03-25 12:49:17 +00:00
2b1a90ac99 docs(pme): add v2.2 implementation plan roadmap 2026-03-25 11:35:41 +00:00
850baaad00 feat(pme): add v1.5 ATR partials, retracement gate, and symbol-class presets
- add ERMT_PME_1.5 EA source with profile-wired ATR partial controls\n- extend ProfitMaximizer with ATR triggers and retracement deferral gate\n- add symbol-class (major/cross/default) gate presets and dashboard visibility\n- include v1.5 design doc for ATR partials and retracement logic
2026-03-24 23:54:05 +00:00
c4d4c3aab1 Refine dashboard UX and startup profile visibility
- Simplify dashboard layout to status, risk, execution, and effective config\n- Remove legacy v1.3 solution noise and stale label paths\n- Show active startup profile directly in dashboard and fallback comment\n- Add input guidance clarifying Safe/Aggressive/Custom profile behavior\n- Display effective trail/partial settings resolved after profile overrides
2026-03-23 16:00:09 +00:00
22aab41aad v1.4 input interface cleanup - streamlined to essentials only 2026-03-23 15:22:26 +00:00
b018bba0f1 ERMT_PME_1.4: add safe/aggressive startup profiles and delay trailing
Quick startup guide:\n1) Attach ERMT_PME_1.4 to your chart.\n2) Set InpStartupProfile: Safe (default), Aggressive, or Custom.\n3) Keep InpPartialEngine=PARTIAL_ENGINE_PROFIT_MAX to avoid double partials.\n4) For longer runners, leave Safe profile enabled (trail starts at >=120).\n5) If needed, move to Custom and tune Trail/Partial inputs manually.\n\nWhat this commit changes:\n- Implements profile-based effective settings (trail/partials/runner).\n- Raises default InpTrailStart from 60 to 120.\n- Applies effective profile values to ProfitMaximizer and PositionManager.\n- Logs active profile and effective management parameters at init.
2026-03-23 13:43:22 +00:00
ca4024ed3a feat: bring ERMT_PMEx folder (incl. v1.3) onto pme-1x-optimization branch 2026-03-23 13:02:37 +00:00