From 1997b1ba8d735878695d4dc3e0126349eb83ad60 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Fri, 11 Oct 2024 01:40:22 +0330 Subject: [PATCH] Set Requred Values s Default in Inputs ... --- Experts/x-saherelm.x121.ea.mq5 | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/Experts/x-saherelm.x121.ea.mq5 b/Experts/x-saherelm.x121.ea.mq5 index 776df9da..79a11e7f 100644 --- a/Experts/x-saherelm.x121.ea.mq5 +++ b/Experts/x-saherelm.x121.ea.mq5 @@ -48,9 +48,10 @@ input string eaLogSuffix = ""; // Log Suffix // // Symbols ... input group "Symbols"; -input bool eaMultiSymbol = false; // Use Multi 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 bool eaMultiSymbol = false; // Use Multi Symbol +input bool eaUseMaxAllowedTradesPerSymbol = true; // Use Max Allowed Trades Per Symbol +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 ... @@ -61,7 +62,7 @@ input group "Risk Management"; input group "Risk/Reward"; input bool eaIgnoreTP = false; // Ignore TP 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 // @@ -75,11 +76,11 @@ input double eaVolume = 0.01; // Static Volume // // Risk Management > Trade Management ... input group "Trade Management"; -input bool eaAllowLong = true; // Allow Long Positions -input bool eaAllowShort = true; // Allow Short Positions -input int eaMaxAllowedLongs = 2; // Max Allowed Long Positions -input int eaMaxAllowedShorts = 2; // Max Allowed Short Positions -input double eaMaxDrawdownPercentForOpenTrades = 3; // Max Drawdown Percent for Open Trades +input bool eaAllowLong = true; // Allow Long Positions +input bool eaAllowShort = true; // Allow Short Positions +input int eaMaxAllowedLongs = 1; // Max Allowed Long Positions +input int eaMaxAllowedShorts = 1; // Max Allowed Short Positions +input double eaMaxDrawdownPercentForOpenTrades = 10; // Max Drawdown Percent for Open Trades // // Protector ... @@ -91,7 +92,7 @@ input double eaAcceptNextSameTypeSignalWhenLastInProfit = 50; // Accept Next Sam // // Protector > Hedging Properties ... 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 int eaMinimumOpenPositionsForHEHedge = 2; // Minimum Open Positions For HE Hedge input double eaHedgeHEMinProfitPerVolumeStep = 1; // Minimum Required Profit For HE Hedge Per Volume Step @@ -104,7 +105,7 @@ input group "In Profit Positions Protecting"; // // 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 eaTrailStep = 10; // Trail Step in Point input int eaRemoveTPAfterTrailedLevel = 4; // Remove Trailed Position TP after Level