General - page 71

Hi, I am using a 3k mt5 metaquotes demo account , I am using an mql5 EA to place trades, when I place a trade the risk/reward ratio is not accurate, the take profit is always lower than what it should be, I thought it was because of spread/commission but even if included the take profit is still
Hello all, it sometimes happens to me that after a terminal restart, not all of my EAs and indicators are restored. So I'm wondering where/how MetaTrader stores its state? Maybe it's just a permission problem that can be fixed easily. Multiple re-installs of the terminal did not fix the problem
Has anyone experienced this. where the EA is active in VPS but everything is 0%. Thanks
Before opening a position for any instrument. The best I could find - and it was in MQL4 - was AFTER having a position open: for ( int pos = total - 1 ; pos >= 0 ; pos--) { if ( OrderSelect (pos, SELECT_BY_POS)) { posCommission = OrderCommission(); break ; } } I'd
I'm using last version of metatrader 5 (just updated to build 4040) and I'm using it on Linux (Mint 21.2 Cinnamon) with Wine 8. The function available under menu View -> Report doesn't work, I get a white page. Also with the previous build. Missing some Wine plugin or doesn't work with Linux
Hello, Sometimes my terminal suffers from old tick problem. So far I haven't found any solutions to this other than restarting the terminal. Problem is if I leave my computer alone for several hours and old tick happens I won't notice it until I return to it. So I've written a console application to
I created two identical demo accounts in MetaTrader 5 to test this. Each account had $1,000 initial balance. The only difference between them was the leverage amount. The first one had 25:1 and the second one 100:1. I then opened a new trade in each account at (0.02 lot) volume and put the Take
Hello, I am using the Meta Tester to gain a few bucks while my computer is running. As it is essentially free money and it never disrupts anything I do, I wanted to ask if it is also possible to add not only add CPU workers but also GPU workers? My thought is that a 3050ti could deliver faster works
After the last updates of MT5, I noticed that the MQL5 Debugger is unable to identify Local Variables, thus managing to display only Global ones. Does anyone know how to fix? Or do you know how to report the problem in the debugger
Hello all I would appreciate some urgent help please. I cannot log in to MQL5 through my VPS. I can log in normally everywhere else such as normal PC and phone. When I try through the VPS it keeps saying incorrect password. Because of this I cannot download my trading robot onto my VPS. Can somebody
I think the way MT5 calculates the Sharpe Ratio (SR) as explained here https://www.mql5.com/en/forum/1372/page2 is incorrect. For several reasons: a, It assumes a RiskFreeReturn of 0. Rate on 10 year US government bond is 2.23% (source: https://www.treasury...
Hello, I cannot connect my mql5 community with the distant server and the broker [broker name redacted] . The logo to the top right is missing. ALT+M doesn't work. Thanks for your help, Nicolas
Hello my friends, This is a wonderful community, you are all so kind and smart. So I have this software, you know, to make money, I coded it (that's how we have to say when we found it on Internet right ?), and guess what, it's not working. I have it, but my bank account is not doing any money. I
Hi. I was hoping someone could help me to understand iBarShift as it should do exactly what I'm looking for based on the documentation, but it's actual results are not what I'm expecting. In particular, I had understood by setting the parameter exact to true that the given time must line up to the
  CHARTS_MAX  (3)
CHARTS_MAX, is set on 100, how can i edit this value
I've come across a couple threads mentioning that this isn't possible, however, they are (atleast) over an year old. Was wondering if there have been any updates, and if anyone has found ways to get the Broker Timezone on Python? All the "time" related data from the Python API are in the Broker's
Hello traders, I wanna copy one provider with a FP markets but the problem is as you can see in attachement. Raw account XAUUSD is XAUUSDr. Can someone help me with this issue? Because if I wont copy him with a RAW account then the spread make it not profitable at all. Thank you
I have a little problem here! mt5 is ok on my desktop, but on my notebook, the VPS icon appears gray, and it doesn't work! I've tried everything, logging into the community, etc... but I still haven't been able to activate the VPS on my laptop
Is it really necessary to be a programmer to develop trading robots? Do we need to spend years monitoring price charts to be able to "feel" the market? Is it possible for a random entry strategy to survive in the market for quite a long time? All these issues have been discussed in our interview...
List of changes in the Help for MQL5: Corrected description of the GlobalVariablesFlush() function , input parameters are not required, Length the comments is increased to 2,045 characters (Unicode). It is reflected in the functions Comment() and ChartSetString(), Added an example for the FileOpen()...
How to calculate Max Deposit Load (in %)? Use initial deposit or deposit ongoing as a based? Can we reduce our max deposit load? Thank you
Suggestions for public structure members are not popping up after the 3rd dot . Is it because of low memory ? thanks
I just setup my account to public. It show Subscription not permitted. Anyone can tell what's the problem
Hi all, is it possible to avoid the mobile notifcation when I log in to mql5.com? Thank you
Hello everyone, I have recently noticed this issue with my meta trader 5. Whenever I close the software and open it again, the toolbox, navigator and other panels I have previously opened will be automatically closed. (I have attached a screenshot) This was not happening before and my MT5 is
Good morning I have a problem with the styler accessible in tools => Styler It seems not to recognize else if it transforms them into else, then if Here is some test code int value = 5 ; if ( value == 1 ) { Print( "Value is 1" ); } else if ( value == 2 ) { Print( "Value is 2" ); } else if (
Hi I am able to login to the MQL5 community website, but when I try to download a free indicator in the MT5 windows terminal, I am not able to login to the MQL5 community on the terminal (using the same login details as on the website). I have tried both my email and username but neither work in the
Trying to rent a VPS but keep getting a syntax error
Hi everyone, i just started trading for a couple of weeks on a demo account and now i want to open a live trading account, could anyone give me a hand on opening it as it doesnt let me choose the option to open a live one. Or some advice as why it doesnt let me open it. thank u
How to perform a chart template export from MT4 to MT5? By loading template that was saved in MT4, chart in MT5 shows absolute nonsense. There are no drawings, price chart moves moves down, if I, for example, add Moving Average to chart - MA is hanging by itself and chart goes down