Expert Advisors and Automated Trading - page 3

[Deleted]
Hello, Using #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> CPositionInfo m_position; // trade position object CTrade m_trade; // trading object Will make my EA slow? or should i use purely for example CTrade m_trade; or directly
Hi. Is there anybody here who has ever written an expert adviser which being able to read news feeds, and then distinguish between bullish and bearish ones? (Ex. Reuters, New York Times, Bloomberg, etc) If you know how does it work or if you already have that script inside your computer then would
  Cloud network  (1)
When I enable cloud network for optimization in the strategy tester, it looks like i am limited to a certain number of tasks. How can I make sure that all networks are used and there is no limit to the tasks
  Mobile messaging  (2)
Does anyone know if there is a way of sending a user a message on MT5 mobile without the MT5 terminal and EA being switched on? Thanks in advance
In general, my performance with backtesting and optimizing got worse and worse since I started with MQL5, but for some reason, since 2 days, some cores have just been disabled out of nowhere and get auto-disabled when I enable them again. Today, when I tried to optimize something, all my cores got
[Deleted]
Strategy // ===== Indicators ===== bool GreenCandle = true ; bool RedCandle = true ; double RSIValue = fRSI(rSymbol, SelectedTimeFrame, RSI_Period, RSI_AppliedPrice, SignalStrengthValue); if (RSIValue == 0 ) continue ; double
I want to count history deals from down to up. But my code not work perfectly. Please help me anyone.   HistorySelect(TimeCurrent(),0);   if(HistoryDealsTotal()>0)     {      for(uint i = uint(HistoryDealsTotal()-1); i >= 0; i--)        {         if(Deal.SelectByIndex(i)==true)...
Hello everyone, I have an Expert Advisor that operates based on trend conditions; it opens trades when the market starts to move in a clear direction (based on indicators). However, during sideways or ranging periods, it tends to accumulate losses or end up in break-even situations according to my
I'm using CustomRatesUpdate() function . It costs up to 2-3GB of disk space on real time running interval 1 sec in 24 hours (version A) but while I copy M1 timeframe data from server then CustomRatesUpdate() from 8/2024 just in 7MB (version B) . CustomRatesReplace() also has the same effect Version
Dear Forum Members Wish all Marry Christmas & Happy New Year. I have got above error while running Strategy Tester. Any clue what is this could be? Regards
[Deleted]
fRSI(SelectedSymbol, PERIOD_CURRENT , 14 , PRICE_CLOSE , 0 ); double fRSI( string sy, ENUM_TIMEFRAMES SelectedTimeFrame, int period, ENUM_APPLIED_PRICE applied_price, int shift) { double buf[ 1 ]; int handle= iRSI (sy,SelectedTimeFrame,period,applied_price); if (handle< 0 ) {
Hello wondering if there is a profitable EA on the MQL market or have they all got a alternative motive. I mean lets face it, if someone had a EA that was profitable, why would they sell it. Very basic discussion but funny enough it may raise some concerns. I have had many EA's from over a period of
I am trying to find a way to calculate the appropriate volume for longs and shorts dependent on a fixed percentage of risk. I stumbled across the CMoneyFixedRisk money management class and set it up in my EA. Every time it is called it seems to always return the value 0.0. Below is an example of how
  ERROR :10030  (7)
#property copyright "Lucas Mariano Vieira" #property link "https://www.mql5.com" #property version "1.00" input int MAPeriodShort= 9 ; input int MAPeriodLong= 21 ; input int MAShift= 0 ; input ENUM_MA_METHOD MAMethodS= MODE_SMA ; input ENUM_MA_METHOD MAMethodL= MODE_SMA ; input
Hello I am trying to integrate an economic calendar into my MT5 EA so that the robot temporarily blocks trading before important news events. I am using the stub function EconomicNewsGetNext(), but I keep getting compilation errors like: - Undeclared identifier - Implicit conversion from unknown to
Context: This post is intended to be useful to those looking for ideas on how to set up an optimisation/setfile discovery process for themselves. Much more selfishly, I am also looking for advice from the more experienced on my optimisation process (which I will lay out below). I have been trading
Currently I am Using the Below Code In MQL4, //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool openURL( string url){ int APPEND
Sorry, but why are the simplest of things just impossible. The fact that there are other posts on here saying the same thing - with equally unclear responses - speaks volumes. The `PlaySound()` method - seriously? The file path ` C:\Users\<user>\AppData\Roaming\MetaQuotes\Terminal\Sounds ` is where
As you can see I already open the window to access those feature. But the window is nowhere to be found. I'm using MacOS M1 Tahoe 26.2. And Exness Demo Account for this experiment. Based from ChatGPT I still can access signal tab with Demo account, but why it's greyed out
Hello, I bought an Expert Advisor. Suddenly it's gone. The corresponding signal is also gone. In this case, it's the "Gold vs. Bitcoin Arbitrage" EA. Why aren't buyers informed about this ? It's not just strange, it's downright outrageous
Artificial intelligence (AI) is changing the way we buy and sell in the stock market. This discussion is about understanding how computers use AI to make quick trading decisions. We will look into how AI can spot patterns in the market, make predictions, and decide when it’s a good time to trade
Hello, While demo testing an algoritmic strategy on the US500, I get the message 'US500 history data load error.' Does anyone know how I can solve this
I am having an issue where I go to my VPS where I have MT5 running around 50 EAs, each on their own chart, and find that 30 or so will have removed themselves from the charts. What could be causing this? Thanks
Hello, using MT5 Strategy Tester with EA that is placing trades on multiple symbols the tester is not stable! It is suddenly stopping with the error: "disconnected. connection closed." Strategy tester is running on the local core. With this settings: Please fix this bug. Best Regards, Dmitry
I have created a public AI-based Telegram channel that generates trading signals by analyzing charts using GPT-5.2 and Grok.com . My goal is to have a MetaTrader EA read these signals directly from Telegram and execute trades automatically. I would like to know: Is it technically possible for an EA
  Dumb benchmarks  (4)
I'm not sure I should have created this topic, but it's never too late to delete it😁
  MT5 Strategy Tester Error  (13   1 2)
Hello there. I am trying to use the MT5 strategy tester since last year but it does not work. I noticed this after MT5 update at the end of 2023/ early 2024. Since then I have tried different machines, diferrent OS (Win 11/ Win10), different broker. It just does not work. The Core 01 disconnected as
While attempting to test my EA, this message keeps popping up and my test doesn't run. Ive attached an image of the errors, and spent time trying many things to fix it, but nothing seems to work. Thanks for the help
Hi everyone, I am struggling with a persistent issue where local agents in the MT5 Strategy Tester are completely non-functional , despite several troubleshooting attempts. System Specs: CPU: Intel Core i9-13900H (20 threads) OS: Windows 11 The Problem: Service Failure: The Windows Event Viewer
  Multi instrument robot  (27   1 2 3)
Hi every body, I used to trade manually since many years. But today I want to automatise some of my algorithmics systems. Is it possible to create a robot who can manage 20 or 22 instruments on a single account, with the possibility to calculate the quantities according to previous results ? Thanks