DownloadRe: Convert MT4 indicators to MT5

551
Hello everyone, I'm new to this game. Recently, a customer (an old, wise man) visited my parents' shop where I work and handed me this code, wishing me good luck. The code is designed for MT4, but I'm more comfortable using MT5. I've been seeing some success on the demo so far. Could anyone help me convert this code (template and indicators) from MT4 to MT5? Thank you! :)


Re: Convert MT4 indicators to MT5

554
StellaWilliams wrote: Tue Jan 14, 2025 11:47 am Hello everyone, I'm new to this game. Recently, a customer (an old, wise man) visited my parents' shop where I work and handed me this code, wishing me good luck. The code is designed for MT4, but I'm more comfortable using MT5. I've been seeing some success on the demo so far. Could anyone help me convert this code (template and indicators) from MT4 to MT5? Thank you! :)
Thanks to Mladen he has done all these indicators in mt5 already! The Guppy MMA just need to change the periods in the code to match yours, the slope direction line is actually a hull, the ema cross is a repainter, so the one I am including doesn't repaint. Haven't tried any of them yet but please verify and if you can please share the template for mt5.
These users thanked the author mrtools for the post (total 3):
kvak, abethai, StellaWilliams

Re: Convert MT4 indicators to MT5

555
RACER-X wrote: Fri Dec 27, 2024 1:32 am THIS IS THE CODE I'M TRYING TO Convert.

Regards

This required a lot of time and efforts to convert and fix. The way MT5 manages memory is a nightmare. Hope it helps everyone trying to switch to MT5.

Love.

+C+
These users thanked the author Cagliostro for the post (total 5):
mazibee, mrtools, kvak, Ricstar_8, thomdel
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro


Re: Convert MT4 indicators to MT5

557
mrtools wrote: Wed Jan 15, 2025 5:40 am Thanks to Mladen he has done all these indicators in mt5 already! The Guppy MMA just need to change the periods in the code to match yours, the slope direction line is actually a hull, the ema cross is a repainter, so the one I am including doesn't repaint. Haven't tried any of them yet but please verify and if you can please share the template for mt5.
Thank you Mladen and mrtools. I really appreciate that. Yes the converted custom indicators are working good. I am using default (Color Candles on the White Background) template on MT5. Can you also please convert these MT4 indicators (Fibonacci Pivots.mq4 and Pivots Points Multitimeframe.mq4) to MT5 as well?

Suggestion from the wise man:
"As an individual retail forex trader, achieving consistent profitability in the long run can be challenging. Therefore, your best approach is either swing trading or scalping, using a system that helps you identify trends. Day trading often works against you due to unpredictable news events. Even if a 100% profitable system were available, 80% of traders would still fail—not because of the system itself, but due to the trader's psychology."

How the system works:

For long trades:

1. Wait for a LONG signal alert on a currency pair.
2. Open the pair and analyze the market structure across multiple timeframes: H4 → H1 → M5.
3. Ensure that all Guppy lines align in the same direction—Yellow above Green above Red.
4. The Laguerre indicator should be below 0.15 and trending upwards.
5. The MACD should be near and above zero.
6. I trade on the M5 chart, placing a stop-loss (SL) below the latest low and a take-profit (TP) below the first pivot point/line. Additionally, check the currency strength on FxBlue (M1, M5, M15). The risk-to-reward (R:R) ratio should be at least 1:2.

Short trades follows similar strategy.

Good luck!
These users thanked the author StellaWilliams for the post:
SLN


Who is online

Users browsing this forum: No registered users and 5 guests