B.Moreno
B.Moreno
B.Moreno
Added topic 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
B.Moreno
Added topic 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
B.Moreno
Added topic 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
B.Moreno
Added topic 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
B.Moreno
Added topic 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
B.Moreno
Added topic 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
B.Moreno
Added topic How can I add Objects to Rectangle Label
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
B.Moreno
Added topic Problem with ChartscreenShot
Hi guys, I use Chartscreenshot() to take screen  of my chart but I have problem with width and height of taken pictures.  As you can see dimension of picture is small. Do you have any idea to fix the problem ? (All windows of MetaTrader
B.Moreno
Added topic how can I share Data between 2 metatrader
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
B.Moreno
Added topic MT5 : get INVALID_HANDLE error if using FileFindFirst() in OnChartEvent()
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
B.Moreno
Added topic How to open a text file
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
B.Moreno
Added topic how to convert all objects into 1 object
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
B.Moreno
Added topic Change Timeframe and Close MetaTrader
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
B.Moreno
Added topic how to implement for loop on objects
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
B.Moreno
Added topic Get x and y coordinates in strategy tester - visual mode
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
B.Moreno
Added topic How can I get Candle information By click on it
Hi friend , Is it possible to get High and Low of a candle by click on it? I need ti get information of a candle by click on it
B.Moreno
Added topic How to calculate angle of a moving average
Hi friends, I need to know how to get angle of a moving average. after I get the angles, then I want to calculate tangent of the angle and compare the value with a specific number. I want to implement  these method with mql4 to predict an
B.Moreno
Added topic How to disable ComboBox
Hi guys, how can I disable combobox  ? (ComboBox.mqh form Controls ) I need to lock it and not allow to select items
B.Moreno
Added topic How to change close bmp Button in Dialog.mqh
I need to use my own Close button in my panel. Then I tried to override CreateButtonClose(void) in Dialog.mqh file but I got this error: private member access error How can I fixed it and use my own Close.bmp instead of the default bmp file ? 
B.Moreno
Added topic Need help for Dynamic Trail Stoploss
Hi guys. I am trying to make a dynamic trailing stop. Instead of moving the stoploss every point in profit, it only moves the stop loss after X amount in profit. And amount of stoploss must be equal to distance between Takeprofit and bid. For example
12