Attachments forums

List of attachments posted on this forum.


All files on forums: 161001

Re: Moving Average indicators for MT4

mrtools, Thu Oct 06, 2022 6:40 am

Linear Regression-Adjusted Exponential Moving Average

From Mladen Rakic:

One more experiment
___________________________

Seems that lately there is a hype of indicators with on / off buttons

This one will be one of those too, but:

  • a lot of versions I have seen with on/off buttons are simply not OK
  • they are making the indicator slow in runtime
  • they are making it literally unusable from EAs or via iCustom() calls
  • some of the version posted on this same forum that I have seen would take hours and hours to complete a simplest test when called via iCustom() even for short testing periods (did not run them to the end because I would need to take a vacation till they end)
  • they are literally unusable in visual back tests too (for the same speed of execution issue)
  • some are losing settings whenever you change anything in parameters (not related at all to on / off buttons)
  • some are using global variables which makes a chance of a complete mess when settings from one reflect other(s) probable
  • also seems that a lot do not know that global variables are written into files
    that introduces delay that can take seconds some time before the changes are "noticed"

So made this version - as an experiment.

So far it avoids all the above (and some issues not mentioned above). I am quite sure that some of the excellent coders on this forum are going to make even better implementations (once when they solve the issues in their existing copy / paste versions) but till then (while we wait that they do so), here is this toy to play with
All files in topic