OPEN-SOURCE SCRIPT
Zaktualizowano

ATR Structure Trail Pro & Range Filter (v6)

1 023
📌 ATR Structure Trail Pro & Range Filter (v6)
Multi-purpose trend-following and consolidation detection tool
🔍 Overview

This indicator combines structure pivots, an ATR-based trailing stop, range detection, and clean visual signals to identify trend shifts and potential trade zones.
It is designed for traders who want simple, clean structure reading without unnecessary chart noise.

This indicator does not guarantee profit and is intended for educational and analytical purposes only, serving as a visual aid for reading price action.

⚙️ Main Components
1️⃣ Structure Pivot Flip (Trend Change Detection)

The indicator uses Pivot High / Pivot Low structure to detect when price creates:

Higher High → BUY bias

Lower Low → SELL bias

When a structural flip occurs:

a green arrow appears (potential bullish setup)

or a red arrow appears (potential bearish setup)

These arrows are not trade signals, but visual markers highlighting a shift in market context.

2️⃣ ATR Trail Stop (Adaptive Trend Line)

The ATR trail line automatically adapts to market volatility:

green during bullish phases

red during bearish phases

The ATR multiplier determines how far the dynamic trail is placed relative to price.
The trail line is not a guaranteed exit level — it acts as a dynamic structural reference.

3️⃣ Range/Box Zones (Consolidation Filter)

When the indicator detects that price is entering a tight consolidation range based on ATR and recent volatility, it draws a box zone:

blue in bullish context

purple in bearish context

Range zones indicate low-risk/no-trade areas where entries are typically avoided according to price action logic.

🎯 Trading Logic (Non-Signaling)

This indicator is not a trading system.

It visually highlights:

✔ structure
✔ trend
✔ volatility
✔ consolidation
✔ potential reversals

Users make trading decisions independently of these visual elements.

🧩 Inputs & Customization

You can fully customize:

ATR length & multiplier

Pivot sensitivity

Box fill and border colors

ATR trail color, width, and style (solid/dashed/dotted)

Visibility of all components individually

The indicator works across all timeframes and instruments.

💡 How to Use

Use arrows as informational markers of structure change

Use the ATR trail as a dynamic guide for current trend

Use range boxes to avoid entries during consolidation

Combine it with your own price action analysis, EMA/Kijun lines, session opens, or volume levels

⚠️ Important Notes

This indicator provides no performance guarantees

Not financial advice or a trading signal

Users are responsible for their own testing and application

Intended strictly for educational and analytical use in compliance with TradingView’s rules

📬 Author Notes

If you find this indicator useful, feel free to leave a comment or suggestion for future improvements.
All inputs are open for expansion and further development.
Informacje o Wersji
Data change on default settings

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.