add all required indicator and oscillators and also add all helper classes for them ...

This commit is contained in:
2024-05-18 22:46:22 +03:30
parent e69dc85eea
commit 2777f56d78
13 changed files with 5583 additions and 125 deletions
@@ -2,7 +2,7 @@
//
// SaherElm IT Center MQL5 Helper Class Library
// ----------------------------------------------
// Name: XSCXSSLCHelper
// Name: XSCXZGHelper
// Description: provides all Indicator
// Helper requirements ...
//
@@ -28,21 +28,21 @@
// Definitions ...
//
enum ENUM_XSSLC_BUFFERS
enum ENUM_XZG_BUFFERS
{
XSSLC_MAIN_LINE = 0
XZG_MAIN_LINE = 0
};
//
// Input Models ...
struct XSSLCInputs
struct XZGInputs
{
//
// Props ...
//
// Constructor(s) ...
XSSLCInputs()
XZGInputs()
{
//
Clean();
@@ -100,7 +100,7 @@ struct XSSLCInputs
//
// Class ...
class XSCXSSLCHelper : public XSCBaseHelper
class XSCXZGHelper : public XSCBaseHelper
{
//
// Public ...
@@ -110,20 +110,20 @@ public:
//
// Constructors ...
XSCXSSLCHelper() : XSCBaseHelper(_Symbol, _Period)
XSCXZGHelper() : XSCBaseHelper(_Symbol, _Period)
{
}
//
// Deconstructor ...
~XSCXSSLCHelper() {}
~XSCXZGHelper() {}
//
// Tools ...
bool Init(
string symbol, // Trading Symbol
ENUM_TIMEFRAMES period, // Trading Period
XSSLCInputs &inputs // Inputs
XZGInputs &inputs // Inputs
)
{
//
@@ -167,14 +167,14 @@ public:
// Inputs ...
//
XSSLCInputs GetInputs()
XZGInputs GetInputs()
{
return mInputs;
}
//
bool SetInputs(
XSSLCInputs &inputs // Configs
XZGInputs &inputs // Configs
)
{
//
@@ -247,7 +247,7 @@ protected:
private:
//
// Props ...
XSSLCInputs mInputs; // Inputs ...
XZGInputs mInputs; // Inputs ...
//
// Buffers ...
@@ -267,7 +267,7 @@ private:
// // Main Buffer ...
// CopyBuffer(
// mHandler,
// XSSLC_MAIN_LINE,
// XZG_MAIN_LINE,
// 0,
// totalBars,
// mainBuffer