PROTECTED SOURCE SCRIPT
ที่อัปเดต:

BB Breakout Trader by HEXEDIT

83
**Do not modify the indicator settings.

This indicator can be used on multiple timeframes, but it works best on the 1-hour timeframe.
เอกสารเผยแพร่
Update: Compound Interest Calculation for Profits

Profits are now calculated with compound interest (current balance × profit rate)
Losses remain fixed based on initial capital
เอกสารเผยแพร่
Update: Fixed Leverage Loss Calculation

Previous 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.
เอกสารเผยแพร่
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
เอกสารเผยแพร่
Update: Stop Loss Feature Added

Added 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
เอกสารเผยแพร่
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
เอกสารเผยแพร่
Update: Standard Deviation Multiplier Changed

Standard 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

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน