How to Make an MQL5 Indicator
About
Open the MQL5 editor
Create templete
Basic templete
Indicator sections:
Global variables
Other indicators needed
Plot properties
Where to place the indicator
How many plots will be addded to chart
Plot attributures
Inputs
Handle and buffers
Containers for other variables
OnInit{}
Handle
Map buffers
OnCalculate{}
Bypass
Optimize calculations
Copy buffers
Additional calculations
Done
How to create a MQL5 indicator
OnCalculate{}
This is where the hardcore calculations are done. In this section you can include things like: