TradingView Chart OverlayPine Script v6Verified Chart Visual

UMAR'S ASTRA NOX

Two-stage signal confirmation, configurable candle-zone mapping, and ATR-calibrated reference levels for TradingView.

UMAR'S ASTRA NOX is a TradingView Pine Script v6 chart overlay engineered for structured chart planning. It separates initial candidate markers (S) from optional bar-close confirmation filters, maps the chosen reference candle into a BUY ZONE or SELL ZONE box, highlights an internal Entry Region percentage slice, and projects ATR-buffered Stop Loss and Risk:Reward Take Profit reference levels.

Genuine TradingView ScreenshotXAUUSD 3m Reference
Promotional Showcase

Desktop Showcase Graphic

Clearly separated from unedited TradingView mobile captures above.

Verified Specifications

Core Capabilities & Architecture

Verified in supplied TradingView captures on XAUUSD (3m, 15m); overlay=true supports standard TradingView chart timeframes with user calibration.

Two-Stage Confirmation Pipeline

Separates initial S candidate candle detection from confirmed BUY/SELL triggers using optional S Breakout, Engulfing (E), and Master Candle (M) bar-close filters.

Flexible Zone Source Selection

Anchors directional zone boxes to the S candidate candle, the final confirmed candle, or the previous reference candle, with optional past-only swing lookback.

Configurable Entry Region Slice

Highlights a customizable Entry Region sub-box (default 65%) inside each BUY ZONE or SELL ZONE to visualize planned entry boundaries.

ATR Stop Loss & Max SL Risk Cap

Computes Stop Loss beyond the zone boundary using ATR(14) and optionally shifts Entry toward Stop Loss when initial distance exceeds Maximum SL Distance ($).

Risk:Reward Take Profit Projection

Projects an optional TP reference line and label from the final entry and risk distance using a configurable Risk:Reward ratio (default 2.5).

Single-Timeframe Bar-Close Evaluation

Operates strictly on the active chart timeframe with zero higher-timeframe request.security() calls, evaluating state transitions on confirmed bar closes.

Workflow Illustration

How ASTRA NOX Works

  1. 01

    Candidate Detection (S)

    On confirmed bar close, the internal engine identifies a candidate setup and optionally marks the candle with an S label and subtle bar tint.

  2. 02

    Filter Confirmation (BUY / SELL)

    Enabled confirmation filters—such as S Candle Breakout on the next closed candle, Engulfing (E), or Master Candle (M)—validate whether the candidate confirms.

  3. 03

    Zone & Entry Region Mapping

    Upon confirmation, ASTRA NOX draws the directional zone box and inner Entry Region slice extended forward for a user-defined number of bars.

  4. 04

    ENTRY, SL & TP Level Projection

    ATR-buffered Stop Loss, cap-checked Entry, and Risk:Reward Take Profit lines and price tags are plotted cleanly, with FIFO cleanup keeping chart drawings tidy.

Chart Interpretation

Labels & Zone Legend

S

Initial candidate scanner marker (blue below bar for buy candidates; crimson above bar for sell candidates).

BUY / SELL

Final confirmed directional label plotted once all enabled confirmation filters pass on bar close.

ASTRA NOX | BUY / SELL ZONE

Full High-to-Low price box of the selected anchor candle (or swing lookback candle if enabled).

BUY / SELL ENTRY REGION

Inner sub-box representing the configured Entry Zone Percentage (%) inside the main directional zone.

ENTRY / SL / TP

Reference lines for Entry (solid blue), ATR-buffered Stop Loss (dashed red), and Risk:Reward Take Profit (dotted green).

Configuration Guide

Inputs & Settings Reference

User-configurable parameters organized by TradingView settings group.

GroupInputTypeDefaultFunction
Confirmation FiltersEnable S Candle BreakoutBooltrueRequires the next closed bar to close beyond the S candle extreme.
Confirmation FiltersEnable Engulfing (E)BoolfalseRequires the S candle body to engulf the prior candle's body.
Confirmation FiltersEnable Master Candle (M)BoolfalseEnables wick and breakout confirmation filtering around the candidate/previous candle.
DisplayShow Scanner / Final / Trade Levels / Zone TextBool togglestrueIndependently show or hide S labels, bar highlighting, BUY/SELL labels, ENTRY/SL/TP lines, and zone text.
Zone CreationZone Candle Source (S / Final / Previous)Bool togglesUse S Candle = trueSelects which candle anchors the directional zone box.
Zone CreationEnable Swing Detection & LookbackBool / Intfalse / 10 barsOptional past-only lookback to anchor the zone to the lowest low or highest high within lookback bars.
Zone CreationZone Extension & Maximum ZonesInt / Int20 bars / 50 zonesControls forward zone width and maximum zones retained before oldest drawings are removed.
Zone CreationEnable Entry Region & Percentage (%)Bool / Floattrue / 65.0%Draws the inner Entry Region box and sets the percentage used for base Entry placement.
Entry / SL / TPATR Length & SL ATR MultiplierInt / Float14 / 0.5Volatility lookback and multiplier applied outside the zone boundary for Stop Loss.
Entry / SL / TPEnable Maximum SL Cap & Distance ($)Bool / Floattrue / 3.0Caps Entry-to-SL distance in price units by adjusting Entry toward SL when exceeded.
Entry / SL / TPRisk : Reward & Enable Take ProfitFloat / Bool2.5 / trueSets TP distance relative to final risk distance and toggles TP visualization.
Usage Guide

Setup Instructions

  1. Add UMAR'S ASTRA NOX to your TradingView chart once published access is enabled.
  2. Configure your preferred confirmation filters (S Candle Breakout is active by default; Engulfing and Master Candle are optional).
  3. Choose your anchor candle source and Entry Zone Percentage (%) to size the Entry Region.
  4. Calibrate Maximum SL Distance ($) and ATR settings to match the price scale of your instrument (default 3.0 is sized for XAUUSD price units).
  5. Create TradingView alerts using the built-in BUY S Candle, SELL S Candle, FINAL BUY, FINAL SELL, or ZONE CREATED conditions.
Notifications

Built-In Alert Conditions

  • BUY S Candle
  • SELL S Candle
  • FINAL BUY
  • FINAL SELL
  • BUY ZONE CREATED
  • SELL ZONE CREATED
Transparency

Limitations & Restrictions

  • Analytical chart overlay only—does not execute trades automatically or constitute financial advice.
  • Visual ENTRY, SL, and TP lines are static projections at confirmation close and do not account for broker spreads, commissions, or slippage.
  • Default price-unit thresholds (such as Maximum SL Distance = 3.0) are scaled for Gold (XAUUSD) and require adjustment for other asset classes.
  • Older historical zones and labels are automatically purged in FIFO order once Maximum Zones To Keep is exceeded.
  • Refer to the official TradingView script publication page for current script access terms and release notes.
Release Lineage

Version History

Compact Brand Panel EditionReviewed Locally

Baseline Pine Script v6 indicator with 2x2 cyan/navy brand panel, confirmation filters, zone creation, Entry Region, ATR SL cap, and 6 alerts.

Wick-Confirmation & Runtime-Fix EditionsReviewed Locally

Adds Master Candle both-wick minimum input and deterministic zone-source priority to avoid runtime errors when multiple toggles are selected.