MQL4 and MetaTrader 4 - page 181

I found a script that exports history of multiple pairs, but when the Files folder already has the pairs (csv files) it won't do anything - is there any code or possibility to always overwrite them
how are you all my brothers please i have this indicator any coder can help me to added alert&notification when touch thanks thanks in advance
Hello, I was wondering if there was a better way to retrieve the current user directory? In Batch file (*.bat) its as simple as placing %USERNAME% in the desired directory path In MQL4 I was unable to find a similar variable string My current solution is: int OnInit(){  string...
Hi there,  I am busy creating an EA that uses 55 EMA and the price close. It must perform some action when price closes above/below EMA 55. I have tested this and it sometime behaves in an unexpected manner. I am not sure if it is my code or there's just a bug in iMA function itself. The specific...
Hi Does anybody have a good way of checking for a break in signal from your broker? I'm sure I saw something like this in Jim Dandy's tutorial videos, but can't find it in my notes. D
Hello, I'm coding an Indicator which call a function from C++ DLL . I need to pass only Close rates to DLL and retrun a string from DLL. #import "PythonZones.dll"void CalculateZones(double &data[], double quantile, int arraySize...
I'm try to exchange data using socket. I try to follow the example from this documentation https://www.mql5.com/en/docs/network/socketconnect, but socket command are not recognized by MQL. Is there any include or something that I missed?
Wondering, if the seller removes the EA from the market, are the buyers still able to run the EA ? Never experienced it
When I place a pending order, whether it's buy/sell limit/stop it says the market is closed...
Hello, Is there any way to send simple orders (just BUY, SELL, CLOSE) to MT4 from another computer (which is running a Java app) via IP? Don't need bi-directional communication; just uni-directional. Thanks in advance.
help,please assist me with this indicator, i need to use the same value from the horizontal line to get the arrows,if the value of the line is 1245,then the low or open of the candle should be 1245
Hi all, is there a quick way to check in the Order History if an order was closed @ tale profit (green) or @ stop loss (red) ? One way is to compare the OrderClosePrice() with OrderTakeProfit() and OrderStoploss(), but may be there is a smarter way. Thank you!
Last night I purchased an indicator, when I click the link that it provides after purchasing a screen comes up that says the Mac cannot find a website that starts with mlq5. and as such I haven't been able to use download it. any suggestions?
Hello all, I wonder if it's possible to setup and trigger hotkeys for various/separate instances of MT4 on single/multiple monitors ? To focus the query, I intend to setup hotkeys to buy and sell on various running MT4 instances. Is there any trick or third-party app for it ? Thank you very much !...
I want have access on the  one-hour bars and at the same time on the 15 minute bars in my indicator: int limit = rates_total;    int count=prev_calculated;              for(int ac=limit-count; ac>=0; ac--)        {                                                 double High_H1_0 = iHigh(_Symbol...
  Convert Date to Week Number  (15   1 2)
Hello Everyone, Does anyone know how I can convert a date to a week number in mql4? Thank you for your Time EK
Can I ask for clarification what does profit calculate? Why are the value varies, when I hard code tp for 55 pip and sl for 45 pip? Why does there are 5 point different (55 -> 50 & 45 -> 50)?
  Delete Alerts  (4)
Hey community, how can alerts be deleted without shutting the terminal down and restart it again? I like to delete the alert window lets say every hour or every day. Is there a function or so? Thanks a lot!
Hi to all experts here, I am new on trading and just started using Meta4 for FX trading some weeks ago. May i know that is Meta4 mobile apps has the function to preset SL & TP  ? Which means the SL & TP will be automatically set when open a new trade. I googled search about this topic and found out...
Good morning MQL4 friends, I need your advice and some "How to do " lines from you. I would like to develop enhanced data display linked to MT4 but I do not know how to proceed. I am ready to learn. I imagine that I have to develop .dll ? But how ? Please, to better understand what I would like,...
I didn't find any ChartGetInteger() function showing if the crosshair is enabled. Are there other possibilites?
Hello, I use MT4 and all the trendlines and horizontal lines I draw, show up in different charts.  For exemple, the USDCHF trendline shows on the AUDUSD chart and that goes on and on, always messed up... Is there anything I am missing? Could this be a problem with the broker/server? Thank you so...
Hi,  I'm trying to understand the Didi_index indicator 1st question: Does 1 and 2 provide the same outcome for CurtaBuffer [i]? double A;int i = 1;1)  CurtaBuffer [i] /= MediaBuffer [i];2) A = CurtaBuffer [i] / MediaBuffer [i];    CurtaBuffer [i] = A; 2nd question:  In the code below I received this...
Does anyone know if it is possible to have Sound and Push notifications at the same time? If not, is there a way to batch convert existing from either Sound to Push in one go?
Hi guys. I'm trying to read second column from csv file so could anybody help me?
i am trying to understand the licensing concept for mt4 indicators  please have a look at the code and tell me if its the right and effective way of using the account number and time protection i have highlighted the license code...
Hi since I have moved from Android Kitkat 4.4.4 to Android 9 Pie, MT4 sound notifications ( Metaquotes ID messages ) are not handled correctly. This seems to be an issue of compatiblity between MT4 and the new flexible way how Android 9 manages the notifications. All the "MESSAGES" settings (...
Hey guys, I sometimes want to see the Bill Williams Fractal indicator in my charts and I wondered if it is somehow possible to insert it by just pressing a key. Removing it can be simply done by ChartIndicatorDelete() but I have no idea how to insert it. Any ideas if this is possible? Thanks
Hello I'm wondering how many Binary Options brokers use MT4 as the platform to trade from directly? As far as I know there are: Noa FX, GMDFX, Go Markets, AL Trade and Core Liquidity Markets. Does anyone know of any others or can recommend good ones? Thank you very much.
Hello Is it possible to save Strategy tester chart/graphic and all actions after completed backtest? When I start strategy tester it overwrites old file everytime(.fxt).  Renaming fxt file can work maybe, but how can I open any fxt file manually? Probably this question is answered many times. But I...