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