MQL5 Algo Trading community — forex forum for traders and developers

facing problem in installing mt5 error is .dynamic link library ADVAPI32dll fix problem try again please help me out imy OS windo 7. thanks iin advance for help
MetaQuotes has launched new MQL5.community information channels on Facebook, X.com (Twitter), and Telegram. These channels provide daily publications of relevant technical materials from the MQL5.com Articles and CodeBase sections. They are designed to promptly update developers on algorithmic
The updated version of the MetaTrader 5 platform will be released on Friday, October 4, 2024. This update follows the major release build 4570 , which featured notable web terminal improvements and introduced new machine learning functions in MQL5. In this latest release, we have addressed several
Hello, I created this article because I have been unable to install Expert Advisors on my MT5 terminals for 2 days. I simply cannot see any Expert Advisors in my purchases section. I have already tried uninstalling and reinstalling terminals, restarting my VPS, logging out and back into MQL5 within
I have paid, but I cannot download ea.ba. Can you help me find out what is wrong
Hi everybody, I'm facing a couple of issues while trying to run automated trading bots on my MetaTrader 5 demo account: When I switch to the demo account, the "History" tab doesn't show up at all. However, on my active account, the History tab is visible and working properly. I'm not sure why the
Hi everyone, I'm encountering an issue when trying to download EAs and indicators from the Market on MT5. The error message I receive is: (raw - read failed, 0 error, 1 bytes needed) [1001] I’ve tried searching for similar issues on the forum, and I’ve also disabled Windows Defender and my Firewall
Good afternoon, everyone, I know that there are machine learning and statistics enthusiasts on the forum. I propose to discuss in this topic (without holivars), share and enrich our own knowledge bank in this interesting field. For beginners and not only there is a good theoretical resource in
  GOLD, Gold and XAUUSD  (1088   1 2 3 4 5 ... 108 109)
Hi! Is it worth buying gold at 1130
  Become an Author at MQL5.com!  (205   1 2 3 4 5 ... 20 21)
The new MQL5 Community website at http://www.mql5.com keeps developing. We invite all of you to make your contribution to this development. The new MQL5 is the evolutionary continuation of MQL4. The new language is characterized by the support of object oriented programming, by a higher code
since release 4570 boolean compare in debugger was broken! This is now the 2nd release after that! - issue is still not fixed! for more details see here!. https://www.mql5.com/en/forum/474242
  vps  (2)
I bought mql5 vps but i did not receive connection details kindly help.i only received a notification that i have purchased the vps
  Matrices and vectors in MQL5  (20   1 2)
This is the summary thread about Matrices and vectors in MQL5
The Main Study MetaTrader module for integration with Python - documentation Python Releases for Windows - website MetaTrader5 : Python Package - website ---------------- The Article MetaTrader 5 and Python integration: receiving and sending data - the article MQL5 Integration: Python - the
Can the same login theoretically be repeated with different brokers? I see symptoms suggesting that the login is globally unique, but I can't find confirmation of this. I store data from various MT5 accounts, and this knowledge would allow me to shorten the database keys from (server, login) to just
  Multi timeframe, what do you think?  (64   1 2 3 4 5 6 7)
Good morning Without being the holy grail, I think it is still a step or two in its direction. Here is my opinion It is practically impossible to fit into a time frame even with a lot of information. Often it's trying to make a decision on 1 bar How to choose a bar among many others? I think the
As from the title, I mean which method has the best ratio safety/profitability for you (support resistance based, atr based, range based, time based etc etc.) Share your opinion...
  Is trading a zero sum game?  (15   1 2)
Yes No
  Does a safe Martingale exist ?  (205   1 2 3 4 5 ... 20 21)
Hi, With this topic I would like to contribute in a very serious way to the world of the martingale "believers". For those who don't know me or doubt my intentions google on "fxigor". So I hope with this topic that I can make a new wind blowing in martingaling. Let me first answer the question to...
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
  Trading Journal  (6)
