What are the best beginner-oriented resources, articles or source codes, to learn how to develop an indicator in MQL5?

 
Pierre Rougier:
Hello,

What are the best beginner-oriented resources, articles or source codes, to learn how to develop an indicator in MQL5?

Regards,

Pierre

MT5 comes with "example" code for all the common indicators in the MQL5\Indicators\Examples\ directory.

The formulae for the common indicators is widely distributed through the Internet. For example, ATR is a simple calculation, and thus ATR.mq5 is a fairly simple indicator to understand.

Volumes.mq5 is fairly simple because it simply passed through volume data—there is no calculation at all.

So my recommendation is to look at the existing code for common indicators. Once you understand the building blocks, you can create more complex indicators.

Reason: