Unfortunately, I have zero expertise when it comes to computer technology and am almost totally ignorant regarding how one might effectively protect intellectual property. For this reason, the code is currently unavailable publicly.
%% Correct.LOL.MA's are also slow, some hate the way they slow down commissions. Don Bright Daytrading seldom used them+ never did Forex. NOT saying don was wrong, I never did forex also.LOL…………………………………………………………………………………………………………………………...
Is the red curve even a moving average? It looks too good to be true, i.e. almost zero group delay and probably more than 60dB of attenuation in the stopband frequencies. It looks like a polynomial trendline has been fitted.
To me, Xela always seemed like someone who researched and read a lot of information, and simply repeated a bunch of stuff that other people wrote.
Yes, in harking back to all the moving averages I’ve tried in the past, I recalled an indicator that did what I don’t know how to do, which is to calculate a polynomial trendline. I did a little searching and managed to find it. It was the i-Regr indicator, and that is the bold crimson line you see below, and is also the “moving average” that appears in the image attached to Post #120. I liked it because it went straight through the center of the higher frequency price cycles, something I have dreamed of, but have never been unable to create. However, I later discovered that the reason it looked so nice was because the price action was gradual. When I subsequently loaded it on other charts, I found that it suffered from extreme lag when price action was more volatile. Also, if I remember correctly, i-Regr repaints something awful in real-time application, so I’m not sure I could figure out how to make practical use of it even now—a full five or six years later (if not more). On the other hand, in terms of practical use, the line I’m actually using day-to-day (the one I coded myself) is the red moving average with the black outline (above). It indicated a reversal at virtually the same time as the polynomial trendline, but it doesn't look as nice because it doesn’t cut the shorter frequency waves in half and it is not as smooth. Nonetheless, I will continue to use it, and will not be adopting i-Regr for the reasons stated above (i.e., the line I coded does not suffer from the lag that i-Regr experiences on more volatile charts, and it does not do any repainting whatsoever). P.S. I hate repaint!