INVITE-ONLY SCRIPT
已更新 FeraTrading Compression Indicator v1.2

The FeraTrading Compression Indicator v1.2 is designed to detect directional breakout opportunities that emerge from periods of market compression. It identifies when price contracts into a low-volatility state, then confirms and signals when that compression is released with strong directional momentum. This makes it a powerful tool for breakout traders seeking early entries during price expansion phases.
🔍 How It Works
The indicator operates using a combination of volatility compression, range expansion, and trend alignment filters:
Volatility Compression Detection
The script calculates short-term and long-term average candle ranges. A compression state is confirmed when the short-term average range is significantly smaller than the longer-term average, indicating a temporary pause or coiling in price action.
Range Expansion (Burst Condition)
Once compression is detected, the script waits for a breakout candle whose total range exceeds the long-term range average. This expansion—or "burst"—is the signal that the market is transitioning from compression into activity.
Directional Confirmation
For a signal to trigger, the candle must:
Have a strong body-to-wick ratio, confirming that most of the candle’s movement was in one direction.
Close above or below the fast EMA, aligned with a fast-vs-slow EMA trend filter to determine bullish or bearish bias.
Appear within the optional session filter window (08:30–11:30 EST) if enabled, focusing the signal to the most liquid time of day.
Signal Flip Functionality
The built-in "Signal Flip" toggle allows users to reverse the logic—converting buy conditions into sells and vice versa. This is useful when adapting to instruments or markets where the indicator's core logic behaves inversely due to structure or volatility style.
🧠 What Makes It Original
This indicator combines volatility analysis and trend confirmation in a compact signal logic that:
Reacts dynamically to the changing volatility of each instrument
Filters out weak or indecisive candles using body ratio logic
Avoids fixed thresholds or laggy oscillators
Offers modular control through session filtering and signal flipping to adapt across assets
The simplicity of the interface masks the depth of its logic, enabling it to remain effective across a range of instruments without the need for complex settings.
✅ How to Use It
Users typically apply the indicator by:
Enabling it on any timeframe
Watching for green arrows below candles (bullish breakout) and red arrows above candles (bearish breakout)
Entering trades at the open of the signal candle when a breakout arrow appears, managing their risk using personalized stop loss and take profit levels.
This tool is most effective when used in trending markets, after consolidation, or alongside structural or volume-based confirmation tools.
🔍 How It Works
The indicator operates using a combination of volatility compression, range expansion, and trend alignment filters:
Volatility Compression Detection
The script calculates short-term and long-term average candle ranges. A compression state is confirmed when the short-term average range is significantly smaller than the longer-term average, indicating a temporary pause or coiling in price action.
Range Expansion (Burst Condition)
Once compression is detected, the script waits for a breakout candle whose total range exceeds the long-term range average. This expansion—or "burst"—is the signal that the market is transitioning from compression into activity.
Directional Confirmation
For a signal to trigger, the candle must:
Have a strong body-to-wick ratio, confirming that most of the candle’s movement was in one direction.
Close above or below the fast EMA, aligned with a fast-vs-slow EMA trend filter to determine bullish or bearish bias.
Appear within the optional session filter window (08:30–11:30 EST) if enabled, focusing the signal to the most liquid time of day.
Signal Flip Functionality
The built-in "Signal Flip" toggle allows users to reverse the logic—converting buy conditions into sells and vice versa. This is useful when adapting to instruments or markets where the indicator's core logic behaves inversely due to structure or volatility style.
🧠 What Makes It Original
This indicator combines volatility analysis and trend confirmation in a compact signal logic that:
Reacts dynamically to the changing volatility of each instrument
Filters out weak or indecisive candles using body ratio logic
Avoids fixed thresholds or laggy oscillators
Offers modular control through session filtering and signal flipping to adapt across assets
The simplicity of the interface masks the depth of its logic, enabling it to remain effective across a range of instruments without the need for complex settings.
✅ How to Use It
Users typically apply the indicator by:
Enabling it on any timeframe
Watching for green arrows below candles (bullish breakout) and red arrows above candles (bearish breakout)
Entering trades at the open of the signal candle when a breakout arrow appears, managing their risk using personalized stop loss and take profit levels.
This tool is most effective when used in trending markets, after consolidation, or alongside structural or volume-based confirmation tools.
發行說明
Update: Added Built-in Backtester for Custom TP/SL TestingNew Indicator Settings:
- Backtester Toggle – Show or hide the backtest overlays, including lines and the performance table
- Take Profit (points) – Define the point distance for your take profit
- Stop Loss (points) – Define the point distance for your stop loss
- Backtest Table Height – Adjusts vertical placement of the stats box on the chart
- Close Trades at End of Day – If enabled, trades are force-closed at the close of the final bar of the day
Backtest Logic & Assumptions:
If both stop loss and take profit are hit on the same bar, the stop loss is assumed to trigger first (conservative assumption)
Trades are entered at the open of the bar where the signal appears (since signals are based on the previous candle's data)
Stop Loss (SL) Triggers:
- Long trades: low <= SL
- Short trades: high >= SL
Take Profit (TP) Triggers:
- Long trades: high >= TP
- Short trades: low <= TP
Trade fees are not included as they affect dollar performance, not the number of points gained or lost.
Slippage is not included in these results, as the custom backtester operates on bar-level data and does not simulate intra-bar price movement.
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫FeraTrading。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Get Instant Access At:
https://feratrading.com/indicators
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
Use our premium indicators at FeraTrading.com/indicators
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫FeraTrading。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Get Instant Access At:
https://feratrading.com/indicators
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
Use our premium indicators at FeraTrading.com/indicators
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。