Hi, people! In the middle of yesterday, my strategy backtester suddenly started to behave wierdly. Now, no matter the EA or setup I'm using, my trades are being closed as soon as they are opened, without hitting either SL or TP. Does anyone know why this is happening
Hi there community, I wrote recently a NFP filter. The backtests say that it is more profitable scalping during NFP (?) but the signal performance was horrible in fact after the last release. I'm thinking that these MT5 backtests are quite imprecise cause NFP gives certainly a kind of market
I can't read programming language at all, but I'm trying to create my own EA using generator in MQL5. It goes smoothly until I realized that this EA can't open multiple order. I'm using hedging technique, which is need open buy and sell at some point. Really appreciate if you can help me.. anyway
How do I get the close price after calling PositionClose? trade.PositionClose(ticket); Print ( "Close position @" , ???); Thank you
I was wondering if anyone would be kind enough to help with my lot size calculations. I have all the code working fine when the base currency is the same as the account currency. 1 I'm really struggling to understand what to do when the base currency isn't the same. I have looked in mql and general
Hi, Just a quick question about Service . Is a infinite loop , as shown below, safe to use in a MetaTrader 5 Services ? Or is there a better way? Because Services do not accept any events and therefore I can't use EventSetTimer() . Thanks :) #property service void DoSomething() { Print (
I have been trading now for over 10 years and my biggest failure is the psychology. I started to learn to code about 3 years ago and I am still no expert with loads still to learn! In the time that I have been learning I have programmed hundreds of EA's some of which work for a period of time then
The Alligator’s Jaw, the “Blue” line, is a 13-period Smoothed Moving Average, moved into the future by 8 bars what does it mean by ` moved into the future by 8 bars '? I did not find a corresponding concept in MA definition
Hi all, I am having an issue with an EA that I am using and was wondering if anyone could help me please? I am currently using Promax Gold EA V4.11, I do not have the source code for this EA. The EA opens a trade (Buy/Sell), and then averages down at a preset distance in points if price moves in the
I am testing Stochastic crosses and I have noticed that sometimes it fails when the cross occurs exactly when a new candle opens. This happens very often and I think too much precision is lost. Is this normal or is it a bug in my code? Is there any way that this does not happen? Here is my code, and
Hi guys, A few general questions about EAs, appreciate the help in advance: 1- I installed the EA on my laptop and I have several demo and real account active on my computer. Say that I drop the EA on one FX chart(i.e. activate the EA for that currency pair), will the EA place trade all the accounts
Hello everyone. I'm trying to get the Object Text, specifically the Anchor text from a custom indicator to use it as an input signal. I'm having some errors and I can't fix them. Could someone help me
From what I understand the current modelling of price data using 1 minute OHLC, sends 4 ticks (Open,High,Low,Close) of the 1 minute bar to the EA. Is there a way to send these 4 ticks from another time frame, for example the OHLC of 1 hour bars to the EA? My reasoning being that it would be the most
Hello All As a new user, I'm using MQL5 module in Python! All things are good, But a problem i have. I couldn't find any way to go through symbols at Market watch! The module's methods just list all instruments in the Metatrader and therefor just going through all instruments is possible! Something
Dear I want to build connection between EA and my member's cabinet for rent EA For example 1. Rent fee for a month is $10 2. Member deposit $20 to their wallet 3. Every month, their wallet balance will reduce $10 for rental fee then the EA will start open posisition 4. But, if their wallet out of
Anyone ported simdjson into MQL5? If not, can someone help in porting please? https://github.com/simdjson/simdjson/tree/master/singleheader In the above, only two files require porting: simdjson.cpp and simdjson.h I can volunteer to port this, however it would be good if someone can guide me
What are the best practices and how-tos in porting C++ code into MQL5, with minimal changes? Are there ready made preprocessors that I can use? Also, I do not see a way to bind sockets in MQL5, is it not possible
I was trying to register a VPS account through NT4 terminal and get attached error message, that no server was found. I was logged in successfully into my MQL5 community account. I an very thankful if someone can guide me how to solve this issue. Thank you very much
I have a mql5 EA which sends market orders with the command OrderSend(request,result) The MqlTradeRequest request object has the following attributes: request.action = TRADE_ACTION_DEAL; (market execution) request.deviation=0; (I prefer not executing the trade rather than executing it with any...
Although I like to follow trades while developing my EA's. so checking indicators etc... Do I need to migrate the indicators on my own charts to the mql5 VPS, or just the charts plus the EA's? thanks
I am not sure where is the best place to suggest for the improvement to the platform. Here is the suggestion: When adding a service, at the moment it opens a dialog that allow inputting the parameters, but there is nothing to input the name of the service instance. The renaming needs to be done
I build a EA with FFCAL indicator for news filter It not read any highlight data in backtest. Is it normal. News filter cannot work in backtest
Dear all, I would like to test my EA using the Tester with intraday bars. Consequently, I need to start processing with an intraday bar. However, the Tester does not allow me to declare an intraday start bar: there is only the possibility of inserting a date without the time. Is there a solution for
I recently got an ea pipbolt.io on the stochastic osc settings, I changed the parameters and I set my tp at 250points not even up to one 1pip, but still I'm still making loss and my capital is going down. Please anyone to help me
I have two positions and I do not understand why my code modify both stop loss to the same level for ( int i = PositionsTotal () - 1 ; i >= 0 ; i--) { if (position.SelectByIndex(i) && position. Symbol () == _Symbol && position.Magic() == MagicNum) { if
MQL5 Team I have been exploring the Services in MT5 platform and I found that there is no graceful way to stop a service and stopping it causes 'Abnormal termination' error. Can you please add OnDeinit(reason) to Services so that we can do cleanups and exit the loop of OnStart() gracefully please

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.