What is the best way to journal in trading ? [Edited by moderator]
  Scalping system  (193   1 2 3 4 5 ... 19 20)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers
  Programming tutorials  (174   1 2 3 4 5 ... 17 18)
In our technologically advanced world, programming and computer science have become transformative disciplines that drive innovation and shape society. Programming, as an art form, combines creativity, logic, and problem solving to create elegant and efficient solutions. Fusion of science and
I'm having some large discrepancies between strategy tester and live trading (shocker). I recall looking through the backtest and forward test results after optimizations and my MFE was always very good, i left little on the table I was content. However after running my latest test it would seem I'm
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
  Stochastic  (103   1 2 3 4 5 ... 10 11)
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade
Hi, I've met this 2 statement that's contradict with each other many many times when reading about trading strategy. Here's the statements: 1. Not all strategy works on all timeframe. And what I take from this statement is that each timeframe act differently to each other. 2. In
  Trading platform  (31   1 2 3 4)
What would be your preferred trading platform and Why
HI all, how can I recall CFD expiration date indicated in properties window? I tried with SYMBOL_EXPIRATION_TIME but I seem it's not correct. Thank you
There are plenty of resources on the internet with analytics. But I am interested in the opinion of real traders, not analysts. Please share your expectations and forecasts. Do not copy analysts' posts and insert links to them. I am interested in traders' opinions and news + links to the news, which
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
how to know which of the trade/stock has the highest volume/most gain
If BTC/USD has support at $68,000 and resistance at $70,000, what type of group or person would keep dumping at $70,000 when they make very little profit from a buy at $69,000
Until now I am unable to test settings or trade stocks with Galileo FX robot on the MT5 platform. I have a stock-account at OANDA, who say the issue might be at MT5. Galileo FX says the issue might be at OANDA. I start to believe this will never work. Has anyone a suggestion
Hello all, This topic is extended to those who utilise algos or trade manually. I am looking to gain an insight from traders who have maybe migrated from CFDs to trading futures, or perhaps those who trade futures alongside CFDs. I would like to know your "why" - is it due to portfolio
Hello all, I have a few questions for anyone with knowledge and/or experience trading futures. Any input would be greatly appreciated. From experience scalping in live market conditions, how does slippage and spread compare to trading CFD in markets such as FX? Is there a notable difference, and
Hello community, A code MQL5 for some years. Did my stuff... algos.. indicators... and now I`m facing a new challenge which I think I do not have enough knowledge to foresee the next steps What are the steps in a higher level to achieve an integration with Binance for trading via MQL5? I saw some
  Options Trading  (3)
Hi, Is there any way to access Options Trading in MT5 Platform
Fellow hobbyists, please advise where to find an exit to the NYSE via mt5
hi all every broker has a limited global stock of major or popular companies do you have any idea if i can find any broker uses mt4/5 demo/real account which provide more range of us and europe stocks. and etfs and it will be perfect if its charts have a premarket or night prices as i just want to
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
How to display extended hour prices on the chart and for the EA? There are large price variations between the end of regular hours and the start of regular hours for a stock. We don't see these variations so my EA and almost all EAs designed for stock trading can't track movements and trends well
I'm trying to figure out if I can have a list of all my trades for the same utensils separate rather than one bulk position in the tool box/terminal box. Is this even possible? Thanks
HELLO, I have recently bought the ai gen xii ea, I'm trying to use the mt4 vps I have purchased the monthly plan for 15 dollars, under the cpu tab it says 0% being used but under disk and the network thing it gives regular readings, and the ea itself doesn't use dll I think but uses the api thing, I
I am trying to define a custome enum so that I can use it throughout my EA. e.g. if I have an enum like this: enum DIRECTION {BUY, SELL,BUYANDSELL} I want to be able to reuse this enum throughout the EA without having to declare it at every class file. I have tried definining it in one of the
I decided to ask here before taking some action with having a new EA written or modifying my current one. Basically my EA that I had developed and converted to MT5 gets its buy/sell signals from an indicator, and to determine TP and SL, it gets some info from the objects the indicator displays on
First off all, sorry for my bad english, my mother language is Spanish. Im programming an EA for Forex on MQL5 that opens positions when some conditions are met, the EA places a TP and SL based on some conditions and of course calculates the lotage to only risk 1% of the account. While doing
I ma looking to make an EA,based on bullish or bearish fakeout candles, any past works are highly appreciated
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
Cant seem to figure out why I am not getting a good response from the mt5. 2024-10-11 08:42:42,641 INFO worker.py:1786 -- Started a local Ray instance. Initialized MetaTrader 5 (downloadasset pid=16728) Fetching data for ticker: GBPJPY (downloadasset pid=16728) No data available for GBPJPY. Error
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
Cant seem to figure out why I am not getting a good response from the mt5. 2024-10-11 08:42:42,641 INFO worker.py:1786 -- Started a local Ray instance. Initialized MetaTrader 5 (downloadasset pid=16728) Fetching data for ticker: GBPJPY (downloadasset pid=16728) No data available for GBPJPY. Error
Hi. I have a farm of 20+ dedicated 24/7 strategy tester agents and I would like to sell this service to users for testing their strategies. Is this possible ? Regards Denny
I conclusion, Yes it is possible to do that when using visual mode. In MT4 you can just drag the indicator over the chart and drop it. That way the Custom Indi will work simultaneously with the EA. For me this is extremely important because we use the indicators to save information in the global
My problem is the following : Even after create a python script into the MQL5 IDE and select the MetaTrader 5 library into my script I receive the following error ModuleNotFoundError: No module named 'MetaTrader5' can somebody help me with that problem
Test report returned the "tester agent authorization error' on a second symbol indicator being applied to.. I have used OpenCL commands and the indicator works quite fine on my pc although it is a bit slow for longer charts. It has its own 3 temporary buffers, and it shows on a separate chart two
hi, i am a junior developer and i have a question i have a Expert advisor that is run on a live account on my VPS , in some cases i need to trade manually for example opening a position , closing , adjust tp or sl , placing pending orders ,... so i want to do these things from my mobile or my pc (
  EA RSI strategy.  (3)
Hi Everyone I'm on develop my EA for RSI and i got 1 issue, when i print this code i found that RSI = 10 all the time #include <Trade\Trade.mqh> // Include the trade functions input int RSI_Period = 14; // RSI period input double RSI_Buy_Level = 30.0; // RSI level to buy input double RSI_Sell_Level
I have an mql4 indicator code but i wanted to convert into mql5. I changed the old start() -> OnCalculate(), solve all the time,Bars,High,Low function but i think missed some array modification because i get all the time "Out of Array " error and i don't know what i missed, because the same code is
I just downloaded .mq5 from mql forum and when I double clicked it, it opened meta editor. My question is how can I apply the indicator(mq5) to the current chart in MT5 desktop? I'm really clueless
I'd like the ability to add lines a certain number of pips from the MA line, like the below image, but I don't know how. I've written the code (below) for the colour-changing MA, but I'm hoping someone would help me add the extra lines 200 pips from the MA in either direction. //--- indicator
Hello, The OnDeinit () method for an indicator, no longer exists in MQL5? //+------------------------------------------------------------------+//|                                                          ttt.mq5 |//|                                   Copyright 2018, Pierre Rougier...
Did anyone had issues with a line of code: if ((int) TerminalInfoInteger(TERMINAL_OPENCL_SUPPORT) == 0) { return 0; } that passes the validation and then on his pc had been debugging that same line and figured out that it always does "return 0" although OpenCL support is enabled? On my own pc
Hi, I'd like to know how can I know, within an indicator's OnCalculate, that the current bar is finished (that is, no new ticks will be send to that bar) without having to wait for a new tick, a new call of OnCalculate, addressed to the next bar. The scenario I have in mind: I have an indicator that
Hi, this is my report on a problem that started to happen with me some days ago and also the solution I found. I hope it might reach Metaquotes so they find a solution to this obvious bug (even though my situation with another of such problems gives me little hope for that). So what happened is that
Hi all, I need an indicator for calculate avarage price for all open order, incluse Buy and Sell. I have an Indi for MT4. But MT5 I haven't. Can Someoe help me, Please! Simply calculate W: lot size P: entry For Buy is + For Sell is - Ex: Buy 1lot at 1900 Buy 1lot at 1910 Sell 5 lot at 1890 >>>
I've been working with ONNX models and I want to draw my model's forecast on to the chart so that as time goes on I can visually see the difference between what the model was expecting and what actually happened. As trivial as that sounds, I'm having a headache trying to plot into the future. I've
I asked before for help on plotting future values directly on the chart, and I received informative help. I'd like to ask now, how can I plot into the future for your indicators. For example, I've got this indicator, shown in Fig 1, and I'd like to plot my predictions of what the indicator's value
Hi I am trying to convert a pinescript code into mql5 but the indicator values that I am getting on mt5 terminal do not match to the Tradingview Indicator. Any help would be appreciated. Pinescript Code: study ( "Average Force" , "AF" ) af(Series, High, Low, Period , PostSmooth) => period =
I've create a custom symbol ,like 5_second chart which is base on the tick data of XAUUSD. But there's no related functions like iMACD() to get the indicator data of this custom symbol, all of the Technical Indicator Function must be used with predefined standard timeframe. So, is there a good
Hi, I Need assistant the indicator script thatni generated from chartgpt.. this are my values below. Code me a RSI and CCI MT5 indicator with the following parameters. RSI input 1color blue, Level 10. 90, 80, 20 and 50 CCI input 5000 with color red Send a pop-up alert when CCI input 5000 touches RSI
hi i want to add transparency to my rectangles in mql4 , which code should i use
Hello, everyone. I have a supertrend indicator. I want to set candle color according to supertrend's trend like attached image . could you help me? Thanks
Fourier extrapolation of price: This indicator fits a trigonometric model to prices and extrapolates it in the future. This indicator uses the Quinn-Fernandes algorithm to find the harmonic frequencies. It fits harmonics of the trigonometric series one by one until the specified total number of...
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
Simplest Logger class for MetaTrader 5 : The simplest class for logging in MetaTrader 5 with support for levels, message format, include and exclude filters on substrings. Author: Denis Kislicyn
Check out the new article: Data Science and ML(Part 30): The Power Couple for Predicting the Stock Market, Convolutional Neural Networks(CNNs) and Recurrent Neural Networks(RNNs) . In this article, We explore the dynamic integration of Convolutional Neural Networks (CNNs) and Recurrent Neural
Check out the new article: Data Science and ML (Part 23): Why LightGBM and XGBoost outperform a lot of AI models? . These advanced gradient-=boosted decision tree techniques offer superior performance and flexibility, making them ideal for financial modeling and algorithmic trading. Learn how to
Check out the new article: Creating an MQL5-Telegram Integrated Expert Advisor (Part 1): Sending Messages from MQL5 to Telegram . In this article, we create an Expert Advisor (EA) in MQL5 to send messages to Telegram using a bot. We set up the necessary parameters, including the bot's API token and
Check out the new article: Master MQL5 from beginner to pro (Part I): Getting started with programming . This article is an introduction to a series of articles about programming. It is assumed here that the reader has never dealt with programming before. So, this series starts from the very basics
Engulfing bar with rsi : Alerts on engulfing bar below or above rsi levels Author: traderonemax
Check out the new article: From Novice to Expert: Collaborative Debugging in MQL5 . Problem-solving can establish a concise routine for mastering complex skills, such as programming in MQL5. This approach allows you to concentrate on solving problems while simultaneously developing your skills. The
TimeServerDaylightSavings : Time-related functions for empirical detection of server time zone and daylight savings mode (DST) from history of quotes Author: Stanislav Korotky
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
Place Hedge Order of unbalanced positions in MT4 : This script will place hedge trade of unbalanced type in MT4. Author: Biswarup Banerjee
Check out the new article: Developing a robot in Python and MQL5 (Part 2): Model selection, creation and training, Python custom tester . We continue the series of articles on developing a trading robot in Python and MQL5. Today we will solve the problem of selecting and training a model, testing
Check out the new article: Using PatchTST Machine Learning Algorithm for Predicting Next 24 Hours of Price Action . In this article, we apply a relatively complex neural network algorithm released in 2023 called PatchTST for predicting the price action for the next 24 hours. We will use the official
Check out the new article: Matrix Factorization: A more practical modeling . You might not have noticed that the matrix modeling was a little strange, since only columns were specified, not rows and columns. This looks very strange when reading the code that performs matrix factorizations. If you
I can't download the DEMO. When I click on FREE DEMO, I can't find the DEMO in MT4
Hi - I am trying to set up a VPS to run an EA on my MT4 with Trade Nation. It doesn't matter what payment method I try to sign up with it immediately displays error messages with all the ways to pay. Any help? See attached
[Deleted]
Hi I have seen If two object crossed with each other then the cross section get white or in other color. Is there any way to avoid that?   I don't want the white area, I want it to be full blue. How can I do that? One thing predicting object cross section are is not possible as its dynamic. Regards...
EA MQL4 LANGUAGE STRATEGY BASED ON EMA Crossover + RSI: Identifies trend with EMA crossover and filters false signals using RSI. EMA + Price Action + MACD: Confirms trend momentum using MACD to avoid fakeouts. EMA Bounce + Fibonacci Retracement : Checks if the current price is near key Fibonacci
  mt4 terminal  (2)
hello,how can i download mt4 terminal here
(Reposted using English in this "en" English forum; please ignore improper duplicate English-in-Russian forum https://www.mql5.com/ru/forum/474328 ) I haven't found a MT4 bug report of this issue; perhaps I missed it. (Tested MT4 b1420; This works on MT5). When I draw a Rectangle object (with Draw
in mql4, i can use iTime[1] to get bar[1] opentime ,   in mql5 , i use below sentence  CopyTime(Symbol(),PERIOD_CURRENT,1,1,from);    but i get  compile error: no one of the overloads can be applied to the function call   how to solve thanks 
My profit colour is black i want them to be blue
  there are no trading operations  (67   1 2 3 4 5 6 7)
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
[Deleted]
Hi, How can I find market Open or Close? dunction GetLastError()? What value return function? Or other function/way? Other solution? Thank you.
  Coding help  (7904   1 2 3 4 5 ... 790 791)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick ? Tnx
Hi coders, I have a technical issue that I cannot resolve it. I have an entry condition as follows :- double Hi0= iHigh (sym, 60 , 0 ), Hi1= iHigh (sym, 60 , 1 ), Lo0= iLow (sym, 60 , 0 ), Lo1= iLow (sym, 60 , 1 ); bool BuySignal= ... && Lo0>Lo1 && ...; bool SelSignal= ... && Hi0<Hi1 && ...; To
Hi I would like to incorporate a trading rule that when price is below a certain price for instance USD JPY 148.37 then it will allow a sell based on other parameters. The EA would run on the time frame and currency. I have all the coding for the mechanics of the sell etc. I just can't find how to
Greetings, Does anyone have any solution to MT4 indicators not working on high resolution screens yet? This thread https://www.mql5.com/en/forum/158168 basically says there is no solution other than the developer fixing the indicator. But does anyone else have any other solution yet? The majority of...
Hi, I wonder if this has been discussed before but I didn't find anything in google. From my research, the following 2 declarations seem to be doing the same thing. double Ticksize1 = MarketInfo(Symbol(), MODE_TICKSIZE);double Ticksize2 = SymbolInfoDouble(Symbol(), SYMBOL_TRADE_TICK_SIZE); So is...