PROTECTED SOURCE SCRIPT
Safety Trade® [BlackRock_et]

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.
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.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.