Expert Advisors and Automated Trading - page 3

It's possible to have a good entry system, but we have to think about the hard part which is knowing when a trade should close. - Fixed take profit is a random number of points. If it is large, the market might go up and go down again causing you to lose the profit. If it is small, you might miss a
Observation / research note While backtesting a multi-symbol portfolio EA on EURUSD M15 , I noticed that entries for GBPUSD, USDCHF, USDCAD, and GBPJPY were systematically about 15 minutes late . EURUSD, EURJPY, and EURAUD entered on time. This happened in Open Prices Only mode. When I ran each
  Look for Best EA  (28   1 2 3)
Can someone tell me which ea is the best in MQL5 market ? There are so many EAs in MQL5. It is difficult to find good EA
Hi all, I came across a youtube video someone (Can not find the video i searched history on every browser and phone) was making code changes to position sizer from earnforex to have an indent on breakeven of specified value and also for the trailing stop to start once tp1 is achieved instead of
Hi guys, Hope that you are well. I have 5 MT5 terminals running, but for some odd reason in the last two weeks 2 of the terminals with similar EA's have stopped working. I am not getting any bad report or anything...I installed a new Terminal and reinstalled the EA's, it is still not working...all
Hi, I am working on Partial Closing Positions (MQL5). On A Netting account, I simply open an opposite order with the right volume,and can (of course) set the trade comment (Name of the EA) like with any other trade. On a hedging account I use PostionTradePartial to partially close a position
My mother language is Arabic, I will try to make this article as simple as possible, away from technical jargons. This article is about using two Python scripts (master_client001.py and slave_server.py) to copy trades locally (at the same PC or Laptop) between two MT5 platforms (Master and Slave
Hi! I'm looking for a very simple, free control panel. I just want the Second Life to automatically populate with given points. One click buy/sell. That's all. Does anyone know of a utility like that? Thanks
Hello, Please help me figure out what the issue is — both I and my client, for whom I am developing a trading robot, are experiencing a notification sending error: send request failed (raw - read failed, 0 wsa error, 1 bytes needed). Sometimes this error occurs, and sometimes it does not, and the
  MT5 backtesting spread  (14   1 2)
Hello,  How can I set fixed spreads in MT5 backtesting ? It's always floating? Thank you.
Hi! I'm trying to open a .txt file using CFileTxt class while executing backtesting. The idea is that it gets a list of datetime values which the EA is supposed to skip. When trying to open the file, I allways get error 5004, so apparently the FileOpen function is not finding my .txt file. The
  How was your first EA developed?  (63   1 2 3 4 5 6 7)
For me was very hard, it took like 2-3 months, the thing that helped me the mos wast replicating a pattern that I watched in the market: High of the day + M15 sweep / Low of the day + M15 sweep Firstly backtesting it a lot and then taking screenshots of the pattern, then started coding and learning
Attach my EA. I have created my EA but I have problem, please can you help me! Trading Strategy 1. I used an indicator called Moving Average (MA) with a period 50. 2. I want to place a Long trade when the MA is increasing upwards and the price is close above it and it to place a short trade , when
Hi everybody, I'm experiencing a problem with Metatrader 5 optimizer which I've never encountered before. I don't know since when this is happening. When I run a single test from the optimization result list, sometimes the result is different: different number of trades, profit etc. Here is an
Hey everyone, I’ve been working on a few high-frequency EAs lately, mostly geared towards passing prop firm challenges. Some of my systems are pushing out over 10,000 trades a month. I ran into a massive bottleneck with tracking live, real-tick drawdown. Standard MT4/MT5 mobile push notifications
Hello Everyone. I have created this Renko chart generator for MT5 because I have searched for a good Renko chart generator for a long time and I did not find one , so I decided to build my own and share it with the mql community for FREE. You can find it attached. If you want any improvements let me
Hi Fellow I am facing this error and any help to avoid this will be highly appreciable. Seems hardware compatibility issue: ___________________________________________________________________________________________________________________________________________________________________________
  Starting a new EA  (16   1 2)
So my name is Christoper. I am from Scotland. I have recently started trying to design an EA to get off a building site. I am an engineer so trying to adapt that and to a different part of life get me off this building site I have recently created a EA that has 1.79 profit factor a drawdown of 0.40%
Expert Advisors must be flexible in trade environment. Most advisors don't have any strategies and they are not flexible.. I am trying to find best trend strategies to use, do you have any ideas, let's talk about it
When testing an EA in the strategy tester, code changes after the first test do not seem to be reflected correctly in subsequent tests. Example scenario: 1. In the settings tab of the strategy tester, I select the ex5 file of my EA, symbol, period etc. In the input tab, I set the input values. Then
I'm trying to execute trades on VTMarkets MT5 using Python API. Every order returns error 10030 "Unsupported filling mode" regardless of which filling mode I use. What I've tested: Different order types: ORDER_TYPE_BUY / ORDER_TYPE_SELL (market orders) ORDER_TYPE_BUY_LIMIT / ORDER_TYPE_SELL_LIMIT
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
  trend indicator  (2)
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