OPEN-SOURCE SCRIPT

Bollinger Bandit + TP Escalonado

109
Description:
The Bollinger Bandit is a clean, visual mean reversion strategy designed to help traders identify potential reversal opportunities using Bollinger Bands. This strategy offers two distinct exit methods, giving you the flexibility to choose between classic band-based exits or precise fixed take-profit/stop-loss levels.

How It Works (Simple Explanation):
Basic Concept:
Prices often tend to return to their average after moving too far away. Bollinger Bands help identify these extreme moments.

Entry Signals:

BUY (Green Triangle): When price crosses above the lower Bollinger Band

SELL (Red Triangle): When price crosses below the upper Bollinger Band

Exit Options (CHOOSE ONE ONLY):

Option 1: Band & Mean Exits (Traditional)

Exit when price touches the opposite band

Optional exit at the middle moving average

Option 2: Fixed SL/TP Exits (Precise Risk Management)

Stop Loss: Fixed points from entry

Take Profit 1: First profit target (closes 50% of position)

Take Profit 2: Second profit target (closes remaining 50%)

Key Features:
Clear Visual Signals - Easy-to-see triangles for entries

Color-Coded Levels - Instant visual understanding

Fully Customizable - Adjust everything to your preference

Two Exit Strategies - Choose what works for your style

Risk Management - Fixed SL/TP with proper risk-reward ratios

Input Settings:
Bollinger Bands Configuration:

Period (20): Length of the moving average

Multiplier (1.0): Band width adjustment

Exit Strategy Selection:

Use Custom SL/TP - Switch between exit methods

Close on Moving Average - Enable/disable mean exits

Risk Management (SL/TP Mode):

SL Points (5): Stop Loss distance in points

TP1 Points (3): First Take Profit target

TP2 Points (5): Second Take Profit target

Important Notes:
CHOOSE ONLY ONE EXIT METHOD:

You can use EITHER Band/Mean exits OR Fixed SL/TP exits

Never enable both simultaneously

Ideal Market Conditions:

Works best in ranging markets

May give false signals in strong trends

Test different timeframes (1H-4H recommended)

How to Use:
Add the strategy to your chart

Choose your preferred exit method

Adjust settings to match your risk tolerance

Observe the visual signals on your chart

Practice with historical data first

Risk Disclaimer:
Trading involves significant risk of loss. This is not financial advice. Past performance is not indicative of future results. Test thoroughly before live trading. Only risk capital you can afford to lose.

This strategy is for educational purposes only. Always understand how any strategy works before using real capital.

Recommended Settings for Beginners:
Timeframe: 5M

SL: 5 points, TP1: 3 points, TP2: 5 points

Start with small position sizes

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.