Hi all, newby question, so sorry if this is dumb! Is it possible to create an EA that scans the whole market and ranks by Top 10 for some criteria (e.g. RVOL, % change from open, etc)? So far all the documentation I've seen seems to point towards EAs only being used on 1 specific stock at a time
Hi! is there any software or app that can test a function or a block of code? I want to write and test along, block by block or function by function so that I know when am getting it right. it seems MQL built-in strategy tester tests the whole program. I will appreciate a help. I am still new to EA
Hi all I have a problem when counting pending orders using C trade. It opens too many pending orders instead of one. If you know what the problem is, please help. int OrdersPending() { int Pending= 0 ; for ( int b= OrdersTotal ()- 1 ;b>= 0 ;b--) { if (m_order.Select(b)) if
Hi guys, I am trying to find initial Balance of account working with Deals history and simply made a code to take and Print Deals data like this: void FindInitialBalance() { if (! HistorySelect (EAStartTime, TimeCurrent ())) {initialBalance= 0 ; return ;} datetime Day0 = iTime ( Symbol ()
Hello I am trying to restart OnInit() when I click on the OK button of the standard configuration panel of mql5 even when I have not modified any parameter in my configuration Do you have any idea in which base class of mql5 I can go to modify this behavior Thanks in advance and have a nice day
Hello! Please I'm trying to migrate my account to the VPS server but I keep getting the message below Migration to virtual hosting failed: debug versions are not allowed. Please recompile " Ziz zag arrow.ex5" and migrate again. Please I need help on how to get this fixed. Thanks
Hello all, I just created this script to compare overnight and premarket activity over a certain number of days, and tell me the percentages when: 1. Premarket high breaks overnight high - does the US session break the premarket high and/or the overnight highs? if so, by how much %? - does the US
Hello friends when I am trying to upload a product on mql5 market . I receive a message. It says your file is compiled for profiling and gives me a version and date and flag. anyone has any idea how can I solve it. Thanks
Hi, during optimization I need to calculate the Sortino indicator, but for Equity. For Balance it is simple: based on the history of deals. Please suggest strategies on how to collect equity data during optimization, so that the data can be processed in OnTester(). Thx in advance, Koval
#property script_show_inputs input bool allsymbols= true ; input bool alltrades= true ; // All Trades(pendings also) void OnStart () { int total = PositionsTotal (); double profit= 0 ; for ( int i= 0 ;i<total;i++) { ulong tick= PositionGetTicket (i); if (
i need help please. im trying to prevent the ea from making multiple trades at the same time. i have tried it with a for loop but had no luck.can someone please help me to solve the problem. my code look like this. its the buy section //-------------------------------- Buy
hi i try to understund panel (example in indicator ), why edit not show ? PanelDialog.mqh //+------------------------------------------------------------------+ //| PanelDialog.mqh | //| Copyright 2000-2024, MetaQuotes Ltd
in the mt5 strategy tester agent , in the above snapshot, do the agents have permission to work for the cloud on Sunday or Monday
with this tread we can know what happens with our platform ( specific for strategy tester ) so we don't need to open new tread and you have a journal.
1. bold your problem subject.
2. attach your terminal screen shot show us which your problem ( with version ).
3. if your problem fixed show us...
Hi, I tried using the following method for taking chart screenshots, but it's not working, I have searched the MQL5 folder for any pictures of the screenshots and I haven't found anything. https://www.mql5.com/en/docs/standardlibrary/cchart/cchartscreenshot Bellow there is a code snipped of the
Hi! I have tried to have my EA close my position according to the magic number (1 is for long trades and 2 is for short trades), whenever I try to print the value of the current magic number the value is void and thus my trades can only exit based on time. Does someone know where I might have gone
Hi, newbie here. I'm trying to synchronize indicator values (for example: RSI) with EA. Here's the code #property strict #include <Trade\Trade.mqh> CTrade trade; input int RSIPeriod = 9 ; int rsiHandle; int OnInit () { rsiHandle = iRSI ( _Symbol , PERIOD_H1 , RSIPeriod, PRICE_CLOSE ); return
//+------------------------------------------------------------------+ //| Z3alth MT5 Trading Bot | //| Uses swing high/low and support/resistance logic | //+------------------------------------------------------------------+ #property strict
Hi everybody :) I would like to invoke the 'common' tab of an EA via MQL5 code and change the state of an individual EA's algorithmic trading ability, i.o.w set it to enabled or disabled. I have seen someone posted a solution for MQL4 in the past but I was hoping that someone could guide me to do
Hi, I recently finnished making an EA, tested everything using My [Broker A] account It worked pefectly in both backtests and on a chart. When I try using the EA on a different broker, [Broker B] it does not work, the panel never updates. I don't understand whats causing this. I attached a quick
Do anyone know which broker's historical data is being used as everytick backtesting option. As I have built a EA based on everytick data but in real time it is making lots of losses and then I found out that it is becuase of difference between everytick and everytick based on real tick . So, if
Hello all, I just created this script to compare overnight and premarket activity over a certain number of days, and tell me the percentages when: 1. Premarket high breaks overnight high - does the US session break the premarket high and/or the overnight highs? if so, by how much %? - does the US
I Install my EA on 4 Charts i.e. BTCUSD 15MiN, BTCUSD 30 MIN, XAUUSD 15MIN, XAUUSD 30 MIN. I want to know that I require One Magic Number for All or 4 Magic Number
Ticks received: 263705 Display obtained ticks 'as is' (1740441600, 1.04664, 1.04693, 0.0, 0, 1740441600372, 134, 0.0)
I'm new to python and mql5, I'm teaching myself both currently. Can someone explain why this code always prints volume equal to 0? (blocked my user & pass for my mt5 import MetaTrader5 as mt5 from datetime import datetime mt5.initialize() if not mt5.initialize(): print(f"initialize() failed
Hello, I have a problem with the automatic verification. It has been in the processing phase for about an hour or more and it has not changed yet. What is the solution
hi friend i have been asking my self which stop loss or take profit should i use for points cause when im create EA personal use points for my EA but my points are not good with the validation may i put a stop loss of 1000 points and tp and with the take profit of maybe 3000 points i have try many
Hi! Please consider that I'm not an programmer only common user with some basics, I've looked on the forum and wider web, but didn't find solution. Is is possible to achive not having the input window? I'm dragging a script or a strategy onto the chart and always I get the window with Commom/Inputs
Hi, I'm using MT5 terminal build 1730 64-bit. I'm running EA in strategy tester (visual mode). This EA has panel with buttons BUY and SELL for manual trading. Why buttons aren't changing state (pressed or not) when I'm clicking it during testing as it works in MT4?

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.