From cf1ecfaed5687bbc49be6e6da6781d7c46d3ef80 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Wed, 31 Jul 2024 09:17:47 +0330 Subject: [PATCH] last applied configurations ... --- Experts/x-test-strategies.ea.mq5 | 6 ++--- Strategies/x-saherelm.xchkm.strategy.mq5 | 32 ++++++++++++------------ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Experts/x-test-strategies.ea.mq5 b/Experts/x-test-strategies.ea.mq5 index a417c8e4..e19f0382 100644 --- a/Experts/x-test-strategies.ea.mq5 +++ b/Experts/x-test-strategies.ea.mq5 @@ -46,7 +46,7 @@ int eaMaxAllowedShorts = 1; // Max Allowed Short Positions // double eaTPPoint = 150; // Static TP Point -double eaSLPoint = 100; // Static SL Point +double eaSLPoint = 500; // Static SL Point // bool eaIgnoreTP = false; // Ignore TP @@ -284,8 +284,8 @@ bool InitialEA() // // Configure Recovery ... - eaTradeHandler.AllowRecover(false); - eaTradeHandler.RecoveryTPPoint(300); + eaTradeHandler.AllowRecover(true); + eaTradeHandler.RecoveryTPPoint(150); eaTradeHandler.MaxAllowedRecover(0); eaTradeHandler.MaxAllowedRecoveryVolume(0.1); eaTradeHandler.RecoverySLPoint(200); diff --git a/Strategies/x-saherelm.xchkm.strategy.mq5 b/Strategies/x-saherelm.xchkm.strategy.mq5 index 1652b2a3..d8448bc0 100644 --- a/Strategies/x-saherelm.xchkm.strategy.mq5 +++ b/Strategies/x-saherelm.xchkm.strategy.mq5 @@ -742,22 +742,22 @@ public: return result; } - // - result = - // - (hasLong && - bullishTrend.IsValid()) - // - || - // - (!hasLong && - bearishTrend.IsValid()) - // - ; - if (!result) - { - return result; - } + // // + // result = + // // + // (hasLong && + // bullishTrend.IsValid()) + // // + // || + // // + // (!hasLong && + // bearishTrend.IsValid()) + // // + // ; + // if (!result) + // { + // return result; + // } // DestroyImportantAreas();