save XAU5 prev backup and clean all implemented mechanisms and apply new structure on providers templatre docs and XAU5 indicators library ...

This commit is contained in:
2024-01-28 13:55:29 -08:00
parent 604b48c5a3
commit 3fd39afb21
51 changed files with 54113 additions and 24742 deletions
@@ -39,8 +39,8 @@ enum ENUM_X_SIGNAL_PROVIDERS
// XSI ...
XSI,
//
// XSTFI ...
XSTFI,
// XTSFI ...
XTSFI,
//
// XOBDLH ...
XOBDLH,
@@ -284,10 +284,10 @@ public:
bool xSIAllowLongSignals, // Allow Long Signals
bool xSIAllowShortSignals, // Allow Short Signals
//
// XSTFI ...
bool xSTFIEnableSignaller, // Enable Signaller
bool xSTFIAllowLongSignals, // Allow Long Signals
bool xSTFIAllowShortSignals, // Allow Short Signals
// XTSFI ...
bool XTSFIEnableSignaller, // Enable Signaller
bool XTSFIAllowLongSignals, // Allow Long Signals
bool XTSFIAllowShortSignals, // Allow Short Signals
//
// XOBDLH ...
bool xOBDLHEnableSignaller, // Enable Signaller
@@ -330,10 +330,10 @@ public:
mXSIAllowShortSignals = xSIAllowShortSignals;
//
// XSTFI ...
mXSTFIEnableSignaller = xSTFIEnableSignaller;
mXSTFIAllowLongSignals = xSTFIAllowLongSignals;
mXSTFIAllowShortSignals = xSTFIAllowShortSignals;
// XTSFI ...
mXTSFIEnableSignaller = XTSFIEnableSignaller;
mXTSFIAllowLongSignals = XTSFIAllowLongSignals;
mXTSFIAllowShortSignals = XTSFIAllowShortSignals;
//
// XOBDLH ...
@@ -3022,26 +3022,26 @@ public:
//
//
// START XSTFI Signaller ...
// START XTSFI Signaller ...
//
//
// Enable Signaller ...
bool EnableSXSTFIignaller()
bool EnableSXTSFIignaller()
{
//
bool result = false;
//
// Validate Args ...
if (mXSTFIEnableSignaller)
if (mXTSFIEnableSignaller)
{
return result;
}
//
result = true;
mXSTFIEnableSignaller = true;
mXTSFIEnableSignaller = true;
//
return result;
@@ -3049,21 +3049,21 @@ public:
//
// Disable Signaller ...
bool DisbaleXSTFISignaller()
bool DisbaleXTSFISignaller()
{
//
bool result = false;
//
// Validate Args ...
if (!mXSTFIEnableSignaller)
if (!mXTSFIEnableSignaller)
{
return result;
}
//
result = true;
mXSTFIEnableSignaller = false;
mXTSFIEnableSignaller = false;
//
return result;
@@ -3071,7 +3071,7 @@ public:
//
// Allow Sginaller to Issue Long Signals ...
bool EnableXSTFILongs()
bool EnableXTSFILongs()
{
//
bool result = false;
@@ -3079,15 +3079,15 @@ public:
//
// Validate Args ...
if (
!mXSTFIEnableSignaller ||
mXSTFIAllowLongSignals)
!mXTSFIEnableSignaller ||
mXTSFIAllowLongSignals)
{
return result;
}
//
result = true;
mXSTFIAllowLongSignals = true;
mXTSFIAllowLongSignals = true;
//
return result;
@@ -3095,7 +3095,7 @@ public:
//
// Disallow Signaller to Issue Long Signals ...
bool DisbaleXSTFILongs()
bool DisbaleXTSFILongs()
{
//
bool result = false;
@@ -3103,15 +3103,15 @@ public:
//
// Validate Args ...
if (
!mXSTFIEnableSignaller ||
!mXSTFIAllowLongSignals)
!mXTSFIEnableSignaller ||
!mXTSFIAllowLongSignals)
{
return result;
}
//
result = true;
mXSTFIAllowLongSignals = false;
mXTSFIAllowLongSignals = false;
//
return result;
@@ -3119,7 +3119,7 @@ public:
//
// Allow Signaller to Issue Short Sginals ...
bool EnableXSTFIShorts()
bool EnableXTSFIShorts()
{
//
bool result = false;
@@ -3127,15 +3127,15 @@ public:
//
// Validate Args ...
if (
!mXSTFIEnableSignaller ||
mXSTFIAllowShortSignals)
!mXTSFIEnableSignaller ||
mXTSFIAllowShortSignals)
{
return result;
}
//
result = true;
mXSTFIAllowShortSignals = true;
mXTSFIAllowShortSignals = true;
//
return result;
@@ -3143,7 +3143,7 @@ public:
//
// Disallow Signaller to Issue Short Signals ...
bool DisableXSTFIShorts()
bool DisableXTSFIShorts()
{
//
bool result = false;
@@ -3151,15 +3151,15 @@ public:
//
// Validate Args ...
if (
!mXSTFIEnableSignaller ||
!mXSTFIAllowShortSignals)
!mXTSFIEnableSignaller ||
!mXTSFIAllowShortSignals)
{
return result;
}
//
result = true;
mXSTFIAllowShortSignals = false;
mXTSFIAllowShortSignals = false;
//
return result;
@@ -3167,7 +3167,7 @@ public:
//
// Check Market Base Conditions for Long Signals ...
bool XSTFIHasLongConditions()
bool XTSFIHasLongConditions()
{
//
bool result = false;
@@ -3175,8 +3175,8 @@ public:
//
// Validate Args ...
if (
!mXSTFIEnableSignaller ||
!mXSTFIAllowLongSignals)
!mXTSFIEnableSignaller ||
!mXTSFIAllowLongSignals)
{
return result;
}
@@ -3218,7 +3218,7 @@ public:
//
// Check Market Base Conditions for Short Signals ...
bool XSTFIHasShortConditions()
bool XTSFIHasShortConditions()
{
//
bool result = false;
@@ -3226,8 +3226,8 @@ public:
//
// Validate Args ...
if (
!mXSTFIEnableSignaller ||
!mXSTFIAllowShortSignals)
!mXTSFIEnableSignaller ||
!mXTSFIAllowShortSignals)
{
return result;
}
@@ -3268,7 +3268,7 @@ public:
}
//
// END XSTFI Signaller ...
// END XTSFI Signaller ...
//
//
@@ -4394,10 +4394,10 @@ private:
bool mXSIAllowShortSignals;
//
// XSTFI ...
bool mXSTFIEnableSignaller;
bool mXSTFIAllowLongSignals;
bool mXSTFIAllowShortSignals;
// XTSFI ...
bool mXTSFIEnableSignaller;
bool mXTSFIAllowLongSignals;
bool mXTSFIAllowShortSignals;
//
// XOBDLH ...
File diff suppressed because it is too large Load Diff
@@ -63,7 +63,7 @@ input bool xAU5AllowShortTrades = true; // Allow Short Trades
// Risk Management Configurations ...
input group "XAU5 Risk Management";
//
input bool xAU5UseVirtualTPSl = true; // Use Virtual TP SL
input bool xAU5UseVirtualTPSl = false; // Use Virtual TP SL
//
// Trade Count ...
input int xAU5MaxAllowedTrades = 10; // Max Allowed Trades at Same Time
Binary file not shown.
File diff suppressed because it is too large Load Diff