This commit is contained in:
2024-06-24 09:37:03 +03:30
parent 00b503d808
commit 4854b9f6a8
2 changed files with 194 additions and 46 deletions
+6
View File
@@ -114,6 +114,9 @@ input int x121EARestingAfterHedge = 0; // Resting Seconds A
input double x121EAForceCloseProfit = 15; // Close All Positions Regardless of Policies when Profit Reached
input double x121EAMaxDrawdownForce = 5; // Max Drawdown Force State for Handling Guards
input int x121EAMaxPositionsForce = 10; // Max Number of Positions Force State for Handling Guards
input double x121EAMinFreeMargingForHandleForce = 800; // Min Free Margin for Force States
input double x121EAForceCloseOnEuityDiff = 15; // Force Close On Equity Differential
input bool x121EAAllowSymbolHedgeOnForce = false; // Allow Symbol Hedging on Force States
input double x121EAMinRequiredProfitPerTrade = 0.5; // Minimum Required Profit for Hedging
input double x121EAMinRequiredProfitPerVolumeFactor = 0.01; // Minimum Required Profit for Hedging Per Volume
@@ -379,6 +382,9 @@ bool InitialEA()
x121EA.RestingAfterHedge(x121EARestingAfterHedge);
x121EA.MaxDrawdownForce(x121EAMaxDrawdownForce);
x121EA.MaxPositionsForce(x121EAMaxPositionsForce);
x121EA.AllowSymbolHedgeOnForce(x121EAAllowSymbolHedgeOnForce);
x121EA.ForceCloseOnEuityDiff(x121EAMinFreeMargingForHandleForce);
x121EA.MinFreeMargingForHandleForce(x121EAForceCloseOnEuityDiff);
x121EA.MinRequiredProfitPerTrade(x121EAMinRequiredProfitPerTrade);
x121EA.MinRequiredProfitPerVolumeFactor(x121EAMinRequiredProfitPerVolumeFactor);