This commit is contained in:
2025-03-23 04:02:34 +03:30
parent c49abe21db
commit fb305bbadd
3 changed files with 7 additions and 10 deletions
@@ -2629,7 +2629,7 @@ struct X121SMCStrategyConditionParser
// Rejected Box ...
bool HasRejectedBoxConditions(
ENUM_X_CYCLES cycle,
XBoxZone &box,
XSignalBox &box,
ENUM_X_DIRECTION &dir,
XSignalBox &waitingBoxes[],
X121SMCStrategySignalProviderData &provider,
@@ -2878,8 +2878,8 @@ struct X121SMCStrategyConditionParser
: X_DIRECTION_BEARISH;
//
box = selectedBox;
box.to = TimeCurrent();
box = iSignalBox;
box.UpdateTo(TimeCurrent());
}
//
@@ -1460,7 +1460,7 @@ struct X121SMCStrategyXWZWorkingZone
// ---------------------------------------------
// Rejected Box ...
// ---------------------------------------------
bool useSenario1 = false;
bool useSenario1 = true;
bool isSenario1Happend = false;
bool isSenario1Bullish = false;
bool isSenario1Bearish = false;
@@ -1470,7 +1470,6 @@ struct X121SMCStrategyXWZWorkingZone
isSenario1Happend = cParser.HasRejectedBoxConditions(
X_CYCLE_DECISION,
box,
holderBox,
dir,
waitingBoxes,
provider,
@@ -1611,9 +1610,7 @@ struct X121SMCStrategyXWZWorkingZone
//
if (!result)
{
//
box.Clean();
holderBox.Clean();
}
//
@@ -2004,8 +2001,8 @@ struct X121SMCStrategyXWZWorkingZone
if (has)
{
//
count = ArraySize(objects);
for (int i = 0; i < count; i++)
int objectsCount = ArraySize(objects);
for (int i = 0; i < objectsCount; i++)
{
mWorkingZoneObjects.Add(objects[i]);
}
@@ -837,7 +837,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
// XVWAP ...
x121Inputs.xvwapInputs.showVWapFast = showAll || true;
x121Inputs.xvwapInputs.showVWapMedium = showAll || true;
x121Inputs.xvwapInputs.showVWapSlow = showAll || false;
x121Inputs.xvwapInputs.showVWapSlow = showAll || true;
//
// X3MA ...