Indicators: NonLagMA with ATR Bands and Control Panel

 

NonLagMA with ATR Bands and Control Panel:

This is a re-write of the nonLagMA found elsewhere and includes several uncommonly shown coding options, including a simple control dashboard.

NonLagMA with ATR Bands and Control Panel

Author: LukeB

 

I made this as a 'twin' to it's MQ4 version - If you bring them up side by side, you can compare the code blocks and functions for equivalency and differences between the two. The 'twin' is attached here.

When compiling the MQ5 version, on Metatrader 5 from FXChoice, Version: 5.00 build 1940 02Nov2018, I have had to push the compile button up to 4 times before it runs correctly (no compiler errors are expressed).  Be interested to know if others have any similar experience.  I have had no similar problems with the 'twin'.

One of the things I would like to resolve is the event management - it works as expected in the MQL4 version, but is clunky in the MQL5 version.  Anybody looked at the two and know how to make the MQL5 events work smoothly?

Files:
NonLagMA_LB.mq4  74 kb