OPEN-SOURCE SCRIPT

27.05.2026

997
***

Before presenting this project, I would like to express my sincere gratitude to all the developers, traders, coders, researchers, and members of the TradingView community whose ideas, indicators, concepts, and open-source contributions helped inspire this work.

Modern technical analysis is built upon decades of shared knowledge.
Every moving average, volatility model, market structure concept, liquidity theory, trend engine, and smart-money framework exists because countless traders decided to share their discoveries with others.

This indicator is not the product of a single isolated idea.
It is the result of studying, combining, refining, and evolving many approaches developed by talented authors across the trading community.

Special appreciation goes to the creators and researchers behind:

* Supertrend algorithms
* ATR-based volatility systems
* Supply & Demand methodologies
* Fair Value Gap concepts
* Smart Money Concepts (SMC)
* Volume analytics
* Multi-timeframe trend models
* Session-based trading frameworks
* Institutional liquidity mapping techniques

Open-source collaboration is one of the greatest strengths of the TradingView ecosystem.
The willingness of traders to publish ideas, share code, test concepts, and improve each other’s work continues to push technical analysis forward.

This project was created with respect for that spirit of collaboration.

Thank you to everyone whose work, directly or indirectly, contributed to the development of this indicator.


***

# 3ST NR — Advanced Non-Repainting Market Structure & Trend Engine

The **3ST NR** indicator is a complete institutional-style trading framework built around a triple Supertrend architecture, market condition analysis, ranked supply & demand zones, liquidity imbalance detection, multi-timeframe EMA mapping, and session-aware filtering.

Designed for traders who want more than simple buy/sell signals, this system transforms raw price action into a fully contextual trading environment.

---

## Core Concept

At the heart of the indicator are **three independent Supertrend engines** with different ATR sensitivities:

* Fast Supertrend → short-term momentum
* Mid Supertrend → directional confirmation
* Slow Supertrend → macro trend structure

A bullish state appears when the fast and mid Supertrends align upward.
A bearish state appears when both align downward.

Unlike many retail indicators, the script uses:

* confirmed candles only
* `barstate.isconfirmed`
* no future-looking calculations
* non-repainting logic

This creates stable and reliable market structure signals.

---

# Market Intelligence Engine

The script does not blindly trade every signal.

Instead, it evaluates the quality of the environment using a dynamic market engine:

## Trend Detection

Trend strength is calculated using:

* ATR volatility
* distance from EMA 21
* normalized momentum

The market is automatically classified into:

* **TREND**
* **MIX**
* **CHOP**

This allows traders to avoid low-quality ranging conditions.

---

# Volume Classification Engine

Volume is analyzed relative to a 20-period moving average.

The system categorizes activity into:

* LOW
* NORMAL
* HIGH
* SPIKE

This creates optional institutional participation filters, helping traders focus only on moments where real liquidity enters the market.

---

# Smart Session Engine

The indicator is fully session-aware.

It recognizes:

* New York Session
* London Session
* Asia Session
* US Pre-Market

Optional filters allow trading only during the highest-liquidity market windows.

This is especially powerful for:

* index futures
* NASDAQ
* forex
* scalping environments

---

# Multi-Layer EMA Structure

The script overlays multiple EMA systems simultaneously:

## Intraday EMAs

* EMA 9
* EMA 20
* EMA 62
* EMA 200

## Higher Timeframe Daily EMAs

* Daily EMA 3
* Daily EMA 9
* Daily EMA 20
* Daily EMA 50
* Daily EMA 100
* Daily EMA 200

This creates a complete multi-timeframe trend map directly on lower timeframes.

The higher timeframe EMAs act as:

* institutional support/resistance
* trend magnets
* reversal zones
* momentum confirmation layers

---

# Dynamic Daily Levels

The indicator automatically plots:

* Daily Open
* High of Day (HOD)
* Low of Day (LOD)

These levels dynamically update throughout the session and extend across the chart.

They serve as:

* liquidity references
* intraday breakout zones
* mean reversion levels
* trend continuation triggers

---

# Ranked Supply & Demand System

One of the most advanced parts of the script is the adaptive supply & demand engine.

The indicator:

* detects swing pivots
* builds dynamic zones
* ranks them using a proprietary scoring system
* continuously updates strength based on:

* mitigation
* volume
* trend alignment
* touch count
* age
* volatility

Zones are automatically classified as:

* strong support
* weak support
* strong resistance
* weak resistance
* mitigated zones
* broken zones

Each zone includes:

* visual strength bars
* bullish/bearish dominance percentages
* mitigation tracking
* automatic cleanup logic

The system behaves similarly to institutional order-flow mapping.

---

# Fair Value Gap Detection (FVG)

The script also detects non-repainting Fair Value Gaps.

Bullish and bearish imbalances are automatically drawn when inefficient price delivery occurs between candles.

These zones help traders identify:

* liquidity voids
* inefficiencies
* continuation structures
* smart-money displacement

---

# Intelligent Dashboard

A built-in real-time dashboard displays:

* current market condition
* volume state
* active session
* trend strength
* bullish/bearish status

This creates a compact decision-making center directly on the chart.

---

# Non-Repainting Philosophy

The entire system is designed around signal stability.

Key anti-repaint mechanisms include:

* confirmed candle validation
* no future bar references
* `lookahead_off`
* closed-bar signal confirmation
* structural pivot validation

This makes the indicator suitable for:

* live trading
* alerts
* automation
* strategy development
* discretionary execution

---

# Best Use Cases

The indicator performs exceptionally well in:

* NASDAQ scalping
* index futures
* forex intraday trading
* momentum trading
* session breakout strategies
* smart money concepts
* trend continuation systems

Especially effective on:

* 1-minute
* 3-minute
* 5-minute
* 15-minute charts

---

# Key Features Summary

* Triple non-repainting Supertrend engine
* Adaptive market state detection
* Volume intelligence filters
* Session-based filtering
* Multi-timeframe EMA structure
* Dynamic Daily Open / HOD / LOD
* Ranked Supply & Demand zones
* Zone strength scoring system
* Mitigation tracking
* Broken structure detection
* Fair Value Gap engine
* Real-time dashboard
* Institutional-style market mapping

---

# Final Philosophy

3ST NR is not just another indicator.

It is a complete market structure framework combining:

* trend analysis
* liquidity mapping
* volatility analysis
* volume confirmation
* institutional zones
* session timing
* smart-money concepts

The goal is simple:

Filter noise.
Visualize structure.
Trade with context.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.