From 56f3caf3f4fc28f3209e793e8d20152031651a8d Mon Sep 17 00:00:00 2001 From: Toh4iem9 Date: Tue, 2 Dec 2025 19:08:42 +0100 Subject: [PATCH] refactor: Added visibility toggles --- .../MyIncludes/Symbol_Strength_Calculator.mqh | 49 +++++++++++++++---- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/Include/MyIncludes/Symbol_Strength_Calculator.mqh b/Include/MyIncludes/Symbol_Strength_Calculator.mqh index 18207fd..4889d6e 100644 --- a/Include/MyIncludes/Symbol_Strength_Calculator.mqh +++ b/Include/MyIncludes/Symbol_Strength_Calculator.mqh @@ -1,6 +1,6 @@ //+------------------------------------------------------------------+ //| Symbol_Strength_Calculator.mqh | -//| VERSION 1.10: Robust data handling and synchronization. | +//| VERSION 1.20: Added symbol existence check. | //| Copyright 2025, xxxxxxxx | //+------------------------------------------------------------------+ #property copyright "Copyright 2025, xxxxxxxx" @@ -26,7 +26,6 @@ public: void CalculateStep(int bar_index, double &strengths[]); int GetCount() { return m_symbol_count; } - //--- NEW: Check if data is ready for all symbols bool IsDataReady(void); }; @@ -41,13 +40,44 @@ bool CSymbolStrengthCalculator::Init(int period, ENUM_TIMEFRAMES tf, const strin for(int i=0; i