InfoRe: 👨‍🔬 Cagliostro's MT5 Laboratory

135
JAECKER wrote: Sat Jun 07, 2025 12:09 am Does the new version repaint in MTF persistent mode? I just saw one do so on the older version contained in Xard's setup, set to the next higher TF. Thanks for your efforts, as always!
MTF indicators will always re-adjust and change their calculation prior to the (selected) higher timeframe's price bar's completion (Close).

More on this, here: Do Multi timeframe indicators repaint?
These users thanked the author Jimmy for the post (total 7):
kudrpenk, Cagliostro, mazibee, moey_dw, ricosuaveiii, boytoy, Ababai
Myfxbook live trading results 📊

List of our most powerful reversal indicators + Guide to the "All Averages" Filters (ADXvma, Laguerre etc.)
Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions + How to draw Support & Resistance


Re: 👨‍🔬 Cagliostro's MT5 Laboratory

136
Cagliostro wrote: Sat Jun 07, 2025 10:15 am All MTF indicators repaint.
Respectfully yes, but some automatically change and then repaint back a few bars. This one required a resfresh of the chart. I've used auto refresh in the past, but it was not stable, and other indicators do not require it. In other words repainting (or recalculating) is unavoidable, but can it be coded to be automatic with this indicator as in others?

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

137
JAECKER wrote: Sat Jun 07, 2025 11:38 pm Respectfully yes, but some automatically change and then repaint back a few bars. This one required a resfresh of the chart. I've used auto refresh in the past, but it was not stable, and other indicators do not require it. In other words repainting (or recalculating) is unavoidable, but can it be coded to be automatic with this indicator as in others?
The need of manual refresh is mainly due to poor quality of broker data. The indicator is very sensitive, specially in MTF mode. After 30 versions it got much better but still too sensitive.

PS: brokers normally send random bad data to help EAs to fail. This is unfortunately a common practice and affects this particular indicator, due to its complexity. I am working on a very new approach to avoid this.
These users thanked the author Cagliostro for the post (total 5):
davidpont, asgariHoo, spla, ricosuaveiii, WN25
"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

138
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.

List of Indicators
-The Oracle
-AVWAP with Bands
-Radius Trend
-X-Stoch
-KoncordePlus
-Spearman-Pearson with Entries
-Black Zones
-TDI Cross MTF

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!

****Update Log for the current Month****

May 7 Update, download it again.
-Added Trend Label TF
-Improved Array compaction logic
-Improved Timer Management for multi-instances
-Added buffering for MTF Sync

May 9 Update, download it again.
-Improved initialization data checks to minimize freezes on indicator loading and TF changes.
-Added unique instance IDs to enhance multi-instance support.
-Improved buffer management to prevent data corruption and reduce memory usage.
-Optimized VWAP calculations for large TF
-Updated HTF cache
-Improved memory clean-up mechanism to match the new multi-instance architecture

May 25 Update, download it again.
-Robust Cleanup: Improved resource cleanup ensures all objects and handles are freed for the specific instance, reducing memory leaks and chart clutter.
-Alert State Pruning: Unused alert state entries are removed when an instance is deinitialized, preventing memory buildup during long sessions.
-Faster Maintenance: Timer interval reduced from 60 seconds to 1 second for chart redraws and object cleanup, ensuring smoother multi-instance operation.
-HTF Bar Close Detection: Detects higher timeframe (HTF) bar closes (e.g., M15 on M5 chart), triggering fresh signal calculations and eliminating manual chart refresh needs in MTF mode.
-Dynamic Signal Updates: Persisted mode uses “Original” logic (recalculating based on new data) only on HTF bar closes with ready data, reducing stale signals.
-Improved Sync Handling: Increased MTF data sync retries from 3 to 10 and added a 30-second timeout, switching to the current timeframe if sync fails too long, preventing prolonged freezes.
-Forced Chart Redraws: Automatically redraws the chart after HTF bar closes, ensuring signals and trend labels update visually without delay.
-Cache Management: Clears cached HTF data for the latest bar (y=0) on HTF close and refreshes historical data (y>0) every 100 ticks to catch broker data corrections, ensuring accurate signals.

May 30 Update, download it again.
Version 3.0 is here! > Hybrid is meant to be used mainly for testing.
-Added Hybrid mode, a third logic between Original and Persisted. Trend signals soften into neutral only after two consecutive weak vote bars, reducing whipsaws without sacrificing responsiveness.
-Added option to remove the Vote Count Labels.
-Improved HTF Cache with dynamic sizing.
-Improved redraw logic for for HTF bars and robustness vs HTF data lag and errors.
-Revamped multi-instance deinitialization to ensure full clearing of handles, buffers and timers.
-Added checks to validate cache and syncing loops for all the modes.

Jun 17 Update, download it again.
-Version 3.5 is the new stable release.
-Added Master/Slave logic to centralize Oracle management in multi-instance setups.
-Improved accuracy for HTF.
-Improved Circular Buffer Caching.


The Oracle.ex5



image_2025-05-30_112948166.png
These users thanked the author Cagliostro for the post (total 9):
jackboton, mazibee, doolfrews, davidpont, JAECKER, boytoy, jmussol, thomdel, WN25
"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

139
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.

List of Indicators
-The Oracle
-AVWAP with Bands
-Radius Trend
-X-Stoch
-KoncordePlus
-Spearman-Pearson with Entries
-Black Zones
-TDI Cross MTF

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!

****Update Log for the current Month****

Jun 17 Update, download it again.
-Version 3.5 is the new stable release.
-Added Master/Slave logic to centralize Oracle management in multi-instance setups.
-Improved accuracy for HTF.
-Improved Circular Buffer Caching.

Jun 19 Update, download it again.
-Improved instanced cache system
-Reduced CPU usage
-Re-engineered anti-freeze and bad data stream filtering systems


The Oracle.ex5



image_2025-05-30_112948166.png
These users thanked the author Cagliostro for the post (total 9):
WN25, davidpont, boytoy, mazibee, Jimmy, LakoFX, Abdi, Lucas, thomdel
"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

140
Cagliostro wrote: Thu Jun 19, 2025 9:15 am UPDATED
Insanely good indicator which i recommend all traders to look at the Oracle.. thank you for continuing work on it and allowing the community plus xard traders and world to use it without a licence.. the blessings will come back to you tenfold latest update is the fastest loading version and the best out of all 😮
These users thanked the author boytoy for the post (total 4):
Cagliostro, jackboton, Lucas, davidpont