Did not see this one in the list.
It is originally from forextsd or some other forum and was the basis of a commercial product called MBFX.
I received the decompiled commercial version and it matched the original code source code from the forum.
This is one of the reasons I stopped posting code on forums. Too many thieves out there.
It plots the best fit polynomial for the degree and length.
Degree 3 with length 40 works well.