MQL5 Algo Trading community — forex forum for traders and developers

Hello i want ask you if i can have 2 VPS server for one MQL5 account because i have buy trading bot and i want to use it on real account but i have 2 accounts and i want to use it on both. But i dont know how i can rent one more VPS now i have one for one my real account but i want to another one
hello I have a bug when I want to create a robot I tried everything with 10 of code or account settings but on several accounts or brokers the problem persists wrong parameters acount function used is rsi ima ect can you help me
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
We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
Use detailed Nasdaq data to enhance your trading strategies through more accurate decision-making and efficient risk management. This is a unique opportunity for those looking to improve their results. Unlike traditional minute or hourly bars, the subscription offers access to tick data, providing
I tried to buy an indicator for time and sales delta .The result of the payment page says card declined by issuing Bank . But the bank record shows the payment deducted in my account . I have enclosed the two documents
I have many instances of MT5 configured with demo account number and passwords.Everything was working fine.After I installed the same image onto a new SSD HDD,all the instances of MT5 have lot the account number and password.Indicators and sets seem to be still present .Same is the case with MT4
Hey folks, I have encountered a werid issue. I have registered with a broker who claim to be A-book broker using STP model. I opened RAW SPREAD account supposed to have ECN access to instruments It was trading fine until quite recently, ALL my position opened got slippage. So I made some test with
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them. In order to improve feedback from MetaTrader 5 end...
The updated version of the MetaTrader 5 platform will be released on Friday, September 27, 2024. The update introduces numerous new features and improvements to the web platform. We have added a crosshair mode for accessing precise values and measuring distances on the chart, as well as a new line
  GOLD, Gold and XAUUSD  (1041   1 2 3 4 5 ... 104 105)
Hi! Is it worth buying gold at 1130
Hey everyone, Just wanted to ask if anyone else has experienced delays with the seller 'sadditional verification process?.I started talking to support on the 17th, and so far, I’ve only been getting one response a day (and that’s only on business days). I’m honestly not impressed with the pace of
Hi every one, If anyone is going to the Dubai forex show, let me know and we can have a drink together there. https://theforexexpo.com/dubai2023/ Best Reguards, ZeroCafeine
Hi all, I tried to add my own Open AI API key as described here: https://www.metatrader5.com/en/metaeditor/help/development/ai_assistant#settings However, the field limit seems to be too small for the new project API keys - it cuts them off and then cannot authenticate. Is there anything I'm
i have joined cloud network and enlisted agents as per my core capacity then after few days gone and the agents are showing in the agent manager build but in my profile no agent and computation of payment is showing
Is it possible to send order to MT4/MT5 from Ms Excel? thankyou for your answer
  Does a safe Martingale exist ?  (203   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...
  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...
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...
  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...
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
  Multi timeframe, what do you think?  (60   1 2 3 4 5 6)
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
  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
Hello everyone, I’ve developed an Expert Advisor (EA) that uses a simple neural network architecture to make buy and sell decisions based on historical price data. The EA includes some interesting features, such as dynamic stop-loss adjustments using the ATR indicator and a momentum-based
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
  ICT SmartMoney:)  (35   1 2 3 4)
Let's think how we can automate it. If there is someone who's using this strategy, could you show key-points of it? Let's check together if the strategy is working
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...
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
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
  Forecast and levels for S&P 500  (474   1 2 3 4 5 ... 47 48)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
