OPEN-SOURCE SCRIPT
Pivot Breakout Retest Signals [algo_aakash]

Overview
Pivot Breakout Retest Signals is a price action indicator that helps traders identify potential bullish and bearish retest opportunities around Classic Pivot Point levels.
The indicator calculates pivot levels from a selected higher timeframe (Daily, Weekly, or Monthly) and monitors price for breakout events followed by retests of those levels. When a valid retest is confirmed within the specified window, the script displays a Bullish or Bearish signal on the chart.
Features
• Classic Pivot Point calculation
• Daily, Weekly, or Monthly pivot timeframe selection
• Automatic breakout detection
• Retest confirmation logic
• Bullish and Bearish signal visualization
• Configurable retest window
• Alert support for signal events
How It Works
Bullish Conditions
1. Price breaks above a Pivot, R1, or R2 level.
2. The breakout is recorded.
3. Price retests the broken level within the user-defined retest window.
4. If price closes back above the level after the retest, a Bullish signal is generated.
Bearish Conditions
1. Price breaks below a Pivot, S1, or S2 level.
2. The breakdown is recorded.
3. Price retests the broken level within the user-defined retest window.
4. If price closes back below the level after the retest, a Bearish signal is generated.
Inputs
Pivot Timeframe
Select the timeframe used to calculate pivot levels:
• Daily
• Weekly
• Monthly
Retest Window
Determines how many candles are allowed between the breakout and the retest confirmation.
Alerts
The script includes built-in alert conditions:
• Bullish Alert
• Bearish Alert
Alerts can be used with TradingView's notification system or connected to external workflows.
Notes
• Pivot levels are calculated using completed higher-timeframe data.
• Signals are generated only after both breakout and retest conditions are satisfied.
• The indicator is intended as an analytical tool and may be combined with other forms of technical analysis.
Limitations
• Signals can occur during ranging or volatile market conditions.
• Not every breakout or retest will lead to sustained price movement.
• Additional confirmation methods may be useful depending on the market and trading style.
Pivot Breakout Retest Signals is a price action indicator that helps traders identify potential bullish and bearish retest opportunities around Classic Pivot Point levels.
The indicator calculates pivot levels from a selected higher timeframe (Daily, Weekly, or Monthly) and monitors price for breakout events followed by retests of those levels. When a valid retest is confirmed within the specified window, the script displays a Bullish or Bearish signal on the chart.
Features
• Classic Pivot Point calculation
• Daily, Weekly, or Monthly pivot timeframe selection
• Automatic breakout detection
• Retest confirmation logic
• Bullish and Bearish signal visualization
• Configurable retest window
• Alert support for signal events
How It Works
Bullish Conditions
1. Price breaks above a Pivot, R1, or R2 level.
2. The breakout is recorded.
3. Price retests the broken level within the user-defined retest window.
4. If price closes back above the level after the retest, a Bullish signal is generated.
Bearish Conditions
1. Price breaks below a Pivot, S1, or S2 level.
2. The breakdown is recorded.
3. Price retests the broken level within the user-defined retest window.
4. If price closes back below the level after the retest, a Bearish signal is generated.
Inputs
Pivot Timeframe
Select the timeframe used to calculate pivot levels:
• Daily
• Weekly
• Monthly
Retest Window
Determines how many candles are allowed between the breakout and the retest confirmation.
Alerts
The script includes built-in alert conditions:
• Bullish Alert
• Bearish Alert
Alerts can be used with TradingView's notification system or connected to external workflows.
Notes
• Pivot levels are calculated using completed higher-timeframe data.
• Signals are generated only after both breakout and retest conditions are satisfied.
• The indicator is intended as an analytical tool and may be combined with other forms of technical analysis.
Limitations
• Signals can occur during ranging or volatile market conditions.
• Not every breakout or retest will lead to sustained price movement.
• Additional confirmation methods may be useful depending on the market and trading style.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Build your trading tools with AI : algotim.com
All content provided by AlgoTim (algo_aakash) is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results.
All content provided by AlgoTim (algo_aakash) is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results.
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Build your trading tools with AI : algotim.com
All content provided by AlgoTim (algo_aakash) is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results.
All content provided by AlgoTim (algo_aakash) is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results.
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。