Hello, I have a trade log exported from a signal from this website as a CSV file. Do you know if there is a way to take CSV file download of trade history and import it into MT4 and make the historic trades show up on the charts
[Deleted]
Hi Guys, How can i display the macd open and close level values on a chart. Could someone give me an example of code to enter into the ".mq4" to achieve this.. Rgards
please can you led me to an article or post about checking for inappropriate symbols when coding indicator or EA ??? thanks for help
Hi all, if I try to use the following code on a H1 chart Print(iTime(NULL,NULL,1)-iTime(NULL,NULL,2) ); the result is 3600, 60 seconds x 60 minutes. If I apply the code on a Renko chart I seem the result is not correct. For instance the opening time for bar 1 and bar 2 is 11:44 and 11:35, the...
I have written a code and in this part i get this error, Semicolon expected. How should i write this line to avoid this error? extern int Chart.LeftTop.BarsL = 10;
According to the documentation on the ObjectCreate function (https://docs.mql4.com/objects/objectcreate), I should be able to pass a datetime value for the anchor point. I have used multiple formats for the datetime value. Regardless of the format of the datetime value, the object is always placed...
[Deleted]
For the benefit of forum members I have attached a spread sheet that calculates how many lots you can trade for a given stop loss and a given %risk factor of your equity. Use the green squares to make your entries in the spread sheet. Here is an example: Let's say you want to trade the EUR/USD...
Good day all Does anyone have the english version of the attached indicator? If not, any of the helpful coders here can help change it to english please? Your help will be greatly appreciated! Thank you
I can draw a vertical line from past date into current date but how to draw a vertical line into future date? I've been tried with this code but nothing happen: extern int FutureBars=100;extern int BarsLimit=1000;for(int i=BarsLimit; i>=0; i--){ datetime...
How can I connect with Android? Mainly, I need to find the IP address to remotely connect to the VPS. Thanks
Hello traders! I need help for my code. I need to get the current order price on the market, according to the ticket ... This price: I attach a function that returns the number of the ticket I found here: https://www.mql5.com/en/forum/109180 int LastOpenTicket___(int magic_number ){// Function...
Hello, I've been looking all over the forums and documentation and I cant find any information on my problem. I want to count the time in hours since a specific action was taken. I want it to be easily reset able and manipulable. Is there a particular "Count Time" function that I can use? I am...
Hi, is there a snippet how to find the current used Symbol? I want to do that if for e.g Symbol = EURUSD than do something. If USDJPY do something. How can i handle that easy?
Hello. I have 4 MT4 on one VPS and all of a sudden I can't see anything in the market tab. I am logged in to mql5 and can see my Balance in the upper right, but the window is just blank. I can't see any Experts or Indicators. Not in any of my 4 MT4 installations. They used to work before, because I...
I got this function that selects the latest open order .Now I want to determine whether this order is a buy or sell, how do i proceed from here? Will this work? if LastOpenTicket() == OP_BUY ) the Do this...... ) My question is , will the programme be able to tell if the last open ticket is a buy...
[Deleted]
This is my first post!! In the MACD Sample EA included with MT4, what do the Open Level 3 & Close Level 2 actually mean? I have only been practiceing for 3 months and would to try an EA
I am just wondering if there are any special code for Renko chart? I mean the same icustom is used for Renko chart? double Buff1=iCustom(NULL,TimeScale,"Renko indi",1,1);//buy In renko chart, how about TImeScale? If EA attached on renko chart , TImeScale =?? Also what about icustom shift? Shift...
Hello, I've tried for many hours to figure out what's going on with my code on this. From my understanding, I can code into a customer indicator in *.mq4 format to open my *.ex4 customer indicator. If this is incorrect, please correct me. So now, here is the code I have been implementing using...
Hello, I am working on an index indicator based from this one : https://www.mql5.com/ru/code/9780 I really need to get the HIGH and LOW's values (from the subwindow) of each day then i will be able to draw boxes (with OBJ_RECTANGLE). I know how to get it from the price's chart to draw boxes on the...
Hello every one, I am working on a indicator based on this one : https://www.mql5.com/ru/code/9780 I am modifying it in histogram version by changing : "DRAW_LINE" with "DRAW_HISTOGRAM" . My problem is that my code, drawing all histogram bars in one color dependig on the current candle's color...
[Deleted]
I know that this question has been asked before, but I can't get it to work. I hope someone can help. From my custom EA, I want to programmatically add my custom indicator to a subwindow of the chart the EA was added to. I've managed to do this in MQL5 with ChartIndicatorAdd. So, I have my indicator...
How to write a new line in Comment() MQL4 question thanks
I would like to kindly ask you about the broker´s side of Meta Trader 4 - I mean the server. As I wouldn´t like to have any troubles with the brokers in terms of overloading their server/servers, my question is: Can I send tens of orders (eg. twenty times 15 lots) to the broker´s server in the time...
My mt4 doesnt work in windows 10. My windows 10 has update, and i use the version mt4 Activtrades. I tried reisntall, but doent work. What i need do to open my mt4?
Is there a way to set the account number in my mq4 file so it will be locked to just a specific account number when compiling the ex4 file? So, if I want to share one EA with someone and lock it to their account number. I guess it should be a short line of code, but couldn't find anything about it.
I try to execute a script and after the message SUCCESSFULLY LOADED it gets REMOVED . Why
why these candles appear in meta quotes demo account ? is it normal ? but we test many EA on this account and we found much differences when we use another brokers one
Hello everyone, I'm looking for a function in MQL4 that returns a color of a specific indicator's buffer. Something like PlotIndexGetInteger(plotNr,PLOT_LINE_COLOR) in MQL5. I know there is a constant indicator_colorN but if I change the color in the input window (tab colors) the indicator_colorN is...
I'm testing an EA in the strategy tester. To get a graphical representation of it, I also added an indicator, a simple indicator that warns me when the bid price breaks the lower or upper limits of a donchian channel. In real time, the indicator works perfectly, but in the strategy tester the...
Hi, Hi need to preserve a string variable from reset when I change TF. GlobalVariableSet is not a solution for me because I need to apply more times the same indicator on the chart with different properties, so to work correctly the GlobalVariable should have a different name for each indicator...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.