add support for Cycle Provider ...
This commit is contained in:
@@ -43,6 +43,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
// Props ...
|
||||
bool useXWZSignal;
|
||||
XCX121SMCXWZSignalDetector *mXWZSignalDetector;
|
||||
X121SMCStrategySignalProviderData cycleProvider;
|
||||
|
||||
//
|
||||
// Constructor(s) ...
|
||||
@@ -117,6 +118,9 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
ZeroMemory(mXWZSignalDetector);
|
||||
|
||||
//
|
||||
cycleProvider.Destroy();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -417,10 +421,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
bool hasGuard = mXWZSignalDetector.DetectGuards(
|
||||
xwzGuards,
|
||||
positions,
|
||||
mDecisionCycleHelper,
|
||||
mAnalyseCycleHelper,
|
||||
mConsolidationCycleHelper,
|
||||
mVisionCycleHelper //
|
||||
cycleProvider //
|
||||
);
|
||||
|
||||
//
|
||||
@@ -540,10 +541,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
//
|
||||
// Detect Signal Setup ...
|
||||
isSetuped = mXWZSignalDetector.DetectSignalSetup(
|
||||
mDecisionCycleHelper,
|
||||
mAnalyseCycleHelper,
|
||||
mConsolidationCycleHelper,
|
||||
mVisionCycleHelper //
|
||||
cycleProvider //
|
||||
);
|
||||
|
||||
//
|
||||
@@ -592,10 +590,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
canTrigger = mXWZSignalDetector
|
||||
.DetectSignalTrigger(
|
||||
mTmpConditions[i],
|
||||
mDecisionCycleHelper,
|
||||
mAnalyseCycleHelper,
|
||||
mConsolidationCycleHelper,
|
||||
mVisionCycleHelper //
|
||||
cycleProvider //
|
||||
);
|
||||
|
||||
//
|
||||
@@ -1051,6 +1046,15 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
mVisionCycleHelper.mPOIDrawer.BullishFVGColor(bullishColor);
|
||||
mVisionCycleHelper.mPOIDrawer.BearishFVGColor(bearishColor);
|
||||
}
|
||||
|
||||
//
|
||||
// Initial Cycle Provider ...
|
||||
cycleProvider.Init(
|
||||
mDecisionCycleHelper,
|
||||
mAnalyseCycleHelper,
|
||||
mConsolidationCycleHelper,
|
||||
mVisionCycleHelper //
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user