MQL5 Algo Trading community — forex forum for traders and developers

  Locked funds  (1)
I have been trying to withdraw money from my account but got hit with funds locked how can I unblock it. Your help will be appreciated
Almost everyone who is engaged in social or algorithmic trading sooner or later recognizes the need to rent hosting for their robots or subscriptions. Maintaining stable and uninterrupted hardware operation at home while ensuring minimal delays to the broker's servers can be quite a challenging
i dont know why every time i try to install a free demo version of an expert advisor it gives me instalation failed in the mt5
Hello all, I have a problem installing an indicator on Mac OS X. I downloaded the indicator for Mac and put it in the indicators directory, as advised somewhere on the net. But the indicator does not show up when I open the MT5 application (I have quit and re-opened it a number of times)....
everything was working yesterday, I had 2 different Metatraders open and connected to 2 different brokers. I was testing an EA that I am writing on different brokers. but today I cannot connect to anything. I cannot login to my mql5 community on the metatrader app. I cannot even get to the website
Guys... i have a strategy... but i need to understand how to calcular the AVERAGE PRICE... can you help me? For exemple below all are BUY ORDERS, ok? LOTS PRICE 0,01 1.01850 0.01 1.01800 0.02 1.01750 0.02 1.01700 0.03 1.01650 I would like to understand how I calculate how many pips my
Hello everyone! Even though I'm fairly new I do believe that this shouldn't be happening and I'm getting this "bug" both on my MT5 IDE and when using the compiler from the CMD... Here is the problem #property strict #property copyright "Marco Valentino Alvarado" #property link ""
It would be great for a platform so widely used as MT5 to have a native Mac version. Please think about it! Thank you
Hi guys, I setup an existing trade accounbt into META5 on my phone, having a full meta account now, but I cannot log in successfuly into the META5 program on my desktop no matter what I try.? Any ideas? The server options are none, other than Meta-demo - and there is no way I can find to change
When copying a Signal, is there any way not to copy the "old" trades that he already has? They are opened at another time and may not be relevant for my account! Thanx
Ok so I'm completely new to the MT world, and know absolutely nothing about coding. I've always just been a chart it out on tradingview kinda guy. But I have this different technique for Taking profit/loss I really want to try, and it would require some automation to do it. My question is, if I
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
I have encountered an issue where my MT5 Trading Terminal navigator has become detached from my workspace, only one solution worked: deleting the config/terminal.ini file in the data folder, when the same problem occurs on meta editor this solution does not work. Any ideas?! :)
  How to Start with MT5, a summary !  (80   1 2 3 4 5 ... 7 8)
How to start with MT5 platform : summary. As our topic about " How to start with Metatrader 5 " is going to be huge, here you find a summary, with main links. A very good article to learn how to use this site . How to start with MetaTrader and forex , the beginning , Some news about MT4 and MT5 for
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'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
I currently have my EA calculate values on the last x amount of bars - this however creates a huge lag during back testing - because of the "for loop" it looks like it executes on every tick. This is how the value check stars: //CHECK ID10T VALUES FOR BUY OR SELL if(BUY_ORDER   == 0 && SELL_ORDER...
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
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...
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
Is it possible to send order to MT4/MT5 from Ms Excel? thankyou for your answer
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...
  Multi currency EA ideas  (23   1 2 3)
For quite some time I have been working on a multi currency EA. It is a trend following architecture  that buys dips in an uptrend and sells peaks in a downtrend. A lot of work has gone into the code. It si built so as to run optimzation one pair at the time and then when running in "multi" reading...
  The Moving Average Channel  (52   1 2 3 4 5 6)
