When do a EA backtest I read in journal the follow line: tester: 2024.12.14 09:32:03.427 Tester "00 - EURUSD -01-XMLOW-Double\EURUSD-01-XMLOW-DoubleLong.ex5" 32 bit Question: MT5 (build 4755 on Windows 11, AMD7940HX processor) is 32 or 64 bit? In build I use flag "AVX512" or "AVX2", same
Hi, I know I can create a custom asset using a CSV file for price movements. However, I don't know how to include dividends to simulate a full corporate action. I noticed there is a deal_type called DEAL_DIVIDEND, so I thought maybe it would be possible. What am I missing? Is there a better
as the above I trade manually and would like to be able to manage the trades individually not one rule for all
Here's a funny joke: Imagine spending days tweaking your EA in order for it to be accepted by the old, non-customizable, obsolete check-up mechanism for the MT5 market. You keep getting the same error over and over again: test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1
Objects, and here in this example of a button objects, that are set to hidden by default after attaching to the chart, after minimizing and re-maximizing the panel appear as visible. How to keep them hidden? Please refer to the attached GIF example. Thanks
The given errors are: 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 76 22 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 77 22 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 79 22 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 81 23 'iMA' - wrong parameters count
Hi everyone, here is an include file for walk forward analysis in mt5, it also has the mq5 file which has an example how to call it into you're EA. It's the bare framework of a walk forward analysis type program so it's not like any fancy software you've seen out there before, I'm hoping we can all
Hello and regards. I want to publish a robot designed only for Dow Jones but when loading and testing in the MQL5 market it tests on the EURUSD symbol and gives the following error: test on EURUSD,H1 (netting) symbol US30 does not exist there are no trading operations
I have successfully installed and used the MetaTrader5 package on Ubuntu without any difference on Windows. Here are the instructions. 1. Install Wine with the following command (skip if you already installed) sudo apt install wine 2. Install the MetaTrader 5 platform for Linux according to the
how to take commission value on an active position on mql5?... previously this message was not there, but when I recompile, a message like this appears, is this new
Hello! Help please, how can determine that the last two orders were closed by StopLoss?
Hello! I am trying to send a market order programmatically via my MQL5 demo account on *********** via my EA and via this code: void OnTick () { ExtExpert. OnTick (); if (!executed) { MqlTradeRequest mrequest; // To be used for sending our trade requests MqlTradeResult
Can anyone explain. I use an EA and VPs? It says connection lost.. for as long as it says “Network” the connection is lost? And once it says “trades” the EA reconnect again ? For 16 ‘ I was off or I wasn’t
symbol GER40-JUN25 in broker. When the chart is opened on the daily timeframe it goes all the way back to december 2021 when i poll for ticks the broker stops me up to 3 months ago , on march. when i poll for ticks on GER40-MAR25 which has probably existed i get error #4401 history not found. Is
Hi... anyone know where I can find this( Periods . mqh ) header file, cant find it anywhere and its used on an example to find objects so wont work? Its on an example on here in a include file... #include < MQL5Book / Periods . mqh > , but cant find it. I've searched high and low, even searched <
Hello all, I have been trading the Forex market for 4 years and I need automated trading strategies due to a change in my employment status (and I'm not a very profitable trader and need a change in direction.) I am looking to find out if anyone has past/present experience or considering automated
Hi everyone, I’ve been working on a small-account trading strategy specifically for XAUUSD on the M5 timeframe . It’s fully automated, but I’m not here to promote anything – just genuinely curious how experienced traders would approach this kind of model. I’m testing the following principles: Very
Is there a way to test todays M1 bars or should i wait till tommorrow
void OnChartEvent ( const int id, const long & lparam, const double & dparam, const string & sparam) { if (id == CHARTEVENT_KEYDOWN ) { Print ( TerminalInfoInteger ( TERMINAL_KEYSTATE_CONTROL )); } } On a key down event, it will print the states of the Ctrl key. It
Hello When I initially backtest my system, I test using all market watch symbols and then I individually backtest each result that shows positive performance. The problem is, the individual backtest doesnt match the all market watch symbols test. For example. Here are the top performing symbols
Hello team, months ago i bought an expert from MQL5 as i tested it before and the results was amazing. but when i bought it the way how the EA works is way diffrent and it keeps losing trades. however the author has deleted the EA after a while and not even updating the expert. The EA made me much
Hi. Could someone point me out where to find the drawing tool for charting LONG/SHORTS positions within the graph? Like the one in the pic attached. . I
Good morning I see in the doc SymbolInfoSessionTrade - Market Info - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5 What is it for? uint [in] Ordinal number of a session, whose beginning and end time we want to receive. Indexing of sessions starts with 0
I had a lot of problems in my code with ArrayInitialize() function after the new mt5 build 5100, so i made a workaround for me and i'm sharing here, sorry for the late as the corrections are probably coming in new build announced (build 5120). I'm posting directly here in 'General Forum' section
“Vast sea of EAs, zillion good-looking robots, each promising riches, but leaving traders and investors stranded on the shores of uncertainty.” © My contribution toward: – MetaQuotes analytical tools and metrics for evaluating strategy performance – more transparent and informed trading
Let me preface this with the following : this might not be a terminal issue but it looks like a terminal issue. The code is creating a lot of objects and has 2 indicators embedded in the EA. 1 indicator is used normally the other is a workaround for the following. On deinit the terminal has no time
the strange thing is, the expert just did well in testing, it was able to trade in tester without problem. now no matter what I do, it pops a [trade disabled] error each time EA tries to open a position. trade disabled in tester ??? how ? and why it happens suddenly, without changing anything ?...
Hello,
i still have problems to get HistorySelect properly.
Basically, HistorySelect does not return orders latest place. They can be seen in the history tab but are not reflected through History order list.
Find attached a simple EA proving this.
Simply open a position with BUY or SELL...
Greetings, I'd like to detect when the SL or TP level is hit and take appropriate action. Is the following snippet correct? void OnTradeTransaction ( const MqlTradeTransaction & trans, const MqlTradeRequest & request, const MqlTradeResult & result) { if ( HistoryDealSelect (trans.deal)) {
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.