why did my code has no trade order? //+------------------------------------------------------------------+ //| celue1.mq5 | //| Copyright 2024, MetaQuotes Software Corp. | //|
'OrderSymbol' - undeclared identifier mq1.mq5 219 50 'OrderSelect' - wrong parameters count mq1.mq5 165 13 'OrderType' - undeclared identifier mq1.mq5 167 58 'OrderSymbol' - undeclared identifier mq1.mq5 176 34 'OrderVolume' - undeclared identifier mq1.mq5 177 34 'OrderTicket' - undeclared
Hi, I find the following fact quite shocking: I have an EA that I tested with exact same settings, exact same spread (chosen in the startegy tester) and exact same time period on 3 different brokers. Believe it or not, all three results were different. Not only that, in one broker, the EA was
I bought an EA from a seller, I have issues with the trading bot, but he doesn't reply to my queries. What is there to do? Please advise
Hi there, I subscriped to a signal (MT5) additional to running Expert Advisors. The EAs open an close pending orders every 5 minutes when they run normally. When I activate the signal on this account, then error 4752 occurs for every attempt to open such a pending order. As soon as a stop the signal
Hi Everyone, I am looking to hire a developer to create an Expert Advisor (EA) for MetaTrader 5, utilizing two custom indicators: HalfTrend and Squeeze Momentum . The EA should be designed based on specific trading conditions which I will detail below, and it should also include comprehensive
I created a simple function that sends a message do Discord from any MQL5 EA, I hope it can be useful to others. Now I want to create an EA that reads that message from Discord. While reading about this, I found that one can use the GET function as a WebRequest, which can be implemented in the
I have a script in MQL5 derived from MQL4 with the appropriate libraries to make it 'work' on MQL5. It does work... but only when it feels like it. Here is the piece of code in MQL5 derived from MQL4. string _Apri_Primario( string oPen, double lott, int slipp, double STp, double TKp, string
please help, My ea can't close all position with profit or Stoploss after 1st order is loss, it can't stuff and open new order when it enough condition please help me make code correct, thank you //+------------------------------------------------------------------+ //|
Can I build MT5 DLL files with C# , or must I use C++ ? If it's possible in C# , is there an example for this
Hi all, I couldn't find a dedicated bug-reporting channel, so I'm posting here. I'd appreciate any confirmation from the community on this issue, and ideally, someone could escalate it to the development team if confirmed as a bug. When using the Python API’s order_send() function in MT5, the
Hello everybody, First, thanks to all contributors, you've been helping me for years! I'm migrating my bots from MT4 to MT5, and all have been fine until now. But I have a question, and I'm sure the answer is simple, but I can't get it... Here is the problem : - On MT4, to know all the open
hello, i want to check if account run ea must match with code then EA can run for example code input ID 11111, i write code as below. and then ID account if 12345 still run as normal. then I know below code is wrong. please help me correct it long FixedAccountID = 11111; int OnInit() {if
Making backtests suddenly the result changed a lot from one test to the other. Looking for the reason why, it shows that it shows suddenly Market closed at a time when in tests before trades were made: 2024.10.27 15:52:01.560 2020.01.03 22:48:40 failed market buy 4 .USTECHCash, close #7 sell 4
I want to disable trading for a .ex5 file on a specified condition using EA. Can Someone please help Me in disabling Algo-Trading via Code? Help Will be really really appreciated and By helping me you will help many other peoples too because there is no previous forum of any detail about doing it on
Hi everyone, I've been struggling a bit with understanding the Forex trading times and spread variations, and I'm hoping some of you experts can help me out. My broker's website states that "server time and charts are GMT + 2 or GMT + 3 (when daylight savings is in effect)." The broker also
I am not able to download any EA for backtesting , see screenshot attached. When I click on Yes or No, nothing happens, no download starts. Is this an error? Thanks
Is there a way to upload old EA backtests and their settings on MT5? If I leave my computer on standby at night, will the EA work? Thanks in advance for any suggestion
Hello everyone, I am trying to code a function to return the accumulated daily Profit/Loss, but I cant make the code work. Can any guru here be so kind to help me? I Appreciate! double ProfitAll( datetime & XHoraPrimeiroCandle, double & XProfit) { int err= 0 ; if (IsFirstBar()) {
Hi All, I want to to know if there some easy way to partial close automatically on the bases of total TP. For example Trade buy XAUUSD 1 lot @1800 with TP 1900. Then automatically partial close 50% 1850 ----> partial close 25 % more on 1875 and Then full close 1900 . I FOUND some EA does that but i
I have my EA which I have split into some files for readability. So I have one main .mq5 file and 2 secondary mqh files that I import into the main .mq5 file. While this is OK, in order to make this work, I need to have my main .mq5 file in the MQL5\Experts\Advisors folder, and the imported .mqh
I am working in a grid system where 1st position will open with current price of a pair, 2nd position will open if it gets down a certain pips and 3rd position will open again after a certain price.1st and 2nd position opens correctly but 3rd position opens but with the same value as the 2nd one
Hello, I have just noticed a discrepancy in the Strategy Tester when examining the spread for EURUSD on the M1 timeframe. In the chart, I have both the Bid and Ask lines displayed. I also have the Market Watch window and the Data Window open. Here’s the
I selected NZDUSD, AUDUSD and they cannot be backtested? I selected the date range from 2018 to 2024, but the results are showing only from 2024
Have I made my point? how can I do this and how does the 1 minute ohlc work? should I make it wait till second 59 or something like that? has any one have this solution? Thanks
I'm experiencing problems with WebSocket closure and EA deinitialization in my MetaTrader 5 Expert Advisor. The main issues are: When removing the EA from the chart or closing the chart: MT5 hangs briefly The Expert tab still shows the EA as connected The server-side still sees the EA as registered
Hi guys i am in MT5 i try to open inthe same time one order in NZDJPY in buy and one order SELL in NZDUSD i have create an expert i place over NZDJPY and push the button , the button call some function and open only a BUY NZDJPY and not openNZDUSD this is my part of code string _Apri_Correlato(
Hey all :) i'm an absolute newbie and barely grasping the basics, can anyone assist in recommending when building a bot for trading what 5 signals are recommended, free if possible due to having little capital to set up at this stage.. the struggle is real :'? any assistance is appreciated :) thank
First greetings to all fellow traders. I am interested in which robots from the market you recommend for long-term stable trading with funding capital (NextFunds or similar). I would like to diversify the portfolio with 5.6 quality low risk robots and aim for returns around 3,4% stable and go to a
Hello, I have this issue when i want to upload my EA for selling : Invalid version name format I don't understand why because my EA is on .ex5 Thank for your help

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.