/////////////////////////////////////////////////////// // // SaherElm IT Center MQL5 Helper Class Library // ---------------------------------------------- // Name: XSCBaseHelper // Description: provides all Indicator // Helper requirements ... // // // Maintainer: // ------------ // Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com) // ////////////////////////////////////////////////////// // // Global Properties ... #property library #property copyright "Copyright 2023, SaherElm IT Center" #property link "https://www.saherelm.ir" #property version "1.00" #property strict // // START Definitions ... // // // END Definitions ... // // // START Import and Inclused requirements ... // // // Includes ... #include "../Libraries/x-saherelm.common.lib.mq5" #include "../Classes/x-saherelm.xhelper.class.mq5" // // END Import and Inclused requirements ... // // // START Overrides ... // // // END Overrides ... // // // a Class for Helping Indicators Requirements ... class XSCHelper : public XSCBaseHelper { // // Public ... public: // // Constructor ... void XSCHelper( string symbol, // Trading Symbol ENUM_TIMEFRAMES period // Trading Time Frame ) : XSCBaseHelper(symbol, period) { // } // // Deconstructor ... void ~XSCHelper() { } // // START Properties ... // // // Symbol ... string GetSymbol() { return mSymbol; } // // Period ... ENUM_TIMEFRAMES GetPeriod() { return mPeriod; } // // Tag ... string GetTag() { return mTag; } // // END Properties ... // // // START Provided Functions ... // // // Initial Indicator Handler ... virtual bool Init(); // // Reading Buffers based on Given Bar Index ... virtual void ReadBuffers( int barIndex // Given Bar Index ); // // END Provided Functions ... // // // Protected ... protected: // // Private ... private: // // Symbol ... string mSymbol; // // Period ... ENUM_TIMEFRAMES mPeriod; // // Indicator Handler ... int mHandler; // // Tag Identifier ... string mTag; }; // // START Usefull Functions ... // // // END Usefull Functions ... //