OPEN-SOURCE SCRIPT

Gold BBW Mean Reversion

253
Bollinger Band Width Mean Reversion Strategy.
Strategy Components:
1. Bollinger Bands Settings:
• Period (N): 20
• Standard Deviation (K): 2
• Middle Band: 20-period Simple Moving Average (SMA)

2. Bollinger Band Width (BBW):
Calculated as: BBW = (Upper Band - Lower Band) / Middle Band * 100

3. Volatility Threshold:
• Average BBW: a 100-period SMA of the BBW.
• Trigger Condition: Current BBW > 2 × 100 SM Average on BBW

4. Entry Signals:
• Long Entry:
o Price closes below the lower Bollinger Band.
o Subsequent candle closes back inside the bands.
• Short Entry:
o Price closes above the upper Bollinger Band.
o Subsequent candle closes back inside the bands.

5. Stop Loss & Take Profit:
• Stop Loss: 1.5 × Average True Range (ATR) from the entry price.
• Take Profit: Return to the middle Bollinger Band (20-period SMA).Mind Math Money
________________________________________
🕒 Recommended Timeframe
A 15-minute chart is optimal for this strategy on Gold.

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.