This commit is contained in:
2024-02-25 09:45:04 -08:00
parent 75bca41659
commit ec0a03203e
37 changed files with 1080 additions and 79 deletions
File diff suppressed because it is too large Load Diff
@@ -40,12 +40,12 @@ input bool xUSCHF5EnableAlerts = true; // Enable Events Alert
input bool xUSCHF5EnableHourlyAlerts = false; // Send Alert on each new Hour
input bool xUSCHF5EnableDailyAlerts = false; // Send Alert on each new Day
input bool xUSCHF5EnableWeeklyAlerts = false; // Send Alert on each new Week
input bool xUSCHF5EnableMonthlyAlerts = true; // Send Alert on each new Month
input bool xUSCHF5EnableMonthlyAlerts = false; // Send Alert on each new Month
//
// Reports ...
input bool xUSCHF5EnableDailyReports = false; // Send Report on each new Day
input bool xUSCHF5EnableWeeklyReports = false; // Send Report on each new Week
input bool xUSCHF5EnableMonthlyReports = true; // Send Report on each new Month
input bool xUSCHF5EnableDailyReports = false; // Send Report on each new Day
input bool xUSCHF5EnableWeeklyReports = false; // Send Report on each new Week
input bool xUSCHF5EnableMonthlyReports = false; // Send Report on each new Month
//
// Trader and Expert Specific Configurations ...
@@ -80,16 +80,16 @@ input double xUSCHF5MaxSupportedVolumePerTradeFactor = 0;
input double xUSCHF5IncreasedMaxSupportedVolumeRate = 0; // Increase Max Supported Volume based on Balance
//
// Trade Profits ...
input double xUSCHF5MinRewardInPips = 6; // Minimum Reward Per Trade in Pips
input double xUSCHF5MinRewardInPips = 6; // Minimum Reward Per Trade in Pips
input double xUSCHF5RiskFreeStepInPips = 0; // Make Trades Risk Free Steps in Pips
input double xUSCHF5RiskFreeRate = 0; // Volume Multiplier for Risk Free Trades
input double xUSCHF5RiskFreeRate = 0; // Volume Multiplier for Risk Free Trades
//
// Guard Riskable Money and Profits ...
input double xUSCHF5CriticalDrawDownFactor = 0.15; // Critical Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xUSCHF5CriticalGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_5; // Specify Guard Action on Critical Drawdown
input double xUSCHF5MaxAllowedDrawDownFactor = 0.20; // Max Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xUSCHF5MaxAllowedGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_10; // Specify Guard Action on Max Allowed Drawdown
input int xUSCHF5GuardStopoutFiredAfterTouches = 5; // Guard Stopout all Trades if Max Allowed Drawdown touched
input double xUSCHF5CriticalDrawDownFactor = 0.15; // Critical Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xUSCHF5CriticalGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_1; // Specify Guard Action on Critical Drawdown
input double xUSCHF5MaxAllowedDrawDownFactor = 0.20; // Max Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xUSCHF5MaxAllowedGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_5; // Specify Guard Action on Max Allowed Drawdown
input int xUSCHF5GuardStopoutFiredAfterTouches = 5; // Guard Stopout all Trades if Max Allowed Drawdown touched
//
// Account Conditions for Trading ...
@@ -212,7 +212,7 @@ bool XUSCHF5ValidateInputs()
//
result =
xUSCHF5CriticalDrawDownFactor == 0 || (xUSCHF5CriticalDrawDownFactor > 0 &&
xUSCHF5CriticalDrawDownFactor < 1);
xUSCHF5CriticalDrawDownFactor < 1);
if (!result)
{
//
@@ -225,7 +225,7 @@ bool XUSCHF5ValidateInputs()
//
result =
xUSCHF5MaxAllowedDrawDownFactor == 0 || (xUSCHF5MaxAllowedDrawDownFactor > 0 &&
xUSCHF5MaxAllowedDrawDownFactor < 1);
xUSCHF5MaxAllowedDrawDownFactor < 1);
if (!result)
{
//