last works on trademanager symbol configurations ...

This commit is contained in:
2025-09-10 16:16:31 +03:30
parent 62af2237e4
commit 4a8924c3f6
4 changed files with 1194 additions and 711 deletions
+6 -35
View File
@@ -525,10 +525,6 @@ class XCXOM1EAExpert : public XCBase
eaTradeManager.SaveSignals(eaSaveSignals);
eaTradeManager.SaveRestrictions(eaSaveRestrictions);
//
// Enable Force Close At ...
eaTradeManager.SetForceCloseTradesAt(eaCloseAllOpenTradesAt);
//
// Setting Trade Reports ...
eaTradeManager
@@ -550,37 +546,12 @@ class XCXOM1EAExpert : public XCBase
);
//
// Setting Trade Restrictions ...
eaTradeManager
.SetTradeRestrictions(
eaRestrictionsPeriod,
eaMaxAllowedTPs,
eaMaxAllowedSLs,
eaMaxAllowedTrades //
);
//
// Parse Symbols ...
string symbols[];
ENUM_TIMEFRAMES periods[];
if (!IsSpecifiedValid(eaSymbolConfiguration))
{
//
Add(
_Symbol,
symbols //
);
//
Add(
_Period,
periods //
);
}
else
{
}
// Setting Symbol Configuration ...
XSymbolTradeConfig symbolConfigurations[];
eaTradeManager.SetSymbolConfigurations(eaSymbolConfiguration);
count = eaTradeManager.FillSymbolConfigurations(symbolConfigurations);
has = IsValidSize(count);
//
// Here we Apply Symbols,Periods and Configs ...