This commit is contained in:
2024-05-25 08:43:32 +03:30
parent da63c4cb71
commit b8515c9d05
5 changed files with 1307 additions and 374 deletions
+21 -18
View File
@@ -30,18 +30,18 @@
//
// 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,XAUUSDb,AUDUSDb,USDCADb,NZDUSDb"; // Symbols
//
bool x121EAAllowLong = true; // Allow Long Trades
bool x121EAAllowShort = true; // Allow Short Trades
int x121EAManageInterval = 5; // Manager Check Intervals Seconds
int x121EAMaxAllowedPositions = 5; // Max Allowed Positions
int x121EAMaxAllowedPositions = 30; // Max Allowed Positions
double x121EAMaxAllowedSpread = 0; // Max Allowed Spred for Opening Trades
double x121EAMinProfitPerTrade = 0.4; // Min Profit Per Trade based On Volume Factor (Hedge)
double x121EAMinProfitPerTrade = 0.3; // Min Profit Per Trade based On Volume Factor (Hedge)
double x121EAMinProfitPerVolumeFactor = 0.01; // Min Volume Factor for Calculating Profit (Hedge)
double x121EAMaxAllowedDrawdownFactor = 0.015; // Max Allowed Drawdown Factor
double x121EAMaxAllowedDrawdownFactor = 0.05; // Max Allowed Drawdown Factor
//
double x121EAVolume = 0.01;
@@ -190,7 +190,10 @@ bool InitialEA()
//
// Define Signallers ...
ENUM_X121_SIGNAL_PROVIDERS signallers[];
GetAllX121SignalProviders(signallers);
Add(X786, signallers);
Add(X110, signallers);
Add(X121, signallers);
// GetAllX121SignalProviders(signallers);
//
// Instantiate X121EA Class ...
@@ -238,9 +241,9 @@ bool InitialEA()
//
// XMC ...
iDescriptor.inputs.mcInputs.showFastMa = true;
iDescriptor.inputs.mcInputs.showSlowMa = true;
iDescriptor.inputs.mcInputs.showVerifierMa = true;
iDescriptor.inputs.mcInputs.showFastMa = false;
iDescriptor.inputs.mcInputs.showSlowMa = false;
iDescriptor.inputs.mcInputs.showVerifierMa = false;
//
// XICH ...
@@ -255,26 +258,26 @@ bool InitialEA()
//
// XCHE ...
iDescriptor.inputs.cheInputs.showLongExit1Line = true;
iDescriptor.inputs.cheInputs.showShortExit1Line = true;
iDescriptor.inputs.cheInputs.showLongExit2Line = true;
iDescriptor.inputs.cheInputs.showShortExit2Line = true;
iDescriptor.inputs.cheInputs.showLongExit1Line = false;
iDescriptor.inputs.cheInputs.showShortExit1Line = false;
iDescriptor.inputs.cheInputs.showLongExit2Line = false;
iDescriptor.inputs.cheInputs.showShortExit2Line = false;
//
// XPV ...
iDescriptor.inputs.pvInputs.showPeaksAndVales = true;
iDescriptor.inputs.pvInputs.showPeaksAndVales = false;
iDescriptor.inputs.pvInputs.showLevels = false;
iDescriptor.inputs.pvInputs.showConsolidations = false;
iDescriptor.inputs.pvInputs.showFibo1Levels = false;
iDescriptor.inputs.pvInputs.showFibo2Levels = false;
iDescriptor.inputs.pvInputs.showFibo3Levels = true;
iDescriptor.inputs.pvInputs.showFibo3Levels = false;
iDescriptor.inputs.pvInputs.showFibo4Levels = false;
iDescriptor.inputs.pvInputs.showFibo5Levels = false;
//
// XZG ...
iDescriptor.inputs.zgInputs.showZigZag = false;
iDescriptor.inputs.zgInputs.showPeaksAndVales = true;
iDescriptor.inputs.zgInputs.showPeaksAndVales = false;
//
// XDON ...
@@ -285,7 +288,7 @@ bool InitialEA()
//
// XSTR ...
iDescriptor.inputs.strInputs.showTrends = true;
iDescriptor.inputs.strInputs.showTrends = false;
iDescriptor.inputs.strInputs.fillTrends = false;
//