PROTECTED SOURCE SCRIPT
[NORTH2025] N.E.S.T. — Nebula Encapsulated Star Trap

Overview
N.E.S.T. CORE (Nebula Encapsulated Star Trap Core Engine) is a multi-system Inside Bar detection and trading framework that combines 5 unique Inside-Bar-based strategies into a single, unified engine.
Each system captures different forms of market compression and consolidation — similar to stars being trapped inside multiple layers of a nebula — and converts that structure into breakout-ready trade setups.
N.E.S.T. CORE is designed for swing/positional traders who use 4H timeframe, multi-layer Inside Bar structures, and breakout continuation patterns.
---
Key Features
✔ 5 Inside Bar Systems in One Script
Each system has its own logic, direction rules, signal placement, risk evaluation, and independent Win/Draw/Loss tracking.
1. S1 – NEST-2NFV
* Double Inside Bar (Nested chain: child inside parent, grandchild inside child)
* Direction determined by 3-bar Vote
* EP/SL based on the Mother Bar
2. S2 – NEST-2CFM
* Double Inside Bar (Cluster type: both inside bars must be inside Mother Bar, not each other)
* Direction from Mother Bar
3. S3 – NEST-3CFM
* Triple Inside Bar (Cluster of 3 inside bars inside the same Mother Bar)
* Direction from Mother Bar
4. S4 – NEST-3BOM
* Triple Inside Bar
* Buy-Only version (Prime Variant)
* Direction from Mother Bar
5. S5 – NEST-5CFL
* Five Inside Bar Cluster
* Direction determined by the last Inside Bar(final compression bar)
---
✔ Auto-Backtesting for Each System
Every system runs its own internal backtest engine:
* Win / Draw / Loss
* Break-even logic after hitting +1R
* Max Consecutive Loss tracking
* Visual summary table on the chart
All systems update independently and do not interfere with one another.
---
✔ Smart Visual Layering (No Overlap)
Each system draws its signal label at a different orbital altitude based on Mother Bar range.
This prevents label overlap and creates a clean, layered cosmic layout:
* S1 at orbit 1
* S2 at orbit 2
* S3 at orbit 3
* S4 at orbit 4
* S5 at orbit 5
All labels use cosmic-themed colors matching their system identity.
---
✔ SL/TP Engine with RRR 1:1.5
* EP placed at Mother Bar breakout
* SL placed at the opposite side of Mother Bar
* TP = EP ± 1.5×R
* Signals are filtered by Maximum SL distance (in pips) to avoid oversized trades
---
✔ Universal Broker Compatibility
Although the system tags indicate origin (F = Forex.com, O = OANDA),
the script is fully compatible with any broker on TradingView.
---
✔ 4H-Only + 5-Year Lookback Optimization
This engine is optimized for:
* 4H timeframe (auto-restrict)
* Recent 5-year data to maintain speed and performance
* Average 7,000–8,000 bars
Ensuring stable performance and avoiding unnecessary resource load.
---
Recommended Use
This indicator is best suited for:
* Swing traders
* Price action / Inside Bar traders
* Breakout and continuation strategy users
* Traders who want multi-system confirmation
* Traders studying Inside-Bar compression patterns for algorithmic behavior
Works well with:
* Support/Resistance
* Trend structure
* ATR volatility
* Market session timing (NY/London)
---
Disclaimer
N.E.S.T. CORE is not a financial advice tool.
Use proper position sizing and risk management.
Past performance does not guarantee future results.
---
Final Words
N.E.S.T. CORE is designed as a cosmic-themed, multi-layer Inside Bar engine, giving traders one of the most complete Inside Bar toolkits available on TradingView — from nested patterns to cluster patterns, multi-direction logic, buy-only variants, and 5-bar compression signals.
Enjoy exploring the market with the power of the nebula.
Clear skies ✨🚀
---
NORTH 2025
N.E.S.T. CORE (Nebula Encapsulated Star Trap Core Engine) is a multi-system Inside Bar detection and trading framework that combines 5 unique Inside-Bar-based strategies into a single, unified engine.
Each system captures different forms of market compression and consolidation — similar to stars being trapped inside multiple layers of a nebula — and converts that structure into breakout-ready trade setups.
N.E.S.T. CORE is designed for swing/positional traders who use 4H timeframe, multi-layer Inside Bar structures, and breakout continuation patterns.
---
Key Features
✔ 5 Inside Bar Systems in One Script
Each system has its own logic, direction rules, signal placement, risk evaluation, and independent Win/Draw/Loss tracking.
1. S1 – NEST-2NFV
* Double Inside Bar (Nested chain: child inside parent, grandchild inside child)
* Direction determined by 3-bar Vote
* EP/SL based on the Mother Bar
2. S2 – NEST-2CFM
* Double Inside Bar (Cluster type: both inside bars must be inside Mother Bar, not each other)
* Direction from Mother Bar
3. S3 – NEST-3CFM
* Triple Inside Bar (Cluster of 3 inside bars inside the same Mother Bar)
* Direction from Mother Bar
4. S4 – NEST-3BOM
* Triple Inside Bar
* Buy-Only version (Prime Variant)
* Direction from Mother Bar
5. S5 – NEST-5CFL
* Five Inside Bar Cluster
* Direction determined by the last Inside Bar(final compression bar)
---
✔ Auto-Backtesting for Each System
Every system runs its own internal backtest engine:
* Win / Draw / Loss
* Break-even logic after hitting +1R
* Max Consecutive Loss tracking
* Visual summary table on the chart
All systems update independently and do not interfere with one another.
---
✔ Smart Visual Layering (No Overlap)
Each system draws its signal label at a different orbital altitude based on Mother Bar range.
This prevents label overlap and creates a clean, layered cosmic layout:
* S1 at orbit 1
* S2 at orbit 2
* S3 at orbit 3
* S4 at orbit 4
* S5 at orbit 5
All labels use cosmic-themed colors matching their system identity.
---
✔ SL/TP Engine with RRR 1:1.5
* EP placed at Mother Bar breakout
* SL placed at the opposite side of Mother Bar
* TP = EP ± 1.5×R
* Signals are filtered by Maximum SL distance (in pips) to avoid oversized trades
---
✔ Universal Broker Compatibility
Although the system tags indicate origin (F = Forex.com, O = OANDA),
the script is fully compatible with any broker on TradingView.
---
✔ 4H-Only + 5-Year Lookback Optimization
This engine is optimized for:
* 4H timeframe (auto-restrict)
* Recent 5-year data to maintain speed and performance
* Average 7,000–8,000 bars
Ensuring stable performance and avoiding unnecessary resource load.
---
Recommended Use
This indicator is best suited for:
* Swing traders
* Price action / Inside Bar traders
* Breakout and continuation strategy users
* Traders who want multi-system confirmation
* Traders studying Inside-Bar compression patterns for algorithmic behavior
Works well with:
* Support/Resistance
* Trend structure
* ATR volatility
* Market session timing (NY/London)
---
Disclaimer
N.E.S.T. CORE is not a financial advice tool.
Use proper position sizing and risk management.
Past performance does not guarantee future results.
---
Final Words
N.E.S.T. CORE is designed as a cosmic-themed, multi-layer Inside Bar engine, giving traders one of the most complete Inside Bar toolkits available on TradingView — from nested patterns to cluster patterns, multi-direction logic, buy-only variants, and 5-bar compression signals.
Enjoy exploring the market with the power of the nebula.
Clear skies ✨🚀
---
NORTH 2025
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.