last ...
This commit is contained in:
@@ -3169,7 +3169,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCOHCLObject *iObj;
|
XCOHCLObject *iObj;
|
||||||
bool isCreated = CreateBar(
|
bool isCreated = CreateBar(
|
||||||
model.lowestValeBar,
|
model.lowestValeBar,
|
||||||
iObj //
|
iObj,
|
||||||
|
cTime //
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -3190,7 +3191,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCOHCLObject *iObj;
|
XCOHCLObject *iObj;
|
||||||
bool isCreated = CreateBar(
|
bool isCreated = CreateBar(
|
||||||
model.lowestValePeakBreakeUpBar,
|
model.lowestValePeakBreakeUpBar,
|
||||||
iObj //
|
iObj,
|
||||||
|
cTime //
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -3211,7 +3213,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCOHCLObject *iObj;
|
XCOHCLObject *iObj;
|
||||||
bool isCreated = CreateBar(
|
bool isCreated = CreateBar(
|
||||||
model.valeAboveLowestValePeakBar,
|
model.valeAboveLowestValePeakBar,
|
||||||
iObj //
|
iObj,
|
||||||
|
cTime //
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -3232,7 +3235,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCOHCLObject *iObj;
|
XCOHCLObject *iObj;
|
||||||
bool isCreated = CreateBar(
|
bool isCreated = CreateBar(
|
||||||
model.highestPeakBar,
|
model.highestPeakBar,
|
||||||
iObj //
|
iObj,
|
||||||
|
cTime //
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -3253,7 +3257,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCOHCLObject *iObj;
|
XCOHCLObject *iObj;
|
||||||
bool isCreated = CreateBar(
|
bool isCreated = CreateBar(
|
||||||
model.peakBelowHighestPeakValeBar,
|
model.peakBelowHighestPeakValeBar,
|
||||||
iObj //
|
iObj,
|
||||||
|
cTime //
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -3274,7 +3279,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCOHCLObject *iObj;
|
XCOHCLObject *iObj;
|
||||||
bool isCreated = CreateBar(
|
bool isCreated = CreateBar(
|
||||||
model.highestPeakValeBreakeDownBar,
|
model.highestPeakValeBreakeDownBar,
|
||||||
iObj //
|
iObj,
|
||||||
|
cTime //
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -3302,7 +3308,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCBaseObject *ipObjects[];
|
XCBaseObject *ipObjects[];
|
||||||
int ipDrawnObjects = DrawPriceZone(
|
int ipDrawnObjects = DrawPriceZone(
|
||||||
ipZone,
|
ipZone,
|
||||||
ipObjects //
|
ipObjects,
|
||||||
|
model.bias //
|
||||||
);
|
);
|
||||||
if (IsValidSize(ipObjects))
|
if (IsValidSize(ipObjects))
|
||||||
{
|
{
|
||||||
@@ -3330,7 +3337,8 @@ class XCPOIDrawer : public XCBase
|
|||||||
XCBaseObject *ipObjects[];
|
XCBaseObject *ipObjects[];
|
||||||
int ipDrawnObjects = DrawPriceZone(
|
int ipDrawnObjects = DrawPriceZone(
|
||||||
ipZone,
|
ipZone,
|
||||||
ipObjects //
|
ipObjects,
|
||||||
|
model.bias //
|
||||||
);
|
);
|
||||||
if (IsValidSize(ipObjects))
|
if (IsValidSize(ipObjects))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -647,10 +647,29 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
|||||||
// Setup Conditions ...
|
// Setup Conditions ...
|
||||||
|
|
||||||
//
|
//
|
||||||
XMarketStructure marketStructure;
|
XMarketStructure consolidationMarketStructure;
|
||||||
bool hasMarketStructure =
|
bool hasConsolidationMarketStructure =
|
||||||
|
consolidationCycleHelper
|
||||||
|
.DetectMarketStructure(consolidationMarketStructure);
|
||||||
|
|
||||||
|
//
|
||||||
|
XMarketStructure analyseMarketStructure;
|
||||||
|
bool hasAnalyseMarketStructure =
|
||||||
analyseCycleHelper
|
analyseCycleHelper
|
||||||
.DetectMarketStructure(marketStructure);
|
.DetectMarketStructure(analyseMarketStructure);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Check Same Bias ...
|
||||||
|
result =
|
||||||
|
hasAnalyseMarketStructure &&
|
||||||
|
hasConsolidationMarketStructure &&
|
||||||
|
analyseMarketStructure.HasTrend() &&
|
||||||
|
consolidationMarketStructure.HasTrend() &&
|
||||||
|
analyseMarketStructure.bias == consolidationMarketStructure.bias;
|
||||||
|
if (!result)
|
||||||
|
{
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
XOHCL analyseCBar;
|
XOHCL analyseCBar;
|
||||||
|
|||||||
Reference in New Issue
Block a user