Hello, I am seeking a method to get deposit and withdrawal record by code. MT4 and mT5, any idea and experience share ? Many thanks
I know how to publish settings to VPS, but how can I view the settings on the VPS at a later date from within MT5? I know there are journals but is there any easy way to see my EA settings? I have multiple VPS so it would be able to click a button to see the EA settings
I am trying to get my EA working that calls on Open Ai API for chat gpt to make trades automatically based on current price and history. Maybe news too. But i keep getting these errors - Yes i know my API key should not be hardcoded but for testing purposes i have put it in. Also open ai api url is
Hi, I'm working on an indicator which makes the same calculation process for each symbol of an internal list selected by the user (for exemple : EURUSD, USDJPY, etc...). The event which initiate a new calculation process for a given symbol shall be a new tick of this symbol. Important : This...
Hi, I ran an EA on Strategy Tester and it seems like the profit calculated for the trades does not match the lots and the pips. For example, as you can see in the picture there is a trade of 3.84 lots opened at 1.43611 and closed at 1.44403. This results in a profit of 2106.11 according to the...
Hi! I added into my EA that my positions should close on a specific day of the week. I understand that the int values for each day of the week is as follows: Monday = 1 Tuesday = 2 Wednesday = 3 Thursday = 4 Friday = 5 Saturday = 6 Sunday = 0 The code I made is as follows CTrade trade; input double
[Deleted]
Hi everyone, after having optimized my EA, the table of the results shows 23% as max drawdown. However, when I run the optimization variant with right click "Run single test", the drawdown is computed to be 87%. What could be the reason for this issue? Is there a way to fix this from my side? Thank
Hello i have a problem running optimization on an EA that i am backtesting. Here's the situation: if i run the optimization assigning 4 EA parameters different values for example moltiplicator from 1.2 to 1.5 tp from 20 to 40 maxorders from 8 to 12 i get a bunch of results. I was thinking that i
[Deleted]
Hi Friends I am using an Expert Advisor on a VPS environment, also allowed modifications of settings. But, when try to change the trade lot, it still opens a size other than what I requested. Please advise how to fix the error. Thanks in advance
Hello everyone, I'm running into an issue and was wondering if others have seen this issue. I run lots of automated backtests with these settings in my .ini file that starts the backtest from my Node.js script : // Node.js example testerGroup.addVar( "Visual" , "0" );
I've been seeing strange account data in the strategy tester for the last 5-6 days at the bottom, where account information is displayed. Please see the screenshot. Previously, there was margin data there, such as the free margin percentage. This is regarding the MetaTrader 5 strategy tester. How
Hi , i am currently testing my algo on XAUUSD , my strategy is based on how the candles close, my entry is done only after the candle is closed , and also my exit rules are as follows: one tp ,one stoploss , and 3 more rules that close the trade based only on how the last candle closes , so for my
I am trying to run my EA on [redacted] tick data but the data quality is only 8% when I run it on 3 or more years of data. Does anyone know a broker that has a similar price action to [redacted] ? How did you resolve this issue? Thank you in advance
Hello guys, I want to send calendar information via API but when I retrieve data as the below code, it returns a number without format, I want to receive the data which is shown on MetaTrader Calendar. Please help me. How can I do? Thanks in advance. void CalendarData() { // Define the array to
Dear All I am trying to make a code which modifying pending order and open order on the same time, but I am facing an issue I made it to change the pending order, but it is not changing the open order. the code is sending an pending orders ( sell limit, buy limit, buy stop or sell stop ) and it is
Hi I have already done some tests with the metatrader5 successfully, but now always comes the error message :history cache build error. Unfortunately, I have google so far no solution for the problem can find. Does anyone know how to fix the error
Hello, I coded a multi symbol EA that works properly. By default, the strategy tester optimization results show unified metrics for all symbols combined per pass. I'm trying to modify it, so that, per pass, it generates the result metrics for each individual symbol per pass. I've been trying it for
Hello mql5 people. I am currently working on the optimization team for a project. I am a hobbyist coder and have coded a couple of my own bots, however for this project, I do not have access to the code. I was back testing without any problems until the version of the bots, licensing expired. As
Can we trade in other currencies like INR with the bot? If there are any settings that need to be modified for this, please let me know
I will run the same EA, on the same instrument, and it will run quick, and then all of a sudden, it almost wipes my whole account with a 2 days, 17 hours
2025.01.15 09:19:46.758 ResistTheBroker (ND#,H1) CTrade::OrderSend: market buy 1.06 ND# [auto trading disabled by client] 2025.01.15 09:19:46.758 ResistTheBroker (ND#,H1) Failed to execute trade: 4752
Hello Forum, I am using the MT5 version for MacOs (M3 chip). I created a custom .dll to import into an EA, but I keep getting "Cannot load 'Custom.dll' [126] " error message. I also tested the .dll on my windows computer and everything is working fine. I both tried to locate the file into
Hello, I have a question, when buying an EA from the market it has a limit for activations, most of the times is 5 or 10 activations. What are the limits of the activations? When the activation is taken into account, every time it's opened in the same metatrader install, or in every computer, or I
Hi can you help. I changed some settings in the EA and synchronised with VPS but next time I looked EA reverted back to default settings And every time I change settings do I have to synchronise the VPS. I have a mql5 VPS
Hi I'm kinda new to mql5. i just wanna ask. how to modify stop loss . for example i have 3 open trades w/ same entry prices and same stop loss at first but different tp's, can you suggest how to modify the remaining 2 open trades if tp 1 is closed. thank you
ONNX usage on MQL5 Currently I'm coding AI stragey program on MQL5. 1) Train a data on python with lightGBM binary This training data works well on python. Prediction results are appropriate numbers. 2) Convert it to Onnx format with onnxmltools However, the training data of onnx on MQL5 returns
Hey everyone, I've been working on this for quite sometime so I figured I would reach out and see if anyone has done this before and if they have any pointers. Basically all I'm trying to do is build an add on for mt5 ea's so that I can do an unanchored walk forward analysis (or
I'm using a freely available source code that calucate risk percent and set auto lot sizing with a trading panel from [edited].com However the project is not able to open any trades. I have made a test by inserting the open trade codes to it, it gives the error 4014. I can able to use the same code
How to write a condition where, starting from the latest candlestick, there are at least three consecutive bullish candlesticks, followed by at least one bearish candlestick, and finally, the latest candlestick is a bullish candlestick. It's my code but it didin't work. #include <Trade\Trade.mqh> //
Hello, I’m experiencing an issue with my MQL5 code where I receive an "invalid request" error when attempting to modify a position with a trailing stop. I have implemented the logic for applying a trailing stop based on the market prices, but when the PositionModify() function is called, I receive
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.