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
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
Hi all, I'm having trouble with stop orders in my MQL5 script and need some advice. Buy Stop Orders Not Executing : I've set a buy stop order, but it's not executing. The price goes over the order price multiple times, but the order never gets filled. Sell Stop Orders Executing Too Soon : On the
Hello, I coded my EA (3 actually) and I ran a back test on the last few months with it with optimization enable. That way, I picked the best value for some of the parameters of my EAs. Then, just to check, I ran a back test (on the same period, the same instrument, the same method "real tick based
[Deleted]
Hi, Everything is OK with my Python environment in which I work every day, but when I want to import the MetaTrader5 library, I get an error message : ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for
Is it possible to place an expert adviser (EA) on the webterminal to execute trades automatically?
If it can be done, can you please show me the steps.
Thanks.
I have 2 MT5 that aren't on the same network, installed on different Windows computers. Both can trade the same account BUT I don't want them to be opened & ready to trade simultaneously. When I launch MT5 #1, I want it to close MT5 #2 (if it is opened) When I launch MT5 #2, I want it to close MT5
My EA still orders buy/sell stop (alway have a fix stoploss) and matches orders normally. However, at certain times when the market fluctuated strongly, my broker reduced the leverage to only 1:200, causing the stop orders to be canceled when hit price because not enough money . Can I calculate
Hello dear Dev. I noticed something with my platform, and I wonder if someone has an explanation. After dropping an EA on the chart, you are asked to fill up the input parameters. Later on you can modify the value of input by following one of the two methods : 1. Re-attach the EA to the chart 2
Hi, I have the problem that when an object of the child class is created, the constructor of the parent class is called without notice. class ClassA { public : ClassA(){ Print ( "ClassA Constructor" ); }; }; class ClassB: public ClassA { public : ClassB(){ Print ( "ClasB" ); } };
Hi everyone!! Can anoyone tell me how all this EA's test get the historical data since 2015, with every tick based on real ticks model? Thanks in advance
Hello: I have developed a trading strategy and would like to put into code. I don't want to learn MQL5. I am willing to trade the strategy for the code. Use it if you like it. I have almost finished the faux code and can make it available privately. All the Best Chris
I'm testing an EA. I noticed it sometimes opens positions (in strategy tester) with a volume much greater than my balance + leverage. How is that possible? I this screenshot I have 972 EUR balance and I'm using 1:30 leverage. It opened a volume of 0.97 on GBPUSD. Meaning a 97,000 GBP position. What
can i continute optimization if i did it for 2 years and i have new day .. i want to ad the results without start it frome zero
Hi all, Rookie/noob here, thinking he figured out the issue but failed again. I have been working on this for a couple days and thought i fixed it last night by resizing the arrays. As you can see below the close shows 1.10374 for the second last candle. Assuming based on the code is states that it

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.