update for version 2.13

This commit is contained in:
unknown
2019-08-25 22:20:16 +02:00
parent dd2f769c89
commit 695a66b812
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ ulong currentTicket;
// the RangeBars indicator attached.
//
#define SHOW_INDICATOR_INPUTS
//#define SHOW_INDICATOR_INPUTS
//
// You need to include the RangeBars.mqh header file
+2 -2
View File
@@ -6,8 +6,8 @@
#property copyright "Copyright 2017, AZ-iNVEST"
#property link "http://www.az-invest.eu"
//#define RANGEBAR_INDICATOR_NAME "RangeBars\\RangeBarsOverlay211"
#define RANGEBAR_INDICATOR_NAME "Market\\Range Bars Charting"
#define RANGEBAR_INDICATOR_NAME "RangeBars\\RangeBarsOverlay213"
//#define RANGEBAR_INDICATOR_NAME "Market\\Range Bars Charting"
#define RANGEBAR_OPEN 00
#define RANGEBAR_HIGH 01
+4 -4
View File
@@ -485,7 +485,7 @@ bool CMarketOrder::Modify(ulong ticket, bool stopsInPips = true, int stoploss =
//do checks
if(!tradingChecks.OkToModifyPosition(symbol,ticket,priceSL,priceTP))
{
Alert("Unable to modify: "+tradingChecks.GetCheckErrorToString());
Print("Unable to modify: "+tradingChecks.GetCheckErrorToString());
return false;
}
@@ -532,7 +532,7 @@ bool CMarketOrder::Modify(ulong ticket, double priceSL=0,double priceTP=0)
//do checks
if(!tradingChecks.OkToModifyPosition(symbol,ticket,priceSL,priceTP))
{
Alert("Unable to modify: "+tradingChecks.GetCheckErrorToString());
Print("Unable to modify: "+tradingChecks.GetCheckErrorToString());
return false;
}
@@ -623,7 +623,7 @@ bool CMarketOrder::ModifyPending(ulong ticket, double entry, bool stopsInPips =
//do checks
if(!tradingChecks.OkToModifyOrder(symbol,ticket,entry,priceSL,priceTP))
{
Alert("Unable to modify: "+tradingChecks.GetCheckErrorToString());
Print("Unable to modify: "+tradingChecks.GetCheckErrorToString());
return false;
}
@@ -671,7 +671,7 @@ bool CMarketOrder::ModifyPending(ulong ticket, double entry, double priceSL=0, d
//do checks
if(!tradingChecks.OkToModifyOrder(symbol,ticket,entry,priceSL,priceTP))
{
Alert("Unable to modify: "+tradingChecks.GetCheckErrorToString());
Print("Unable to modify: "+tradingChecks.GetCheckErrorToString());
return false;
}