Skip to content

Commit d972da9

Browse files
author
EarnForex
authored
1.13
Further fixes for trendline trading mode involving horizontal lines.
1 parent 09c0170 commit d972da9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ChartPatternHelper.mq4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//+------------------------------------------------------------------+
66
#property copyright "Copyright © 2013-2023, EarnForex"
77
#property link "https://www.earnforex.com/metatrader-expert-advisors/ChartPatternHelper/"
8-
#property version "1.12"
8+
#property version "1.13"
99
#property strict
1010

1111
#include <stdlib.mqh>
@@ -791,7 +791,7 @@ void AdjustUpperAndLowerOrders()
791791
{
792792
RefreshRates();
793793
NewVolume = GetPositionSize(Ask, UpperSL);
794-
UpperTicket = ExecuteMarketOrder(OP_SELL, NewVolume, Ask, UpperSL, UpperTP);
794+
UpperTicket = ExecuteMarketOrder(OP_BUY, NewVolume, Ask, UpperSL, UpperTP);
795795
}
796796
}
797797
return;

ChartPatternHelper.mq5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//+------------------------------------------------------------------+
66
#property copyright "Copyright © 2013-2023, EarnForex"
77
#property link "https://www.earnforex.com/metatrader-expert-advisors/ChartPatternHelper/"
8-
#property version "1.12"
8+
#property version "1.13"
99

1010
#property description "Uses graphic objects (horizontal/trend lines, channels) to enter trades."
1111
#property description "Works in two modes:"

0 commit comments

Comments
 (0)