Expert Advisors and Automated Trading

Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
  Python in algorithmic trading  (234   1 2 3 4 5 ... 23 24)
MQL5 is a programming language that is specifically designed for creating high-performance trading applications in financial markets. It offers faster speed and superior performance compared to other specialized programming languages used in algorithmic trading, and its syntax is similar to that of
I thought, why not make a good reference thread . In it I would like to cover the most important questions about the work of markets, liquidity providers, MT5 platform, which are asked not only by beginners. Приглашаю всех желающих, у кого есть какая-либо интересная и редкая инфа излагать её в
Hi everyone, I’m learning how MQL5 handles external web requests. I want to understand how we can connect and fetch simple JSON data from an external API just for testing purposes (for example, weather data or demo information). Could anyone please tell me the best method to call such data securely
Hi everyone, Is there any tool, script, or EA that can send a notification (push or email) whenever another EA opens a trade? I just want to get alerts when my Expert Advisor opens or closes positions on my MT5 account — without modifying its code. Thanks in advance for any recommendations
Hi! I know many already use AI to help them place orders manually through chats and report easy gains. On here i see many EA in the topCharts are AI based promising to interact with AI to place and manage trades for you. Since there are usually no backtests possible i would like to start this thread
I'm looking for Expert Advisor for MT5 that can help me: 1. to set tp, sl automatically (which my tp and sl are always fixed, like when I set limit, tp & sl will always be 100pips) 2. change my sl to entry point (breakeven) when some conditions triggered (when order running between utc 1400 to 1600
I can't use the strategy tester on the cloud, it randomly stopped working. I have sufficient balance, there is no issue with connectivity, I am using a VPS and it shows I have plenty of bandwidth. The strategy tester works fine on local agents but it is really slow so I want to use the cloud
Hi, I've come to a bit of a hiccup. In 1 of my programs, I need to make automated chart screenshots. The function for that is: ChartScreenShot(chartId, fileName, ss_width, ss_height, align_mode); Prior to that I ChartNavigate to some time in history, where bars_navigated is much larger than...
Hi All, I am having this error when calling OrderSend function . I hope someone can help me. This is error log : 2021.11 . 11 04 : 10 : 45.254 TEST (EURUSD,M5) Alert : Open market order: Error 10013 - Invalid request 2021.11 . 11 04 : 10 : 45.254 TEST (EURUSD,M5) MqlTradeRequest - action: 1
I spent lots of time looking to find a script that will help me to set a manual TP and SL for mutiple positions opened in one direction at once Can someone help me to find one ? it would be great also if the scripts can do the same for pending orders
Sorry to ask such a noob question. This has probably been answered before, but I've tried every way of phrasing this question in searches that I can think of, and have found no answer. Very often when a backtest finishes it does not seem to display the results in the "Results" tab of the "Strategy...
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
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
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
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, I'm a beginner trader from Norway looking for advice. I started trading XAUUSD manually two months ago with $1100 using TradingView connected to a Pepperstone account. The first month was a disaster, and I lost 35% of my account in a few trades because I didn't set stop-losses. My second month
  Need harmonic EA & Indicator  (161   1 2 3 4 5 ... 16 17)
Hi, Can someone make this harmonic EA for Eur/Usd and Usd/Chf please ? Input : Today open price ( gmt.00 ) BUY at = open price - 27 pips SL = 50 TP = open price SELL at = open price + 27 pips SL = 50 TP = open price The EA should only take place one time a day.wicht come first, SELL OR BUY
Hello, i'm having some troubles switching accounts in MT5 via python: -MT5 started manually -2 accounts have been connected manually. -logged into 1 account manually. i now tried to switch to the other account with mt5.login(account,password,server) as well as with
Bot, altın M5 ile uyumlu, ancak mevcut altın fiyatı 1900 civarında değil. Yukarıda EuroSD H1 de gösteriliyor. Test altın mı yoksa eurusd mı üzerinde yapılıyor? Bulamıyorum. Bilen biri bana yardımcı olabilir mi? Bu testi nasıl geçebilirim
I want to get the position ID of a trade right after opening it, but it always returns 0 . Here is the code I’m using: if (trade.Sell(volume, symbol, 0 , sl, tp)) { ulong order_ticket = trade.ResultOrder(); // Trying to get the position ID ulong pos_id = HistoryDealGetInteger (order_ticket
Hello, can you help me write this EA for MT5? If the previous candle is a BUY candle, then open a BUY. If the previous candle is a SELL candle, then open a SELL. If there is an existing position that matches the logic => keep it, do not open a new one. If there is no position that matches the logic
I want to create a robot (expert in MetaEditor) but I have a question: Does my laptop need to be on when the expert is working? For example if a robot wants to work for 5 hours, should the computer be turn on for 5 hours
I had custom inputs on my mt5 backtest screen. They were showing up fine and then after a certain amount of backtests, they disappeared. There are 4 new ones that showed up and don’t have anything to do with my current EA. I don’t know where they came from
  how to
With this library, I've been told it's possible to avoid using OnTimer and OnTick and still achieve polling as fast as 100ms. I'd like to understand how this can be done. if someone have some example is welcome https://www.mql5.com/en/blogs/post/706665 ; here library and documentation i not find
Hi guys i try to use a websocket for exchange data mt5 to my program i use this code for do that //+------------------------------------------------------------------+ //| TCP_Send_Test.mq5 |
When I backtest my Expert Advisor (EA) on a live account, the results differ significantly from those on the demo account. I suspect this discrepancy is caused by the spread difference — the live account has a 0.2 spread. I’m not entirely sure how to handle or adjust for this spread variation within
If I am running my Python script on my Windows Desktop, which will launch/login to MT5, if I have a VPS with Meta trader and it is turned on, when my script executes my trade, is it using the VPS or my desktop client connection
When I set up an EA, I have specific timeframes that I want to be able to alter. When I switch timeframes in the backtest MT5 screen it gives me different results. Should it only give results based on the EA specifications? Which one do I use
I have found that after every optimization, my hard drive health status decreases by 1%. Later, I found out that a large amount of data was written to the hard drive during each optimization.Is this normal? What is writing to the hard drive? I know that functions such as Print() will not be executed