Page 14 of 26

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Fri Jun 06, 2025 7:20 pm
by asgariHoo
Cagliostro wrote: Fri Jun 06, 2025 6:54 pm Hi, what do you mean? It seems working for me.
Am I mistaken? TDI histogram in the second timeframe is not synchronized with the 10-minute timeframe.

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Fri Jun 06, 2025 7:43 pm
by Cagliostro
It cannot be, it's the nature of all MTF indicators.

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Sat Jun 07, 2025 12:09 am
by JAECKER
Cagliostro wrote: Tue Mar 25, 2025 12:05 am Yes, it is possible in persisted mode, if you use MTF.

Did it happen on current TF, and what was the TF? None of the indicators repaint.

I will check tonight.
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!

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Sat Jun 07, 2025 10:15 am
by Cagliostro
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!
All MTF indicators repaint.

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Sat Jun 07, 2025 3:56 pm
by Jimmy
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?

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Sat Jun 07, 2025 11:38 pm
by JAECKER
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

Posted: Sun Jun 08, 2025 3:46 am
by Cagliostro
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.

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Tue Jun 17, 2025 8:22 am
by Cagliostro
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

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Thu Jun 19, 2025 9:15 am
by Cagliostro
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

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Posted: Thu Jun 19, 2025 7:15 pm
by boytoy
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 😮