
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
You don't need a small lambda for this filter. It splits the data into trend and errors, and the errors are close to normally distributed.
So you can build a channel. I use it this way (chart of the euro-buck 4 hours) (implemented in MATLAB). It will redraw only on large movements, and I enter a position only after breaking the MA
By the way, the posted code draws the filter incorrectly....
By the way, the really posted code draws the filter incorrectly....
I have not seen the lambda set like this
Lambda=0.0625/MathPow(MathSin(M_PI/Per),4);
I've never seen a lambda set like that.
Lambda=0.0625/MathPow(MathSin(M_PI/Per),4);
Good morning friends,
I'm trying to set up the Hodrick-Prescott Filter indicator (https://www.mql5.com/en/code/143) but I'm getting warnings in the metaeditor that I have no idea how to fix. Here's a screen shot of how it looks on my MT5.
Could you help me in this battle?
Thanks and have a good weekend