This commit is contained in:
2025-05-09 04:58:24 +03:30
parent 87c6321dcb
commit b3be1b4596
3 changed files with 399 additions and 47 deletions
+17 -6
View File
@@ -665,12 +665,23 @@ void InitRequirements()
//
// Setting Trade Restrictions ...
eaTradeManager.SetTradeRestrictions(
eaRestrictionsPeriod,
eaMaxAllowedTPs,
eaMaxAllowedSLs,
eaMaxAllowedTrades //
);
eaTradeManager
.SetTradeRestrictions(
eaRestrictionsPeriod,
eaMaxAllowedTPs,
eaMaxAllowedSLs,
eaMaxAllowedTrades //
);
//
// Setting Sessions ...
eaTradeManager
.SetTradeSession(
_Symbol,
"03:00", // Start ...
"20:00", // End ...
"XSaherSession" // Name ...
);
//
// EA Signaller ...