Good day. I'm programming in the Editor and it keeps giving me the same error, even though everything is fine = see printscreen here. What's wrong
Hello, im having a question regarding the tester and MetaTrader spread. Is the spread which you can see on the current asset in pips and the spread in the strategy tester in points? Example: MetaTrader5 Spread: 15 tester Spread at the same moment: 1.5 So do you need to divide the MT5 spread / 10 to
Dear all, I have written a code which is recording live tick data. However, when comparing the recorded tick data with the tick data available in the broker's MT5 (View - Symbols - Ticks), there are a little less ticks which I have recorded. Question: I am thinking about the reason, is it because
Hi, I can't figure out how to bond a CGraphics chart to a CAppDialog window so that it follows the window when it is moved. The following is a minimal code: //+------------------------------------------------------------------+ //| Chart.mq5 |
Hello everyone , I’m wondering how is possible to run python wrapper for mt5 on Mac as guidance show .exe . First I thought about recommended option to simply utilise parallel but I would need to buy Pro to utilise 12 core and 30 gpu core on M2 Max . Other option I thought to get wine with
Can you help me? This is all my code: double ma5[]; int ma5_handle= 0 ; int OnInit () { EventSetTimer ( 10 ); return ( INIT_SUCCEEDED ); } void OnDeinit ( const int reason) { EventKillTimer (); } void OnTimer () { string symbol= _Symbol ; ENUM_TIMEFRAMES period= PERIOD_CURRENT ;
bool GetSymbolInfoDouble( const string symbol, ENUM_SYMBOL_INFO_DOUBLE property, double &result){ if ( SymbolInfoDouble (symbol, property, result)) { return true ; } else { Print ( "Failed to retrieve symbol information for: " , EnumToString
Hello! I made a EA which copies trades between two terminals. It is all working fine but I am facing an issue. There is a difference of price for the same pair, between the two brokers. For SL and TP I send the price across, but if there is a diference in prices, then the distance between open price
I wanted to post as a seller an EA that acts as a manager. It does not open any transactions and only assists the trader in opening transactions. I sent the file before publishing to the market for verification and after verification I received an error that my robot does not open trades. Of course
Hey guys Battling with a bit of over trading so looking for a code to keep my fingers off the buy and sell button Looking for a code for Meta trader 5 that allows me to do one trade a day and/or allows me 5% risk of my account (if possible) then freezes me out in until the next day at 8:am. Happy to
Hi, a couple of days ago my Backtester suddenly stopped running and the expected running time just keeps on adding up. At first I thought it was code issue, but tested with other running code and also does not run. I do not see any issues with my account, as was the case with a previous post from
Why can I not select the Cloud agent to use and when I try to run the strategy it always defaults to a local core? Any link to documentation about this would be helpful
ENGLISH: I have a problem when trying to optimize . Before everything worked fine, but for a few weeks now, when I try to optimize an EA (my own) my PC freezes , the optimization does not continue (or takes a long time to advance because the CPU stops being used) and it is unusable (I am not
Hi, Ive made an EA that uses custom indicators and CTrade class. The problem is that the EA doesnt take all entries decpite the entry conditions being met and the entire 'trade' code block being run. Heres the code: //+------------------------------------------------------------------+ //|
Hello, get a warning "implicit conversion from 'string' to 'string'" string to number Ok number to string OK but "string to string" is complete new, i have no idea where is should start... int GetHistoryCloseTime(){ uint TotalNumberofDeals= HistoryDealsTotal (); ulong ticket= 0 ; string
i think after the new metatrader 5 update ,a new problem emerged for me : 2024.09.04 22:56:20.729 Core 04 pass 8 tested with error "no memory for ticks generating" in 0:00:00.036-after this if I don't close the mt5 I will encounter black screen. and changing data ,broker , timeframe , and robot
I have range breakout EA work very well but i have error with symbol GER30 index, The EA some times work well with this symbol but some times send very huge volume size like 1800 lots and i got error invalid volume, I need help. //+------------------------------------------------------------------+
Hi All, New to MT5, I need help retrieving the timestamp during which settlement period(The 1 hour period during which trading is closed) starts and end for xauusd. And need to retrieve using MQL5. Any help appreciate. Thanks in advance
Hi, I have a problem calculating the lot size on different symbols . In this case I present the example between the symbol US500 and USDNOK. The target risk is 0.5% of the account balance. US500 meets that risk, but USDNOK it's risking 0.05% on my tests. US500 information: Tick Size: 0.01 Tick
Hello, See the results of a Strategy testing below: If we consider Order number 2 for instance (of type "sell", and direction "in", executed at 14:00:00), how do I know to which "Out" order it is attached ?I mean, this "In" order is at some point closed by a sell position with a direction "out"
Hi there, Probably a really simple way but is there anyway to extract the result data from backtesting in MT5 into excel? I have backtested an EA over 2 years and have over 100 trades. I want to extract the buy and sell price of those trades to analysis. Any help would be much appreciated. Cheers
Hello everyone, I am currently working intensively on developing Expert Advisors and keep encountering a major issue: The Strategy Tester does not seem to take past news events into account . This results in backtests that do not reflect real market conditions, especially for strategies that are
Hello, when i place a file into folder files i can open this file when running or debug my expert. But when i run the backtest, the file is not found. Ok, after some research, i found the property tester_file. When i add this to my code: #property tester_file...
There are some symbols with lots of corrupted data for historical ticks, which are badly plotted and computed in the tester with " real tick " modeling (many entry points are plotted far outside the market values). For the simpler " every tick " one, the graphics look normal, but I have low
I am fetching news from http://nfs.faireconomy.media/ff_calendar_thisweek.xml and it save the file inside terminal/MQL4\Files as FFCPing(Symbol)-ffcal_week_this.xml (eg, FFCPingGBPUSD-ffcal_week_this.xml). Code is reading news from that source and works fine for mt4. when i use same code on mt5 it
Hello everyone, and merry Christmas to those who celebrate it. I just have a general question about two trading bots: The "name removed" and "name removed". What experiences do you have with these two tools? Are they positive? Would you recommend buying them, or are there other better ones? Because
My application is built using the standard library, but when I move it to a different location, the caption's position becomes misaligned. How can I resolve this issue
Hi everyone, I've been encountering several issues when working with the MetaTrader 5 (MT5) Python API related to account login and server management. I wanted to share my observations and see if anyone has experienced similar problems or found solutions. Here's a detailed breakdown: 1. Timeout when
Hello! I'm trying to upload the robot to the marketplace but I get this message : tester takes too long time - what does it mean?
(12 1 2)
Hello! I'm trying to upload the robot to the marketplace but I get this message : tester takes too long time - what does it mean

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.