Re: 👨‍🔬 Cagliostro's MT5 Laboratory

61
UPDATED
Cagliostro wrote: Sat Mar 22, 2025 2:19 am Hello fellow traders.

I thought that could be interesting to share with you some of the MT5 stuff I am testing, researching and coding. As some of you know, I switched fully to MT5 last month, so am working to improve my MT5 arsenal.

Rules are simple.
-This is a testing lab, you don't pay to get and test stuff, it's all free.
-As per above, feedback and suggestions will be much appreciated.
-But no complaints or lamentations will be appreciated or considered.

Today's the Spring Equinox, the real start of the new year! So there is no better day to start sharing something!

The Oracle
In the shadowed depths of Delphi ancient ruins, where logic and mystery intertwine, lies The Oracle—an artifact of unfathomable power. Forged in an era when the stars whispered secrets to the bold, it transcends mere computation, unveiling glimpses of fate’s hidden currents. Its cryptic code, a relic of a lost civilization, pulses with esoteric wisdom, inviting the daring to pierce the veil of time—though its full mysteries remain tantalizingly out of reach.

It includes 7 indicators chosen, tested and optimized among hundreds in the last 4 months, including the Ehlers's Universal Strength indicator and my Rolling VWAP. Keep it at level 6 for M1/M3/M5 trading and let me know how it goes. Happy Equinox!

April 1 Update [Version 1.0], download it again.
-Incremental processing for all trend updates
-Buffer optimization
-VWAP pre-computation
-Added a Trend Strength Index

April 2 Update, download it again.
-Added customization for histograms and TSI label

April 8 Update, download it again.
-Added MTF validation
-Improved memory management
-Implemented incremental resizing for all buffers
-Fixed trend array stale impacting specific brokers
-Added Data Fetch Logging
-Added Error Handling for all indicators

April 9 Update, download it again.
-Removed redundant trend array shrink
-Improved FetchIndicatorData
-Aligned Local Timers to Server Timers
-Fixed MQL5’s native data sync in retry loop

April 13 Update, download it again.
-Added TF spec to Alerts
-Improved fault tolerance logic

April 19 Update [Version 2.0], download it again.
-Added multiple instances logic for calculations and alerts
-Replaced global variables with instance-specific storage
-Added MTF data sync checks with fallback
-Implemented instance-specific sync failure and anti-freeze mechanism
-Enhanced MTF data fetching with hybrid fetch resizing and index validation

The Oracle.ex5
These users thanked the author Cagliostro for the post (total 11):
DaveTrader, mazibee, Abzak, thomdel, RollerAndTrading, WN25, nbibu, kudrpenk, eduarescobar, ManilaSpurs, davidpont
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro


Re: 👨‍🔬 Cagliostro's MT5 Laboratory

62
Hello Cagliostro, thank you for the new updates, my broker is closed at the moment so I'll give my feedback of what i see for the multi time frame update on sunday!

I do have a request for the push notifications, the step indicator gives one, but the oracle does not at this time!

Thank you for the continuous developments, have a great weekend.

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

64
knglerxst wrote: Wed Apr 23, 2025 4:57 am The first higher timeframe on the 1m (which should be the 5min) doesn't match the current timeframe one on the 5m.
Image
+C+: Hi, I see a +6 on both charts, don't get your point.

Look at the colored vertical lines. Shouldn't the Oracle colors match if they're both set to the same timeframe? Just a guess, but it seems like the 5m Oracle on the 1m is being affected by the faster movement on that timeframe. It's more sensitive.

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

65
knglerxst wrote: Wed Apr 23, 2025 7:14 am Look at the colored vertical lines. Shouldn't the Oracle colors match if they're both set to the same timeframe?
On different TF charts the bars are different in any case. What it's possible is that the 5M oracle did not update, I minimized the effect but on same brokers still faces sometimes and you need to refresh the chart manually.
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro


Re: 👨‍🔬 Cagliostro's MT5 Laboratory

67
knglerxst wrote: Wed Apr 23, 2025 4:57 am The first higher timeframe on the 1m (which should be the 5min) doesn't match the current timeframe one on the 5m.
Image
+C+: Hi, I see a +6 on both charts, don't get your point.
Top Chart 2 Oracles on 1M chart
Oracle 1: 1 Min
Oracle 2: 5 Min

Solo chart (1) 1 Min 1 min oracle

solo chart (2) 1 Min 5 min oracle

solo chart (3) 5 Min 1 min oracle

solo chart (4) 5 Min 5 min oracle

Everything is pretty close, if you want your operation to run a little smoother on various brokers I'd say just throw a extra chart at the bottom with the road map TF of your choice. That works for me at least, but i am fine just refreshing during a new dot, or arrow, manually. It's not a bad practice, keeps me looking for the "Cheat Code" set up.

Note: There is a minor difference by about 1 minute when the two are on the chart versus one (of the same time frame, and then split into two new charts below) i placed a line on them to check the times both print the oracle signal and i manually refreshed several times before taking this screenshot after market open.

Thank you for the continuous improvements! I'm just posting to give others some ideas on how to approach it if they are still facing the delay.
These users thanked the author WN25 for the post (total 5):
knglerxst, Cagliostro, Abzak, davidpont, kudrpenk