Expert Advisors and Automated Trading - page 14

For example , I want to add one EA to 10 chart. but every EA update i must re-add. This is a little troublesome. Does MT5 write a script and automatically add EA to the chart? Please note that is add EA, not adding indicators
Hi everyone, I have had this problem for some time, the EA works very well both in backtest and in profiling, despite this it always keeps giving me the same error, from debugging it does not give me any errors, what can I do
What should I do for a backtest with one hundred percent accuracy? I want to test a robot
Hello, I coded a script for Metatrader 5. I'm not getting a compilation error but I'm getting a warning I need help. //+------------------------------------------------------------------+ //| CloseHalf.mq5| //|
Waiting 4 days to get optimization result from my expert, and I faced this issue. There is difference about 200 items between passed items and total passes number. [redacted URL by moderator] 1. What is the reason ? 2. How to find which parameters condition not passed? (I need to do backtest again
Can someone help me with this? I’m optimizing a new EA, everything begin correctly but then some Agents finish while others are stuck going over 100%, the overall optimization remains blocked. Optimization at 1:53 pm After 10 minutes not even a new pass executed
Hello, I have been running into this issue for awhile now. (I will have the image attached to this message). I have an extremely fast computer running thread ripper 64 core / 128 threads and many other specs. So, the issue is most definitely not the computer. I have been working with a freelance
Hello Community Members, I was trying to publish my EA. It says test on EURUSD,H1 strategy tester report not found How can this be solved. If it'a bug on mql then how can this be reported. Thanks
I keep getting error 10014 and/or 10016 related to the correct volume and/stop. Pls assist, i have read almost all blogs pertaining this :D //+------------------------------------------------------------------+ //| Calculate Stop Loss |
Hi, my EA will launch a program using ShellExecuteW and the program will create an XML file that the EA will copy it for further processing. Since the program could close itself due to error I launch the program for every 40 second. The arise between EA read the XML file and the countdown, there's a
Hi I'm trying to call a base class's virtual function inside of a derived class with the same function name. Consider the following: class Parent{    public:    virtual void Test(){       Print("Parent");    } }; class Child : public Parent{    public:    void Test(){       Parent* p =...
I hope someone can help / advise. I am logged into my broker account - and the leverage on that account is 1:10 I want to test the EA, based on that leverage 1:10 In the Strategy Tester | Setting tab the smallest setting is 1:25 If I enter 1:10, it seems to accept it, but the moment I press 'Start'
I bought MT4 EA and run for last few years...possible to convert it to MT5 environment and run? Also to use my preset file in MT4..possible? How about the conversion cost? Please advise me..Thanks
Hello Everybody, I'm working in a Ichimoku multisymbol expert advisor, but I'm receiving a strange behavior. Stops are not triggrered see this picture. In the image prices for XTIUSD symbol are under stop loss and still the positions keep open. Thanks for any advice
Hello folks, I would.like to know if there is some way to automate the opening of multiple charts, with different EA or strategy presets. I have to test hundred of strategies and its quite boring and time cosumlng to open one by one manually. Im trying something with config.ini files but have no
I want to solve a overdetermined system by matrix and vector methods. As i see there is not any solution there (at least yet). Am I right? if yes? a) Is there anyone who developed any code over MQL for these systems? b) Anyone can help for any solution? may be a code C++? Thanks in forward
When EA 1 alerts me on a condition, is there a way to automate a second ea from turning on and off based on that alert? Basically, I have an ea that signals bullish or bearish. I want my second ea which is built on martingale to turn on and off when the signal on the first changes. I could have a
Hi, I have always had my Expert Advisor folder as the base when I click in the field Indicator in Strategy tester . (Where you choose your EA to test) Today I was sitting reading MQL5 Articels and was testing others EAs to play with.. Suddenly my default folder in the indicator field are defaulted
Hello, hope you everyone is doing good. I have a question see. I have have been trading live for the past year & I got some decent entries & exits. So my question can my trade history be turned into a n algorithm based of my past data
Hello Everyone This post is somehow related to my previous topic at https://www.mql5.com/en/forum/456103 where in following suggestion was there from @William Roeder Don't try to use any price (or indicator) or server related functions in OnInit (or on load or in OnTimer before you've
Hello I have problem to solve I need to hedging drawdown equity I have perfect strategy to grow balance which is repetable like an image below but sometimes entries make too huge drawdowns equity (red arrows) How to solve it, do you have any ideas about advanced hedging? (red line I marked drawdown
I have a couple of scripts that calculate the lot size depending on risk % and SL distance. sl=m_symbol.Ask()-Stop_Loss_POINTS*point; Is there a way to somehow work out if I'm calculating lot size for a forex pair, or for an Index. I get the point from SymbolInfo ... which works for forex pairs
Hi everyone, apologies in advance for the frustrated rant. I want to know the D1 14 period ATR in MQL5, for use in an EA. That's all. In MQL4, it was a simple, one-line instruction: "ATRD1 = iATR(Symbol(),PERIOD_D1,14,0);" But in MQL5, it seems to be an absolutely insurmountable development
when we finish edit program , we should compile mq5 files to ex5.  But if there are many mq5 files , Is there a way to compile all mq5 files to be ex5 without one by one?
Are we able to modify MT5 EA that we purchased in MQL5
I have a program where I check TerminalInfoInteger to get keystates of buttons in Timer. However, sometimes when I remove the EA, seems that if I catch them in mid-execution they get stuck and cause abnormal termination. Is it a mt5 bug? Or is there a way to solve it? How should I report it? This is
Hi MQL5 Community, I'm stuck in a slump. I'm new to creating EAs, and while attempting to put something together I noticed that the iCCI(), iStdDev(), and iMA() in-built methods do not change values over time during back testing. To further isolate the issue, the back testing was run over this very
  Meta trader 5  (2)
Hey, Can I get some quick help here. I'm starting to hate metatrader 5. I really don't understand it at all and every tutorial that I've tried to learn from is wrong in some form or another. Here's an example of what I'm talking about. Here's a code that I found that I copied and here are my errors
Hello all, I hope the following naïve question doesn't cause too much disturbance for the professionals among You. I've created an EA based on the "Asian Session Breakout" strategy. When backtesting, whatever modelling mode is used, it functions perfectly. What I mean by "perfectly", not just the
hi, i was wondering whether it is possible to create objects on multiple charts simultaneously in a backtest. The following code is obviously basic, I've made it simplier so i wouldn/t exceed character usage but its supposed to be able to identify types of candles and does so perfectly. However