AMA – Adaptive Moving Average – 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:  BullsBearsVolume - indicator MetaTrader 5

AMA Adaptative Moving Average beginner tutorial - Inputs

AMA Adaptative Moving Average beginner tutorial - Colors


Don’t forget to add stars to these codes for SEO, thank you !!


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