This commit is contained in:
2024-05-26 19:53:36 +03:30
parent 4e78f13edf
commit c1aa4fe888
4 changed files with 1288 additions and 214 deletions
+6 -8
View File
@@ -31,16 +31,16 @@
//
// Inputs ...
long x121EAMagicNumber = 78692110; // Magic Number
int x121EASlippage = 10; // Slippgae
string x121EASymbols = "EURUSDb"; // Symbols
long x121EAMagicNumber = 78692110; // Magic Number
int x121EASlippage = 10; // Slippgae
string x121EASymbols = "EURUSDb,USDCHFb,USDJPYb,GBPUSDb"; // Symbols
//
bool x121EAAllowLong = true; // Allow Long Trades
bool x121EAAllowShort = true; // Allow Short Trades
int x121EAManageInterval = 0; // Manager Check Intervals Seconds
int x121EAMaxAllowedPositions = 5; // Max Allowed Positions
int x121EAMaxAllowedPositions = 10; // Max Allowed Positions
double x121EAMaxAllowedSpread = 0; // Max Allowed Spred for Opening Trades
double x121EAMinProfitPerTrade = 0.5; // Min Profit Per Trade based On Volume Factor (Hedge)
double x121EAMinProfitPerTrade = 5; // Min Profit Per Trade based On Volume Factor (Hedge)
double x121EAMinProfitPerVolumeFactor = 0.01; // Min Volume Factor for Calculating Profit (Hedge)
double x121EAMaxAllowedDrawdownFactor = 0.002; // Max Allowed Drawdown Factor
//
@@ -230,9 +230,7 @@ bool InitialEA()
iDescriptor.symbol = iSymbol;
iDescriptor.period = iPeriod;
iDescriptor.allowLong = x121EAAllowLong;
//
// TODO:
iDescriptor.allowShort = false; // x121EAAllowShort;
iDescriptor.allowShort = x121EAAllowShort;
Copy(
signallers,
iDescriptor.signallers);