PROTECTED SOURCE SCRIPT
Aggiornato BB Breakout Trader by HEXEDIT

**Do not modify the indicator settings.
This indicator can be used on multiple timeframes, but it works best on the 1-hour timeframe.
This indicator can be used on multiple timeframes, but it works best on the 1-hour timeframe.
Note di rilascio
Update: Compound Interest Calculation for ProfitsProfits are now calculated with compound interest (current balance × profit rate)
Losses remain fixed based on initial capital
Note di rilascio
Update: Fixed Leverage Loss CalculationPrevious version incorrectly calculated losses as fixed amounts
Now both profits and losses are calculated with compound interest
Example with 2x leverage:
Profit +2%: $100 × 1.02 = $102
Loss -2%: $102 × 0.98 = $99.96
The safest option is to use 1x leverage. Keep in mind that while using leverage increases potential returns, it also significantly increases risk.
Note di rilascio
Current Exit Logic:Long Exit: Triggered when candle closes above the middle band (crossover)
Short Exit: Triggered when candle closes below the middle band (crossunder)
Exits occur only after the candle closes and crosses the middle band, not on touch
Note di rilascio
Update: Stop Loss Feature AddedAdded adjustable stop loss percentage (0.1% ~ 10%, default 1%)
Automatic position closure when stop loss is triggered
Long position: Auto-closes when price drops below entry price by stop loss %
Short position: Auto-closes when price rises above entry price by stop loss %
Stop loss is calculated with leverage and reflected in win rate, cumulative P&L, and final balance
Stop loss helps preserve capital and significantly improves long-term profitability by preventing large losses
Red X mark displayed when stop loss is triggered
Stop loss alert notification added
Note di rilascio
Major Updates:✅ Exit condition changed to immediate closure upon touching the middle band
Previous: Exit when candle closes across the middle band (crossover)
Current: Exit immediately when price touches the middle band (using high/low)
✅ Exit price calculation updated to use exact middle band price
Exit P&L is calculated based on (middle band price - entry price)
More accurate profit/loss calculation
✅ Both profits and losses are calculated with compound interest
Profits: Current balance × (1 + profit%)
Losses: Current balance × (1 + loss%)
✅ Stop loss feature remains active
Automatic position closure when stop loss percentage is triggered
Stop loss is recorded as a loss in win rate and statistics
Note di rilascio
Update: Standard Deviation Multiplier ChangedStandard Deviation: 4.0 → 3.5
Effects of this change:
Bollinger Bands become narrower
Entry signals occur more frequently
Profit per trade may be smaller, but trade frequency increases
Win rate may remain similar or slightly increase
Note di rilascio
Summary of Changes:Early Exit Feature Added:
Exit positions 0.02% before reaching the middle Bollinger Band
Prevents situations where price doesn't quite touch the middle band
Improves exit reliability and reduces missed exits
Technical Details:
Long positions: Exit at middle band × (1 - 0.02%) = 0.02% below middle band
Short positions: Exit at middle band × (1 + 0.02%) = 0.02% above middle band
P&L calculation based on early exit price for accuracy
Exit signals displayed at early exit price locations
Settings:
Early Exit %: Adjustable from 0.0% to 0.5% (default: 0.02%)
Can be fine-tuned based on market conditions and coin volatility
Benefits:
Higher exit success rate
Slightly lower profit per trade, but more consistent exits
Reduces risk of price reversing before reaching middle band
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.