Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

Bollinger Bands Crossover Signals - indicatore per MetaTrader 5

Visualizzazioni:
760
Valutazioni:
(1)
Pubblicato:
Aggiornato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Overview

This custom indicator combines Bollinger Bands with clear Buy/Sell arrows on the chart.
It automatically detects when the price crosses above the lower band or below the upper band and plots arrows accordingly.
The goal is to help traders quickly identify potential reversal points at the edges of market volatility.


 How It Works

  • The indicator calculates Bollinger Bands using the built-in iBands function.

  • Buy Signal (Blue Arrow) → when the price closes below the lower band on the previous candle, then closes above it on the next candle.

  • Sell Signal (Red Arrow) → when the price closes above the upper band on the previous candle, then closes below it on the next candle.

  • Signals appear only once per direction until an opposite signal is triggered, avoiding repeated arrows in the same move.

  • The Bollinger Bands can be displayed or hidden according to user preference.


 Indicator Features

  • Clear Buy/Sell Arrows directly on the chart.

  • Optional display of Upper, Middle, and Lower Bollinger Bands.

  • Works on all symbols and timeframes.

  • Uses non-repainting logic (signals are confirmed after candle close).

  • Easy to customize parameters.


 Input Parameters

Parameter Description
BB_Period            Number of bars used for Bollinger Bands calculation (default: 20).
BB_Deviation Standard deviation multiplier for the bands (default: 2.0).
BB_Price Applied price for Bollinger Bands (Close, Open, High, Low, etc.).
Show_BBands If true , displays Bollinger Bands on the chart; if false , hides them.

 Usage Example

  1. Attach the indicator to your chart.

  2. Set BB_Period and BB_Deviation according to your trading style.

  3. Watch for blue arrows near the lower band (potential buys) and red arrows near the upper band (potential sells).

  4. Combine with other confirmations such as trend filters or candlestick patterns for higher accuracy.


 Trading Tips

  • Works well in sideways or ranging markets where price often touches Bollinger Bands.

  • In strong trending markets, consider using it with a trend filter (e.g., moving averages) to avoid counter-trend signals.

  • Always test settings on your preferred symbol and timeframe.


 Screenshot

Photo


📜 Disclaimer

This indicator is a technical analysis tool and does not guarantee profits.
Use it together with proper risk management and other trading strategies.



Ascending Sort A Struct Array By A Field Example Ascending Sort A Struct Array By A Field Example

This is an example of ascending sort a struct list by a field. You can find out and customize the above algorithm depending on the purpose of use, this is the most basic example is also a direction to resolve the arrangement in an array of structure. The algorithm used in this example is Quick Sort and Merge Sort.

Custom Fractals Custom Fractals

The Standard fractals are 2 candles to the right and 2 candles to the left. With this Custom Fractals you can choose as many candles as you like, both to the left and to the right.

EAToMath EAToMath

Testing on history in the MT5 tester maths mode.

AIS Correlation AIS Correlation

The indicator implements some of the most interesting approaches to measuring correlations