Magix Box
- Indicadores
- Versão: 1.1
Magic Box - First H1 Candle Breakout
Daily breakout tool: the first H1 candle after the session break becomes the box. Breakout on H1 close, stop outside the box, TP1 1R (partial + break-even), TP2 1.5R, optional reverse once. Live panel and statistics after spread.
Every day the indicator takes the first H1 candle after the daily session break and draws it as a box. When an H1 candle closes outside the box, you get a breakout signal with the entry, stop loss and two take-profit levels already calculated. No guessing, no redrawing, one plan per day.
HOW IT WORKS
1. The box
- The first H1 candle after the daily session break becomes the box.
- The session break is detected automatically, so it works with any broker time zone.
- Alternative modes: first H1 candle of the server day, or the H1 candle of a fixed hour.
- Days with a box that is too wide (default more than 2 x ATR H1) are skipped.
2. The breakout
- BUY when an H1 candle closes above the box, SELL when it closes below.
- Only candle closes count - wicks through the box do not trigger a signal.
- Breakouts are accepted only inside the breakout window (default 06:00 - 18:00 server time).
3. The targets
- Stop loss: outside the opposite side of the box plus a small ATR buffer.
- TP1 = 1R: close part of the position (default 50%) and move the stop to break-even.
- TP2 = 1.5R: final target.
4. Reverse once (optional)
- If the stop is hit before TP1, the indicator flips once to the other side at the stop price, with a new stop outside the box and the same 1R / 1.5R plan.
- Can be switched off.
WHAT YOU SEE ON THE CHART
- The box of each day with the BUY and SELL breakout levels
- Entry, stop loss, TP1 and TP2 of every breakout
- Reverse trades marked separately
- A result label on every trade (in R)
- A live panel with today's box, levels and trade status
HONEST STATISTICS
The panel shows the results of the last X days (default 60) calculated on your own chart:
- Number of trades and reverses
- TP2 / TP1 + break-even / stop loss / time exits
- Average result in R per trade, before AND after spread
Use the statistics to check the method on your broker and symbol before you trade it. Results depend on the market, the symbol and the broker.
ALERTS
- Popup and push notifications
- Box formed
- Breakout signal (with entry, stop and targets)
- Stop hit before TP1 - reverse now
INPUTS
Box
- Box candle: after session break (auto) / first candle of the day / fixed hour
- Fixed hour (server time)
- Min / max box size (x ATR H1)
Entry window
- Breakouts accepted from / until (server hours)
Exits
- Stop buffer outside the box (x ATR H1)
- TP1 in R (partial close + break-even)
- TP2 in R (final target)
- Partial close %
- Reverse once on / off
- Max holding time (H1 candles, for the statistics)
Statistics and display
- Spread cost per trade (points, 0 = current spread)
- Days used for statistics / days drawn on the chart
- Panel on / off and colors
Alerts
- Popup, push, box formed, breakout signal, reverse
RECOMMENDED USE
- Chart: H1
- Symbols: gold (XAUUSD), major indices and forex pairs. All sizes scale with ATR, so the same settings adapt to each symbol.
- Check the statistics panel on your own broker data first, then forward test on a demo account.
NOTES
- This is an indicator only. It does not open or close trades.
- Signals are calculated on closed H1 candles and do not repaint.
- Panel values in the screenshots are examples, not a promise of future results.
- Trading involves risk. Past results on the chart do not guarantee future performance.
