last ...
This commit is contained in:
@@ -2629,7 +2629,7 @@ struct X121SMCStrategyConditionParser
|
|||||||
// Rejected Box ...
|
// Rejected Box ...
|
||||||
bool HasRejectedBoxConditions(
|
bool HasRejectedBoxConditions(
|
||||||
ENUM_X_CYCLES cycle,
|
ENUM_X_CYCLES cycle,
|
||||||
XBoxZone &box,
|
XSignalBox &box,
|
||||||
ENUM_X_DIRECTION &dir,
|
ENUM_X_DIRECTION &dir,
|
||||||
XSignalBox &waitingBoxes[],
|
XSignalBox &waitingBoxes[],
|
||||||
X121SMCStrategySignalProviderData &provider,
|
X121SMCStrategySignalProviderData &provider,
|
||||||
@@ -2878,8 +2878,8 @@ struct X121SMCStrategyConditionParser
|
|||||||
: X_DIRECTION_BEARISH;
|
: X_DIRECTION_BEARISH;
|
||||||
|
|
||||||
//
|
//
|
||||||
box = selectedBox;
|
box = iSignalBox;
|
||||||
box.to = TimeCurrent();
|
box.UpdateTo(TimeCurrent());
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1460,7 +1460,7 @@ struct X121SMCStrategyXWZWorkingZone
|
|||||||
// ---------------------------------------------
|
// ---------------------------------------------
|
||||||
// Rejected Box ...
|
// Rejected Box ...
|
||||||
// ---------------------------------------------
|
// ---------------------------------------------
|
||||||
bool useSenario1 = false;
|
bool useSenario1 = true;
|
||||||
bool isSenario1Happend = false;
|
bool isSenario1Happend = false;
|
||||||
bool isSenario1Bullish = false;
|
bool isSenario1Bullish = false;
|
||||||
bool isSenario1Bearish = false;
|
bool isSenario1Bearish = false;
|
||||||
@@ -1470,7 +1470,6 @@ struct X121SMCStrategyXWZWorkingZone
|
|||||||
isSenario1Happend = cParser.HasRejectedBoxConditions(
|
isSenario1Happend = cParser.HasRejectedBoxConditions(
|
||||||
X_CYCLE_DECISION,
|
X_CYCLE_DECISION,
|
||||||
box,
|
box,
|
||||||
holderBox,
|
|
||||||
dir,
|
dir,
|
||||||
waitingBoxes,
|
waitingBoxes,
|
||||||
provider,
|
provider,
|
||||||
@@ -1611,9 +1610,7 @@ struct X121SMCStrategyXWZWorkingZone
|
|||||||
//
|
//
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
//
|
|
||||||
box.Clean();
|
box.Clean();
|
||||||
holderBox.Clean();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -2004,8 +2001,8 @@ struct X121SMCStrategyXWZWorkingZone
|
|||||||
if (has)
|
if (has)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
count = ArraySize(objects);
|
int objectsCount = ArraySize(objects);
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < objectsCount; i++)
|
||||||
{
|
{
|
||||||
mWorkingZoneObjects.Add(objects[i]);
|
mWorkingZoneObjects.Add(objects[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -837,7 +837,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
|||||||
// XVWAP ...
|
// XVWAP ...
|
||||||
x121Inputs.xvwapInputs.showVWapFast = showAll || true;
|
x121Inputs.xvwapInputs.showVWapFast = showAll || true;
|
||||||
x121Inputs.xvwapInputs.showVWapMedium = showAll || true;
|
x121Inputs.xvwapInputs.showVWapMedium = showAll || true;
|
||||||
x121Inputs.xvwapInputs.showVWapSlow = showAll || false;
|
x121Inputs.xvwapInputs.showVWapSlow = showAll || true;
|
||||||
|
|
||||||
//
|
//
|
||||||
// X3MA ...
|
// X3MA ...
|
||||||
|
|||||||
Reference in New Issue
Block a user