Refactor all new MQL5 Version Compiling Issues ...

This commit is contained in:
2025-08-05 17:32:55 +03:30
parent f260ccc8de
commit 8f76391671
15 changed files with 419 additions and 376 deletions
+6 -6
View File
@@ -103,7 +103,7 @@ struct XCATBEAStrategyConditions
triggerTime = NULL;
//
Clean(targets);
SpecifiedClean(targets);
//
pivotZone.Clean();
@@ -214,7 +214,7 @@ struct XCATBEAStrategyConditions
bool result = false;
//
result = IsValid(setupTime) &&
result = IsSpecifiedValid(setupTime) &&
HasDirection(dir);
if (!result)
{
@@ -262,9 +262,9 @@ struct XCATBEAStrategyConditions
result =
//
sl > 0 &&
IsValid(symbol) &&
IsValid(period) &&
IsValid(triggerTime) &&
IsSpecifiedValid(symbol) &&
IsSpecifiedValid(period) &&
IsSpecifiedValid(triggerTime) &&
type != X_POSITION_TYPE_ALL &&
type != X_POSITION_TYPE_NONE
//
@@ -1461,7 +1461,7 @@ bool DetectSignalZone(
isBullish
? clrAqua
: clrMagenta;
string iName = signalZone.type + "_Conditions_" + ToString(iDir) + "_" + ToString(((int)conditions.time));
string iName = signalZone.type + "_Conditions_" + ToXString(iDir) + "_" + ToXString(((int)conditions.time));
//
CChartObjectVLine *iObj = new CChartObjectVLine();