Is it possible to program buy/sell signal based on the following? Very simple but solid method (Similar to Nina's CatFx50)... http://www.stock-charts-made-easy.com/moving-average-channel.html -The upper boundary of the channel is a 10-period simple moving average of the price high. -The lower
I study correlation pairs and hedge strategy. 2 pairs hedges are difficult to get profit. Does 3 pairs hedge system really work or not? example USDCHF EURUSD EURCHF BUY BUY SELL / SELL SELL BUY Please suggest me some useful hedge system.I want to code it as EA
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...
On which MT5 platform can I find the S&P 500, Nasdaq, and Dow Jones index? It's not the type of CFD, it's the real S&P 500, Nasdaq, and Dow Jones indices on the exchange
how to know which of the trade/stock has the highest volume/most gain
I like the feature of the MQL5 Cloud Network for assisting in optimization runs and I thought I would be able to approximate the run of my script by performing a small sample size run ~500 and then dividing the cost by the number of runs. My initial calculation was $0.00026 per run and I
hi vereyone How do I make profit appear above the candle? can anyone help me to get this code plz
//+------------------------------------------------------------------+ //| VWRSI.mq4 | //| Пользовательский индикатор для MT4 | //+------------------------------------------------------------------+ #property
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
see my code //+------------------------------------------------------------------+ //| TrendBias.mq5| //| Copyright 2023 | //| https://www.mql5.com |
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
I had some random results trying to compare brokers and their spreads... So I wrote a little code to see where my spread values were going wrong - see below. Now I'm not sure at all! - the CopySpread function seems to be making it up!? See the example output (suggesting that the spread is either 6
Hi, Stuck into a problem. Using the standard MoneyManagement modules results in OrderCalcMargin always returns true and margin 0. in AccountInfo it's that call OrderCalcMargin (trade_operation,symbol, 1.0 ,price,margin) which with further execution leads to the usage maxvolume of the symbol
I am currently developing an Expert Advisor that performs arbitration between two symbols: WINV24 and INDV24 (Brazilian Assets). I run my backtests with WINV24 as main symbol and it works fine for receiving tick data. However, when trying to access INDV24 tick data during the backtest, all values
Hey all, I wonder if anyone can help me. I am trying to launch MetaTrader 5 using a batch file and then loading a custom ini file that I have created using the information on the https://www.metatrader5.com/en/terminal/help/start_advanced/start#command_line page. This is the current information
hi, i am looking for an ea that lets me move the stop loss automatically. This is what i need? open a position and once in a position i want that the stop loss move automatically once a specific price has been reach. and then once another price has been reach move again to another position
Dear Good day Anyone to assist? I have an EA which- uses combination of Palabolic SAR and two MA Crossing to execute trades. It is to buy or sell when Fast MA- crosses Slow MA Up and down respectively in support of Palaboric SAR. I have attached the EA on Forex pairs, Crude oil and Gold and the EA
Hello guys. I'm very new to coding started a few weeks ago. And I have build the following EA. But the EA only opens buy trades. Can you guys help me out? What is wrong with the else if statement. Please explain in detail because I wan't to learn as much as possible. #include <Trade\Trade.mqh> //
Hi, I am having troubles deleting pending orders when I release the EA from chart. OnDeInit() I use the following code void OnDeinit ( const int reason) { //--- // delete pending orders for ( int i= 0 ; i< OrdersTotal (); i++) if ( OrderGetTicket (i)) if ( OrderGetString (
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
  Footprint  (1)
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
hi i want to add transparency to my rectangles in mql4 , which code should i use
  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
  Parabolic SAR indicator  (293   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,...
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
Can you help with this indicator cant seem to get it to draw the second timeframe fvg correctly and also not getting alerts for the second time frame //+------------------------------------------------------------------+ //| Fair_Value_Gap.mq5 |
Hi, I was creating an indicator that has 2 buffers. double x_1hr[] , x_30min[]; This indicator has to be used on 4 hr chart (for convenience purpose). But it needs to also populate values in the x_1hr and x_30min buffer array after some calculation in the onCalculate function. The value in these
Right, my patience has snapped. Why is MQL5 falling to realise that I'm trying to code an array? Seriously, it's the most ridiculous, stupid thing I have ever come across. Why am I getting, 'get_high_or_low' - unexpected token, probably type is missing? GlobalNamespace.mqh 342 10 Why am I
Hi,while uploading to metaquotes a new indicator,I receive the following error message:test on EURUSD,H1 (netting)not synchronized with trade serverwhat does it means?thank you
Hello, im trying to make an indicator that extends trendlines to the current time on the chart, this is the code //+------------------------------------------------------------------+ //| HorizontalTrendlines.mq4 | //| Copyright 2024
  Zorder Function  (4)
Hello I am trying to make an interactive line over an already presented 2 other lines. so I can drag it through chart if (ObjectFind(interactive_line_name) == -1) { ObjectCreate(interactive_line_name, OBJ_HLINE, 0, Time[0], Ask); ObjectSet(interactive_line_name, OBJPROP_COLOR, DarkKhaki);
Neurotest : is a text for the neutral network would like to know your opinion. Author: Mustafa Seyyid Sahin
New article MQL5: Create Your Own Indicator is published: By describing creation of True Strength Index, the author shows how to write indicators in MQL5. Author: MetaQuotes
Check out the new article: Scalping Orderflow for MQL5 . This MetaTrader 5 Expert Advisor implements a Scalping OrderFlow strategy with advanced risk management. It uses multiple technical indicators to identify trading opportunities based on order flow imbalances. Backtesting shows potential
Check out the new article: Developing a Replay System (Part 46): Chart Trade Project (V) . Tired of wasting time searching for that very file that you application needs in order to work? How about including everything in the executable? This way you won't have to search for the things. I know that
Dual Profit Closer EA - MT4 : The Dual Profit Closer EA is a powerful automated tool designed to independently close all buy or sell orders once they reach your predefined profit thresholds. Author: Kommoju Sahityananda Devi
Check out the new article: Self Optimizing Expert Advisor With MQL5 And Python (Part IV): Stacking Models . Today, we will demonstrate how you can build AI-powered trading applications capable of learning from their own mistakes. We will demonstrate a technique known as stacking, whereby we use 2
Close biggest winning / losing trade in MT4 : This script will scan all the open trades and then will close the biggest winning/losing trade Author: Biswarup Banerjee
Check out the new article: Implementing a Rapid-Fire Trading Strategy Algorithm with Parabolic SAR and Simple Moving Average (SMA) in MQL5 . In this article, we develop a Rapid-Fire Trading Expert Advisor in MQL5, leveraging the Parabolic SAR and Simple Moving Average (SMA) indicators to create a
Save OHLCV Data from Chart to CSV File : This script saves all the OHLCV data available on the chart to a CSV file. Author: Mohammad Sh
No Loss EA V2 - No Indicator, No Price Action strategy for MetaTrader 4 : "This is the Updated version of NoLoss EA" - As most of the indicators available in the market are lagging indicators that provide information after some time. This strategy eliminates the need to rely on indicators
Linear Regression Value : Linear Regression Value (metatrader 4 version) Author: Mladen Rakic
Risk translation of percentage risk : Translate risk percentages to the monetary figure based on the account balance Author: Conor Mcnamara
MQL Plus Enhanced Error Handler Support : An (optional) include file to enhance error code handling experience. Author: Dominik Egert
TrendTrigger AutoCloser EA : This EA monitors existing trades and automatically closes all profitable positions when a MA crossover signal is detected. Additionally, it provides real-time statistics for individual buy and sell profits, allowing traders to stay fully informed about their profits
Trendline Alert V1 : Alerts on trendline break Author: Paul Conrad Carlson
when i start installing setup is demanding server login & password i attached the picture see attached file i was download the setup from https://www.metatrader4.com/en after install the setup is it is meta 5. i have some indicators i want to plug with the meta 4 but i am unable to install the meta
i have one I have a basic and much needed updated offer. All trade close function must needed in MT4. i know this function is already exist in MT5. but this function also needed in MT4. I hope I will get to see this in new update
I want to set take profit in currency for several orders (in same direction) in the settings. Please help me to correctly calculate the price of take profit. I think something like this (but most likely it is not correct): struct STRUCT_SERIE { STRUCT_MARKET_ORDER orders[]; double breakeven;
  Is there MT4 technical support?  (42   1 2 3 4 5)
Is technical support for the MT4 trading platform available if I have a problem with it? If so, where? If not, what is the alternative
Searching for this information on Google confused me. Someone wrote that no, the commission is not taken into account and you need to calculate its value at the end of the test, taking into account the number of traded lots. Others write that the latest versions of Metatrader 4 calculate the
Hi, I have been trading for a few years, and finally decided to take the plunge and learn more about building Expert Advisors. Playing around in - Bots Builder - has helped a lot. I used it to construct a very basic EA. The next step is adding a License Check Function - where the EA expires after 30
Hi, I already have a indicator, but by default there is no alert option, how can i add alert on it? Easy method bcz i am not familiar with coding. Thx
2019 Braintrading EA - from mq4 to mq5 or C# ?! Old Brain EA MQL4: https://www.mql5.com/en/forum/176133 Who has a good EA Braintraiding MQL4 or MQL5? With Fractal dimesion Ehlers. EA is missing. How do I add alerts when the H1 H4 indicator signal appears ?! Important
Been trying to Optimize, some EA's and not getting or seeing anything show up at all. I, would like to know if anyone has this same fault on that version? Thank you
I read the RSI indicator parameters of the 1-hour period on the 15 minute period, I read the parameter was correct. However, when I run the EA open order, I found that the parameters of the indicators read were not accurate,Causing incorrect Openorder locatio
Dear everybody, I have an EA that I run simultaneously on several charts at once, on just one symbol pair, but with different time frames. Of course I did this as a strategy to reduce the risk as small as possible. But the problem is, if a trade is opened by the EA, on more than one chart
Hi everyone In the expert that I want to write, I need to measure the strength of each currency based on a series of parameters and then determine the strongest and weakest currency. For example, I will create the variable dollar, euro, franc, etc., and then declare the largest one based on the
Someone to give me Meta Trader 4 32 bit version to install on my Windows 7 Clear software , no brokers , please Thanks! I try to install Meta Trader 4 iCmarkets but ask me Windows 10
I have 10 years above experience at forex market specilly trend line breakout strategy . Trend Break out is nicely work as below Feauture: 1.Trend Identify first clearly though Slow MA (period 50 method linear) A.if price stay up from slow MA is defined as Up trend B. if price stay down from slow
Hello Developer Team, I found a very serious bug in latest MT4 update (version 4.00 build 1421 on 22 Jul 2024). It's MathRound() function always give result 0, which is incorrect. I tried to make a simple script just to print out the result of MathRound(1.23) or any double value, it always give