Hello dear programmers. I shall want to know how shall I disable Expert Advisor from trading if time exceeds a time interval ? for example if I have datetime time=20:00; datetime time1=TimeCurrent(); if(time1>time) {..stop trading .. if I use ExpertRemove can he enable again...
Looking at UST10Y_H9 I'm practicing drawing some lines and noticed how inconsistent they are shown in MT5. The same line, nothing changed, in Daily and H4 timeframes. MT4 doesn't have the same issue. In MT4 it's consistent. Look at the red vertical line and how it intersects like it should on Daily...
Hello everybody. I just wanna ask some help from the generous people in here. I am refining my ea and i will try to put two horizontal lines in the chart 10pips above and 10pips below the close of the previous candle. I tried Close [1] - 0.00100; Close [1]+0.00100; But it does not work. Is there...
Hi Traders! I had the MQL5 VPS going with auto-renew, then missed a payment and it expired. I put $20 in the account to start it again, but need to know how to get it started again: Issue need suggestions/solution with: *****I do not know how to use the $20 in my MQL5 account to restart the VPS. I...
This may sound alot of money but like what the question says. Is this possible even for an experience trader? Reason I ask this is because as many of you know many brokers come and go and if there is a handful of experience traders the brokers would be out of money and cannot pay new clients. Is...
I would like to know how to declare a two dimensional array and assign values to it. I have the following code. But it doesn't work. string arrprice[7][1]; arrprice[0][0]="AAA1"; arrprice[0][1]="1.234678"; Above doesn't work. Tried the following and same issue. arrprice[1,0]="AAA1"; arrprice[1,1]="1...
Hello, i know that to use multiple broker accounts with same expert advisor you need to open one mt4 for each broker account or it will not works. My question is: if i buy your vps can I open only one mt4 and synchronize my expert advisor on multiple broker accounts in one vps, EA will work on all...
Who knows where to buy a book on EA programming? I need a table-top book, and it needs to be written in a simpler way
I have encountered some bugs in MetaTrader 5 Platform for both Windows 8 and Android versions that cause OS instability and MT5 application crash.
Unfortunately I haven't found a bug report section where I could describe the issue.
I just wonder what may be the source of this error. I am porting indicators with rather simple graphics (mostly editboxes) from MT4 to MT5, and (in addition to the MT5 performance, which is unbelievable slow and blocks the candle chart often) I am getting that error. It appears randomly, but still
I am able to write the values to the excel on each tick using int A = FileOpen(FileName,FILE_WRITE); FileWrite(A, Bid); FileWrite(A, Ask); --------------------------------------------- I would like to know how to write this data to a specified cell in an Excel. For example I want to write some text...
Optimize each parameter individually or group 2 - 5 together? Just curious on how others do it Thanks
It opens and keep ok. When I login it closes. I have already desinstalled and installed many times. No matter if it is version 4 or 5. There is nothing in the windows log (as I saw) Please, any help? I´ve already searched all googles and did not find a solution.
Dear community, I would like toask an interesting question since I have got an opportunity to be engaged in aproject, connected with trading software – creation of tool that allows toconstruct EAs without any coding required. The idea isquite simple: you just drag and drop the needed elements and...
I have this issue and i thought it was because of my broker however i have tried few more Mt5 from other brokers and same problem happens_ When i zoom in or zoom out the chart/candles shrink or expand, but there is always this delay for the chart to get back to the "Chart shift point" A link to...
I see customers can have demo is that an option for seller and can seller give tf what to use or are customers free here in?
Hello, I am new here. I don't know if this has been mentioned anywhere yet but the GPUAUD pair is not updating on my MT5 charts. Anyone else having this problem?
Can i load a custom indicator automatically whenever i load my EA?
hi since i changed my phone from Iphone X to Iphone XS Max, I'm unable to use the buy/sell options nor even the trade options pops on the app itself which makes me believe that there is a bug. I reinstalled it several times but no use my broker told me to use the desktop version for now and contact...
Hi, I have a question: yesterday evening i closed some open trades of EA i have running ( grid trading ) because of the risk of wide gaps and so on because of brexitvoting. This morning i re-install the EA, but it strikes me that the first trade he open is following at the trades i closed yesterday
Is there a way to print the standard backtest report that comes with MT5 by code? I mean the report that gets printed when you right click on the backtest tab, and then Report -> HTML I'd like to save it programmatically Thanks
Hello, I noticed some small differences in the results of the same EA in metatarder 4 and the one in metatarder 5. I attach the results of the optimization to see more clearly. The expert is simple, just use momentum for signals and ATR for Stop Loss and Take Profit. After 10 years (2009-01-01 /...
I have a cycle with Print(). This string should be printed once per day only. There is the code: int Hour = 20 ; int Minute = 20 ; int OnInit () { Hour = timeTemp.hour; Minute = timeTemp.min; EventSetTimer ( 60 ); } void OnTimer () { MqlDateTime ActivationTime; TimeToStruct ( TimeCurrent ()
Hello, I have been looking for a Donchian Channel indicator to test some strategies. I have found a lot of indicators in this website, however some have problems of buffers (don't consider the current candle) and ALL of them have a problem. The problem is when I use them on a strategy (whatever...
Hello, I have subscribbed to this man this Sunday, but for some reasons, even if MT4 recognize it, MQL5 doesn't seem so. The details are hidden by the classic "Paid signal: details of the latest day deals are hidden. Subscribe to get full access" but even the subscribe button shows me that I've...
Hi. Last night VPS New York Server 1 did not operate properly. My EA did not work properly, although parameters were reached. Trade was opened but did not close. Had to close the trade manually this morning. Can someone please investigate/advise what the problem was and if it has been fixed now
Hello I am a Seller and am wishing to sell my EA. I have passed the Seller requirements and am ready to sell the EA but my EA needs a couple of Indicators that it references and needs in order to work but I cannot see a way to supply my EA along with its required dependency files because the...
Hi, I am trying to recreate the Stochastic for fun. This should be the formula: %K = (Current Close - Lowest Low)/(Highest High - Lowest Low) * 100 %D = 3-day SMA of %K However the results of my code does not match the indicator provided by MQL4. can you help me understand where the error is? This
Hello, does anyone of you know where a historical economic calendar exists? I do not just want to see what is ahead, but also see past news. For analyzing on what events my system fails or has trouble. Thank you. Regards.

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.