From bd3a18958ea160ded9884e690e69b3f36df09c28 Mon Sep 17 00:00:00 2001 From: 9nix6 Date: Fri, 12 Jul 2019 22:43:13 +0200 Subject: [PATCH] Fixed error on line 99 --- Experts/RangeBars_ExampleEA.mq5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Experts/RangeBars_ExampleEA.mq5 b/Experts/RangeBars_ExampleEA.mq5 index 89f9494..2413f24 100644 --- a/Experts/RangeBars_ExampleEA.mq5 +++ b/Experts/RangeBars_ExampleEA.mq5 @@ -96,7 +96,7 @@ void OnTick() double MA1[]; // array to be filled by values of the first moving average double MA2[]; // array to be filled by values of the second moving average - if(rangeBars.GetMA1(MA1,startAtBar,numberOfBars) && rangeBars.GetMA1(MA2,startAtBar,numberOfBars)) + if(rangeBars.GetMA1(MA1,startAtBar,numberOfBars) && rangeBars.GetMA2(MA2,startAtBar,numberOfBars)) { // // Values are stored in the MA1 and MA2 arrays and are now ready for use