PROTECTED SOURCE SCRIPT

Safety Trade® [BlackRock_et]

28
Safety Trade® [BlackRock_et] — Overview

A multi-timeframe level framework that projects five adaptive “safety” bands on the price chart.
It derives smoothed 4H highs/lows, builds layered lower borders, and projects custom Fib-style levels designed to frame pullbacks and extensions. Overlay only; no signals or alerts.

How it works

MTF core (4H): The script requests 4-hour highs/lows and computes rolling extremes over a fixed period (per = 5).

Smoothing: Borders are smoothed with a fixed moving-average type (default WMA) using predefined lengths.

Layered lower borders: From the smoothed low border (LL), three deeper layers are built (LL2, LL3, LL4) using fixed offsets (~23.6%, 38.2%, 54%).

Interpolated MA line: An auxiliary MA is calculated between LL3 and LL2 to capture the transition of pullback depth.

Projected levels: Five dynamic projection lines are plotted and labeled Fib Level 0.236 / 0.382 / 0.5 / 0.618 / 0.786. These are computed from the LL4→LL3 segment with calibrated ratios so that the plotted bands align to familiar Fib-style landmarks while adapting to current structure.

Plots (what you see)

Five adaptive lines on the price chart: Fib Level 0.236, 0.382, 0.5, 0.618, 0.786.

Borders and helper MAs are internal to the calculation and not rendered.

Inputs

None (by design). All parameters are fixed inside the script to keep behavior consistent across users and charts.

Usage notes

Timeframes: Works on any chart timeframe. Calculations are anchored to 4H data, so values update as the current 4H bar forms and stabilize after its close.

Markets: Intended for liquid symbols (crypto, FX, indices, equities).

Interpretation:

Approaches to 0.236–0.382 often reflect shallow pullbacks within strong trends.

0.5–0.618 bands frequently frame “deeper but orderly” retracements.

0.786 acts as an extreme band in prolonged moves.
These are contextual guides only; confirm with your own price action rules and risk management.

No alerts/signals: The script does not produce buy/sell signals or alerts. It is a framework of levels, not an auto-trader.

Limitations

MTF timing: Because 4H sources are used with lookahead=off, levels may shift intra-bar and finalize on 4H close.

No user tuning: Parameters are intentionally hard-coded.

Not financial advice: For educational/analytical use only.

Release notes

v1.0 (2025-09-08): Initial public release with five projected level bands derived from smoothed 4H structure and layered lower borders.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.