This repo includes GitHub Actions workflows under `.github/workflows/`:
- **CI (`CI`)**: runs on pull requests and pushes to `main/master`
- Validates repo structure
- Builds `dist/Exness_MT5_MQL5.zip` and uploads it as an artifact
- **Auto-merge enablement (`Enable auto-merge (label-driven)`)**: if a PR has the label **`automerge`**, it will enable GitHub’s auto-merge (squash). Your branch protection rules still control *when* it can merge (required reviews, required CI, etc.).
- **OneDrive sync (`Sync to OneDrive (rclone)`)**: on pushes to `main` (and manual runs), syncs `mt5/MQL5` to OneDrive via `rclone`.
-`SL_SWING`: SL beyond last confirmed fractal swing (with `SwingSLBufferPoints`), fallback to ATR if swing is missing/invalid
-`SL_FIXED_POINTS`: SL = `FixedSLPoints`
- **TPMode**
-`TP_RR`: TP = `RR` × SL distance
-`TP_FIXED_POINTS`: TP = `FixedTPPoints`
-`TP_DONCHIAN_WIDTH`: TP = Donchian channel width × `DonchianTP_Mult` (fallback to ATR width if needed)
- **RiskPercent**
- If `RiskPercent > 0`, lots are calculated from SL distance so the **money at risk ≈ RiskPercent of Equity** (or Balance if you disable `RiskUseEquity`).
-`RiskClampToFreeMargin` can reduce lots if required margin is too high.