Bands Bollinger code for beginners by William210 – indicator MetaTrader 5

Good morning.

All codes, all functions have examplesย in the official documentationย if you want.

I wanted to rewrite simpler code, easier to reuse

Whether starting out in coding,

or need a basic code to evolve quickly,

it should help you, as it helps me with my own codes


Leave a comment to tell me which one you prefer

The code from the doc or mine, and donโ€™t forget to put a star for SEO!!!


I did other codes, still on the Mql5 iFunctions

ADX code for beginners by William210

Alligator code for beginners by William210

AMA – Adaptive Moving Average – code for beginners by William210

ATR – Average True Range – code for beginners by William210

Bands Bollinger code for beginners by William210

Ichimoku code for beginners by William210

MACDr code for beginners by William210

Momentum code for beginners by William210

Moving average code for beginners by William210

Rsi code for beginners by William210

Stochastic code for beginners by William210


And two other codes, a little more advanced, to show the calculations of these indicators without using the Mql5 iFunction

AO – Awesome Oscillator – without iAO() code for beginners by William210

Rsi without Irsi() code for beginners by William210


If you have code ideas to help or serve as a basis, request itย on this thread

Alternative:  Adaptive Moving Average with Bollinger Bands ยฎ - indicator MetaTrader 5

Bands Bollinger Mql5 by William210 - Inputs

Bands Bollinger Mql5 by William210 - Colors

    ๐Ÿ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks