Expert Advisors and Automated Trading

Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
hi vereyone How do I make profit appear above the candle? can anyone help me to get this code plz
Hi All, I need help in fixing errors and warnings on an AI EA. The AI EA is based on Bollinger bands BB_NONE, // no BB strategy BB_SQUEEZE, // BB squeeze strategy BB_BREAKOUT, // BB breakout strategy BB_TREND, // BB trend strategy BB_REVERSAL, // BB reversal strategy
As I run optimization test ,get result and run single test result not match the result. Get huge deviation, not sure it's optimization get error or single run get error. It's so confuse me. I do lot of tests base on this version code,over one month. MT5 base on version 5, build 2981. Always skip the
For context, I'm trying to create a volume based range breakout strategy that draws its range during low periods of volume on the adx, is using a time based system useful at all? Or is there a better way I would be able to implement it. I'm not super experienced with coding ranges so this is a bit
  MT5 forward testing bugs.  (21   1 2 3)
This post is about a some weirdly related (I think) bugs that happen when forward testing optimized results. Please read through it all. The first bug is that the displayed results from the top section of backtesting passes in forward tab are wrong. (Highest scoring passes in the backtest category
I am trying to copy trades from my MT5 account to xStation account using the XTB API . The Problem is that I don't understand how to communicate with API. I have tried using socket but I am unable to send an HTTP request with given command arguments, so I need help doing that. I would like to know
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
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 ()
Dear All i was trying a trading strategy to buy or sell all the USD Currency pairs together, i only check the daily strength of the USD, then i take decision to buy or sell (open 7 positions), then i check after so many hours, sometimes waiting for days looking  for total positive profit after that...
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 I was trying to find a way to get Trade history report automatically on a daily or weekly basis, I searched a lot and found a few scripts that almost do that, but what I want is to be able to get a standard history report by coding, just like which can be taken manually inside the
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
Hi. im currently developing an EA with that you can trade different currency pairs on one single chart. When I add a currency in the input field settings, how can i refresh/update it automaticly? It only start trading when I close and open the terminal
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