Alberto Tortella
Alberto Tortella
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
Alberto Tortella
Added topic clear an Excel sheet
Hi all, is there a way to clear an Excel sheet? I'm trying to create an Excel sheet to monitor my positions in real time. Thank you
Alberto Tortella
Added topic mqh file
Hi all, is there the possibility to shift a portion of code in an .mqh file, in order to obtain a smaller .mq4 file? I'd like to shift in a .mqh file the part code in which I create the Global Variables, but I don't want to create a single .mqh file
Alberto Tortella
Added topic rescue information from old OrderTicket()
Hi all, my expert writes a Global Variable in this way  StringConcatenate (..., Symbol (), OrderTicket ()); but when half position is closed on profit, the OrderTicket() is changed from the broker and the expert is not able to modify the Global
Alberto Tortella
Added topic I need an help with this monitor
Hi all, could you indicate the mistakes in this indicator monitor? I'm trying to write this indicator to monitor the global variables in my expert, but I don't find the errors... Thank you! #property indicator_chart_window extern int mCorn = 0
Alberto Tortella
Added topic problem with ObjetcSet
Hi, I'm try to recall the OrderTicket() in the ObjectSetDouble function , but I haven't in the autocomplete function, when I try to recall it. Where is the mistake? Thank you! void CreateLabels() { int total = OrdersTotal (); for ( int cnt= 0
Alberto Tortella
Added topic error on .hst file
Hi all, I have an error in the WTI M1 history file (hst). The WTI value is usually around 40 or 5 dollars, but I have a price of 135744. I see it on the graph, I'm not able to open the .hst file. How can I fix this error? Can I refresh the file