Hi guys i have a database sqlite structure: CREATE TABLE "Trade" ( "id" INTEGER, "ticket" TEXT, "symbol" TEXT, "price" TEXT, PRIMARY KEY( "id" AUTOINCREMENT) ); with this data : 4 22117593 ETHUSD 3907.30 ; 3914.14 i want
Hi all I have finished an EA, I want to use it for my demo account for all symbols with timeframe M15. Is there an easy way to do it ? I don't want to open the symbols and drag and drop the EA to them one by one Peter
Hello everyone. Recently I optimized my Expert Advisor (EA) with the Fast Genetic Based Algorithm tool, I set an inicial balance, start date, end date, modeling, symbol, time frame and delays, I chose the parameters I wanted the tester to modify, when it finished, I selected a combination that shown
I have built a function for my bots, basically when you optimize and then backtest one good setting, it prints the settings like this 100,t,f,234,t,f,0.1,4,6,7............ etc Then on the ea i have an overide box, if you insert this code >>> "100,t,f,234,t,f,0.1,4,6,7............ etc" it overides
Could you please tell me how to properly apply copyright if the source code consists of several files? For example, the source code is split into ~20 mqh files, and .mq5 is just a wrapper. Should I write some comments in each mqh file (I hope not)? Or will it be valid if I add some LICENCE.md (I
MT5 version 5.00 build 5062 on 3 Jun 2025 Code to reproduce attached. I have discovered that MT5 overwrites any dynamically-created object's member that contains the name of the <current chart symbol> with a <new chart symbol> when ChartSetSymbolPeriod(ChartID(), <new symbol>, _Period) is called
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Platform: MetaTrader5 (Hedge account) Broker: [redacted] Issue: - Using Python module 'MetaTrader5' on Windows. - When I call positions_get (symbol="NAS100"), it returns empty, but positions_get(symbol="nas100") returns my open positions. - Because of that, my auto-trader sometimes thinks it's
//+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void OnTradeTransaction ( const MqlTradeTransaction & trans
This code works in the tester, but not in the terminal I can go through iclose and the rest, but this was unexpected behavior
Hi I just tested an Expert demo, then realized this can be an extreme security risk. Some of the demos are connecting now to AI websites directly. In MQL language, you can request account information. This data can now be sent to AI websites, if the developer is malicious this is extremely dangerous
In Strategy Tester , the backtesting stalls when using all market watch symbols - see screenshots below. The Strategy Tester is stuck here for a very long time. It happens with other EAs as well. When running the same backtest multiple times, sometimes it finishes all tests and sometimes it doesn't
I want to know why my ea code has no errors but still can't upload my EA product. Notification to Telegram.ex5 compiled for debugging (version 113.4755, date 2025.05.28, flags 1000c40)
Socket keeps disconnecting after each tick. Is there any way to resolve this
I have made changes to several MT5 *.mqh files, but on right-click, the Git Commit entry is greyed out. How do I commit my changes
Greetings, I am struggling to get rid of a panel's close button. The reason to do such thing is, I successfuly created a CAppDialog panel with a guide found on YouTube, and one of the buttons should wipe all the objects created by the expert so far, but since it is irreversible, I want a
Hi, i want to use robot for hedgind strategy but this what is happened : Can U tell me why % change is different in "same" lots .... i add screenshot..... if it works like that the hedging strategy make no sense ..... ( one tine its 0.03 lots and 0.04% change and 0.09 lots 0.09% change and other is
Hello traders and developers, I’ve been experimenting with several Expert Advisors recently and noticed that optimization time in the MetaTrader 5 Strategy Tester varies significantly depending on the settings and number of inputs. I’m looking for some practical tips to improve optimization
MT5 Backtest is not working it stuck after backtest and don't print the report.( after backtest i waited for 1 hrs but it is not printing report) mt5 backtest is not working it is not printing the report, it stuck at last and not print report, pls resolve this issue as you can asee backtest is
Hi everyone, I’m using a hedging account in MetaTrader 5 , and I often have several open positions on the same symbol at different prices. I want to set one common Take Profit that will close all positions together — either when price reaches a certain level or when the total profit in USD hits a
Hi, After I run a test in the strategy tester, after finishing the equity chart and the message "Connection Closed" appears in the daily panel, it takes almost 2 minutes to finish the test, as if it were waiting for a response from the MetaTrader website. Does anyone know what might be happening
Hello everyone, I’m reaching out today because I have some questions about MT5’s data storage system. I do optimization backtests on local farm (slow, fast genetic, etc), and I noticed something : when I stop an optimization and restart it later without changing any settings, the previously
Hello, I'm trying to think in a way (If possible) of having an Expert which operates in multiple Symbols at a time, but I'd like to get your opinion on the best approach. I have seen this post https://www.mql5.com/en/forum/212858, which shed some light into the problem, but I would like to use the
According to the CExpert class (of StandardLib), we must always use the current symbol (_Symbol) or period (_Period): // See line 240 //+------------------------------------------------------------------+ //| Initialization and checking for input parameters |
Hi All I created an Expert only for hedge accounts only.. ie it is not for netting accounts. On the submission of a new product, I ticked the hedging only, not netting .. as i know it won't work but when it goes to validate, it looks like it's testing it in EURUSD H1 netting account... is there no
Hello, I have a problem with this library, socket-library-mt4-mt5.mqh. Basically, I built an EA //+------------------------------------------------------------------+ //| TERMINAL_IN_OUT.mq5 | //| Copyright 2025
Please, help me understand what’s going on — and if I can stop worrying. I have a frontend using TradingView’s Advanced Charts library. On the backend, I have a Node.js service that acts as a public REST API layer and persists data to a ClickHouse database. This backend communicates with the
Hi aony one have experience about exchange data to WM_COPYDATA ? exist some library i not find nothing about it in forum , i must create a dll for work with this
When we push left click the following code help us to do something(for example comment something): void OnChartEvent ( const int id, const long & lparam, const double & dparam, const string & sparam) { if (id == CHARTEVENT_CLICK ) { Comment ("something"); } } I want to do something
Hello everyone, I have developed a trading strategy that relies heavily on functions such as iHighest , iLowest , and iRSI . The logic works very well on standard timeframes ( M30, H1, H2, H3, H4, H6, H8, H12, D1 and W1), but I have reached a limitation: The predefined timeframes in MT5 are not
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.