Set Requred Values s Default in Inputs ...

This commit is contained in:
2024-10-11 01:40:22 +03:30
parent 947297f8b4
commit 1997b1ba8d
+12 -11
View File
@@ -48,9 +48,10 @@ input string eaLogSuffix = ""; // Log Suffix
// //
// Symbols ... // Symbols ...
input group "Symbols"; input group "Symbols";
input bool eaMultiSymbol = false; // Use Multi Symbol input bool eaMultiSymbol = false; // Use Multi Symbol
input bool eaUseMaxAllowedTradesPerSymbol = true; // Use Max Allowed Trades Per Symbol input bool eaUseMaxAllowedTradesPerSymbol = true; // Use Max Allowed Trades Per Symbol
input string eaSymbols = "EURUSDb,GBPUSDb,EURGBPb,USDJPYb,EURJPYb,USDCHFb,EURCHFb,AUDUSDb,EURAUDb,NZDUSDb,EURNZDb,USDCADb,EURCADb"; // Trading Symbols input string eaSymbols = "EURUSDb,GBPUSDb,USDJPYb,USDCHFb,DowJones30,XAUUSDb"; // Trading Symbols
// EURUSDb,GBPUSDb,EURGBPb,USDJPYb,EURJPYb,USDCHFb,EURCHFb,AUDUSDb,EURAUDb,NZDUSDb,EURNZDb,USDCADb,EURCADb
// //
// Risk Management ... // Risk Management ...
@@ -61,7 +62,7 @@ input group "Risk Management";
input group "Risk/Reward"; input group "Risk/Reward";
input bool eaIgnoreTP = false; // Ignore TP input bool eaIgnoreTP = false; // Ignore TP
input bool eaIgnoreSL = false; // Ignore SL input bool eaIgnoreSL = false; // Ignore SL
input double eaTPPoint = 200; // Static TP Point input double eaTPPoint = 300; // Static TP Point
input double eaSLPoint = 200; // Static SL Point input double eaSLPoint = 200; // Static SL Point
// //
@@ -75,11 +76,11 @@ input double eaVolume = 0.01; // Static Volume
// //
// Risk Management > Trade Management ... // Risk Management > Trade Management ...
input group "Trade Management"; input group "Trade Management";
input bool eaAllowLong = true; // Allow Long Positions input bool eaAllowLong = true; // Allow Long Positions
input bool eaAllowShort = true; // Allow Short Positions input bool eaAllowShort = true; // Allow Short Positions
input int eaMaxAllowedLongs = 2; // Max Allowed Long Positions input int eaMaxAllowedLongs = 1; // Max Allowed Long Positions
input int eaMaxAllowedShorts = 2; // Max Allowed Short Positions input int eaMaxAllowedShorts = 1; // Max Allowed Short Positions
input double eaMaxDrawdownPercentForOpenTrades = 3; // Max Drawdown Percent for Open Trades input double eaMaxDrawdownPercentForOpenTrades = 10; // Max Drawdown Percent for Open Trades
// //
// Protector ... // Protector ...
@@ -91,7 +92,7 @@ input double eaAcceptNextSameTypeSignalWhenLastInProfit = 50; // Accept Next Sam
// //
// Protector > Hedging Properties ... // Protector > Hedging Properties ...
input group "Hedging"; input group "Hedging";
input bool eaAllowHedge = true; // Allow Hedge Positions input bool eaAllowHedge = false; // Allow Hedge Positions
input double eaHedgeMinVolumeStep = 0.01; // Minimum Volume Step For Hedge input double eaHedgeMinVolumeStep = 0.01; // Minimum Volume Step For Hedge
input int eaMinimumOpenPositionsForHEHedge = 2; // Minimum Open Positions For HE Hedge input int eaMinimumOpenPositionsForHEHedge = 2; // Minimum Open Positions For HE Hedge
input double eaHedgeHEMinProfitPerVolumeStep = 1; // Minimum Required Profit For HE Hedge Per Volume Step input double eaHedgeHEMinProfitPerVolumeStep = 1; // Minimum Required Profit For HE Hedge Per Volume Step
@@ -104,7 +105,7 @@ input group "In Profit Positions Protecting";
// //
// Trail ... // Trail ...
input group "Trail"; input group "Trail";
input bool eaAllowTrail = true; // Allow Trail Stop for Positions input bool eaAllowTrail = false; // Allow Trail Stop for Positions
input double eaTrailStartDistance = 35; // Specify Trail Start in Point input double eaTrailStartDistance = 35; // Specify Trail Start in Point
input double eaTrailStep = 10; // Trail Step in Point input double eaTrailStep = 10; // Trail Step in Point
input int eaRemoveTPAfterTrailedLevel = 4; // Remove Trailed Position TP after Level input int eaRemoveTPAfterTrailedLevel = 4; // Remove Trailed Position TP after Level