last working ...

This commit is contained in:
2025-06-04 00:04:32 +03:30
parent 043c635812
commit a7ea212ada
8 changed files with 1784 additions and 288 deletions
+12 -1
View File
@@ -107,6 +107,12 @@ class XCXCATBEAExpert : public XCBase
bool eaAllowSignallingBasedOnTriggerBlocksInsideOther; // Signalling Based on Trigger Blocks Seccond inputs
bool eaSecondsTriggersSLUsingFirstTriggerBlock; // Use First Trigger Block for SL of Seconds Trigger Block Signalss
bool eaApplyValidateAndFilterOnSelectInsideOthers; // Select Trigger Blocks by Applying Validations and Filterss
bool eaAllowSignallingConditions1; // Allow Market Conditions Signaller to Using Sar Starter Signals
bool eaAllowSignallingConditions2; // Allow Market Conditions Signaller to Using Trend Starter Signals
bool eaAllowSignallingConditions3; // Allow Market Conditions Signaller to Using Delta Starter Signals
bool eaAllowSignallingConditions4; // Allow Market Conditions Signaller to Using Volume Starter Signals
bool eaAllowSignallingConditions5; // Allow Market Conditions Signaller to Using Signal Bar Starter Signals
bool eaAllowSignallingConditions6; // Allow Market Conditions Signaller to Using HK Signal Bar Starter Signals
//
// Volume ...
@@ -494,7 +500,12 @@ class XCXCATBEAExpert : public XCBase
iSignallerInputs.signallerConfigs.secondsTriggersSLUsingFirstTriggerBlock = eaSecondsTriggersSLUsingFirstTriggerBlock;
iSignallerInputs.signallerConfigs.applyValidateAndFilterOnSelectInsideOthers = eaApplyValidateAndFilterOnSelectInsideOthers;
iSignallerInputs.signallerConfigs.allowSignallingBasedOnTriggerBlocksInsideOther = eaAllowSignallingBasedOnTriggerBlocksInsideOther;
iSignallerInputs.signallerConfigs.allowSignallingConditions1 = eaAllowSignallingConditions1;
iSignallerInputs.signallerConfigs.allowSignallingConditions2 = eaAllowSignallingConditions2;
iSignallerInputs.signallerConfigs.allowSignallingConditions3 = eaAllowSignallingConditions3;
iSignallerInputs.signallerConfigs.allowSignallingConditions4 = eaAllowSignallingConditions4;
iSignallerInputs.signallerConfigs.allowSignallingConditions5 = eaAllowSignallingConditions5;
iSignallerInputs.signallerConfigs.allowSignallingConditions6 = eaAllowSignallingConditions6;
//
// Prepare Trigger Block Validations ...
@@ -49,6 +49,15 @@ struct XCATBEASignallingConfigs
bool applyValidateAndFilterOnSelectInsideOthers; // Select Trigger Blocks by Applying Validations and Filterss
bool secondsTriggersSLUsingFirstTriggerBlock; // Use First Trigger Block for SL of Seconds Trigger Block Signalss
//
// Market Conditions Signall Providers ...
bool allowSignallingConditions1; // Allow Market Conditions Signaller to Using Sar Starter Signals
bool allowSignallingConditions2; // Allow Market Conditions Signaller to Using Trend Starter Signals
bool allowSignallingConditions3; // Allow Market Conditions Signaller to Using Delta Starter Signals
bool allowSignallingConditions4; // Allow Market Conditions Signaller to Using Volume Starter Signals
bool allowSignallingConditions5; // Allow Market Conditions Signaller to Using Signal Bar Starter Signals
bool allowSignallingConditions6; // Allow Market Conditions Signaller to Using HK Signal Bar Starter Signals
//
// Constructor ...
XCATBEASignallingConfigs()
@@ -71,6 +80,14 @@ struct XCATBEASignallingConfigs
//
secondsTriggersSLUsingFirstTriggerBlock = false;
applyValidateAndFilterOnSelectInsideOthers = false;
//
allowSignallingConditions1 = false;
allowSignallingConditions2 = false;
allowSignallingConditions3 = false;
allowSignallingConditions4 = false;
allowSignallingConditions5 = false;
allowSignallingConditions6 = false;
}
};
@@ -163,6 +180,15 @@ class XCXCATBEASignaller : XCBase
bool secondsTriggersSLUsingFirstTriggerBlock; // Use First Trigger Block for SL of Seconds Trigger Block Signalss
bool applyValidateAndFilterOnSelectInsideOthers; // Select Trigger Blocks by Applying Validations and Filterss
//
// Market Conditions Signall Providers ...
bool allowSignallingConditions1; // Allow Market Conditions Signaller to Using Sar Starter Signals
bool allowSignallingConditions2; // Allow Market Conditions Signaller to Using Trend Starter Signals
bool allowSignallingConditions3; // Allow Market Conditions Signaller to Using Delta Starter Signals
bool allowSignallingConditions4; // Allow Market Conditions Signaller to Using Volume Starter Signals
bool allowSignallingConditions5; // Allow Market Conditions Signaller to Using Signal Bar Starter Signals
bool allowSignallingConditions6; // Allow Market Conditions Signaller to Using HK Signal Bar Starter Signals
//
bool allowDraws; // Allow Draws or not ...
bool allowGuards; // Allow Guards or not ...
@@ -708,6 +734,12 @@ class XCXCATBEASignaller : XCBase
barAnalyser,
mConditions.conditions,
mConditions.pivotZone,
allowSignallingConditions1,
allowSignallingConditions2,
allowSignallingConditions3,
allowSignallingConditions4,
allowSignallingConditions5,
allowSignallingConditions6,
barIndex,
10 // Loopback ...
);
@@ -1494,6 +1526,14 @@ class XCXCATBEASignaller : XCBase
secondsTriggersSLUsingFirstTriggerBlock = inputs.signallerConfigs.secondsTriggersSLUsingFirstTriggerBlock;
applyValidateAndFilterOnSelectInsideOthers = inputs.signallerConfigs.applyValidateAndFilterOnSelectInsideOthers;
//
allowSignallingConditions1 = inputs.signallerConfigs.allowSignallingConditions1;
allowSignallingConditions2 = inputs.signallerConfigs.allowSignallingConditions2;
allowSignallingConditions3 = inputs.signallerConfigs.allowSignallingConditions3;
allowSignallingConditions4 = inputs.signallerConfigs.allowSignallingConditions4;
allowSignallingConditions5 = inputs.signallerConfigs.allowSignallingConditions5;
allowSignallingConditions6 = inputs.signallerConfigs.allowSignallingConditions6;
//
bool has = inputs.IsValid();
if (!has)