Dear I want to optimize my trading robot in MT5, I need a computer, and I need to suggestion a configuration to build a PC that is best for MT5 optimization
I have this MQL4 code: Which I generated using ChatGPT and then read resources and help groups online and fixed the errors Now It's giving 0 errors and 0 warnings, but still not working as expected Here is MQL4 code: //+------------------------------------------------------------------+ //|
Bitcoin market is open ! But I'm launching on History and ctrade say - Market closed . 2024.09.28 11:47:39.054 2024.09.01 00:00:00 failed market buy 0.01 BTCUSD [Market closed] 2024.09.28 11:47:39.054 2024.09.01 00:00:00 CTrade::OrderSend: market buy 0.01 BTCUSD [market closed]
HI, recently I noticed all my ifs works in code and when i set break points it does stop at them but in the watch list it shows them as false as i showed in picture below and here is the code that does print x=3 which is correct but if you set break point at the print you will see in watch list that
#define EXPERT_MAGIC 123456 // MagicNumber of the expert //+------------------------------------------------------------------+ //| Closing all positions | //+------------------------------------------------------------------+ void OnStart () { //---
Trying to write code in python to download MT5 historical tick data into a CVS file
Hi All, I need help in fixing errors and warnings on an AI EA. The AI EA is based on Bollinger bands BB_NONE, // no BB strategy BB_SQUEEZE, // BB squeeze strategy BB_BREAKOUT, // BB breakout strategy BB_TREND, // BB trend strategy BB_REVERSAL, // BB reversal strategy
Hello all, I want to sell an EA in the Market. Can I use this code below, or is this not allowed by the rules? thanks #include <WinAPI\winapi.mqh> #define MT_WMCMD_EXPERTS 32851 #define WM_COMMAND 0x0111 #define GA_ROOT 2 //+------------------------------------------------------------------+ //|
Hi, I am seeking your help, I am trying to upload an EA that trades news to MQL5, I am having the following error: test on EURUSD,H1 (netting) tester_file 'Calendar.bin' is not exist tester_file 'Calendar.bin' is not exist strategy tester report 6 total trades I am using the following library to
Hello! i personally need an urgent help on how and what can be done in a situation where my robot files and name is not enlisting just underneath the navigator/experts Advisors section. Just to generally put, my EA is not installing, i help any best expert advice. is there any best way out. i am
https://www.mql5.com/en/docs/standardlibrary/tradeclasses/ctrade/ctradeorderdelete Why OrderDelete() is doesnt work? please help me bool DeletePendingOrders(CLOSE_PENDING_TYPE pDeleteType) { bool error = false ; // Loop through open orders from latest to oldest for ( int order = OrdersTotal
EAs are very slow to optimize and even backtest . Having a lot of criteria and indicators must not help. If a more powerful computer could solve the problem, but I doubt it, since only one of the 8 cores of the processor is used. Is it the broker that limits the speed or MT5 itself? The speed is
I have been working on an update on one of my programs, The code to validate lot size seems fine mostly as I have used it in several programs in the market. Error: test on EURUSD,H1 (netting) 2021.02 . 05 00 : 00 : 00 failed instant buy 0.05 EURUSD at 1.19628 , close # 2 sell 0.05 EURUSD 1.21301
My EA isn't taking trades on demo. I works in Strategy Tester. I've checked the three more obvious culprits, live trading, auto trading, allow automated trading. I've tried three different accounts on three different brokers. It should look like this pic from tester. The closes you see there are
Hello, why this error ? kindly have a look at the screenshot attached. I have no clue why this error ? And what's disconnected in that error ? What step I need to solve this error ? Someone please help! In case you need specific code to check, let me know I can post here. Since 2 days but this error
... Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code. Hover your mouse over your post and select " edit " ... ... implicit conversion from 'string' to 'number' Teste.mq5 14 60 'TotalItems' - undeclared identifier Teste.mq5 42
Hi, I just want to know how does this guy was able to develop such an indicator that can be inserted as an object, and also how can he move the object(volume profile indicator) like this? https://www.youtube.com/watch?v=rH1wUSO1iXo (I know he did it in mt4 but I'm using mt5 and want to do it in mt5)
Hello, I found very useful Key Levels indicator from codebase here But the problem is that it draws lot of lines to the charts and during rapid price movements, like news, this indicator laggs candles, price and charts overall. So I would like to know is there any way to reduce the number of those
indicator plot nothing but compile with no error plz highlight my mistake #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2 #property indicator_type1 DRAW_ARROW #property indicator_color1 DodgerBlue #property indicator_width1 2 #property indicator_label1 "buy
hi i want to add transparency to my rectangles in mql4 , which code should i use
I want to write a script to export the values of the current indicators on the chart, but I cannot give them nice label names because there is no function to get the buffer name
Hi every body I've wrote this code ObjectCreate ( 0 , "Close_Line" , OBJ_ARROW_DOWN , 0 ,Time_0,Close_0); But the result is : Please guide me how to make it's direction downward arrow
Hi hope you are fine i need help any one have this indicator for meta trader 5 or is there any indicator of SRC for meta trader 05 i need this indicator . any recommended indicator for the SRC meta trader 5
  RSI Fix value  (1)
