Please can anyone translate the Ehlers Roofing Filter Indicator From MT5 to proReal. I have found an indicator that someone has written called Ehlers roofing Filter here https://www.prorealcode.com/topic/john-ehlers-roofing-filter/ but the results are far less accurate than the MT5 version and I don’t have the programming skills to know why. Also the MT5 version has two lines and generates signals at the crossover.
I have attached the MQ5 File or I can cut and paste the code if that helps
Trading on leveraged financial instruments may expose you to risk of loss greater than your deposits and is only suitable for experienced clients with the financial means to bear such risk. Trading on foreign exchange instruments (Forex) and contracts for difference (CFDs) is highly speculative and particularly complex and comes with a high level of risk due to leverage. You must ensure that you understand how these instruments work and that you can afford to take the high risk of losing your money. No information on this site is investment advice or a solicitation to buy or sell any financial instruments.