Expert Advisors and Automated Trading - page 34

hello mql5 team, why so high temperature when running only one MT5, GPU reaching above 80 degree always, I already disabled Opencl. if run two instances of mt5, it reaches 90. no indicator added, only one chart with EA running
[Deleted]
test on EURUSD,H1 (netting) JI 0 11:13:40.378 Core 1 2021.02.01 00:00:00 🔄 Initializing EA... strategy tester report 108 total trades Hello, I have never encountered such error before kindly guide . My Ea on MT 5 is working perfectly but when I validate this comes up. I will appreciate the help
I created a Multi-frame EA and I'm backtesting it. But the profit I get if I try it on M1 is different from the the profit on M2, M3, M4 etc.. So the question is: should I add all these profits to make an only profit or should I do something else? 'Cause I want to define only one profit for every
Hey all! im trying to build some nice EA for news trading. i did some test and i works fine but it turns out the data of the mql5 calendar is very delayed. i use the ID of the event to let the EA look at the prev , forecast and actual data. With the delayed my trade start to late and the biggest
Keeps getting exactly ZERO tasks to process, after the upgrade of the server to 2025. Of course I checked the logs, everything is fine, only that it does NOT get anything to work on. It only autoupdates as soon as new client versions come out, and nothing else. After each server reboot, all of my
Hello everyone, I'm having trouble retrieving the magic number and the comment when the order is closed. It places the sell or buy limit order containing the magic number and the comment. If the order is pending, I can check it, and if the order was executed and is in progress, I can retrieve it
Hello, I have a trading system which I want to automate. If it's possible, I want to automate my trading system while it's "working together" with other forex pairs. The system is the same for all pairs. Only I want them to watch each other. What do I mean with this? For Example: I have 3 pairs
  Lot Size In Copy Trading  (15   1 2)
Hello to every one I have a problem in copy trading. I bought a signal but every time MT5 open 0,01 lot for me. How can I fix that? My account: Broker: Fibo Group - Demo - Leverage: 1:400 - Balance: 3000$ Signal account: Broker: FBS - Real - Leverage: 1:500 - Balance: 16000$ would you please help me
Hello coders, I recently worked on an Expert Advisor that trades on multiple charts. When I attach the Expert Advisor for the first time to a chart, it works without any issues. However, when I modify the EA inputs or change the timeframe on the chart, the EA stops working. I did some debugging and
I started backtesting an EA using MQL5 Cloud and after about 70% passes, my balance finished, so I enabled my local CPU cores then but the passes are still running after 1 day. I want to know if I add balance to my MQL5 Cloud account and Enable Cloud Agents in strategy tester, will it resume from
  MetaTrader5 calendar updates  (12   1 2)
I would like to ask about MT5 platform calendar updates: is platform's calendar updated about actual values in real time? Or updated later manually? Is it possible updating time is not the same broker-by-broker
Hi, I'm currently testing and debugging a MQL5 US30 strategy. The tester is set to work on a US30 chart and historical tests work fine. However, if I click the debugging on real data button, the terminal opens a EURUSD chart rather than US30. I assumed that it would automatically use the symbol set
hi guys i have creted a diagonal line but this line must pass in iterception of ass X and Ass y like fugure now i trace it with tool but i want the daw line directly by my code i sue this code //+------------------------------------------------------------------+ //| Expert initialization function
Hi everyone, am currently facing an issue that I can't seem to overcome. I am running multiple bots on a single VPS. The problem is that, in my trading system, the expert advisor can only have one open position at a time. At first, I used PositionsTotal , but I noticed that it counts the number of
I open a trade using the below code: MqlTradeRequest request = {}; request.action = TRADE_ACTION_DEAL ; // Specify a market order request.symbol = _Symbol ; request.volume = lot; request.type = ORDER_TYPE_BUY ; request.price = SymbolInfoDouble ( _Symbol , SYMBOL_ASK ); request.deviation =
Using MQL5 Cloud Network setting, I tried to backtest my EA for historical data between 1st June 2024 and 12 February 2025. It shows 196,800 passes are needed and already charged $ 158.78 from my balance. After about 80% testing I see the message Not Enough Money . Am I being charged too much
Hi Long time listener first time caller. I attempted to search for this issue but cannot find it. Forgive if its been answered elsewhere. I've had success with local agents before, but recent EA changes and I'm seeing an odd issue. THe local cores get loaded up like this, and CPU load goes up doing
Hello, if I do: string a = EnumToString(MODE_SMMA); I get: a = " MODE_SMMA " Now, I would like some function that does just the opposite, I mean something like: int b = StringTo Enum ("MODE_SMMA"); b = 2 where 2 is the int value associated to the constant: " MODE_SMMA " Regards, cyberglassed
Hi, I am setting up my own VPS in our DataCenter running Windows Server 2025. Its in its own network with Internet Access and I have RDP access to it via an jumphost so its RDP on RDP... Any tip on how to config the server and MT5 for running as an VPS ? Best Practise? Second, Since I dont have File
Hello everyone, this is a survey because many sellers are willing to cheat buyers by manipulating backtesting and we as buyers lose a lot of money when buying EA. what can we do to prevent fraudsters? - I think that if the desired EA is testing for two weeks in a demo account before buying, there
Hi, I am having troubles deleting pending orders when I release the EA from chart. OnDeInit() I use the following code void OnDeinit ( const int reason) { //--- // delete pending orders for ( int i= 0 ; i< OrdersTotal (); i++) if ( OrderGetTicket (i)) if ( OrderGetString (
IsStopped(__FUNCTION__) Normal after comment. bool CTrade::PositionModify( const ulong ticket, const double sl, const double tp) { //--- check stopped if ( IsStopped ( __FUNCTION__ )) return ( false ); //--- check position existence if (! PositionSelectByTicket (ticket)) return (
Hello I put print functions in my code to display information, but only some of them are displayed in jurnal . All of them are displayed in MT4 tester but not in MT5. Do I have to change certain settings in MT5 Tester? Help me please. Thanks very much
Hello everyone, I’m attempting to integrate ChatGPT (gpt-3.5-turbo) into MetaTrader 5 using WebRequest() in MQL5. When I call https://api.openai.com/v1/chat/completions , I consistently get a 401 response telling me: "You didn’t provide an API key. You need to provide your API key in an
I'm in the process of building a local farm network but there are a couple of important points for which I couldn't find an answer: I have several relatively powerful computers but one of them is much older and clearly much slower (an old Intel Core i3 processor). My plan is to use this old computer
Is it possible to code a trading panel in MQL5 that can be moved and have clickable buttons in Strategy Tester (Visual Mode)
  Real-time optimization  (14   1 2)
The session NASDAQ100 lasts from 0:00 to 23:00, the time is 14:05 - what period can be examined with optimization? Is it possible to examine the period from 00:00 to 14:00
Hi guys , when i backtesting my robot, my backtester lags a lot, switching tabs to positions or a log just leaves a white background, but there is no such thing with other robots, are there any ways to influence the backtester specifically without breaking the logic of your EA
Hey everyone, running into an issue where if I start a backtest on EURUSD D1, starting from 2023.01.01, the oldest daily bar available will be 2022.01.03, for a total of 261 bars. Is there a reason I couldn't query for let's say 500 bars from my starting date( 2023.01.01) ? I tried implementing the
The cause of this error in my case was no available RAM in my PC as it was full up and MQL5 had crashed due to this? A possible fix would be to set meta trader to the highest priority on your operating system