Asynchronous functions are obviously placed in the queue of other events in the chart, is it possible to view the all message queue of the chart and figure out how much time is left until the function is executed? bool
Hi guys, I have a problem with rectangles... I have a for loop with which I draw many rectangles on the chart,(15/20), and agni new candle I want to update the anchor point and not a problem this. But I notice that the indicator fails to update all
I have a problem restarting MT5 if I load the indicator on the chart the first time everything is ok but if I close and restart MT5 the time is not initialized correctly //+------------------------------------------------------------------+ //|
hi everyone, i have a problem with this iBarShift function. As soon as I look for a candle before midnight on the server, it returns error -1 as if it has no data history but the history is there. void OnTick () {
In the native code of RSI I notice that in the "main loop of calculations" the for loop does not start from the rates_total but from pos = 15. Why do I find the RSI value of index 0 in rates_total-1 instead of index 0
hello everyone, I'm writing a panel and I wanted to ask if you can set and use the CSpinEdit class by writing in the text box and not just clicking on the increase and decrease arrows. I have not found the way thank you
I am creating an indicator that draws a buffer line on the moving average values but the buffer is not written to the graph. #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots 1 #property
Hello, I'm doing some tests in MT5 on the strategy tester but I'm not clear the concept of TimeGMT. in this official mql5 article it is said that in the strategy testers the time is always the same as GMT. I have carried out a backtest of my EA and
I created a simple DLL that reads a text file (http //: mysite.com/miofile.txt) from a server. Everything works perfectly but in only one case in a Windos 7 PC the DLL could not communicate with the server and this function returned false . In
Hi all I have created a DLL that reads the data in a text file on the server and everything works correctly. Now I want to split the URL in the DLL and pass part of the path as an input parameter in my mql code but it does not work. my DLL is: extern
In MetaTrader5, when I open multiple positions, these add up to a single Trade. I can take the opening prices of the individual Trade: 1.21955 Buy first 1.22581 Buy Second but how do I take the price of the Green Break Even line: 1.22244525 Break
I have an indicator loaded on 13 assets, each tick processes a series of data in D1, H4 and M30. In 10 MT4 the behavior is the same but a MT4 inside VPS did not perform a certain passage. Is it possible that with all these assets the memory of the
I created a button that updates the chart and its objects but is just an escamotage, you have less rudimentary suggestions void Bottom ( string nome, string text, int text2, int XSIZE, int YSIZE, int XDISTANCE, int YDISTANCE, color colore, color
I created this feature for the time filter and it works, but if I close the Metatrader or compile the code for some modification, the function will no longer work. Should I initialize some variable? //Global scope extern bool
Hi everyone, I do not understand why using this feature, ChartSetSymbolPeriod (); my indicator is deinitialized and initialized each time I change symbol . How can I overcome this problem? thank you
Hello to everyone, i would need to use this operator || Between functions but I give you an error: 'if' - expression of 'void' type is illegal. if ( myFunction1() || myFunction2() ){ myFunction3(); }
I have a small problem with the addition of 10 charts in my indicator. In OnInit () I added this code to add 10 assets but first delete those open except the first one. Created buttons work but if I click to change assets, the 10 assets are deleted