Alberto Tortella
Added topic read from Alert window
Hi all, could you tell me if is there a way to read with an expert from the Alert window? I'd like to open trades on the basis of an Alert window signals. Thank you
Alberto Tortella
Added topic check if an order was closed @ take profit or @ stop loss
Hi all, is there a quick way to check in the Order History if an order was closed @ tale profit (green) or @ stop loss (red) ? One way is to compare the OrderClosePrice() with OrderTakeProfit() and OrderStoploss(), but may be there is a smarter way
Alberto Tortella
Added topic How to extract from OrderOpenTime()
Hi all, could you give me an help on how to extract the Hour number from OrderOpenTime() ? I need to compare this to the Hour() function . Thank you
Alberto Tortella
Added topic Renko Time
Hi all, I would like to create an histogram indicator to track the time for every Renko brick. I wrote this but I seem it doesn't work well, could you help me? Thank you! int start()   {    int limit;    int
Alberto Tortella
Added topic Average Range
Hi all, I wrote this code to calculate the average range between high and low. Could you tell me if it's ok or have you got a suggestion on how to improve it? Thank you Where Periodo is an external int. int start()   {    int
Alberto Tortella
Added topic Math Round upper and lower
Hi all, could you help me to round the number 1.13573 to 1.1360 ? Once obtained the number, how to extract the number "6" ? Thank you
Alberto Tortella
Left feedback to developer for job Excel link expert or indicator
Alberto Tortella
Added topic minimum distance for pending orders
Hi call, is there a way to check the minimum distance between market level and pending price order requested from the broker? Thank you
Alberto Tortella
Added topic problem with iTime on GOLD
Hi all, I use the following code in the majors, and it works well.  datetime timeDailyOpen= iTime ( Symbol (), PERIOD_D1 , 0 );       int currentDailyBars= iBarShift ( Symbol (), PERIOD_H1 ,timeDailyOpen, true ); If I apply
Alberto Tortella
Added topic I need buffers in this indicator
Hi all, I would like to extract the value lines from the attached indicator (using iCustom function in my expert) but I'm not able because I seem there are no buffers. Could you help me? Thank you
Alberto Tortella
Added topic Highest H1 Open on the current day
Hi all, I'm trying to write an .mqh file to find the highest H1 Open for the daily bar. Could you help me? Thank you! double HIGHEST_H1_OPEN;       double HIGHEST_H1_OPEN()        {
Alberto Tortella
Added topic Excel link
Hi all, do you know if there is a way to see the value of expert variables (int, doubles etc) on an Excel sheet? Thank you
Alberto Tortella
Added topic iTime indicator on Renko charts
Hi all, if I try to use the following code on a H1 chart  Print ( iTime ( NULL , NULL , 1 )- iTime ( NULL , NULL , 2 ) ); the result is 3600, 60 seconds x 60 minutes. If I apply the code on a Renko chart I seem the result is not correct. For
Alberto Tortella
Added topic not all control paths return a value
Good morning, the editor gives me the following error: “not all control paths return a value”. Do I need to place return(0) at the end of every “for” “if” and all other functions ? For instance, where do I place return(0) in the code below? Thank
Alberto Tortella
Added topic problem with keyboard
Hi all, if I use Note Pad I have no problem in typing @, [, ] and other buttons, but when I use the MT4 Editor the same keys returns different symbols. Where is the problem? Thank you
Alberto Tortella
Added topic Anyone installed MT4 on Ubuntu recently?
Hi all, I tried to install the MT4 platform on a Ubunt cloud server  - version 12.04 - but I have an error. I tried with Wine and with PlayonLinux but I have the same error: the operating system is not valid. Is there a problem with the latest
Alberto Tortella
Added topic Why "0" instead of OrderTicket() ?
Hi all, could you explain where is the error? For the first order the expert returns "0" instead of the ticket. total = OrdersTotal ();           for (cnt= 1 ;cnt<=total;cnt++)     
Alberto Tortella
Added topic OrderSelct() error 4051
Hi all, I have error 4051 with this code, could you help me? Thank you! I verified by printing that the int "Old_Ticket" is correct, so I don't understand why it returns 4051 error. if (...)     {      int
Alberto Tortella
Added topic could you explain this mistake?
Hi all, could you explain why it's wrong this way to recall the orders?  Thank you! total = OrdersTotal ();      for (cnt= 0 ;cnt<=total;cnt++)      {         
Alberto Tortella
Added topic clear an Excel sheet
Hi all, is there a way to clear an Excel sheet? I'm developing my on Excel sheet to monitor my positions. I'm searching between the File functions but I don't find it. Thank you