last ...
This commit is contained in:
@@ -58,15 +58,7 @@ class XCXOM1EAExpert : public XCBase
|
||||
bool eaAllowTrade; // Allow Trade on Signals
|
||||
bool eaAllowLongs; // Allow Long Trades
|
||||
bool eaAllowShorts; // Allow Short Trades
|
||||
string eaSessions; // Active Sessions
|
||||
ENUM_XTRADE_RESTRICTION_PERIOD eaRestrictionsPeriod; // Restrictions Period
|
||||
int eaMaxAllowedTPs; // Max Allowed TP(s) in Restrictions Period
|
||||
int eaMaxAllowedSLs; // Max Allowed SL(s) in Restrictions Period
|
||||
int eaMaxAllowedTrades; // Max Allowed Trades in Restrictions Period
|
||||
int eaMaxAllowedPositions; // Max Allowed Same Time Trades
|
||||
double eaMaxAllowedSpread; // Max Allowed Spread For Trade
|
||||
double eaMaxAllowedDrawdownFactor; // Max Allowed DrawDown for Trade
|
||||
string eaCloseAllOpenTradesAt; // Close All Open Trades per Day At Specified Time
|
||||
|
||||
//
|
||||
// Volume ...
|
||||
@@ -375,8 +367,8 @@ class XCXOM1EAExpert : public XCBase
|
||||
eaTrade = new XCTrade(
|
||||
eaSlippage,
|
||||
eaMagicNumber,
|
||||
eaMaxAllowedSpread,
|
||||
eaMaxAllowedPositions,
|
||||
0,
|
||||
0,
|
||||
eaMaxAllowedDrawdownFactor //
|
||||
);
|
||||
|
||||
@@ -551,7 +543,7 @@ class XCXOM1EAExpert : public XCBase
|
||||
eaTradeManager.SetSymbolConfigurations(eaSymbolConfiguration);
|
||||
count = eaTradeManager.FillSymbolConfigurations(symbolConfigurations);
|
||||
has = IsValidSize(count);
|
||||
|
||||
|
||||
//
|
||||
// Here we Apply Symbols,Periods and Configs ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user