Overview
Everything the EA can do to a position or a pending order after it exists. Today it's all driven from the chart dashboard (page 1, trade-management section) — this page is the inventory we'll draw on to decide what to surface on 7r4d3 and Telegram.
Three badges to read the tables by:
Closes & partials
| Control | Kind | Scope | What it does |
|---|---|---|---|
| 30 / 50 / 70 % | MANUAL | SYMBOL | Closes that fraction of each open position on the symbol (rounded down to the lot step, min one lot). |
| Close Sym | MANUAL | SYMBOL | Closes all positions on the symbol. If one is in profit, a 75% chance it first nudges that SL a random amount toward price — a footprint touch, not a management rule. |
| Close All | MANUAL | ACCOUNT | Closes every open position on the account. |
| Cancel All | MANUAL | SYMBOL | Deletes pending orders on the symbol, including the hidden armed order if one is set. |
Breakeven
Move BE MANUAL SYMBOL — sets the stop to the entry price on every position on the symbol (skips any already at breakeven). The automatic version is the BE matrix below.
Matrices — automatic tripwires
A "matrix" is a one-shot price/time tripwire you place on the chart. Switching one on draws three draggable lines: an upper and a lower price line (seeded ±1 SL-distance around price — where SL-distance is your SL% of the prior daily range) and, on sub-H4 charts, an end-of-day vertical line. Drag them to wherever you want the trip to sit.
It fires the instant bid ≥ the upper line, ask ≤ the lower line, or the clock reaches the time line — does its one action, then switches itself off. All four share this mechanism and differ only in the action:
| Matrix | On trip | Scope |
|---|---|---|
| EXIT.MTX | Close all positions on the symbol. | SYMBOL |
| PART.MTX | Close 50% of the symbol's positions. | SYMBOL |
| BE.MTX | Move the stop to entry on the symbol. | SYMBOL |
| CNCL.MTX | Cancel pending + hidden armed orders on the symbol. | SYMBOL |
Matrices survive a restart — their on/off state and line positions are saved to terminal global variables and restored on re-init.
Trailing stops
Trailing has a source and a mode. The source is which swing it follows; the mode is what it does with it.
| Control | Role | What it does |
|---|---|---|
| H1 / H4 | Source | Follow the most recent H1 or H4 swing and draw a dotted line there. Visual only on their own, and mutually exclusive — turning one on turns the other off. |
| H.T (hidden trail) | Soft stop | Closes all symbol positions when price touches the trail line — the broker never sees a stop there. Only ever tightens (never widens). Needs H1 or H4 selected. |
| TRL (auto-trail) | Hard stop | Physically moves the real SL up to the trail level as it advances (protective direction only). Needs H1 or H4 selected. |
CHCH exit
CHCH EXIT AUTO SYMBOL — arm it and it closes the symbol's positions the moment the H1-swing structure changes character against your trade: long → the uptrend swing low breaks; short → the downtrend swing high breaks. It reads the same M15-thrust (H1) swings, and the same definition, as the CHCH alert — so the event that pings you and the event that exits you are the same thing.
- Does not move the broker stop — it closes at market on the break, like the hidden trail.
- One-shot: disarms itself after firing, and announces via a
CH.EXITalert. - Only fires while the pro-trade trend still holds; if the trend already flipped against you before you armed it, it waits for the next change-of-character rather than firing on the old one.
Take-profit tools
Fixed R:R
When you arm an order, its TP is placed at a reward:risk multiple of the stop distance, from your presets
InpRR1 / InpRR2 / InpRR3 (defaults 1 / 2 / 3).
Smart TP — a pace advisor
An advisory read-out (it labels the chart; it does not auto-close). It scores how far ahead of schedule the trade is:
score = p² / t
Scoring starts only after 10% of the day has elapsed (avoids early noise). The idea: the faster you reach a level relative to the time of day, the more aggressively it suggests banking profit.
Equity TP / SL
AUTO ACCOUNT — the only account-wide tool. You arm each with a percent; the EA snapshots your balance at arm time as the baseline, then watches equity:
- Equity TP — when equity rises to +TP% of the baseline, close all account positions and disarm.
- Equity SL — when equity falls to −SL% of the baseline, close all account positions and disarm.
The label shows the live dollar target for the current balance. Can't arm at 0%.
What we'd expose to Telegram
Candidates for the per-account buttons, once we get there — roughly in order of usefulness on a phone:
- Partials (30/50/70) and Close Sym — the common "bank it / get out" taps.
- Move BE — one tap to de-risk.
- Trailing H.T / TRL on/off — hand the trade to the trailer.
- CHCH exit on/off — hand the exit to the structure.
- Matrices — trickier on a phone since they're placed by dragging lines; likely arm-with-a-default-offset from TG, fine-tune on the chart.
- Equity SL — a session circuit-breaker worth having on the phone.