I changed it to a percentage for the current move to make it easier to read, but someone who knows coding and is willing to do it for free will still have to check if the average calculations are correct. Maybe someone will check it someday. I'm posting the code below. Or maybe someone has a completely different idea on how to improve the Xard system, and it's not worth continuing what I've done. Everyone has to judge that for themselves.
Attachments forums
Re: 🔺 MT5 XARD - Simple Trend Following Trading System
Vetis, Mon Feb 09, 2026 3:49 am