OPEN-SOURCE SCRIPT
Aggiornato Bollinger ALTswap Alert v1.0 (MA28 Rotation ALT↔BTC)

Inspired by: Bollinger Awesome Alert R1 by JustUncleL
What is it?
BBALTSWAP overlays Bollinger Bands (20, 2), a 3-EMA, and a Rotation MA (default 28), then gives state-change alerts to rotate between ALT ↔ BTC on any ALT/BTC chart.
Core rotation rule
• Rotate → ALT when close > Bollinger middle and close > MA28.
• Rotate → BTC when close < Bollinger middle and close < MA28.
• Otherwise: Wait (no rotation).
Labels only print when the state changes (to avoid spam). You can also compute the rotation on a higher timeframe (default 4h) while viewing a lower one (e.g., 1h).
Optional extras
• Breakout arrows (scalping-style) when 3-EMA crosses the Bollinger middle with an Awesome Oscillator direction filter.
• Bollinger Squeeze coloring (relative width) to highlight expansion/contraction.
• Min bars between labels to throttle how often rotation labels appear.
Inputs (highlights)
• Use EMA for Bollinger / Rotation MA
• Bollinger length & multiplier
• AO fast/slow lengths
• Higher-timeframe selector for rotation (default 240 = 4h)
• Show breakout arrows / show “Wait” / min bars between labels
How to use (simple playbook)
1. Chart: open your ALT/BTC pair (e.g., ETHBTC).
2. Direction: leave rotation HTF at 4h for steadier signals.
3. Execution: take rotations on bar close; manage entries on your lower TF (1h/15m) if desired.
4. Override check (optional): when BTCUSDT is in a fresh breakout, prefer BTC even if ALT flashes briefly.
Alerts
Add two alerts, Once per bar close:
• “Rotate to ALT (state change)”
• “Rotate to BTC (state change)”
Notes
• Works on any ALT/BTC pair.
• The breakout arrows are optional and independent from the rotation signals.
• This tool is educational; not financial advice.
What is it?
BBALTSWAP overlays Bollinger Bands (20, 2), a 3-EMA, and a Rotation MA (default 28), then gives state-change alerts to rotate between ALT ↔ BTC on any ALT/BTC chart.
Core rotation rule
• Rotate → ALT when close > Bollinger middle and close > MA28.
• Rotate → BTC when close < Bollinger middle and close < MA28.
• Otherwise: Wait (no rotation).
Labels only print when the state changes (to avoid spam). You can also compute the rotation on a higher timeframe (default 4h) while viewing a lower one (e.g., 1h).
Optional extras
• Breakout arrows (scalping-style) when 3-EMA crosses the Bollinger middle with an Awesome Oscillator direction filter.
• Bollinger Squeeze coloring (relative width) to highlight expansion/contraction.
• Min bars between labels to throttle how often rotation labels appear.
Inputs (highlights)
• Use EMA for Bollinger / Rotation MA
• Bollinger length & multiplier
• AO fast/slow lengths
• Higher-timeframe selector for rotation (default 240 = 4h)
• Show breakout arrows / show “Wait” / min bars between labels
How to use (simple playbook)
1. Chart: open your ALT/BTC pair (e.g., ETHBTC).
2. Direction: leave rotation HTF at 4h for steadier signals.
3. Execution: take rotations on bar close; manage entries on your lower TF (1h/15m) if desired.
4. Override check (optional): when BTCUSDT is in a fresh breakout, prefer BTC even if ALT flashes briefly.
Alerts
Add two alerts, Once per bar close:
• “Rotate to ALT (state change)”
• “Rotate to BTC (state change)”
Notes
• Works on any ALT/BTC pair.
• The breakout arrows are optional and independent from the rotation signals.
• This tool is educational; not financial advice.
Note di rilascio
Inspired by: Bollinger Awesome Alert R1 by JustUncleLv1.0.2
What is it?
BBALTSWAP overlays Bollinger Bands (20, 2), a 3-EMA, and a Rotation MA (default 28), then gives state-change alerts to rotate between ALT ↔ BTC on any ALT/BTC chart.
Core rotation rule
• Rotate → ALT when close > Bollinger middle and close > MA28.
• Rotate → BTC when close < Bollinger middle and close < MA28.
• Otherwise: Wait (no rotation).
Labels only print when the state changes (to avoid spam). You can also compute the rotation on a higher timeframe (default 4h) while viewing a lower one (e.g., 1h).
Optional extras
• Breakout arrows (scalping-style) when 3-EMA crosses the Bollinger middle with an Awesome Oscillator direction filter.
• Bollinger Squeeze coloring (relative width) to highlight expansion/contraction.
• Min bars between labels to throttle how often rotation labels appear.
Inputs (highlights)
• Use EMA for Bollinger / Rotation MA
• Bollinger length & multiplier
• AO fast/slow lengths
• Higher-timeframe selector for rotation (default 240 = 4h)
• Show breakout arrows / show “Wait” / min bars between labels
How to use (simple playbook)
1. Chart: open your ALT/BTC pair (e.g., ETHBTC).
2. Direction: leave rotation HTF at 4h for steadier signals.
3. Execution: take rotations on bar close; manage entries on your lower TF (1h/15m) if desired.
4. Override check (optional): when BTCUSDT is in a fresh breakout, prefer BTC even if ALT flashes briefly.
Alerts
Add two alerts, Once per bar close:
• “Rotate to ALT (state change)”
• “Rotate to BTC (state change)”
Notes
• Works on any ALT/BTC pair.
• The breakout arrows are optional and independent from the rotation signals.
• This tool is educational; not financial advice.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.