preparing XBTUS5 Project and all materials to start implementation ...

This commit is contained in:
2024-02-24 17:09:08 -08:00
parent 660e5f6580
commit ce172b03e3
46 changed files with 52161 additions and 17368 deletions
@@ -36,21 +36,21 @@ input bool xBTUS5EnableProvider = true; // Enable Provider
input int xBTUS5NumberOfItemsPerTick = 30; // Number Of items Readed In Each Tick
//
// Alerts ...
input bool xBTUS5EnableAlerts = true; // Enable Events Alert
input bool xBTUS5EnableHourlyAlerts = false; // Send Alert on each new Hour
input bool xBTUS5EnableDailyAlerts = false; // Send Alert on each new Day
input bool xBTUS5EnableWeeklyAlerts = false; // Send Alert on each new Week
input bool xBTUS5EnableMonthlyAlerts = true; // Send Alert on each new Month
input bool xBTUS5EnableAlerts = true; // Enable Events Alert
input bool xBTUS5EnableHourlyAlerts = false; // Send Alert on each new Hour
input bool xBTUS5EnableDailyAlerts = false; // Send Alert on each new Day
input bool xBTUS5EnableWeeklyAlerts = false; // Send Alert on each new Week
input bool xBTUS5EnableMonthlyAlerts = false; // Send Alert on each new Month
//
// Reports ...
input bool xBTUS5EnableDailyReports = false; // Send Report on each new Day
input bool xBTUS5EnableWeeklyReports = false; // Send Report on each new Week
input bool xBTUS5EnableMonthlyReports = true; // Send Report on each new Month
input bool xBTUS5EnableDailyReports = false; // Send Report on each new Day
input bool xBTUS5EnableWeeklyReports = false; // Send Report on each new Week
input bool xBTUS5EnableMonthlyReports = false; // Send Report on each new Month
//
// Trader and Expert Specific Configurations ...
input group "XBTUS5 Trader";
input int xBTUS5MagicNumber = 16940561; // Trader MagicNumber
input int xBTUS5MagicNumber = 16940563; // Trader MagicNumber
input int xBTUS5Slippage = 10; // Trader Slippage
//
@@ -68,11 +68,11 @@ input int xBTUS5MaxAllowedTrades = 10;
input ENUM_X_CROSS_SIGNAL_METHOD xBTUS5CrossSignalsMethod = X_CROSS_SIGNAL_REGULAR; // Handle Cross Signals Method
//
// Max Allowed Trade Age ...
input int xBTUS5MaxAllowedTradeAge = 2000; // Detect Long Time Trades
input int xBTUS5MaxAllowedTradeAge = 1500; // Detect Long Time Trades
input ENUM_X_GUARD_ACTIONS xBTUS5OldTradesAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_1; // What to do with Old Trades
//
// Trade Volume Specific Configurations ...
input double xBTUS5StaticVolumeFactor = 0.0002; // Static Volume baesd on Balance
input double xBTUS5StaticVolumeFactor = 0.0001; // Static Volume baesd on Balance
input ENUM_STATIC_VOLUME_METHODS xBTUS5StaticVolumeMethod = X_STATIC_VOLUME_BASED_ON_BALANCE; // How to Calculate Static Volume
input double xBTUS5VolumeMultiplier = 0; // Volume Increase Multiplier
input double xBTUS5ApplyVolumeMultiplierFactor = 0; // Apply Volume Multiplier Rate based on Balance
@@ -80,16 +80,16 @@ input double xBTUS5MaxSupportedVolumePerTradeFactor = 0;
input double xBTUS5IncreasedMaxSupportedVolumeRate = 0; // Increase Max Supported Volume based on Balance
//
// Trade Profits ...
input double xBTUS5MinRewardInPips = 6; // Minimum Reward Per Trade in Pips
input double xBTUS5MinRewardInPips = 60; // Minimum Reward Per Trade in Pips
input double xBTUS5RiskFreeStepInPips = 0; // Make Trades Risk Free Steps in Pips
input double xBTUS5RiskFreeRate = 0; // Volume Multiplier for Risk Free Trades
input double xBTUS5RiskFreeRate = 0; // Volume Multiplier for Risk Free Trades
//
// Guard Riskable Money and Profits ...
input double xBTUS5CriticalDrawDownFactor = 0.30; // Critical Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xBTUS5CriticalGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_5; // Specify Guard Action on Critical Drawdown
input double xBTUS5MaxAllowedDrawDownFactor = 0.40; // Max Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xBTUS5MaxAllowedGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_10; // Specify Guard Action on Max Allowed Drawdown
input int xBTUS5GuardStopoutFiredAfterTouches = 5; // Guard Stopout all Trades if Max Allowed Drawdown touched
input double xBTUS5CriticalDrawDownFactor = 0.30; // Critical Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xBTUS5CriticalGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_1; // Specify Guard Action on Critical Drawdown
input double xBTUS5MaxAllowedDrawDownFactor = 0.40; // Max Allowed Drawdown Factor based on Balance
input ENUM_X_GUARD_ACTIONS xBTUS5MaxAllowedGuardAction = X_GUARD_PARTIAL_CLOSE_MAX_IN_DD_5; // Specify Guard Action on Max Allowed Drawdown
input int xBTUS5GuardStopoutFiredAfterTouches = 5; // Guard Stopout all Trades if Max Allowed Drawdown touched
//
// Account Conditions for Trading ...
@@ -212,7 +212,7 @@ bool XBTUS5ValidateInputs()
//
result =
xBTUS5CriticalDrawDownFactor == 0 || (xBTUS5CriticalDrawDownFactor > 0 &&
xBTUS5CriticalDrawDownFactor < 1);
xBTUS5CriticalDrawDownFactor < 1);
if (!result)
{
//
@@ -225,7 +225,7 @@ bool XBTUS5ValidateInputs()
//
result =
xBTUS5MaxAllowedDrawDownFactor == 0 || (xBTUS5MaxAllowedDrawDownFactor > 0 &&
xBTUS5MaxAllowedDrawDownFactor < 1);
xBTUS5MaxAllowedDrawDownFactor < 1);
if (!result)
{
//