I want to build two information panels in one indicator and use the Canvas class for that. Because I want only 2 bitmap label objects on chart. I could find this article for creating a panel using canvas class , but unfortunately, it is only possible
Hi, I'm interested in knowing if the MQL5 programming language supports gRPC. I need to utilize this protocol to implement copy trading functionality between various platforms
I need to know the end time of each trading session to close position. I've imported historical data into MT5, and in reality, the end time of each session is not fixed. For example some sessions end at 20:00, while others end at 21:00. Is there a
I downloaded a 10-year data file in CSV format with over 3 million records. I want to import this CSV file into MetaTrader 5 as a custom symbol . However, before importing the data, I need to filter records from the CSV file. In other words, I
Hi guys, It there any functions that searches Indicator subdirectory ? I need to check is my custom indicator exist in Indictor subdirectory or root before calling iCustom
Hi coders, Need to save set files of inputs parameters when remove it form chart and then load it. Is there any functions in MQL4 to save inputs param (.set files) upon deinitialize the EA and also apply the set file when I initilaize the
Hi guys, is there any way to disable opening Market orders (Not pending orders) in Terminal. I can code an expert which can close immediately Market orders but its not good idea cause I pay spread to the broker. So looking for ideas to code an expert
Hi guys, I need to get ATR value of Daily period at any timeframe but I get 4806 error code . I don't know how to tackle it. At 1Day Period I can get ATR values, but I need to get 1Day ATR values at any timeframe. when I change Timeframe
Hi guys, I need to know add some objects like OBJ_EDIT or OBJ_BUTTON to OBJ_RECTANGLE_LABEL . I want to create a panel and add my object to Rectangle Label, but I don't know how to add them
Hi, I need to share data between 2 MetaTrader. One of them is installed on my laptop and the other on is installed on VPS . Is there any way to send data between these two MetaTrader ? please just give me some idea
MT5 question Hi guys, I'm have a button on my panel and need to call FileFindFirst() to get handle of files in a folder when clicking on the button. everthing is good at mql4, buy I want to convert my source code to mql5. I don'k know why
Is there any functions to open a file on Windows 10 . I need to open a text file on windows using API. I think I should use dll files buy I don't know which file and functions can open a text file by using filename on windows
Hi friends, I created a Trade Panel using graphical library located in Inlcude/Controls. need to know is it possible to convert all of these objects to only 1 object. As you can see there are many objects in my Object List. need to have all of
Hi guys. when we change timeframe or close metatrader paltform, OnDeinit() function is called. I need to code whether timeframe is changed or Meta Trader is closed. Is there any way to check and distinguish this difference
Hi guys, I need to show many symbols in my Dialog box which I create it by using CDialog .mqh. (located in : Include/Controls/CDialog.mqh ) Is there any way to loop on objects of a class? need to have many labels on my dialogBox. Just give me
Hi guys, need to get x and y coordinates of the chart in visual mode. Is there any way to do this? I use ChartXYToTimePrice() in real mode and I call this function in OnChartEvent to get X and Y coordinates by click on chart. But OnChartEvent() is