RSI_Test.mq5 | //| Copyright 2024, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property strict // Input parameters for the RSI input int
  Parabolic SAR indicator  (294   1 2 3 4 5 ... 29 30)
I am continuing posting information about indicators. So, we have information about Stochastic indicator https://www.mql5.com/en/forum/177239 We have the thread about Momentum indicator https://www.mql5.com/en/forum/176430 Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
  Footprint  (2)
Hello, Is there anyone knowing Cluster Delta's footprint mql5 code for EA? Thank you
This indicator has on the chart buttons that makes it switch between RSI and MACD. The problem is in the fixed min and max in the common tab, there is a prominent difference in readings between MACD and RSI which is the levels. RSI oscillates between 30 and 70 with variations according to the period
Does anyone know any reason why my indicator's graphic objects do not get removed from the chart when the indicator is removed? After the indicator is removed, the objects appear in the chart's object list (CTRL-B). I'm using the latest build 4410 21.06.24 I'm calling ObjectDelete on all graphic
  Divergence Indicators  (327   1 2 3 4 5 ... 32 33)
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
Hi everyone. I am currently using Supertrend on TradingView and a similar indicator in MQL5 with the same formula, but the middle line between the two is different. Can someone help me verify which formula is correct to display the middle line similar to the indicator on TradingView? Thank you
New article How to Post a Product in the Market is published: Publish your interesting applications in the Market, and they will be immediately available to all traders who use MetaTrader 5 worldwide. The Market is a great opportunity to earn, with an immediate transfer to the account and convenient...
Trade Volume Calculation Tool : This tool will calculate the acceptable lot size based on a stop loss distance and risk percentage Author: Conor Mcnamara
Check out the new article: Example of new Indicator and Conditional LSTM . This article explores the development of an Expert Advisor (EA) for automated trading that combines technical analysis with deep learning predictions. Technical indicators have long been used by the financial industry to spot
PrevDayLines.mq4 - Draw Previous Day's High, Low, and Average Price Lines : The PrevDayLines.mq4 script is a tool for MetaTrader 4 that automatically draws three critical price levels from the previous trading day on your chart. These levels include the highest price (Max), the lowest price (Min)
New article Developing graphical interfaces for Expert Advisors and indicators based on .Net Framework and C# has been published: The article presents a simple and fast method of creating graphical windows using Visual Studio with subsequent integration into the Expert Advisor's MQL code. The...
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
Check out the new article: HTTP and Connexus (Part 2): Understanding HTTP Architecture and Library Design . This article explores the fundamentals of the HTTP protocol, covering the main methods (GET, POST, PUT, DELETE), status codes and the structure of URLs. In addition, it presents the beginning
Check out the new article: Creating an MQL5-Telegram Integrated Expert Advisor (Part 7): Command Analysis for Indicator Automation on Charts . In this article, we explore how to integrate Telegram commands with MQL5 to automate the addition of indicators on trading charts. We cover the process of
Check out the new article: Building A Candlestick Trend Constraint Model (Part 9): Multiple Strategies Expert Advisor (I) . Today, we will explore the possibilities of incorporating multiple strategies into an Expert Advisor (EA) using MQL5. Expert Advisors provide broader capabilities than just
Check out the new article: Triangular arbitrage with predictions . This article simplifies triangular arbitrage, showing you how to use predictions and specialized software to trade currencies smarter, even if you're new to the market. Ready to trade with expertise? Arbitrage is very curious, it's
New article Strategy Tester: Modes of Modeling during Testing has been published: Many programs of technical analysis allow to test trading strategies on history data. In the most cases, the testing is conducted on already completed data without any attempts to model the trends within a price bar....
Check out the new article: Reimagining Classic Strategies in MQL5 (Part III): FTSE 100 Forecasting . In this series of articles, we will revisit well-known trading strategies to inquire, whether we can improve the strategies using AI. In today's article, we will explore the FTSE 100 and attempt to
AdaptiveTrader Pro EA : This Expert Advisor (EA) for MetaTrader leverages a combination of technical indicators, including RSI, ATR, and moving averages, to identify high-probability trading opportunities. Equipped with dynamic lot sizing, trailing stops, and performance-based adjustments, it is
QuickTrade Control - One-Click Trade Management : This EA allows you to open trades with predefined TP, SL, and Lot Size parameters with just one click. It automatically handles pipette conversions and displays real-time Buy and Sell profits directly on the chart. Author: Kommoju Sahityananda Devi
Check out the new article: How to develop any type of Trailing Stop and connect it to an EA . In this article, we will look at classes for convenient creation of various trailings, as well as learn how to connect a trailing stop to any EA. Continuing the topic about trailing stop started in the
Windows Server 2019 Windows Server 2016 What is better ws 2016 or ws 2019 for run mt4? Thank you
Hi, I am working on implementing strategies developed in MQL4 into python here. The built in ADX function seems to use a different smoothing method than the conventional wilders smoothing method. The values differ by a significant margin(see screenshots). Is there any way to access the source code
Hi there... could anybody give an avice, pls? My EA sometimes stops due to an error. The error is shown in Terminal/Experts and EA stops. Is there a way how to duplicate this error mesage as Alert/SendNotifiction? I only have an idea to add a counter to it, then store it as a GlobalVariableSet, then
I create a function for open orders as below and shows only buy orders. The EA allows both buy and sell orders and others remains no difference. However, if I remove the words in red (i.e. orderType == OP_BUY and orderType == OP_SELL ), both buy and sell orders are open. Any advice why such
Hello experts, I need your advise to understand why OnCalculate doesnt work in my EA. I have the following compilation warning " OnCalculate function declared with wrong type or/and parameters" and the print statements always return 0 when EA is running. 2023.02.08 15:10:22.523 TestOnCalculate
Hi; I have the following code that will draw a level in the installed CCI. if (PositiveLevel > 0 ) { // Check if the object already exists (to avoid duplicating it) if ( ObjectCreate ( "BuyZone" , OBJ_HLINE , subWindow, 0 , 0 ) == 0 ) //subwindow defined earlier { // If
I CANNOT DOWNLOAD or INSTALL new MT4 at my VPS, I think the IP of my server is banned by mql5 for this, anyone has any idea or how to contact mql5 offically, the support messaging system just direct me around and cant really even a message
Hi; I have the following code below to automatically increase the string instead of having to manually enter each character. // Display Divider ObjectCreate ( "Divider" , OBJ_LABEL , 0 , 0 , 0 ); ObjectSet ( "Divider" , OBJPROP_CORNER , WhichCorner); // defined earlier ObjectSet
[Deleted]
I have a DLL that I have re written to control my EA and in so doing I have introduced a memory leak. From forum readings I understand that this is likely do to not destroying the string arrays in the DLL. Rather than passing a string back as I did originally i simply pass the pointer to the string
I have Define variables 250 pieces , how to package them at the end of the code
Today I decided to check some info about price history in some pairs. I created new account, logged in and saw this. Can I change this somehow
Hi,Some time ago I tried to do a simple arithmetic function as follows double lots = 0.01 ; double lot_1b = MathRound (lots* 1.5 * 100 ) / 100 ; Print ( "lot_1b : " +lot_1b ); The calculation above should produce 0.02, right? But when I run the script in MT4 on one of my VPS the resulting number is
How do you export to a file the data calculated by a specific indicator (indicator figures from a chart for a given historical period)? MT4
Hello, I'm preparing to call a DLL within MT4 and I've come across one construct which I can't get to work. The original C++ code is here: typedef void (TA_CC * TrialCallbackType)(uint32_t, void *); TURBOACTIVATE_API HRESULT TA_CC TA_SetTrialCallback(uint32_t handle, TrialCallbackType callback, void
[Deleted]
I thought this might be helpful. I found the original somewhere on the net and expanded on it. It should be noted that many of these commands should not be used because the MQL4 language provides better, cleaner, alternatives. Occasionally though, you find you need to accomplish a particular task