OPEN-SOURCE SCRIPT

Risk Navigator Levels [JOAT]

8 622
Risk Navigator Levels is an open-source Pine Script v6 overlay that turns confirmed trend-engine flips into a clean visual trade planning map. It draws an entry line, stop line, TP1, TP2, TP3, R-multiple labels, and optional risk/reward boxes after a confirmed setup.

The script is not a full trading system. Its purpose is visual planning: once its internal engine confirms a new long or short state, it freezes the entry, stop, and target levels so the user can inspect structure, distance, and status without manually drawing every line.

תמונת-בזק

Core Concepts

1. Trend Engine Gate

The engine compares a fast EMA, slower EMA basis, ATR gate, and VWAP. A long setup requires the fast line above the basis, price above the upper gate, price above VWAP, and fast-line slope agreement. Shorts use the mirrored logic.

Pine Script®


2. Confirmed Direction Change

The script only creates a new level set when the engine direction changes on a confirmed bar.

Pine Script®


3. Stop Selection

The stop is based on recent swing lookback and an ATR floor. This prevents the stop from being unrealistically tight relative to current volatility.

4. R-Multiple Targets

Once risk is calculated, TP1, TP2, and TP3 are plotted as multiples of that risk. The default values are 1R, 2R, and 3R.

5. Status Tracking

After a setup, the script tracks whether the stop or each target has been touched on confirmed bars and updates labels and dashboard status.

Features

  • Confirmed setup engine: Uses EMA, ATR gate, VWAP, and slope checks
  • Frozen entry and stop: Levels are created at setup time
  • TP1, TP2, TP3 targets: Target levels are R-multiple based
  • Risk/reward boxes: Optional green and red boxes show distance visually
  • Status labels: Shows whether SL, TP1, TP2, or TP3 has been touched
  • Right-edge labels: Keeps levels readable without crowding older bars
  • Dashboard: Shows mode, engine state, R size, targets, and status
  • Alerts: Setup, stop touch, and target touch conditions


Input Parameters

Visuals:
  • Palette Preset: Selects color pair
  • Level Reach Bars: Forward extension of lines and boxes
  • Risk/Reward Boxes: Toggles the boxes


Engine:
  • Source: Price source
  • Fast Length: Fast EMA length
  • Base Length: Slow EMA basis length
  • ATR Length: Volatility length
  • Confirmation Gate: ATR gate around the basis


Risk:
  • Stop Lookback: Swing lookback used for stop reference
  • ATR Stop Floor: Minimum stop distance multiplier
  • TP1 R / TP2 R / TP3 R: Target multiples


How to Use This Indicator

Step 1: Wait for a Confirmed Setup
The script draws a new plan only after its engine direction changes on a confirmed bar.

Step 2: Inspect R Size
The dashboard R size shows the distance between entry and stop. Large R size means the setup requires wider risk.

Step 3: Monitor Touch Status
Labels and dashboard status update when the stop or targets are touched after the setup bar.

Step 4: Use as a Planning Tool
The levels help visualize trade structure. They do not replace account-level risk controls.

Indicator Limitations

  • This is a visual planning tool, not a complete execution strategy
  • The engine can produce late signals during fast reversals
  • Targets are mathematical R levels, not forecasts
  • A stop touch and target touch can occur in the same bar on some candles; intrabar order cannot be known from closed OHLC alone


Originality Statement

Risk Navigator Levels is original in its integration of a confirmed trend gate, VWAP location, ATR stop floor, frozen R-level drawing system, and live status tracking. It is built as original Pine v6 code for transparent visual planning.

Disclaimer

This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Levels shown by the script are visual research levels and may not match actual execution conditions. Always use independent analysis and proper risk management.

-Made with passion by jackofalltrades

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.