when we finish edit program , we should compile mq5 files to ex5. But if there are many mq5 files , Is there a way to compile all mq5 files to be ex5 without one by one?
Are we able to modify MT5 EA that we purchased in MQL5
I have a program where I check TerminalInfoInteger to get keystates of buttons in Timer. However, sometimes when I remove the EA, seems that if I catch them in mid-execution they get stuck and cause abnormal termination. Is it a mt5 bug? Or is there a way to solve it? How should I report it? This is
Hi MQL5 Community, I'm stuck in a slump. I'm new to creating EAs, and while attempting to put something together I noticed that the iCCI(), iStdDev(), and iMA() in-built methods do not change values over time during back testing. To further isolate the issue, the back testing was run over this very
Hey, Can I get some quick help here. I'm starting to hate metatrader 5. I really don't understand it at all and every tutorial that I've tried to learn from is wrong in some form or another. Here's an example of what I'm talking about. Here's a code that I found that I copied and here are my errors
Hello all, I hope the following naïve question doesn't cause too much disturbance for the professionals among You. I've created an EA based on the "Asian Session Breakout" strategy. When backtesting, whatever modelling mode is used, it functions perfectly. What I mean by "perfectly", not just the
hi, i was wondering whether it is possible to create objects on multiple charts simultaneously in a backtest. The following code is obviously basic, I've made it simplier so i wouldn/t exceed character usage but its supposed to be able to identify types of candles and does so perfectly. However
Hi all, I'm having trouble with stop orders in my MQL5 script and need some advice. Buy Stop Orders Not Executing : I've set a buy stop order, but it's not executing. The price goes over the order price multiple times, but the order never gets filled. Sell Stop Orders Executing Too Soon : On the
Hello, I coded my EA (3 actually) and I ran a back test on the last few months with it with optimization enable. That way, I picked the best value for some of the parameters of my EAs. Then, just to check, I ran a back test (on the same period, the same instrument, the same method "real tick based
[Deleted]
Hi, Everything is OK with my Python environment in which I work every day, but when I want to import the MetaTrader5 library, I get an error message : ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for
Is it possible to place an expert adviser (EA) on the webterminal to execute trades automatically?
If it can be done, can you please show me the steps.
Thanks.
I have 2 MT5 that aren't on the same network, installed on different Windows computers. Both can trade the same account BUT I don't want them to be opened & ready to trade simultaneously. When I launch MT5 #1, I want it to close MT5 #2 (if it is opened) When I launch MT5 #2, I want it to close MT5
My EA still orders buy/sell stop (alway have a fix stoploss) and matches orders normally. However, at certain times when the market fluctuated strongly, my broker reduced the leverage to only 1:200, causing the stop orders to be canceled when hit price because not enough money . Can I calculate
Hello dear Dev. I noticed something with my platform, and I wonder if someone has an explanation. After dropping an EA on the chart, you are asked to fill up the input parameters. Later on you can modify the value of input by following one of the two methods : 1. Re-attach the EA to the chart 2
Hi, I have the problem that when an object of the child class is created, the constructor of the parent class is called without notice. class ClassA { public : ClassA(){ Print ( "ClassA Constructor" ); }; }; class ClassB: public ClassA { public : ClassB(){ Print ( "ClasB" ); } };
Hi everyone!! Can anoyone tell me how all this EA's test get the historical data since 2015, with every tick based on real ticks model? Thanks in advance
Hello: I have developed a trading strategy and would like to put into code. I don't want to learn MQL5. I am willing to trade the strategy for the code. Use it if you like it. I have almost finished the faux code and can make it available privately. All the Best Chris
I'm testing an EA. I noticed it sometimes opens positions (in strategy tester) with a volume much greater than my balance + leverage. How is that possible? I this screenshot I have 972 EUR balance and I'm using 1:30 leverage. It opened a volume of 0.97 on GBPUSD. Meaning a 97,000 GBP position. What
can i continute optimization if i did it for 2 years and i have new day .. i want to ad the results without start it frome zero
Hi all, Rookie/noob here, thinking he figured out the issue but failed again. I have been working on this for a couple days and thought i fixed it last night by resizing the arrays. As you can see below the close shows 1.10374 for the second last candle. Assuming based on the code is states that it
Hi, from time to time I observe the situation that MT5 deletes a full month of data, which affects (breaks) the EA logic. Any ideas how I can avoid this?? In the image above, you can see that data between 29.12.2023 and 1.st Feb 2024 is missing. As if there was nothing. Only the remembered trades
Hello dear Dev. I noticed something with my platform, and I wonder if someone has an explanation. After dropping an EA on the chart, you are asked to fill up the input parameters. Later on you can modify the value of input by following one of the two methods : 1. Re-attach the EA to the chart 2
The documentation is no help. From what I can tell researching it, Exchange Mode is a netting mode. Can anyone confirm or deny this for sure
Hello everyone! I'm currently facing a challenge in identifying errors in my code and I'm curious about the best ways to search for specific topics and solutions. This includes searching both on the web and within the MetaEditor. For instance, I've been advised to use Google search like
Stack # Therefore, for large local data you should better use dynamic memory - when entering a function, allocate the memory, which is required for local needs, in the system ( new , ArrayResize() ), and when exiting the function, release the memory ( delete , ArrayFree() ). Why does the
Hi is there any one who can help me to make this Ea to trade Synthetic Indices like volatility 75 step index because now this Ea trade only currency
Hi there fellow traders, I am trying to place a grid when I open my initial position. The orders in my grid are pending orders and are increased in lot size when they get closer to my stoploss. However, the initial stop loss and take profit remain the same. I think I'm on the right path however the
I just started learning code, and finally the MetaTrader Editor confirmed I had no Errors or Warnings in my code, but when I tested EA on mt5......it refused! It just said that the OnInt Failed......I dont even know whats wrong becasue the MetaTrader Editor confirmed no errors, so I cant even get
Hi, I have an EA that has a strategy which includes 2 integer input parameters I can change to do backtesting. So I did some tests varying between ranges I know are possible (one is a switch-case from 2 to 4, the other is a count of candle bars that have occurred since the start of the last
I've noticed that after copying history with CopyRates MT5 keeps copied array in memory. It's ok for cached access but when I run through lots of symbols my memory ends fast. And memory stays occupied until MT5 exits. Is there any way to forcibly release memory occupied by CopyRates cache

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.