OPEN-SOURCE SCRIPT
Black Diamond - Premium S+R Levels

BTM – Premium Support & Resistance Retest Levels V6
Overview
BTM – Premium Support & Resistance Retest Levels V6 is a smart market structure indicator designed to automatically identify, track and score key support and resistance levels based on real swing highs and swing lows.
Unlike traditional support and resistance indicators that simply plot every pivot, this indicator intelligently groups market reactions and assigns a strength rating to each level based on how often price has respected that area.
The goal is to help traders quickly identify the strongest reaction zones on the chart while filtering out weaker and less relevant levels.
The indicator automatically:
✔ Detects Swing High Resistance Levels
✔ Detects Swing Low Support Levels
✔ Scores Level Strength
✔ Tracks Multiple Retests
✔ Identifies Broken Levels
✔ Optionally Keeps Historical Broken Levels Visible
✔ Provides Alert Conditions When Levels Are Touched
✔ Filters Levels By Strength Category
How The Indicator Works
The indicator scans the market for confirmed swing highs and swing lows using your chosen swing settings.
Resistance Levels
A resistance level is created when a confirmed swing high forms.
These levels appear in Red.
Support Levels
A support level is created when a confirmed swing low forms.
These levels appear in Blue.
Level Strength System
Each level receives a strength rating based on the number of market reactions that occur around that price area.
Weak
1 Market Reaction
Example:
R Weak (1)
S Weak (1)
These are fresh levels that have only been respected once.
Moderate
2 Market Reactions
Example:
R Moderate (2)
S Moderate (2)
These levels have been tested multiple times and generally carry more significance.
Strong
3-4 Market Reactions
Example:
R Strong (3)
S Strong (4)
Strong levels often attract institutional attention and can produce larger reactions.
Elite
5+ Market Reactions
Example:
R Elite (5)
S Elite (6)
Elite levels represent major areas where price has repeatedly respected the same zone.
These are often key decision points in the market.
Understanding The Labels
Example
R Moderate (2)
Means:
R = Resistance
Moderate = Strength Rating
(2) = Number of recorded reactions
Example
S Strong (3)
Means:
S = Support
Strong = Strength Rating
(3) = Number of recorded reactions
Using The Indicator
Trading Resistance
Look for:
Price approaching a resistance level.
Rejection candles.
Bearish market structure.
Additional confirmation from your strategy.
Potential opportunities may occur when price rejects resistance and begins moving lower.
Trading Support
Look for:
Price approaching support.
Bullish rejection candles.
Bullish market structure.
Additional confirmation from your strategy.
Potential opportunities may occur when price rejects support and begins moving higher.
Best Practice
Do NOT enter trades solely because price touches a support or resistance level.
Support and resistance should be used as an area of interest rather than an automatic entry signal.
Always combine with:
✔ Market Structure
✔ Liquidity Analysis
✔ Fair Value Gaps
✔ Trend Direction
✔ Higher Timeframe Bias
✔ Confirmation Candles
Recommended Timeframes
The indicator works on all timeframes but performs particularly well on:
Scalping
1 Minute
3 Minute
5 Minute
Intraday Trading
15 Minute
30 Minute
1 Hour
Swing Trading
4 Hour
Daily
Higher timeframes generally produce stronger and more reliable levels.
Alert System
The indicator includes built-in alert conditions.
Available Alerts:
Support Touch
Triggers when price touches an active support level.
Resistance Touch
Triggers when price touches an active resistance level.
Any Level Touch
Triggers when price touches any active support or resistance level.
These alerts can be used for monitoring key areas without needing to constantly watch charts.
Settings Guide
Swing Left Bars / Swing Right Bars
Controls how sensitive swing detection is.
Lower values:
More levels
Faster detection
More noise
Higher values:
Fewer levels
Stronger levels
Cleaner charts
Recommended:
Scalping: 3-5
Intraday: 5-8
Swing Trading: 8-15
Strength Count Zone ATR
Controls how close reactions must be before being grouped together.
Lower values:
More precise levels
Less grouping
Higher values:
More grouping
Stronger level scores
Recommended:
Forex: 0.05
Gold: 0.10
Indices: 0.15
Move Away ATR
Defines how far price must move away from a level before a new reaction can be counted.
Recommended:
0.50 ATR
Ideal Pairings
This indicator works exceptionally well alongside:
Black Diamond Liquidity Zones
Black Diamond Fair Value Gaps
Black Diamond Institutional Levels
Market Structure Analysis
Liquidity Sweeps
Volume Confirmation
Using multiple confluences dramatically improves trade quality.
Risk Disclaimer
This indicator is an educational and analytical tool only.
It does not provide financial advice and should not be considered a buy or sell signal.
Trading and investing involve significant risk and can result in the loss of capital.
Past performance does not guarantee future results.
Always perform your own analysis and use appropriate risk management before entering any trade.
Overview
BTM – Premium Support & Resistance Retest Levels V6 is a smart market structure indicator designed to automatically identify, track and score key support and resistance levels based on real swing highs and swing lows.
Unlike traditional support and resistance indicators that simply plot every pivot, this indicator intelligently groups market reactions and assigns a strength rating to each level based on how often price has respected that area.
The goal is to help traders quickly identify the strongest reaction zones on the chart while filtering out weaker and less relevant levels.
The indicator automatically:
✔ Detects Swing High Resistance Levels
✔ Detects Swing Low Support Levels
✔ Scores Level Strength
✔ Tracks Multiple Retests
✔ Identifies Broken Levels
✔ Optionally Keeps Historical Broken Levels Visible
✔ Provides Alert Conditions When Levels Are Touched
✔ Filters Levels By Strength Category
How The Indicator Works
The indicator scans the market for confirmed swing highs and swing lows using your chosen swing settings.
Resistance Levels
A resistance level is created when a confirmed swing high forms.
These levels appear in Red.
Support Levels
A support level is created when a confirmed swing low forms.
These levels appear in Blue.
Level Strength System
Each level receives a strength rating based on the number of market reactions that occur around that price area.
Weak
1 Market Reaction
Example:
R Weak (1)
S Weak (1)
These are fresh levels that have only been respected once.
Moderate
2 Market Reactions
Example:
R Moderate (2)
S Moderate (2)
These levels have been tested multiple times and generally carry more significance.
Strong
3-4 Market Reactions
Example:
R Strong (3)
S Strong (4)
Strong levels often attract institutional attention and can produce larger reactions.
Elite
5+ Market Reactions
Example:
R Elite (5)
S Elite (6)
Elite levels represent major areas where price has repeatedly respected the same zone.
These are often key decision points in the market.
Understanding The Labels
Example
R Moderate (2)
Means:
R = Resistance
Moderate = Strength Rating
(2) = Number of recorded reactions
Example
S Strong (3)
Means:
S = Support
Strong = Strength Rating
(3) = Number of recorded reactions
Using The Indicator
Trading Resistance
Look for:
Price approaching a resistance level.
Rejection candles.
Bearish market structure.
Additional confirmation from your strategy.
Potential opportunities may occur when price rejects resistance and begins moving lower.
Trading Support
Look for:
Price approaching support.
Bullish rejection candles.
Bullish market structure.
Additional confirmation from your strategy.
Potential opportunities may occur when price rejects support and begins moving higher.
Best Practice
Do NOT enter trades solely because price touches a support or resistance level.
Support and resistance should be used as an area of interest rather than an automatic entry signal.
Always combine with:
✔ Market Structure
✔ Liquidity Analysis
✔ Fair Value Gaps
✔ Trend Direction
✔ Higher Timeframe Bias
✔ Confirmation Candles
Recommended Timeframes
The indicator works on all timeframes but performs particularly well on:
Scalping
1 Minute
3 Minute
5 Minute
Intraday Trading
15 Minute
30 Minute
1 Hour
Swing Trading
4 Hour
Daily
Higher timeframes generally produce stronger and more reliable levels.
Alert System
The indicator includes built-in alert conditions.
Available Alerts:
Support Touch
Triggers when price touches an active support level.
Resistance Touch
Triggers when price touches an active resistance level.
Any Level Touch
Triggers when price touches any active support or resistance level.
These alerts can be used for monitoring key areas without needing to constantly watch charts.
Settings Guide
Swing Left Bars / Swing Right Bars
Controls how sensitive swing detection is.
Lower values:
More levels
Faster detection
More noise
Higher values:
Fewer levels
Stronger levels
Cleaner charts
Recommended:
Scalping: 3-5
Intraday: 5-8
Swing Trading: 8-15
Strength Count Zone ATR
Controls how close reactions must be before being grouped together.
Lower values:
More precise levels
Less grouping
Higher values:
More grouping
Stronger level scores
Recommended:
Forex: 0.05
Gold: 0.10
Indices: 0.15
Move Away ATR
Defines how far price must move away from a level before a new reaction can be counted.
Recommended:
0.50 ATR
Ideal Pairings
This indicator works exceptionally well alongside:
Black Diamond Liquidity Zones
Black Diamond Fair Value Gaps
Black Diamond Institutional Levels
Market Structure Analysis
Liquidity Sweeps
Volume Confirmation
Using multiple confluences dramatically improves trade quality.
Risk Disclaimer
This indicator is an educational and analytical tool only.
It does not provide financial advice and should not be considered a buy or sell signal.
Trading and investing involve significant risk and can result in the loss of capital.
Past performance does not guarantee future results.
Always perform your own analysis and use appropriate risk management before entering any trade.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。