Warrior_EA/Expert/AIBase
Repository files (latest commit first)
Filename Latest commit message Latest commit date
AnimateDread 5e0317f09d feat(chart): signal marks become price LEVELS at the trigger, not arrows beside the candle
User request: 'move from arrows on lows and highs to small horizontal lines at the actual
prices the entry/exit would trigger, just a bit larger than the candles. dark green for
buy, dark red for sell.'

Every mark is now an OBJ_TREND segment with both anchors at one price and both rays off,
spanning 1.3 bar widths, drawn at the bar's CLOSE - the price a market order actually
fires at, and the exact entry TripleBarrierLabel assumes. It used to sit on the candle's
LOW for a Buy and its HIGH for a Sell: prices the trade never touches, picked so an arrow
glyph would clear the candle. The tooltip now carries that price too.

COLOUR NOW MEANS DIRECTION AND ONLY DIRECTION on every layer (dark green / dark red).
Layer moves to width+style - the traded vote is solid and thick and drawn in front, a
single model's raw opinion is thin, dotted and behind the candles - which keeps the
distinction the old palette existed to draw (a model's opinion must never read as a trade)
while freeing colour to say one thing consistently.

Consequences handled, all of them the same 'a typed scan went blind' failure:
- SaveChartSignals filtered OBJPROP_TYPE == OBJ_ARROW and read OBJPROP_ARROWCODE. It now
  filters OBJ_TREND and recovers direction from the colour. The sidecar keeps the old
  217/218 numbers as its buy/sell token deliberately, so existing .arrows files still load.
- AdvanceChartSignalRestore now rebuilds through the SAME creation point the live path
  uses, so a restored mark and a fresh one are identical objects.
- The rescan-scoped delete enumerated ObjectsTotal(OBJ_ARROW) - retyped, or it silently
  deletes nothing.
- ApplySignalsVisibility enumerated OBJ_ARROW with NO prefix filter. Under the new type
  that would have hidden and shown THE USER'S OWN trend lines on every Hide/Show click;
  it is now prefix-scoped. The old type was uncommon enough on a real chart to mask the
  missing check - trend lines are the most hand-drawn object there is.
- DrawObject's high/low parameters are gone (6 call sites pass m_Close instead), so no
  caller can hand it a price it no longer draws at.
- Fixed a pre-existing stale comment that still described the purge sweep as OBJ_ARROW-only
  three lines above the note explaining it had been widened to every type.

NOT COMPILED - user compiles in MetaEditor.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 14:11:49 -04:00
..
AutoTune.mqh feat(ensemble): per-NN inputs replace the preset selector - the meta head becomes the vote's gate 2026-08-19 13:01:02 -04:00
ChartUI.mqh feat(chart): signal marks become price LEVELS at the trigger, not arrows beside the candle 2026-08-19 14:11:49 -04:00
Excursion.mqh feat(logs): throttle the settled per-era diagnostics - measured 22MB/9.5h of confirmed-working systems 2026-08-19 09:36:15 -04:00
Features.mqh feat(gates): derive the recall floor instead of configuring it, publish what the configuration can PROVE, and stop an arbitrary member driving live exits 2026-08-17 16:15:08 -04:00
Inference.mqh feat(chart): signal marks become price LEVELS at the trigger, not arrows beside the candle 2026-08-19 14:11:49 -04:00
Labels.mqh fix(build): four compile faults - one was a SILENT enum collision that inverted the direction policy 2026-08-19 13:16:45 -04:00
Lifecycle.mqh feat(ensemble): per-NN inputs replace the preset selector - the meta head becomes the vote's gate 2026-08-19 13:01:02 -04:00
MetaCorpus.mqh refactor(time): broker time throughout - and the GMT DB basis was already a live bug 2026-08-19 11:37:44 -04:00
OnlineLearning.mqh fix(depth): route EVERY ResizeBuffers call site through one indicator-depth gate 2026-08-17 13:33:16 -04:00
Persistence.mqh feat(altdata): external feature block wired into the NN feature window 2026-08-16 13:39:00 -04:00
PooledGate.mqh fix(pooledgate): _Period, not Period() - the bare call resolves to CExpertBase's setter 2026-08-17 12:57:43 -04:00
Topology.mqh feat(fingerprint): an active close-all schedule keys the model identity 2026-08-19 11:23:54 -04:00
Training.mqh feat(chart): signal marks become price LEVELS at the trigger, not arrows beside the candle 2026-08-19 14:11:49 -04:00