Attachments forums

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

mazibee, Sun Mar 29, 2026 9:33 am

xard777 wrote: Sun Mar 29, 2026 3:56 am Updated XU EFFECT v7.77
Best,
Xard777

Hi Kimi, I need your superpower one more time -- please do a deep dive murder on this MT5 code for me and provide solutions that arise and give me the full autopsy report so that I can give it to DeepSeek-v3 to resurrect from the dead into a fully working production-ready indicator, thanks for all the heavy lifting mon ami --
First of all, thanks to Sensei XARD as always for releasing the latest version XU Effect v7.77 and for continuously sharing his improved versions selflessly with the community. Many of us are learning a lot from your work.

Just to mention up front , I’m not a coder or programmer. I’m simply a beginner trader trying to understand things better using AI. I’ve recently started using AI to help me read and comprehend indicator logic, and honestly I’m still struggling to make things work consistently in my favour. So this post is purely from a learning perspective.

My understanding of the ST / MT / LT in the panel

While trying to understand the dashboard logic, this is how it appears to work:

ST (Short-Term)
Based on candle colour/state
+1 = Bullish
−1 = Bearish
0 = Neutral

MT (Medium-Term)
Based on Fast EMA vs Slow EMA
+1 = Fast EMA above Slow
−1 = Fast EMA below Slow
0 = Equal

LT (Long-Term)
Based on Price relative to VWAP
+1 = Price above VWAP
−1 = Price below VWAP
0 = No VWAP condition

The dashboard seems to show CONSENSUS only when:

ST = MT = LT (and not zero)

Otherwise it displays [MIXED].

Something I noticed, the names ST / MT / LT naturally make us think this is multi timeframe confirmation.

However, unless I’m misunderstanding, all three values appear to be calculated from the same chart timeframe, just using different types of analysis:
  • Candle behaviour
  • EMA relationship
  • VWAP positioning
Normally, true multi timeframe consensus would involve pulling calculations from higher timeframes

So maybe the labels are describing analysis components rather than timeframes so something like below might reflect what is actually being measured.
C = Candle
E = EMA
V = VWAP

Again, I’m only sharing this as a beginner trying to understand the internal logic better.

While testing the new version few minutes ago on BTCUSD/ETHUSD, (My broker is IC Markets) I noticed something that might be a small issue or maybe just my setup:

• It working for me on on higher timeframe charts like D1
• When switching the chart down to lower timeframes even on H4 and below the candle colours stop appearing and the VWAP line disappears
• The dashboard panel starts displaying LABEL instead of values.
• The top left header also shows the word LABEL instead of the color coded SYMBOL name

When I attached the indicator to the lower time frame even on H4 I am getting this in the expert tab
2026.03.28 22:24:12.466 XU EFFECT v7.77 (BTCUSD,H4) array out of range in 'XU EFFECT v7.77.mq5' (791,20)
Not sure if other members are also experiencing the same issue, so I thought I would mention it here.

If I’ve misunderstood anything above, I would genuinely appreciate correction or guidance from XARD / experienced members.

And once again, thank you XARD for continuing to share and improve these tools for all of us learning along the way.
All files in topic