When running on the Strategy Tester the optimization results are up to yesterday even if you mark the today/next day in Custom period. How to optimize on M1 today's data ? Thanks in advance
Hi all, I’m working on a non-trading EA whose only purpose is to log trades for journaling and statistics, and I’d like to ask for some feedback / best practices from more experienced MQL4/MQL5 developers. The EA idea: It never opens or manages trades – it only listens for account activity It logs
I call this in tester. ChartScreenShot( 0 , "test.bmp" , 800 , 600 ,ALIGN_LEFT); It's not work. I searched all over the my pc and couldn't find any file named "test.bmp." Everyone can try it with your self. It used to work, I don't know why it has changed now
How to use forex expert correlation . Is there an expert
Is it possible to make the Strategy Tester to Optimize EA running it automatically multiple times over a range of time windows? So, instead of picking a static Start and End dates, I want to make the End date = Today, but the Start date to start from 2024.01.01 run my EA backtest and then re-run the
hi, some years back, like 5yeaars or so, i hired a freelancer whom i coudnt reach to now, and he made an ea for me, after these years, i tried to compile the file n its showing me error, is that normal perhaps mql5 upgrade or something? thank you
Here is a new indicator I threw together this weekend. This is the beginning, I'm going to add more indicators to this one as I go along. Basically, this indicator gives buy and sell signals on multiple timeframes based upon stochastics and RSI. I was going to wait until I posted this one but even...
I had created a simple function to draw a horizontal line in my EA and attached to a chart. The line is displayed on my desktop but when i migrate my ea to mt5 vps, the lines are not shown on mt5 running in my android phone. I check the object list in the chart in my android phone and it does not
I rented a new VPS for my account from MQL5, I do this all the time, but this specific VPS seems to be faulty. When trying to migrate I get these errors: 1. Not enough handles to start the platform 2. Authorization failed 3. Initialization failed (10053) Eventually it does appear in "Started"
Hi, I have two MT5 EAs that works on different symbols and i dont have access to the source code. I know that MT5 strategy tester can test one EA at a time. Is there a work around to backtest the two EAs simultaneously on one account? Thanks
I'm getting complete opposite result when testing on every tick or 1min OHLC. the EA and input parameters are exactly the same but in the case of 1min ohlc I get 50000 profit while in every tick I get -7000 losses. this happens on many pairs testing on a period of 2 years 0811-0813 someone have had
So I'm making a system that automatically select Moving averages for further analysis. So far I can load up a bunch of 10 MAs that visually looked good for the recent data I visually tested. But I need this concept to work independent of MAs I choose. Bacause market regimes change and different
I'm running an "All Market Watch symbols" optimization in MetaTrader 5 using a .ini file via the command line. The .ini specifies a single symbol (e.g., symbol=EURUSD ) and runs without error. However, the XML report that should be generated after the optimization is completely empty — it contains
I want to share this. https://youtu.be/_FuuYSM7yOo?si=JiKiHDWCozLYXHK3 Maybe we can build a function for this
I was scouring the internet for inspiration for my next project, then I came across several claims that they can provide indicators that work on mobile. I was curious because the best bet to get signals on mobile is setting up the indicator on a pc terminal somewhere with the signal account, then
STOP LOSS - TARGET PRICE Values are not showing in USD & Points on MT5 Desktop Terminal. PLEASE HELP
(3)
Hello Guys When I place a trade on MT5 Mobile App then Stoploss and Target Price values are showing with USD and Points but when i trade on MT5 Desktop Terminal, the values are not showing in USD and Points. I have Posted this Topic 1 week back but nobody guided me properly. for more details of the
problem about the EA A problem was found when I back test the EA, the pictures show that the program can not be run and i can not found the reason, someone who can help me
Hi all, Moderately experienced VBA Coder just getting into Forex and MQL5 coding here. Novice level MT5 user and coder, I can mostly follow the code done intuitively but there are some structures I struggle with (compounded by the usual issues of reading someone elses code). The guy I followed in
Hello, I'm trying to create an Expert Advisor (EA) that can generate random BUY or SELL orders, and I'm using the following for this: // Generate random number (0 or 1) MathSrand (( int ) TimeLocal ()); int randomChoice = MathRand () % 2 ; So far, the EA has only placed 15 consecutive BUY
Hello, does anyone know what the lparam values mean after a CHARTEVENT_CHART_CHANGE event
I have an indicator running on M15 timeframe. I am selecting a 15minute bar [i] and getting the time of the bar. I am tring to use the time of the bar (rounded down to the nearest full hour) to identify the corresponding bar on the H1 timeframe. Its not working.... ANy help please. //Search bar by
Hi, I'm a little confused about what exactly these functions return. If I understand correctly: - iTickVolume returns the count of ticks used to build a bar. It is also passed by onCalculate with the "tick_volume" array. It's also shown in the data window as "Tick volume". Right? - IRealVolume
Hi, since I dont know when, I try to figure out how the z-order works with MQL chart objects and my conclusion is so far that nothing works, no matter which value I give a chart object and its always random. For example: The picture shows a pattern and vertical lines, this comes from a BitmapLabel
How to only use the first decimal place in a calculation without rounding up For example 0.9864693728 = 0.9
I am totally new here and trying to code something like a simple open and close. However the EA is hitting the TP it is not continuing with anything else in the code. The part of the code to check and close is not even triggered as I don't see the print messages in the journal. Can someone explain
"My EA works only on Gold symbols. On EURUSD it shows demonstration mode with no trading. how to mql5 test on XAUUSD or GOLD symbols to see actual trading performance."
[Deleted]
Hello, I noticed that MT4 and my Windows VPS get slower over time, and sometimes MT4/MT5 freezes. I suspect this happens because MT4/MT5 might be leaving large amounts of chart data, cache, or other files that keep loading, causing it to become slower and slower. I know it’s not a VPS problem
Hi, I go to Market > MetaTrader 5 > Experts > Free. I click on a Robot. In the left section there is a DOWNLOAD button. Once I click it, there is a prompt - "Do you have Meta Trader 5?" I click on "Yes" and nothing happens
Hi, How does it work, if we sell EA in the market how does the charges work. Is it one time upload charge that we have to pay or it will get deducted monthly repeatedly. I have developed an EA and want to upload for selling and I have USD 125 and kindly let me know on the same
Hi, i would know if there is any correlation in Tester about "modelling" option and timeframe option. That is, can I be sure that if I choose the " real tick based on real ticks" modelling, I will get the same ticks regardless of the timeframe chosen? I ask because I tried running a test on M1 and
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.