Alberto Tortella
Added topic is there a problem with include files in the new build?
Hi all, I use an include file to calculate the lot size in my experts.   This file worked correctly with the old version of Metatrader 4. Now with the new build 600 it does not work properly.   In my expert I define the % risk with an
Alberto Tortella
Added topic return value should be checked?
Hi all, when I compile my experts with the new build version I often get the warning "return value of OrderSelect" should be checked ". How can I proceed to check this? Thank you
Alberto Tortella
Added topic cannot create interface of MQL compiler? Help
Hi all, after the update of my MT4 platform, I have this error when I try to compile my experts. Where is the problem? Thank you
Alberto Tortella
Added topic Problem with Renko charts in the new MT4
Hi all, I have a problem with Renko charts in the new MT4. I’m using Renko Live Chart v 3.2 in the OLD MT4 version, but I don’t see the M2 chart in the offline folder in the NEW MT4 version. I have read this article
Alberto Tortella
Added topic problem with OrderClose()
Hi all, I manually opened a sell order on USDCAD, size 0.10, order ticket 162078588. I wrote a simple expert that I attached on the USDCAD graph. int start()   {      OrderClose( 162078588 ,OrderLots(),Ask, NULL
Alberto Tortella
Added topic pending orders too tight?
Hi all, is there the possibility that the broker does not accept a pending order if the price indicated is too For instance, the ask price is 125.41 and I want to place a pending buystop @ 125.421, is this a valid request or not? I don't see
Alberto Tortella
Added topic ping failed
Hi all, is there the possibility to recall in an expert the situation "ping failed" that I see sometimes in the diary? When the connection is lost, I need to refresh my Renko graphs. Something as if (ping failed == true) ....  Thank
Alberto Tortella
Added topic IsConnected( )
Hi all, when the bool IsConnected ( ) is false, the bool IsTradeAllowed ( ) is also false? Is it possible that when IsConnected() is false, IsTradeAllowed() is true?   Thank you! 
Alberto Tortella
Added topic problem with GlobalVariableGet()
Hi, I have a problem with GlobalVariableGet() function . I define my variables in this way: string count_long = StringConcatenate("count_long_",Symbol()) ; GlobalVariableSet(count_long,1) ; The expert runs on different pairs. So I obtain
Alberto Tortella
Added topic round up & down
HI all, I need to round Bid to the highest and lowest value, as in this example Bid = 1.24231 I need to obtain 1.24300 (upper round) and 1.24200 (lower round). I’m trying to use MathRound() and NormalizeDouble() but it doesn’t work. Could you help
Alberto Tortella
Added topic MathRand()
Hi all, could you give a criteria on how to use MathRand() function to open orders? Something like this: if ( MathRand() ....) BUY if ( MathRand() ...) SELL Betterif these two conditions have around 50% probability each one. For istance, if
Alberto Tortella
Added topic closing time for last order
Hi all, I'm trying to recall the closing time for the last order executed on the account for a certain currency. What do you think about this code? Thank you! total_history = OrdersHistoryTotal ( ) ;       for (cnt= 0
Alberto Tortella
Added topic Round to the low
Hi all, could you help me with this problem? int start()   {            Print ( NormalizeDouble ( 0.09 / 2 , 2 ));   } In this case output is 0.05. I need to obtain 0.04. How can I
Alberto Tortella
Added topic avoid modifying in comments
Hi all, when an order is opened my expert writes a comment in the order. Can I avoid that the expert modifies the comment when half position is closed at target price? Thank you
Alberto Tortella
Added topic order split
Hi all, is there the possibility to split an order in 2 orders after it was opened? I'd like to give a take profit at half size, an leave the other half without take profit. I know I could open 2 different orders at the beginning, but I noted that
Alberto Tortella
Added topic web site to share the account
Hy everybody, could you indicate me the web site that allow to share the trades placed on a certain account? I saw it somewhere but I don't find it anynore. Thank you
Alberto Tortella
Added topic % risk on the account
Hi all, I usually trade by setting my stop to obtain 1% max loss on every trade. To do this, I recall double AccountFreeMargin ( ) but I'm not sure it's correct. May be it's more correct recall double AccountBalance ( ) because this double returns
Alberto Tortella
Added topic 2 experts on the same graph
Hi all, is there the possibility to run 2 experts on the same graph? Can I write an expert in which I recall 2 experts? Thank you
Alberto Tortella
Added topic Choosing time zone
Hi everydoby, I know that it's not possible to modify the platform clock. Is there an indicator showing the opening time for every bar with the desiderd time zone? For instance, platform is settled on GMT but the indicator shows opening time on
Alberto Tortella
Added topic Doubt with 5 digit broker
Hi everybody, I'm using a 5 digit broker. When I use the function Print (Low[ 0 ]) I see 4 digit, for instance 1.3147. If I write string value =DoubleToStr(Low[ 0 ], 5 ); Print( value ) ; Low[0] is 1.31467. My doubt is: when I write Low[0] in an