Expert Advisors and Automated Trading - page 51

Hello, I did not get the exact answer I was looking for reading this specific topic : https://www.mql5.com/en/forum/393797 I know that a developper could embed data into an ea to make the backtest impressive or even read history through DLL's. If I got DLL access unchecked and if an ea was published
I am having a validation error when uploading a new version of my EA , its just saying its has one error, but with no details, is this line "2022.02.02 09:38:40 Sell Position opened successfull." an error? or the error is that there is no operations in EURUSD ? thanks
Hello everyone! EA after compiled with no errors, saved, with all the imputs, is not trading on tester. Does someone can helpe me? Attached the code file
I have seen this a few times backtesting a few EAs. It works fine then at the end it will just fall off a cliff. Have been trying to work this out. Most of the times its because there was not enough equity in the account or the EA closes off at the last date. But this one I cant figure out. It is...
hi guys, in this last few days, (i'm not quite sure when the exact date is), after updating mt5 i stuck with this "critical runtime error 565 in Oninit function" during optimization. the problem is just pop up suddenly out of nowhere, on the EA project i am currently working, and it doesn't shown
I ran a relatively simple optimisation of GBPUSD M1, 2020.08.03 to 2020.09.27 modelling 1 minute OHLC with Input variables set to require 4,000 passes/tasks. I switched off Local agents and Local network farm, so as to only to use the MT5 Cloud Network. The MT5 Cloud Network Agents' in MQL5 Cloud
  ColorMix.mqh ?  (3)
Where can I get the ColorMix.mqh library
Hello, I wrote a program which should send messages on Telegram when the conditions of the indicator are met, but I have an error and I cannot resolve it. here is the error message : And here is the code: // Paramètres Telegram string telegram_bot_token = "VOTRE_BOT_TOKEN" ; string chat_id =
  Is EA working or not?  (11   1 2)
Please see attached log. Is my EA working or not? I think it is not, because backtests show that last night the bot should have made a few trades. Thanks
I am trying to delete some chartobjects that I created. I am doing this in the onDelete(). There are 3 objects... 1. A rectangle 2. The other two are trend object. The two trend objects successfully gets deleted and removed from the chart. The rectangle is confirmed to be deleted but it stays on the
Hello i am writing an ea that includes the economic calendar i can see it in mt5 and it is supposed to be in the /include directory as MQL5\Include\EconomicCalendar.mqh but it is not there, was hoping you might give direction, any ideas where MT5 stores the file
Hi, I found a lot of code for consecutive loss but not works. Also I try only to get all from history trades. Always I got 0. What code I need to get all losses? int consecutiveLosses = 0 ; // Global variable to track consecutive losses ulong lastDealTicket = 0 ; // To track the last
Hello there, I am trying to work with the economic calendar, but even a simple query does not bring values. I am sure I am overlooking some basic thing? here my program for reference: MqlCalendarValue values[]; datetime date_from = D'28.10.2024' ; // take all events from 28. Oct 2024 datetime
I'm having issues validating an update to an EA, and I can't figure out what I'm doing wrong. The problem is with the trailing stop, and even though I validate the SYMBOL_TRADE_FREEZE_LEVEL and SYMBOL_TRADE_STOPS_LEVEL, I still get the error "[Modification failed due to order or position being close
[Deleted]
Please anyone to Help my Mt5 is displaying unsupported filling Mode...What is the proble
Hello everyone, I'm experiencing a strange issue with the MT5 Strategy Tester. Every time I try to load or run a backtest, I hear a sound that resembles a 'rubber duck' or squeaking noise. Alongside this, the tester either freezes or doesn't load data correctly, and I'm unable to complete any
Hello, i am a complete newby in this game. I would like to download an expert advisor , but i just cannot find out how to download the bot. I have read all the instructions, but theyŕe not really helping at all. Any ideas, anyone
Hi guys would you please guide me that How to get total open positions with a magic number in mql5 ? thanks in advance for you help
I tested this code without errors when closing each position one at a time. But when performing Close All Positions Bulk Operation, it does not recognize enough events. You can watch the video for more information. int OnInit () { //--- return ( INIT_SUCCEEDED ); } void OnDeinit ( const int
How can I drop a trailing zero from a text string (in mql5) that will be written to a csv file. For example: "0.10" to "0.1" Basically, I want to save the mql5 to the csv in the same format that Excel exports to csv
Is it possible to see demo trades' history in MT5? Apparently, it is not, but please ckarify. Thank you
I have an expert that when I optimize and use the CPU form between two systems, it does not use the CPU of the second system, but when I use MQL's default experts, it uses the CPU of the second system. Why can't I optimize my expert with two systems
When I download historical data from metatrader using the XM broker, is the data already adapted to daylight saving time
Hi, may I ask why my code is not working :(, the error keeps getting the same code 4756, I have printed the debug printed log it seems nothing wrong with it but it still wont open any trades at all. I started some researches on official website about the OrderSend function but I still couldnt find
Subject: Issue with Changing Lot Size and Refreshing Trading Settings on VPS Hello Support Team, I am facing an issue with my VPS, which I use to run the MetaTrader platform. The problem is that I am unable to change the lot size for my trades. I have tried several steps to resolve this, but
Hello, I am new to MQL5 and may be missing something, that is why I need your help. I have simple EA that checks the performance of the indicator and it seems to work fine, but I found that it has ignored indicator conditions and hasn't opened trades several times. Can't seem to find the reason for
  Test failed  (4)
Hi guys, I have a question for you - maybe there was similar, but I did not find it - I created an EA bot. On every Strategy Test worked well everytime and the performance was really good. (different months, different settings...I tried it on many ways) Then I added to a Demo account for a real test
I ordered the EA and it worked fine with the default settings, so I closed the programming job. But now every time I change a variable, the EA starts working incorrectly. I contacted the programmer but he refuses to admit fault. Can MetaQuotes force a programmer to redo an EA
I am currently testing an EA I built that places pending limit orders. Everything works fine when I test with visualization enabled, but I receive an 'invalid request' error when testing without visualization. Could this be a limitation of the tester, or is there an issue in my code that I need to
Hi Guys, I have made mathematical interpretation in one of my expert advisor, my issue is when I testing it on MT5 demo account the results are correctly placed, but when I testing it in my broker's demo account its suddenly changes it value, for example i bought 0.01 lot at 2750 and target it only