Forum

Creating Multiple Canvas Panels in a Single Indicator

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 to create one panel in each indicator. - If you

Creating a Movable, Clickable GUI Panel in MT5 on Visual Mode

Is it possible to code a trading panel in MQL5 that can be moved and have clickable buttons in Strategy Tester (Visual Mode)

Create dll file for MT5 using C#

Can I build MT5 DLL files with C# , or must I use C++ ? If it's possible in C# , is there an example for this

gRPC

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

How to Find End Time of Each Session

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 way in MQL5 to determine the current session's end

How to filter a CSV file with a large number of records?

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 want the CSV file to only contain data within specific

search Indicator subdirectory

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

Save set file of Inputs and Load it with code

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

How to disable to market order

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 in order to disable execute Buy and Sell orders

MT5 Issue : cannot get 1Day ATR at different Timeframe.

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, I get BarsCalculated() returned -1, error code 4806