Expert Advisors and Automated Trading - page 13

I am making a EA that will run on accounts with low leverage. To avoid runtime errors, I am trying to find the maximum number of lots that can be opened given the available free margin. Here's my attempt at the calculation. double marginRequired; double freeMargin; double maxOpenLots; void OnInit ()
Hello, idk why my ea work perfectly from my PC but also don't open any position if it run on a vps. MT5 terminals have the same settings, algo trading enabled etc... Anyone can help me please
I have a remote desktop setup to host some of my accounts that are using a EA. But i think there is some lagging going on, im not sure. For some reason i have to manually switch the trading accounts, and then they start opening trades from the EA. Its no longer opening trades by itself for some
  Multicore/thread tester  (17   1 2)
Hi all, Just wondering if there is an option somewhere that affects the use of multicore/thread CPUs in the MT5 tester? I ask, as previously - up until yesterday my MT5 tester would stream through testing using all 8 cores, now it only does 1, then it might start using another core 3/4 through...
  !!! undeleted objects left  (33   1 2 3 4)
Hello Everyone I have this warning message, and have checked all my classes where I have created CMarketInfo class and made sure that it is deleted on Exit the program. 2024.06.10 17:28:54.019 AlgoEA ( XAUUSD ,M15) 1 undeleted objects left 2024.06.10 17:28:54.019 AlgoEA (XAUUSD,M15) 1 object of type
Hello me and my friend have been running a python scrypt to help with trading on MT5. When we bought a prop firm account and connected the script to the MT5 they gave us it suddnely came with an error which is (-4, 'Terminal: Not found'). If anybody knows how to fix it please reply to this thread
Please anyone to Help my Mt5 is displaying unsupported filling Mode...What is the proble
Hello, I have the following problem. I wrote my expert advisor and it works well on live trading. But when I put it in the strategy tester, my stop loss and take profit are wrong. Can someone tell me what's going on
I have a VPS with Windows server 2008, metatrader5 and an EA running in my real account. Sometimes, it happens I found in the journal some reconnection event, not bad. The issue is this. Once or twice per week, while reconnecting it receives the error invalid account: 2017.12.16 20:23:31...
  2 accounts 2 ea  (2)
Hello, I have two different accounts with the same broker and two different expert advisors (EAs). I want to use one EA on my first account and the other EA on my second account. However, when I activate an EA, it gets activated on both accounts. Is there a solution to this problem
Hello All, I generally do not ask for help. Nevertheless, I have been wrestling with this problem for several weeks and have been unable to get past it. I have been translating my EA's to MQL5 from MQL4. These work perfectly in MQL4. However, when executing, I keep getting an invalid stops. I have
Anyone? Its aggravating. The EAs (I had a developer create) worked fine before the latest Meta Quotes updates. Now they won't even drag and drop to the charts Has anyone else had this issue? Thanks 🖖
I want to create an expert advisor for my trading strategy, what is the price range to keep in mind to execute this
The MetaTrader 5 Python package offers the order_send() function, analogous to MQL5's OrderSend() . This is a synchronous function; the caller has to wait for the MT5 server response before proceeding. When a trading strategy necessitates multiple orders at varying prices or symbols, using the
While working on a machine learning model I noticed a weird behavior on the Eig built-in method. When given a matrix matrix SBSW = {{- 3.474589321704841 , 1.106384365940048 ,- 9.091976743274188 ,- 3.925227000397125 }, {- 5.522139525216183 , 2.366887770561694 ,- 15.162350848809 ,-
Hello. I bought an EA a while back. It doesn't work well, And now the seller took it off the market and I can't even write a review while he keeps selling his other EAs. There need to be an option to write a general review on the seller for anyone who bought anything from him/her even if it's no
HI all, a general question on the python API and more specifically propfirms. I was wondering if the brokerside is able to see that a Python API is being used to place trades - I'm currently in the process of passing propfirms which do not allow the use of EA's/ require their mql5 source code to be
how to cancel sell and buy stop in EA. cancel buy and sell stop after some time . what is command or what changes may be needed. thanks in advance
//+------------------------------------------------------------------+ //| Setup Lot //+------------------------------------------------------------------+ double SetupLot( int orderType) { double lot = 0 , firstLot = 0 ,multiplier = Multiplier_, MinLot = MarketInfo( Symbol
Please help me what could cause subjected error while running the strategy tester
Sorry I am a newbee with OpenAI, Please forgive me below basic question. 1. Open AI can be imported by dll? 2. How to put the functions to MQL5 code
[Deleted]
What trading algorithm do we use for automatic trading EA? What are the advantages and disadvantages, there is a more stable profit trading algorithm recommended
Can I have multiple accounts on a single VPS server? For example, 3 different accounts with same brokers running different expert advisors? I really need to know before hosting
Im trying to setup 2 accounts with my EA but switching accounts turns off algo trading for the second account. Is this just a feature of MT5? I have 1 account running the EA on 2 pairs, and 1 account i want it to run with 1 pair
All of my MT5 EAs work flawlessly in my My MT5 platform but they don't work on my MT5 live platform; they used to work on my live MT5 platform but about 2 months ago they stopped working; I contacted my broker to download the MT5 platform again but they still did not work ; I moved to
Hello. I am trying to code my first Expert Advisor in MQL5, and I am having an issue getting the correct values from indicators, specifically RSI and ATR in my case. This is the code I am using: int atrHandle; int rsiHandle; atrHandle = iATR ( NULL , 0 , ATR_Period); rsiHandle = iRSI ( NULL , 0
Hi, Target: Server restarts... MetaTrader is comming back up with autostart scripts or whatever... Problem: Sometimes EA's are not attached to the Chart anymore. So somehow I want to check if everything is right (TimeFrames, EA's, etc.. ) A visual TestTool doesn't seem right.... Does anyone have a
Hello everyone, I have developed an Expert Advisor (EA) for MetaTrader 5 (MT5) and, to test it with high-quality data, I used QuantDataManager to download historical tick data . After downloading the necessary data, I went to MT5, created the symbols, and loaded the ticks (the image below shows the
Hello, I would like to be reimbursed because the EA makes many loss. I would like to earn money, not to lose money. Please, how to be reimbursed from an EA. I already activated the EA but it's a scam, it makes only loss money. Please help me to be reimbursed. Also the service desk didn't reply me
Gents, I'm running backtests using the 'Run Single Test' function directly from the Optimization Results tool and the Strategy Tester with the same parameters, but the results are significantly different. Has anyone else experienced this? Any insights on why this might be happening?"