When developing an EA, can you technically use an exit signal in the entry process with a decent success rate? I'm not suggesting to use an exit signal as an entry point, what I am looking into is using my entry signal and then checking it against an exit strategy to see whether the entry signal was
Hi, I have a question about a brokers behaviour. I know, that this will be different from broker to broker of course, but I assume there is a common brokers behaviour. I have no experience with that, that is why I'm asking: If I use an EA (my boker says: trading with EAs is allowed) that handles a
#include <Trade/Trade.mqh> // Variáveis globais int fastPeriod = 12; int período lento = 26; int rsiPeríodo = 14; int smaPeríodo = 20; int obvPeríodo = 30; dupla resistência, suporte; //Função de inicialização void OnInit() { // Inicializar a variável aqui resistência = iHigh(NULL, 0
has anybody successfully been able to run the strategy tester on mac from terminal as if it was running from command line on windows? I can open MT5 by typing p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures} open
I have been trading the forex and CFD's market for over 18 years and like many traders I have lived in hopes of having fun at the Caribbean while my trading robot does all my trading for me. The bitter truth is that the majority of the robots (EA's) created for 100% automated trading will most
Hi I try create EA. in my EA every open position ticket save in array and close with their ticket too. But i got some error and i do not know how to do it. first: this is my open trade function. from my source for training MTRequest get error. also i do not know how to get ticket after position
//+------------------------------------------------------------------+ //+---//+------------------------------------------------------------------+ //| TSI_CD EA.mq5 //| Kamau Muchiri //|
My EA's keep failing when I try to UPLOADE them ,they say the are no trade operations ,while the EA does have the trade operations , I have even add all the trade operation an my latest EA But it also failed , what am I missing
In mql5 , I need help from everyone, I am in need of a code that when reaching the moving average of 20 periods it sell or buy as required, this only once when reaching the 20-period averages and don't buy or sell all the time, you understand, this sale or purchase is just one time when reaching
Hi, I'm converting an indicator written for MT4 to use it in MT5. It has a lot in small functions which uses Open[], Close[], Low[] and High[] global arrays in MQL4. I found that there are no equivalent of them in MQL5. Any suggestion how can I use those arrays? Hadi
Hello friends i'm trying to creat an EA that is based on pending orders and now the problem is I want all pending orders to be cancelled after 5 minutes of being placed or to be cancelled if they are not yet open orders so please help with the expiration #include <Trade\Trade.mqh>CTrade trade;void
Hello, for my daily trading, I am using one expert advisor as a trade assistant . Calculating the position size and the SL. Furthermore I am looking for a possibility to additionaly use an ea sending my trades as a signal to a telegram channel. I do have for this also an EA, but I can't use them
Dear Community Please help me. I have used an EA that was created by someone on the freelance section for about a year. Since last week, when it started creating multiple (hundreds) orders with the same parameters. I completely uninstalled MT5 and re-installed it. Now when I go to "Open Data Folder"
I run my EA in the MT5 strategy tester and at the beginning of the test no errors are reported but then at some point I start getting always the same error : [no money] [not enough money] I don't understand where that come from since my EA take a trade one at a time and the first time the error come
Hi. Experts !! Who can help me with creating an Expert Advisor according to my strategies . I already provided documents that elaborate on my ideas
//+------------------------------------------------------------------+ //| Shark_MultiSymbol Expert Advisor.mq5 | //| Copyright 2022 , MetaQuotes Ltd. | //| https://www.mql5.com |
Hello folks! There is one thing that I don't understand (after reading the documentation), and it is: can an EA be optimized in MT5 for different symbols simultaneously? I know I can test a few parameters for different symbols with "market watch", but I want to get the single parameters that work
I'm currently working on getting calendar events and coded the following , but it gives me an error of "array out of range in 'file.mq5' (113,26)" in journal when I backtest. void OnTick(void) { //--- country code for EU (ISO 3166-1 Alpha-2) string US_code= "US" ; //--- get EU events
Hello I cannot connect to my provider for the trade copier
Just try to draw a Vertical line on BUY operation using BBands. I attach the code. Many thanks in advance
I can't use the strategy tester on the cloud, it randomly stopped working. I have sufficient balance, there is no issue with connectivity, I am using a VPS and it shows I have plenty of bandwidth. The strategy tester works fine on local agents but it is really slow so I want to use the cloud
Hi Is there any free Robot/Script where I can take multiple order at once in a currency pair using a fixed lot size. Like if I want to take 15 trades in EURUD pairs using 0.01 lot size. Thanks
Hi coders. After running a walk forward analysis, lets say my 'walk forward efficiency ratio' is acceptable. After that I'll have x-period optimized inputs. Question: which inputs from which period do I need to consider to run my EA no live account? Maybe the inputs of the period with the best...
Hello all, I was wondering if anyone can help me with an answer. I have an expert . For example if i run it today it is working fine, entering in all the trades, doing the things how it is suppose to do , but when i run it the next day it doesn't enter trades at all. I am doing something wrong or it
When I call MetaTrader5.initialize passing in the exe file path and the login credentials, it is opening the Metatrader terminal with the last logged in account ignoring the one passed in the initialize method, then it errors out with error code: (-10003, "IPC initialize failed, Pipe server didn't
Hello, I was reading this very old article, https://www.mql5.com/en/articles/19 where the author has a dll get the pointer adress (which mql5 doesn't allow you to). The use was to not be copying values back and forth, but accessing the indicators buffers directly. Really interesting what the author
I am running two instances of the same EA on two VPSes in two different data-centers, each with a different magic number. Tonight both EAs placed the same buy stop order (with different magic numbers) using this code: CTrade trade; if (!trade.BuyStop(lotSize, entry, _Symbol , sl, tp, ORDER_TIME_GTC
[Deleted]
Dear Members I am trying following code for Pullback LONG, but feels a bit complicated. Also they give false signals when in RANGE. Can someone suggest a correct and simple way to find pullbacks? bool CMACDCross::Pullback_Long( const double pPB_Level) { bool Rule1 = false , Rule2 = false
In this video, I'm showing you a simple, high win rate MACD indicator strategy The Moving Average Convergence Divergence or also known as the MACD, is one of the most simplest and popular indicator used by traders. It is a trend following indicator that shows the relationship between two moving
Hello, New here, I slowly learn how to code my EA on MQL5, but now I'm stuck on a problem and I don't find the solution. I made an EA and this EA can open a trade on different TF, but only one trade at a time per TF. So, it's running and analyze the TF 1min, 2min, 3min, 4min and 5min. It can open 5
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.