Moving Average Angle (MA Angle) indicator
This is an updated version of the MA Angle Indicator available on https://www.best-metatrader-indicators.com/ma-angle-indicator-2/. The published version only shows the angle for an up trend whereas it should show the down and “neutral” trends as well.
The bug is caused by the fact that the three indicator buffers’ mappings are not correctly set and by adding the missing code, the indicator works as expected.
Add the following lines in the init() procedure of the indicator.
SetIndexBuffer(0,UpBuffer); SetIndexBuffer(1,DownBuffer); SetIndexBuffer(2,ZeroBuffer);
A quicker way would also be to download the working MT4 MA Angle indicator here.