last ...
This commit is contained in:
@@ -518,8 +518,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
mAnalyseCycleHelper,
|
||||
mVerificationCycleHelper,
|
||||
mConsolidationCycleHelper,
|
||||
mVisionCycleHelper,
|
||||
mPOIDrawer //
|
||||
mVisionCycleHelper //
|
||||
);
|
||||
|
||||
//
|
||||
@@ -528,18 +527,33 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
}
|
||||
|
||||
//
|
||||
// if (mXTWPVConditions.HasPriceZone())
|
||||
// {
|
||||
// //
|
||||
// XCBaseObject *objects[];
|
||||
// mPOIDrawer.DrawPriceZone(
|
||||
// mXTWPVConditions.priceZone,
|
||||
// objects //
|
||||
// );
|
||||
if (isSetuped)
|
||||
{
|
||||
//
|
||||
mXTWPVConditions.UpdateOrderBlocks();
|
||||
|
||||
// //
|
||||
// Print("");
|
||||
// }
|
||||
//
|
||||
XCBaseObject *bullDrawnObjects[];
|
||||
int bullDrawnObjectsCount = mPOIDrawer.DrawFVGOrderBlock(
|
||||
mXTWPVConditions.bullishOrderBlocks,
|
||||
bullDrawnObjects //
|
||||
);
|
||||
if (IsValidSize(bullDrawnObjectsCount))
|
||||
{
|
||||
AddObjectsIfNotExists(bullDrawnObjects);
|
||||
}
|
||||
|
||||
//
|
||||
XCBaseObject *bearDrawnObjects[];
|
||||
int bearDrwanObjectsCount = mPOIDrawer.DrawFVGOrderBlock(
|
||||
mXTWPVConditions.bearishOrderBlocks,
|
||||
bearDrawnObjects //
|
||||
);
|
||||
if (IsValidSize(bearDrwanObjectsCount))
|
||||
{
|
||||
AddObjectsIfNotExists(bearDrawnObjects);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
result = isSetuped;
|
||||
@@ -690,20 +704,20 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
x121Inputs.xpvInputs.hcPeriod = hcPeriod;
|
||||
|
||||
//
|
||||
x121Inputs.xpvInputs.showSar = false;
|
||||
x121Inputs.xpvInputs.showPeaks = false;
|
||||
x121Inputs.xpvInputs.showVales = false;
|
||||
x121Inputs.xpvInputs.showSar = true;
|
||||
x121Inputs.xpvInputs.showPeaks = true;
|
||||
x121Inputs.xpvInputs.showVales = true;
|
||||
|
||||
//
|
||||
// XATR ...
|
||||
x121Inputs.xatrInputs.showATRUpper = false;
|
||||
x121Inputs.xatrInputs.showATRLower = false;
|
||||
x121Inputs.xatrInputs.showATRUpper = true;
|
||||
x121Inputs.xatrInputs.showATRLower = true;
|
||||
|
||||
//
|
||||
// XSTR ...
|
||||
x121Inputs.xstrInputs.showStr = false;
|
||||
x121Inputs.xstrInputs.showStrUpper = false;
|
||||
x121Inputs.xstrInputs.showStrLower = false;
|
||||
x121Inputs.xstrInputs.showStr = true;
|
||||
x121Inputs.xstrInputs.showStrUpper = true;
|
||||
x121Inputs.xstrInputs.showStrLower = true;
|
||||
|
||||
//
|
||||
// XDON ...
|
||||
|
||||
Reference in New Issue
Block a user