Dear All i was trying a trading strategy to buy or sell all the USD Currency pairs together, i only check the daily strength of the USD, then i take decision to buy or sell (open 7 positions), then i check after so many hours, sometimes waiting for days looking for total positive profit after that...
My current set up are EAs that uses OnTick to stream quotes to a python app which makes trading decision at 0.5s frequency, and another EA that places trades on MT5. So I have multiple “quote only” EAs attached to each chart I cared about and one “trade only” EA that executes trading decisions made
I'm updating an EA, I just change my reference site but I get: Validation completed with an errors test on EURUSD,H1 (netting) tester stopped because OnInit failed there are no trading operations but before I loaded without problems... I tried to load an Expert Advisor created using MQL5...
Hi everyone, I’m using the official MetaTrader5 Python package and trying to retrieve per-day quote/trade session time windows for symbols. From MQL5 docs, I can see session window functions exist: SymbolInfoSessionQuote : https://www.mql5.com/en/docs/marketinformation/symbolinfosessionquote (and
When this expert advisor was back-tested using tick-story dukascopy tick data with 100% tick modeling quality the profits were significantly higher compared to the mql5 data with 100% tick modeling quality. My confusion is which back-test is accurate. back-test Method: Every tick based on real ticks
Hello everyone, I have an MQL5 Expert Advisor (.mq5 file) that I need compiled into a .ex5 file. I am on Android only and do not have access to a PC or MetaEditor. The EA is based on the ICT "One Setup For Life" strategy using: - Macro time window filters - Stop Hunt detection - Inversion FVG and
Hello, I'm working on a multi‑symbol Expert Advisor that monitors trade events across several instruments. I know that OnTradeTransaction is triggered when a trade transaction occurs on the account, but I'm not entirely sure about its scope when used in an EA. If I have a single EA running on a
Hello, i have easy trend indicator. ( attached picture ) It only write sell/buy signal does not make auto trading. Is there a way to make it auto ?Best
Newbie query:
Can anyone help me with my understanding of the EA OnTick Function?
I have developed a simple custom indicator and I access this indicator from within a custom EA I have also developed. I am using the OnTick function to process each tick and assess aganist the indicator values to...
Greetings everyone, I have recently started testing mt5 for algorithmic trading , however I have noticed that all of the codes I wrote had the same issue in the Strategy Tester - floating arrows; Arrows displaying buy/sell signals appear to be at an offset from the actual chart regardless of the
I already turned off Algo Trading and ensured the EA is disabled on every timeframe, but it continued opening trades and significantly affected my deposit. Could you explain the correct way to fully stop or uninstall an EA so it cannot place any further trades
I am developng EA, I want to set max slippage in mql5, do anyone know how to set max slippage
[Deleted]
Buy Signal: Entry Condition : The first candle is below the EMA-5, with its high point not touching the EMA line. This candle becomes the alert candle. The second candle breaks the alert candle, signaling the buy entry. Sell Signal: Entry Condition : The first candle is above the EMA-5, with its
I am experiencing a critical issue where AutoTrading turns OFF immediately after enabling it. Environment: - MetaTrader 5 on Windows 10 - Also reproduced on Mac (Wine environment) - Broker: XM (TradeFin Limited) Issue: - When I click "Algo Trading", it turns ON briefly and then immediately turns OFF
Hi, I am running MT5 on Ubuntu/Wine. I have 28 charts open with a EA attached (on a demo account). I noticed that my EA was missing good entry points, and I found that starting a single chart with EA on my Windows box would open the trade as expected. Further investigation seems to indicate that the...
#define func(arg1, arg2) Print (arg1); arg2; func( "Hello" , ExpertRemove ()) // fine func( "Hello" ,) // Warning Makes no sense for me. There are many cases, when I explicitly do not want to have the second argument, but I also dont wanna mess up my code with even more macros with different names
Hi all. I am migrating my EAs from MT4 to MT5. Yesterday I ran some back testing and worked fine. Today I get this error. and MT5 won't let me run optimizations. Says: - debug version of "Advisors\EA.ex5" detected - optimization cannot be started Thank you in advance for your time
Strategy Tester shows zero results on my EA - SOLVED: Add #property tester_everytick_calculate to EA + indicator
(29 1 2 3)
Happy and successfull new year, fellow Traders! Did anyone yet have the problem of the Strategy Tester giving you zero trades / zero results in the overall optimization window? When I start the optimization (as seen in the screenshot below) it does some optimization step and instantly finished with...
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
[Deleted]
Hi guys, I was interested if anyone have some EA that is working stable on prop firms like FTMO and similar. All of them I was trying, free and paid were not good at all. I also tried freelance with job offer, here I was not successful as well with anything stable and performing for long term
Use the CODE button (Alt-S) when inserting code. A moderator corrected the formatting this time. Please format code properly in future; posts with improperly formatted code may be removed. The paths are correct both in the Python file that creates the signal and in the expert advisor , but the
After this mornings update on 24th July '25. Every EA I try to compile, even ones that have previously had no issues, are now showing fast 'Fatal Compiling Error : Unknown Error' Im going to assume this isn't just myself having the issue. Is there something I can do to counter this issues, Or just
I'm looking for Expert Advisor for MT5 that can help me: 1. to set tp, sl automatically (which my tp and sl are always fixed, like when I set limit, tp & sl will always be 100pips) 2. change my sl to entry point (breakeven) when some conditions triggered (when order running between utc 1400 to 1600
Hi guys i want read my ini file created inside of File folder of metatrader5 , is possible to do that exist a ini command for doing
Hello my name is Bruce , I'm trying to build a portfolio EA that trades one order at a time, open to close, in SQX 141. I used Market pos. count = 0 and ended up with two open trades , hoping someone has the answer, I'm using MT5 hedging. Thank You
Hi everyone, I have a strange problem with an Expert Advisor in MetaTrader 5. The EA is a purchased EA from the MQL5 Market . On PC 1 , everything works normally and the EA places pending orders immediately . On PC 2 , the EA loads and initializes successfully , but it never places any pending
I have an EA which makes decisions based on several diferent symbols. The primary symbol the EA is attached to is EURUSD, but it uses tick data from EURCHF. USDJPY, XAUUSD,... I use CopyTicksRange() to get data from other symbols. And this works fine when trading live. However when I attempt to use
I think, since after I have imported Dukacopy tick and bar to severals custom symbols, my local network farm agents became "not used". Is there a way to use the remote agents for non customised symbols? I have tried to use local symbols, ochl in local terminal and yet connect to agents are still
I've recently seen quite a few updates to Integration with Python, including various functions. Does it can be used in back testing? According MQL5 Reference, I found that there is no such function. At the same time, Socket functions can not be used from the Strategy Tester. Is there a way to
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.