Update to version 2.04

This commit is contained in:
9nix6
2018-05-15 19:27:24 +02:00
parent a19c291525
commit 91e99e93cc
8 changed files with 326 additions and 91 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
#property copyright "Copyright 2017, AZ-iNVEST"
#property copyright "Copyright 2017-18, AZ-iNVEST"
#property link "http://www.az-invest.eu"
#property version "2.05"
#property version "2.06"
#property description "Example EA showing the way to use the RangeBars class defined in RangeBars.mqh"
//
@@ -32,7 +32,7 @@ RangeBars * rangeBars;
//+------------------------------------------------------------------+
int OnInit()
{
rangeBars = new RangeBars();
rangeBars = new RangeBars(MQLInfoInteger((int)MQL5_TESTING) ? false : true);
if(rangeBars == NULL)
return(INIT_FAILED);
+3 -3
View File
@@ -1,6 +1,6 @@
#property copyright "Copyright 2017, AZ-iNVEST"
#property copyright "Copyright 2017-18, AZ-iNVEST"
#property link "http://www.az-invest.eu"
#property version "1.00"
#property version "1.10"
#property description "Example EA: Trading based on RangeBars SuperTrend signals."
#property description "One trade at a time. Each trade has TP & SL"
@@ -61,7 +61,7 @@ CMarketOrder * marketOrder;
//+------------------------------------------------------------------+
int OnInit()
{
rangeBars = new RangeBars();
rangeBars = new RangeBars(MQLInfoInteger((int)MQL5_TESTING) ? false : true);
if(rangeBars == NULL)
return(INIT_FAILED);