OPEN-SOURCE SCRIPT
Hunting Bollinger Bands for scalping

📌 Bollinger Band Reversal BUY/SELL Indicator
Name: Hunting Bollinger Bands for scalping
Purpose: Displays reversal signals for short-term scalping in range-bound markets.
Target Users: Scalpers and day traders, especially for trading Gold (XAU/USD).
Recommended Target: Works well for scalping approximately $3 price movements on Gold.
Core Logic:
Detects excessive price deviation using Bollinger Bands (±2σ).
Filters out excessive signals with a bar interval limiter.
Displays clear and simple BUY/SELL labels for entry timing.
📌 Signal Conditions
BUY
Price closes below the Lower Bollinger Band.
At least the specified number of bars has passed since the previous signal.
Displays a “BUY” label below the bar.
SELL
Price closes above the Upper Bollinger Band.
At least the specified number of bars has passed since the previous signal.
Displays a “SELL” label above the bar.
📌 Parameters
Parameter Description Default
Bollinger Band Length (bbLength) Period for Bollinger Band calculation 20
Standard Deviation (bbStdDev) Standard deviation multiplier for band width 2.0
Signal Interval (barLimit) Minimum bar interval to avoid repeated signals 10
📌 How to Use
Add the indicator to your chart; Bollinger Bands and BUY/SELL labels will appear.
When a signal appears, confirm price reaction and enter a scalp trade (around $3 for Gold is recommended).
Adjust the “Signal Interval (barLimit)” to control signal frequency.
Avoid using it during high-impact news events or strong trending markets.
📌 Best Market Conditions
Range-bound markets
Scalping small price movements (~$3)
Low-volatility sessions (e.g. Asian session for Gold)
📌 Notes
May generate frequent signals during strong trends, leading to potential losses.
Can be combined with other indicators (e.g. 200 MA, RSI, VWAP) for higher accuracy.
Signals are for reference only and should not be used as the sole trading decision factor.
📌 ボリンジャーバンド逆張りBUY/SELL インジケーター解説
名前:Hunting Bollinger Bands for scalping
目的:レンジ相場での短期的な反発を狙った逆張りシグナルを表示
対象ユーザー:スキャルピングやデイトレードで、特にゴールド(XAU/USD)での小幅な値動きを狙うトレーダー
推奨利幅:ゴールドでおよそ 3ドル前後 を目安にスキャルピングを行うと有効
メインロジック:
ボリンジャーバンド(±2σ)で過剰な価格乖離を検出
バー間隔フィルターで過剰シグナルを制御
BUY/SELLラベルで視覚的にシンプルなエントリーポイントを表示
📌 シグナル条件
BUY(買いシグナル)
現在価格が ボリンジャーバンド下限(Lower Band)を下回った時
前回シグナルから指定したバー数以上経過
この条件を満たした場合、ローソク足下に「BUY」ラベルを表示します。
SELL(売りシグナル)
現在価格が ボリンジャーバンド上限(Upper Band)を上回った時
前回シグナルから指定したバー数以上経過
この条件を満たした場合、ローソク足上に「SELL」ラベルを表示します。
📌 パラメータ
項目 説明 初期値
ボリンジャーバンド期間 (bbLength) ボリンジャーバンド計算の期間 20
標準偏差 (bbStdDev) バンド幅を決める標準偏差 2.0
シグナル間隔 (barLimit) シグナルの連続表示を防止する最小バー間隔 10
📌 使い方
インジケーターをチャートに追加すると、ボリンジャーバンドとBUY/SELLラベルが表示されます
シグナルが出たら、反発確認後にスキャルピングエントリー(ゴールドなら約3ドルを目安に)
「シグナル間隔(barLimit)」を調整して、シグナルの過剰表示を防ぐ
経済指標発表や強いトレンド発生時は使用を控える
📌 このインジケーターが向いている相場
レンジ相場
小さな値幅(約3ドル前後)を狙うスキャルピング
トレンドが弱い横ばいの時間帯(例:アジア時間のゴールドなど)
📌 注意点
強いトレンド相場では、逆張りシグナルが連続的に発生し、損切りが増える可能性あり
200MAやRSI、VWAPなど他の指標と組み合わせることで精度を高められる
シグナルは参考用であり、単独での売買判断は推奨されない
Name: Hunting Bollinger Bands for scalping
Purpose: Displays reversal signals for short-term scalping in range-bound markets.
Target Users: Scalpers and day traders, especially for trading Gold (XAU/USD).
Recommended Target: Works well for scalping approximately $3 price movements on Gold.
Core Logic:
Detects excessive price deviation using Bollinger Bands (±2σ).
Filters out excessive signals with a bar interval limiter.
Displays clear and simple BUY/SELL labels for entry timing.
📌 Signal Conditions
BUY
Price closes below the Lower Bollinger Band.
At least the specified number of bars has passed since the previous signal.
Displays a “BUY” label below the bar.
SELL
Price closes above the Upper Bollinger Band.
At least the specified number of bars has passed since the previous signal.
Displays a “SELL” label above the bar.
📌 Parameters
Parameter Description Default
Bollinger Band Length (bbLength) Period for Bollinger Band calculation 20
Standard Deviation (bbStdDev) Standard deviation multiplier for band width 2.0
Signal Interval (barLimit) Minimum bar interval to avoid repeated signals 10
📌 How to Use
Add the indicator to your chart; Bollinger Bands and BUY/SELL labels will appear.
When a signal appears, confirm price reaction and enter a scalp trade (around $3 for Gold is recommended).
Adjust the “Signal Interval (barLimit)” to control signal frequency.
Avoid using it during high-impact news events or strong trending markets.
📌 Best Market Conditions
Range-bound markets
Scalping small price movements (~$3)
Low-volatility sessions (e.g. Asian session for Gold)
📌 Notes
May generate frequent signals during strong trends, leading to potential losses.
Can be combined with other indicators (e.g. 200 MA, RSI, VWAP) for higher accuracy.
Signals are for reference only and should not be used as the sole trading decision factor.
📌 ボリンジャーバンド逆張りBUY/SELL インジケーター解説
名前:Hunting Bollinger Bands for scalping
目的:レンジ相場での短期的な反発を狙った逆張りシグナルを表示
対象ユーザー:スキャルピングやデイトレードで、特にゴールド(XAU/USD)での小幅な値動きを狙うトレーダー
推奨利幅:ゴールドでおよそ 3ドル前後 を目安にスキャルピングを行うと有効
メインロジック:
ボリンジャーバンド(±2σ)で過剰な価格乖離を検出
バー間隔フィルターで過剰シグナルを制御
BUY/SELLラベルで視覚的にシンプルなエントリーポイントを表示
📌 シグナル条件
BUY(買いシグナル)
現在価格が ボリンジャーバンド下限(Lower Band)を下回った時
前回シグナルから指定したバー数以上経過
この条件を満たした場合、ローソク足下に「BUY」ラベルを表示します。
SELL(売りシグナル)
現在価格が ボリンジャーバンド上限(Upper Band)を上回った時
前回シグナルから指定したバー数以上経過
この条件を満たした場合、ローソク足上に「SELL」ラベルを表示します。
📌 パラメータ
項目 説明 初期値
ボリンジャーバンド期間 (bbLength) ボリンジャーバンド計算の期間 20
標準偏差 (bbStdDev) バンド幅を決める標準偏差 2.0
シグナル間隔 (barLimit) シグナルの連続表示を防止する最小バー間隔 10
📌 使い方
インジケーターをチャートに追加すると、ボリンジャーバンドとBUY/SELLラベルが表示されます
シグナルが出たら、反発確認後にスキャルピングエントリー(ゴールドなら約3ドルを目安に)
「シグナル間隔(barLimit)」を調整して、シグナルの過剰表示を防ぐ
経済指標発表や強いトレンド発生時は使用を控える
📌 このインジケーターが向いている相場
レンジ相場
小さな値幅(約3ドル前後)を狙うスキャルピング
トレンドが弱い横ばいの時間帯(例:アジア時間のゴールドなど)
📌 注意点
強いトレンド相場では、逆張りシグナルが連続的に発生し、損切りが増える可能性あり
200MAやRSI、VWAPなど他の指標と組み合わせることで精度を高められる
シグナルは参考用であり、単独での売買判断は推奨されない
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。