Expert Advisors and Automated Trading - page 13

Hi, I cannot find the answer in earlier questions about this. I've attached the source of the custom indicator and the EA. I did test this on the m5 timeframe (but that doesn't matter) When you compare the figures in the journal it's obvious that they don't match with the indicator. And please don't
Hi, I am running MT5 on Wine (Linux Ubuntu) and I get this message in the journal tab of the 'Strategy Tester Visualization' window, "IO operation failed with code e9 (233)" The log file gives the same info, the ending lines are NP 0 13:50:34.592 Tester final balance 10000.00 USD RJ 0 13:50:34.592
Hello everyone, Well scorpion provided me with a 2Gb file of tick data of EUR/USD sinc 1998 I believe. I know that MetaTrader and my computer itself cannot support that much memory (I have 1GB of RAM). So I was wondering if there was any way to chop up the file to get different files to be able to
How can I remove those arrows autotrade history in backtesting, I am having a hard time identifying the backtest trades as it is cluttered by those autotrade history
I have purchased 4 EA recently. I have a Vps with several brokers (each broker has its own mt5 plattform) For some reason, in some brokers mt5 plattform I cannot see all of the EAs i purchased (only 23 of them). I can t even find the EA in the market place as if it was somehow deleted or banned. But
Hello everyone, I'm currently working on a robot, and I have to say that I'm confused by the issue I'm facing. Let me explain: The robot works perfectly during backtests, there are no, and I know it, "out of range" errors, no division by zero , no infinite loops. Similarly, the #property strict is
does anyone had same problem ? how to solve it ? ? thanks
Hi everyone, I published 3 version of an EA, one basic, one intermediate and one advanced. The basic contains only a part of the inputs available on the intermediate and then on the advanced, and so on. So the advanced can do the job of intermediate and basic, and so on. But using a subset of
Hi, today when I opened mt5 strategy tester I am getting an error, while it was working fine when I turned off my pc last night. When trying to backtest I get the message "connection closed" on core 1. I have tried to install a new mt5 terminal but I get the same error message. Does anyone know what
I have an EA that opens trades too late, instead of opening a trade at 12:00, it opens a trade at 12:05. My ea has to read an excel spreadsheet first which is quite large. Could it be because EA has to use ms excel which is a slow app(to launch)? Did anyone have such an experience? Is excel too
Hi guys, I used to experience intermitent issues with the Tester Visualization hanging on "Waiting for Update" but usually if I forced close it and retried a few times or changed the symbol it would start working again. However, now I am completely stuck. No matter what symbol I try, how many times
  Current Profile  (2)
Hi All, I pride myself on finding answers to my problems as I learn MQL5. I have however, been stumped by this one. I just need the name of the currently active profile. A search returns Current.Profile() but I cant find any reference to it nor does it work in the editor. The reason I am looking for
Hello, I noticed a strange behavior when using the default "Moving Average" EA on the MetaQuotes demo account. (It is not my own EA, just the built-in default one.) Steps to reproduce (see attached screenshots): Open two charts: EURUSD H1 (left) and USDCHF H1 (right). Drag and drop the "Moving
I have just moved from MT4 to MT5. I was looking forward to the additional features that the MT5 Strategy Tester provides, but I am hugely disappointed in some aspects that are far inferior to the MT4 Strategy Tester. I have an EA with a large number of parameters, and when I do a Genetic
Hello, recently i have started to backtesting an EA with the slow complete algorithm optimization setting. I have planed to do a big algorithmic test of all the features of my EA ( ~80 settings) so there is 2.2e+52 combinations. I was okay with this and when i launched, an alert message in the
I have had several issues with EAs around this: When I change the risk level from 0.01 to 0.05 or something, it does not change on the EA, and the EA keeps making orders at 0.01. I've tried many different things to re-set the platform or EA. I'm using Pepperstone, MQL5, AUX/USD on 1 or 5 minutes
I just bough intel core ultra7 265k in the window showing 20cpu but after optimizing with MT5 it has only 8Agent and also in Agent manager showing only 8
Hello, I have a question about newly introduced Calendar in MQL5. Is it only used for closing open orders before the economic news ? Or it can be used for opening new orders depending on the content of the news? I mean, does the news contain actual figures rather than planned event data? For ex, if
I’m trying to export my strategy signal data into a .csv file. The file is created successfully in MQL5/ , but instead of agreement_export.csv I always get a file with .dat extension. Could someone explain why this happens, and what is the correct way to force MT5 to generate a proper .csv instead
Hi, I am currently using Tick Data Suite to test a very simple EA. It is a martingale EA with no entry requirements. Basically it just opens trades when auto-trading is switched on and uses martingale to exit with a profit. So basically it will make money when there is volatility and retracements
Good morning, I got two issues. 1) On My Metatrader 5 instance in the past I used the cloud agents for simulation. That worked brilliant. Nothing was changed I only deactivated them as I wanted to peform a small test just on my pc. Now I can't reactivate them. I I right click on them, the option to
Good morning, I'm having a problem with Metatester. On Metatrader, I clearly see my 56 available threads. However, when I try to share them on Metatester, this number drops to 28, as if only one processor was detected. Could you please advise me on how to solve this problem? Thanks in advance
I have a problem, I'm running MetaTrader 5 Strategy tester with 8 agents (my computer has 16 cores). He hasn't worked for me for a month. There is no collision with the anti-virus program. Reinstalling didn't help either. All 8 testers are marked as "not connected" in AgentsManager. I have Win 11
Hey I deposit $15 to get the monthly vps but is not letting me purchase it
  Trend lines  (2)
Good day. i need some help please. I am trying to get the highest and lowest price of 30 candles starting 2 candles back. if i use 2 at the start point it doesn't give me the value and time of the highest and lowest bar. if i use 0 at the start point then it work fine but i don't want bar[0] and
  VPS  (2)
Hello. I purchased a VPS, but it won't open positions from my EA. What could be the problem? Without a VPS, it works normally, but with more slippage. 14:24:44.073 History: first bar USDJPY+,M1 on the server is 2025.07.03 01:48 0 14:24:44.073 History: first bar USDJPY+,M1 on the server is
Hey guys, is it somehow possible to find out how many candles are shown on a 800x600 screenshot before the screenshot is made? I know there are some variables like the chart shift and the chart scale. But I have no idea how to find out the number of candles before the screenshot is made. Any help is
I want to update the ask value for all ticks and reduce the spread by 50%, but the program only update 1 tick finally as shown by the print function . Can anyone help me to fix the problem ? void OnStart () { MqlTick ticks[]; if ( CopyTicksRange ( _Symbol ,ticks, COPY_TICKS_ALL , 0
  Will the EA crash ?  (18   1 2)
I've got an ea that downloaded all available ticks from a broker for a symbol . It reached 250 million ticks , and , the MqlTick structure is 52 bytes per tick. (13 gigabytes) It placed it all in memory .I've got decent RAM on the machine so it held. If someone with 8GB of RAM runs it will they get
Hello traders. im opening this topic in order to discuss and find the way of using HFT eas in normal brokers.. lets see if we can figure it out