apply new mechanism for validating anf filtering ...
This commit is contained in:
@@ -96,44 +96,6 @@ struct X121XCatbInputs
|
||||
ENUM_TIMEFRAMES hcPeriod; // Hind Period
|
||||
ENUM_X_MARKET_CYCLES appliedCycle; // Applied Cycle
|
||||
|
||||
//
|
||||
// Signal ...
|
||||
// int signalR2R; // Risk Reward Ratio
|
||||
// bool drawSignals; // Draw Signal
|
||||
// bool drawTriggerBlock; // Draw Trigger Block
|
||||
// double slAtrMultiplier; // ATR Multiplier for SL
|
||||
|
||||
//
|
||||
// Validating ...
|
||||
bool forceHasSwing; // Force Blocks to Have Swing
|
||||
bool forceOBBarType; // Force Block Has Reversal Bar
|
||||
bool forceOBFVGBarType; // Force FVG Has Same Bars
|
||||
bool forceHasFLiquidity; // Force Blocks to Have Following Liquidity
|
||||
bool forceHasRLiquidity; // Force Blocks to Have Reversal Liquidity
|
||||
bool validateGapSequence; // Validate Block's Gap Sequence
|
||||
bool validateBlockEdgeBreakout; // Validate Block's Edge Breakout
|
||||
|
||||
//
|
||||
// Filtering ...
|
||||
bool filterBasedOnPV; // Filter Based on Peak and Vale
|
||||
bool filterBasedOnSar; // Filter Based on Sar
|
||||
bool filterBasedOnRSI; // Filter Based on RSI
|
||||
bool filterBasedOnADX; // Filter Based on ADX
|
||||
bool filterBasedOnATR; // Filter Based on ATR
|
||||
bool filterBasedOnTrend; // Filter Based on Trend
|
||||
bool filterBasedOnDelta; // Filter Based on Delta
|
||||
bool filterBasedOnVolume; // Filter Based on Volume
|
||||
bool filterBasedOnSignalBar; // Filter Based on Signal Bar
|
||||
bool filterBasedOnHKSignalBar; // Filter Based on Hiken Ashi Signal Bar
|
||||
|
||||
//
|
||||
// Alert ...
|
||||
string alertPrefix; // Alert Prefix
|
||||
bool logAlerts; // Log Alerts
|
||||
bool pushAlerts; // Push Alerts
|
||||
bool mailAlerts; // Mail Alerts
|
||||
bool terminalAlerts; // Terminal Alerts
|
||||
|
||||
//
|
||||
// Presentation ...
|
||||
bool showBars; // Show Bars
|
||||
@@ -179,37 +141,6 @@ struct X121XCatbInputs
|
||||
hcPeriod = NULL; // Hind Period
|
||||
appliedCycle = X_MARKET_CYCLE_HIND; // Applied Cycle
|
||||
|
||||
//
|
||||
// Validating ...
|
||||
forceHasSwing = false; // Force Blocks to Have Swing
|
||||
forceOBBarType = false; // Force Block Has Reversal Bar
|
||||
forceOBFVGBarType = false; // Force FVG Has Same Bars
|
||||
forceHasFLiquidity = false; // Force Blocks to Have Following Liquidity
|
||||
forceHasRLiquidity = false; // Force Blocks to Have Reversal Liquidity
|
||||
validateGapSequence = false; // Validate Block's Gap Sequence
|
||||
validateBlockEdgeBreakout = false; // Validate Block's Edge Breakout
|
||||
|
||||
//
|
||||
// Filtering ...
|
||||
filterBasedOnPV = false; // Filter Based on Peak and Vale
|
||||
filterBasedOnSar = false; // Filter Based on Sar
|
||||
filterBasedOnRSI = false; // Filter Based on RSI
|
||||
filterBasedOnADX = false; // Filter Based on ADX
|
||||
filterBasedOnATR = false; // Filter Based on ATR
|
||||
filterBasedOnTrend = false; // Filter Based on Trend
|
||||
filterBasedOnDelta = false; // Filter Based on Delta
|
||||
filterBasedOnVolume = false; // Filter Based on Volume
|
||||
filterBasedOnSignalBar = false; // Filter Based on Signal Bar
|
||||
filterBasedOnHKSignalBar = false; // Filter Based on Hiken Ashi Signal Bar
|
||||
|
||||
//
|
||||
// Alert ...
|
||||
alertPrefix = ""; // Alert Prefix
|
||||
logAlerts = false; // Log Alerts
|
||||
pushAlerts = false; // Push Alerts
|
||||
mailAlerts = false; // Mail Alerts
|
||||
terminalAlerts = false; // Terminal Alerts
|
||||
|
||||
//
|
||||
// Presentation ...
|
||||
showBars = false; // Show Bars
|
||||
@@ -249,37 +180,6 @@ struct X121XCatbInputs
|
||||
hcPeriod = NULL; // Hind Period
|
||||
appliedCycle = X_MARKET_CYCLE_HIND; // Applied Cycle
|
||||
|
||||
//
|
||||
// Validating ...
|
||||
forceHasSwing = false; // Force Blocks to Have Swing
|
||||
forceOBBarType = false; // Force Block Has Reversal Bar
|
||||
forceOBFVGBarType = false; // Force FVG Has Same Bars
|
||||
forceHasFLiquidity = false; // Force Blocks to Have Following Liquidity
|
||||
forceHasRLiquidity = false; // Force Blocks to Have Reversal Liquidity
|
||||
validateGapSequence = false; // Validate Block's Gap Sequence
|
||||
validateBlockEdgeBreakout = false; // Validate Block's Edge Breakout
|
||||
|
||||
//
|
||||
// Filtering ...
|
||||
filterBasedOnPV = false; // Filter Based on Peak and Vale
|
||||
filterBasedOnSar = false; // Filter Based on Sar
|
||||
filterBasedOnRSI = false; // Filter Based on RSI
|
||||
filterBasedOnADX = false; // Filter Based on ADX
|
||||
filterBasedOnATR = false; // Filter Based on ATR
|
||||
filterBasedOnTrend = false; // Filter Based on Trend
|
||||
filterBasedOnDelta = false; // Filter Based on Delta
|
||||
filterBasedOnVolume = false; // Filter Based on Volume
|
||||
filterBasedOnSignalBar = false; // Filter Based on Signal Bar
|
||||
filterBasedOnHKSignalBar = false; // Filter Based on Hiken Ashi Signal Bar
|
||||
|
||||
//
|
||||
// Alert ...
|
||||
alertPrefix = ""; // Alert Prefix
|
||||
logAlerts = false; // Log Alerts
|
||||
pushAlerts = false; // Push Alerts
|
||||
mailAlerts = false; // Mail Alerts
|
||||
terminalAlerts = false; // Terminal Alerts
|
||||
|
||||
//
|
||||
// Presentation ...
|
||||
showBars = true; // Show Bars
|
||||
@@ -1568,31 +1468,6 @@ class XCX121XCatbHelper : public XCBaseHelper
|
||||
mInputs.hcMethod,
|
||||
mInputs.hcPeriod,
|
||||
mInputs.appliedCycle,
|
||||
"", // Validating ...
|
||||
mInputs.forceHasSwing,
|
||||
mInputs.forceOBBarType,
|
||||
mInputs.forceOBFVGBarType,
|
||||
mInputs.forceHasFLiquidity,
|
||||
mInputs.forceHasRLiquidity,
|
||||
mInputs.validateGapSequence,
|
||||
mInputs.validateBlockEdgeBreakout,
|
||||
"", // Filtering ...
|
||||
mInputs.filterBasedOnPV,
|
||||
mInputs.filterBasedOnSar,
|
||||
mInputs.filterBasedOnRSI,
|
||||
mInputs.filterBasedOnADX,
|
||||
mInputs.filterBasedOnATR,
|
||||
mInputs.filterBasedOnTrend,
|
||||
mInputs.filterBasedOnDelta,
|
||||
mInputs.filterBasedOnVolume,
|
||||
mInputs.filterBasedOnSignalBar,
|
||||
mInputs.filterBasedOnHKSignalBar,
|
||||
"", // Alerts ...
|
||||
mInputs.alertPrefix,
|
||||
mInputs.logAlerts,
|
||||
mInputs.pushAlerts,
|
||||
mInputs.mailAlerts,
|
||||
mInputs.terminalAlerts,
|
||||
"", // Presentation ...
|
||||
mInputs.showBars,
|
||||
mInputs.showPV,
|
||||
|
||||
Reference in New Issue
Block a user