OPEN-SOURCE SCRIPT
QFT MTF Range Detector

QFT MTF Range Detector — QuantumFlowTrader
Description:
The QFT MTF Range Detector is a multi-timeframe (MTF) tool designed to identify consolidation zones or ranging conditions across multiple intraday timeframes — from 1 minute up to 4 hours. This indicator is optimized for high-frequency trading environments such as scalping and day trading.
How it works:
For each selected timeframe, the indicator evaluates five key technical conditions:
- Low ADX (less than 17) – suggesting weak trend strength.
- Range width within a specific normalized threshold.
- Normalized ATR (volatility filter) in a defined range.
- RSI near the neutral zone (40–60) with low volatility.
- Price proximity to the mid-range (consolidation center).
Each condition contributes a score. If at least 3 out of 5 conditions are met, that timeframe is considered to be in a range (consolidation).
Visual output:
A compact table is displayed on the chart showing all selected timeframes:
Black box = Timeframe is in a range (consolidation).
Purple box = Not in a range (likely trending or volatile).
Timeframes are labeled (e.g., "4H", "15M") for clarity.
Customization:
Choose display corner (top/bottom, left/right).
Enable or disable table borders.
Set custom colors for range and non-range signals.
Use case:
Traders can quickly assess which timeframes are in a range, helping them:
Avoid choppy markets,
Time entries and exits better,
Confirm multi-timeframe alignment.
Note: This is not a buy/sell signal indicator. It is a market condition filter to enhance decision-making.
Description:
The QFT MTF Range Detector is a multi-timeframe (MTF) tool designed to identify consolidation zones or ranging conditions across multiple intraday timeframes — from 1 minute up to 4 hours. This indicator is optimized for high-frequency trading environments such as scalping and day trading.
How it works:
For each selected timeframe, the indicator evaluates five key technical conditions:
- Low ADX (less than 17) – suggesting weak trend strength.
- Range width within a specific normalized threshold.
- Normalized ATR (volatility filter) in a defined range.
- RSI near the neutral zone (40–60) with low volatility.
- Price proximity to the mid-range (consolidation center).
Each condition contributes a score. If at least 3 out of 5 conditions are met, that timeframe is considered to be in a range (consolidation).
Visual output:
A compact table is displayed on the chart showing all selected timeframes:
Black box = Timeframe is in a range (consolidation).
Purple box = Not in a range (likely trending or volatile).
Timeframes are labeled (e.g., "4H", "15M") for clarity.
Customization:
Choose display corner (top/bottom, left/right).
Enable or disable table borders.
Set custom colors for range and non-range signals.
Use case:
Traders can quickly assess which timeframes are in a range, helping them:
Avoid choppy markets,
Time entries and exits better,
Confirm multi-timeframe alignment.
Note: This is not a buy/sell signal indicator. It is a market condition filter to enhance decision-making.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.