PROTECTED SOURCE SCRIPT
Updated FBB Buy/Sell Pro

Disclaimer: This script is for educational purposes only and does not constitute financial advice. Use at your own risk.
FBB Buy/Sell Pro is a volatility based reversal tool that builds a dynamic channel around a volume weighted moving average and highlights potential turning points at the extremes. The indicator paints a smooth "funnel" of bands around price and generates Buy/Sell labels when candles reject the outer zones, helping you spot exhaustion and mean reversion opportunities in trending or ranging markets.
Signals are based on price interaction with the outer bands combined with candle direction, optionally filtered by RSI to reduce noise. When enabled, the built in TP/SL module projects an ATR based stop and target using a configurable risk to reward ratio and clearly draws entry, risk and reward zones directly on the chart.
For tracking performance, FBB Pro includes an on chart statistics table that simulates trades using your own base capital, leverage and fee settings. It displays net profit, number of trades and win rate so you can quickly evaluate how the logic behaves on different symbols and timeframes.
Key features
Works on most markets and timeframes. It is recommended to combine FBB Buy/Sell Pro with your own higher timeframe context and risk management.
FBB Buy/Sell Pro is a volatility based reversal tool that builds a dynamic channel around a volume weighted moving average and highlights potential turning points at the extremes. The indicator paints a smooth "funnel" of bands around price and generates Buy/Sell labels when candles reject the outer zones, helping you spot exhaustion and mean reversion opportunities in trending or ranging markets.
Signals are based on price interaction with the outer bands combined with candle direction, optionally filtered by RSI to reduce noise. When enabled, the built in TP/SL module projects an ATR based stop and target using a configurable risk to reward ratio and clearly draws entry, risk and reward zones directly on the chart.
For tracking performance, FBB Pro includes an on chart statistics table that simulates trades using your own base capital, leverage and fee settings. It displays net profit, number of trades and win rate so you can quickly evaluate how the logic behaves on different symbols and timeframes.
Key features
- Dynamic FBB volatility channel around VWMA with smooth gradient visualization
- Clear reversal Buy/Sell labels at outer band reactions with optional RSI filter
- Automatic TP/SL projection based on ATR and custom risk to reward
- Realistic stats module with leverage and fee simulation shown in a compact table
Works on most markets and timeframes. It is recommended to combine FBB Buy/Sell Pro with your own higher timeframe context and risk management.
Release Notes
Update: Alerts IntegrationWhat's New
• Automated JSON Alerts: The script now sends structured JSON payloads whenever a Buy or Sell signal appears. This works smoothly with automation platforms like 3Commas or custom webhook handlers.
• Smart Data: Each alert includes dynamically calculated Take Profit (TP) and Stop Loss (SL) levels based on your ATR and Risk:Reward settings.
JSON Response Example
When a signal is triggered, the alert message follows this format:
{
"action": "buy",
"symbol": "BTCUSD",
"price": 65000.50,
"tp": 66500.00,
"sl": 64250.00
}
How to Use
Add the indicator to your chart.
Click the Create Alert button in TradingView.
Set the condition to FBB Buy/Sell Pro.
Select Any alert() function call to receive the JSON payloads.
Release Notes
Fix alert logicProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.