Forum

ChartSetSymbolPeriod()

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 ChartSetSymbolPeriod ( long chart_id, // ID del Grafico

Problem with many rectangles

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 rectangles making a lot of confusion in the chart

Set "value" text

hello everyone, how can I set this value from the text settings? ObjectSetInteger ( 0 ,nome,OBJPROP_ // what do I insert

Problem whit reboot MT5

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 //+------------------------------------------------------------------+ //| Custom indicator initialization function

Error -1 iBarShift

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 () { Data = TimeCurrent (); Mezzanotte = Data - (Data % 86400 ); // 86400 == 1

clarification of RSI calculation

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? //+------------------------------------------------------------------+ //|

Panels and Dialogs CSpinEdit

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 //+------------------------------------------------------------------+ //|

Draw_Line: does not draw the buffer (MQL5)

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 indicator_label1 "Line" #property indicator_type1 DRAW_LINE

Simulation of Time in the Strategy Tester (MT5)

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 in the summer period (GMT + 3) has been corrected

question for simple DLL

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 addition to enabling DLLs in the MT4 you need to enable