OPEN-SOURCE SCRIPT
Echelon Trend Filter [JOAT]

Echelon Trend Filter [JOAT]
Introduction
Echelon Trend Filter is a recursive digital trend filter that creates a clean trend spine, optional step-state transitions, EMA context, and pivot zones.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.

Core Concepts
1. Recursive Filter
The source is smoothed recursively to reduce minor bar noise.
2. Step-State Transitions
Optional step mode holds the trend state until a meaningful transition occurs.
3. EMA Context
A long EMA gives broader context for the filtered state.
4. Pivot Context Zones
Recent pivots create reference zones around prior turning areas.
Pine Script®
Features
Input Parameters
How to Use This Script
Use the spine as trend context. Long and short transition labels mark confirmed state changes, while the EMA cloud helps judge broader alignment.
Limitations
Originality Statement
Echelon is original in combining recursive smoothing, held state transitions, EMA context, and pivot zones into a minimal trend overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Introduction
Echelon Trend Filter is a recursive digital trend filter that creates a clean trend spine, optional step-state transitions, EMA context, and pivot zones.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Recursive Filter
The source is smoothed recursively to reduce minor bar noise.
2. Step-State Transitions
Optional step mode holds the trend state until a meaningful transition occurs.
3. EMA Context
A long EMA gives broader context for the filtered state.
4. Pivot Context Zones
Recent pivots create reference zones around prior turning areas.
state = step > step[1] ? 1 : step < step[1] ? -1 : state[1]
Features
- Digital trend spine
- Optional step-state behavior
- EMA cloud context
- Pivot context zones
- Confirmed transition alerts
Input Parameters
- Filter length and source
- Step mode toggle
- Institutional EMA length
- Pivot length and zone width
- Cloud, candle, and panel toggles
How to Use This Script
Use the spine as trend context. Long and short transition labels mark confirmed state changes, while the EMA cloud helps judge broader alignment.
Limitations
- The script uses historical OHLCV data and cannot know future prices.
- Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
- Model outputs should be interpreted with market context, risk controls, and independent analysis.
- No visual state should be treated as a certain trade outcome.
Originality Statement
Echelon is original in combining recursive smoothing, held state transitions, EMA context, and pivot zones into a minimal trend overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。