From aef729d7eb88b79ab1883d26d37da0c5435c5fb7 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Mon, 5 Aug 2024 12:20:05 +0330 Subject: [PATCH] last ... --- Parsers/x-saherelm.xch.eurusd.long.parser.mq5 | 2 +- Parsers/x-saherelm.xch.eurusd.short.parser.mq5 | 2 +- Parsers/x-saherelm.xch.gbpusd.long.parser.mq5 | 2 +- Parsers/x-saherelm.xch.gbpusd.short.parser.mq5 | 2 +- Strategies/x-saherelm.xch.strategy.mq5 | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Parsers/x-saherelm.xch.eurusd.long.parser.mq5 b/Parsers/x-saherelm.xch.eurusd.long.parser.mq5 index f5bdfb85..89912acc 100644 --- a/Parsers/x-saherelm.xch.eurusd.long.parser.mq5 +++ b/Parsers/x-saherelm.xch.eurusd.long.parser.mq5 @@ -8831,7 +8831,7 @@ struct XCHStartegyEURUSDLongConditionsParser ; // - return false; + return result; } }; diff --git a/Parsers/x-saherelm.xch.eurusd.short.parser.mq5 b/Parsers/x-saherelm.xch.eurusd.short.parser.mq5 index f1599802..d832cea0 100644 --- a/Parsers/x-saherelm.xch.eurusd.short.parser.mq5 +++ b/Parsers/x-saherelm.xch.eurusd.short.parser.mq5 @@ -9385,7 +9385,7 @@ struct XCHStartegyEURUSDShortConditionsParser ; // - return false; + return result; } }; diff --git a/Parsers/x-saherelm.xch.gbpusd.long.parser.mq5 b/Parsers/x-saherelm.xch.gbpusd.long.parser.mq5 index 45a49f65..4b799913 100644 --- a/Parsers/x-saherelm.xch.gbpusd.long.parser.mq5 +++ b/Parsers/x-saherelm.xch.gbpusd.long.parser.mq5 @@ -47,7 +47,7 @@ struct XCHStartegyGBPUSDLongConditionsParser ; // - return false; + return result; } }; diff --git a/Parsers/x-saherelm.xch.gbpusd.short.parser.mq5 b/Parsers/x-saherelm.xch.gbpusd.short.parser.mq5 index fc50cd58..7079fcab 100644 --- a/Parsers/x-saherelm.xch.gbpusd.short.parser.mq5 +++ b/Parsers/x-saherelm.xch.gbpusd.short.parser.mq5 @@ -47,7 +47,7 @@ struct XCHStartegyGBPUSDShortConditionsParser ; // - return false; + return result; } }; diff --git a/Strategies/x-saherelm.xch.strategy.mq5 b/Strategies/x-saherelm.xch.strategy.mq5 index 7c33060c..65fc9ec7 100644 --- a/Strategies/x-saherelm.xch.strategy.mq5 +++ b/Strategies/x-saherelm.xch.strategy.mq5 @@ -1278,6 +1278,7 @@ public: // only when on of TP or SL Provides, using provided R2R ... if ((tp <= 0 && sl > 0) || (tp > 0 && sl <= 0)) { + // CalculateTPSLByPrice( sl, tp,