Download MetaTrader 5
Log in or Register to gain access to the benefits from all our services.

Traders Forum

Ask questions on technical analysis, discuss trading systems and improve your MQL5 programming skills to develop your own trading strategies.

Communicate and share your experience with traders from anywhere in the world, answer questions and help beginners — MQL5.community is developing along with you.

MT5 OrderSelect() doesn't work - Order not found - Error Code: 4754

Dear Coders, I'm working on an MT5 Expert Advisor. I would like to use the OrderSelect() function, but it doesn't work for me. Every time I get "Order not fouund" error message. Here is my code: int ot = (int)OrderTicket();if ( OrderSelect(ot) ){   Print("OrderSelect done."); // pr() function is...

No tab signal and market, broker working fine

Hello, I just bought an indicator, it works great on one of my computer but not on the other (same MT4 build: 840) same everything (broker, install, etc) just on one of them I don't have signal tab nor market tab. What does mql5 requierd to work ?? Because clearly one of my computer is missing...

Experts: Close at Profit

Close at Profit: Close all trades after reaching defined profit or loss Author: Matus German

Cuanto tiempo más se podrá seguir operando en MT4?

Hola, llevo ya 2 años operando con MT4 y me ha ido muy bien, he explorado un poco MT5 sin embargo prefiero seguir en la versión que tengo. Quisiera saber si saben cuanto tiempo más se podrá seguir operando en MT4, no sé si tienen pensado descontinuar esta versión o qué planes tienen para el futuro.

Experts: Close@Profit

Close@Profit: Expert Advisor that closes orders after defined profit or loss. Author: Jan Kafka

Discussion of article "How to Order an Expert Advisor and Obtain the Desired Result"

New article How to Order an Expert Advisor and Obtain the Desired Result is published: How to write correctly the Requirement Specifications? What should and should not be expected from a programmer when ordering an Expert Advisor or an indicator? How to keep a dialog, what moments to pay special...

Become an Author at MQL5.com!

Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...

Experts: Grid assistant

Grid assistant: The Expert Advisor is designed for placing managing grids. Author: Vladimir Khlystov

I have purchased an indicator - how do i install????

I have purchased an indicator - how do i install????

Financial Trading Articles

Learn how to create your own technical indicators and trading robots from the huge database of articles written by expert traders.

Share your trading and programming experience with those who are new to algorithmic trading, write an article about it and earn $200. In addition, we will translate your article to six languages.

Developing the oscillator-based ZigZag indicator. Example of executing a requirements specification

The article demonstrates the development of the ZigZag indicator in accordance with one of the sample specifications described in the article "How to prepare Requirements Specification when ordering an indicator". The indicator is built by extreme values defined using an oscillator. There is an ability to use one of five oscillators: WPR, CCI, Chaikin, RSI or Stochastic Oscillator.

Processing optimization results using the graphical interface

This is a continuation of the idea of processing and analysis of optimization results. This time, our purpose is to select the 100 best optimization results and display them in a GUI table. The user will be able to select a row in the optimization results table and receive a multi-symbol balance and drawdown graph on separate charts.

Random Decision Forest in Reinforcement learning

Random Forest (RF) with the use of bagging is one of the most powerful machine learning methods, which is slightly inferior to gradient boosting. This article attempts to develop a self-learning trading system that makes decisions based on the experience gained from interaction with the market.

Developing multi-module Expert Advisors

MQL programming language allows implementing the concept of modular development of trading strategies. The article shows an example of developing a multi-module Expert Advisor consisting of separately compiled file modules.

ZUP - Universal ZigZag with Pesavento patterns. Search for patterns

The ZUP indicator platform allows searching for multiple known patterns, parameters for which have already been set. These parameters can be edited to suit your requirements. You can also create new patterns using the ZUP graphical interfaces and save their parameters to a file. After that you can quickly check, whether these new patterns can be found on charts.

Synchronizing several same-symbol charts on different timeframes

When making trading decisions, we often have to analyze charts on several timeframes. At the same time, these charts often contain graphical objects. Applying the same objects to all charts is inconvenient. In this article, I propose to automate cloning of objects to be displayed on charts.

Multi-symbol balance graph in MetaTrader 5

The article provides an example of an MQL application with its graphical interface featuring multi-symbol balance and deposit drawdown graphs based on the last test results.

Deep Neural Networks (Part V). Bayesian optimization of DNN hyperparameters

The article considers the possibility to apply Bayesian optimization to hyperparameters of deep neural networks, obtained by various training variants. The classification quality of a DNN with the optimal hyperparameters in different training variants is compared. Depth of effectiveness of the DNN optimal hyperparameters has been checked in forward tests. The possible directions for improving the classification quality have been determined.

Comparing speeds of self-caching indicators

The article compares the classic MQL5 access to indicators with alternative MQL4-style methods. Several varieties of MQL4-style access to indicators are considered: with and without the indicator handles caching. Considering the indicator handles inside the MQL5 core is analyzed as well.

How to create a graphical panel of any complexity level

The article features a detailed explanation of how to create a panel on the basis of the CAppDialog class and how to add controls to the panel. It provides the description of the panel structure and a scheme, which shows the inheritance of objects. From this article, you will also learn how events are handled and how they are delivered to dependent controls. Additional examples show how to edit panel parameters, such as the size and the background color.

Jobs for Freelancers

Order a custom technical indicator, a trading robot or any other app for the MetaTrader platforms from trusted developers.

Professional programmers deal with hundreds of orders in the MQL5 Freelance section with guaranteed payment and instant withdrawal of earnings through convenient payment systems.

Write MT5 EA based on an Excel Strategy

I have a detailed flowchart for a strategy which I developed in Excel.  The strategy uses its own formulas and logic and also fetches data from a MySql database to be used in the calculations.  (There is only one common "indicator" used.  Everything else involves mathematical...

An expert advisor that opens trade at given horizontal or other trend line

I want ea to open trades when it crosses or touches (true false) my trend line or horizontal line.  It should open one order and only open new order if closed at sl or tp or breakeven price.  true false options will help. should have break even , partial close, trailing stop and slippage...

Ea not working orders

can anyone fix this ea, it does not open any live orders on my demo or live account? but does open them in the backtest. also i want to be able to open the pending order above or below the current market price. for example i want to manually insert my buy or sell order at the begining of the week...

Customer indicator to Ea mt5

Hi,  I have a custom indicator (Macd), it generates 'buy' & 'sell' signals be means of 'blue' & 'red' arrows. I need to create an EA to read the buffer of the indicator and open poitisions, it should have the normally SL, TP and Lot size options. 

Data from MT5 to the MySQL

Hi, I need to build an easy solution to save data from MT5 to the MySQL. I found a few solutions on the internet, some of them here on MQL5 like this - https://www.mql5.com/en/code/855 but I can't successfully compile. The goal is to create a MySQL database with a table for each market (NASDAQ,...

Conversion of .exe to .mql4 - easy indicator

I have an indicator which currently gives signal setups when there are 3 drives (5 wave pattern). I would like the current indicator which shows 3 drives to show more data. This can be either a creation of new indicator displaying data by calling the current indicator or preferrably the current...

Simple existing Indicator to show more data

I have an indicator which currently gives signal setups when there are 3 drives (5 wave pattern). I would like the current indicator which shows 3 drives to show more data. This can be either a creation of new indicator displaying data by calling the current indicator or preferrably the current...

Add easy fonction to ea panel

Hi, I have a panel with source code, i need to add a one click trading button on the bottom and add a checkbox or something for choose between Sell&Buy order (For TP/Sl). If i choose buy order the tp/sl value will be applied only for buy value, same for sell. And fix the total today profit:...

Require Robot to do trading

Hello there, I would like to hire a programmer to program an expert adviser (trading robot). The basic concept behind the trading robot is that it should take and stop trades as per conditions that  will be discussed in private.

Martingale expert that use RSI 14 divergence and 21 SMA to enter

simply expert that enter position if divergence happens in default RSI (14) and a price candle crossed and closed beyond the 21 SMA , then use martingale system (with options to set orders distances, multipliers, stop loss percentage of balance, take profit, take profit tighten option with each...

MQL5 Programs Market

Dozens of new automated trading applications appear in the MQL5 Market every day. Choose the right app among 10,000 products and forget about unnecessary routine operations of manual trading.

Sell your algorithmic trading programs through the largest store of trading applications!

Synchronized Charts

The Synchronized Charts script allows comparing bars of different symbols or different periods of the same symbol. Attach the script to a chart and move bars or change the scale, all opened chart will move synchronously with the current one. The bars on different charts aligned to the border according to their open time.

CreateGridOrdersTune

A script for opening a grid of orders If you need to quickly open several pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) on a certain distance from the current price, this script will do all the routine for you! Allow AutoTrading before running the script. Usage: Run the script on a chart. Input Parameters: Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish). Price for open - open price. If set to

AccountQuickReport

The script creates account summary report in a separate window. The report can be created for all deals and on deals for selected financial instruments. It is possible to specify a time interval of calculation and save report to htm-file. The script creates account summary report in a separate window. The report can be created for all deals and for deals of the selected financial instruments. It is possible to specify a time interval of calculation and save report to htm-file. Input par

Ticks Thermometer

Do you know how frequent the ticks beating? "Ticks Thermometer" can help you! It is useful to find out which symbol is more active. Put it to each chart which you are watching. The color indicator from left to right corresponding green to red. Green block means "cool" since the tick is quiet, and red block means "hot" since the ticks is violent.

Hamster Scalping mt5

Hamster Scalping is a fully automated Expert Advisor with no use of martingale. Night scalping strategy. The RSI indicator and an ATR-based filter are used for entries. Real operation monitoring as well as my other products can be found here: https://www.mql5.com/en/users/mechanic/seller General Recommendations The minimum deposit is $100, use an ECN account with the minimum spread. Input parameters The product works both on 4 and 5-digit quotes. Specify values in points like for 5 decimal

TwilightTrade PRO

TWILIGHTTRADE PRO is an intelligent automated Expert Advisor. It is included with many smart strategies and works without any complicated setting. Just add this EA on GBPUSD M15 and choose any strategy, and the system will start trading as a very professional trader. This EA has passed ALL years backtest FROM 1970 TO 2018 and works on my live signals accounts. You can look at my real signals at MQL5 site via https://www.mql5.com/en/users/twilighttrade Requirements and recommendations Please

Grid Hero

Grid Hero is a fully automated EA that uses a revolutionary Grid algorithm (P.A.M.A.) together with a signature synergy of Price Action trading and an Artificial Instinct Self-Adaptive Processing Unit. Grid Hero was strictly developed, tested and optimized using the "Reversed Sampling" development methodology based on "In-Sample" phase (2012 to 2017) and "Out-Of-Sample" phase (2004 to 2011). It has passed 13 years back test of real tick data and real variable spread (with commission) from 2004

AI Generate Trading System

AI Generate Trading System is an Expert Adviser generated by AI application. For the last three years, I had been struggling with finding a good EA, which is able to generate consistent profit, robust, and able to survive the back-testing of ten year period. Since I could not find one, I developed the system myself. As of now, AI Generate Trading System consists of eight strategies, and the number is adding up as the EA is continuously maintained and developed. It will be updated every three mo

Wolfgrid EA

Wolf Grid EA is an expert advisor using customized indicators to identify trend reversals. The entries are usually accurate and in case if the trend reverse with a delay the positions will be managed by a smart grid system. This system uses a grid of orders which increases lot size after the stop loss is reached. The grid size is limited for more safety. It includes a security filter which prevent the possibility of getting into an unexpected trend without rollback caused by a new release. Si

PipFinite Trend PRO

Breakthrough Solution For Trend Trading And Filtering With All Important Features Built Inside One Tool! Trend Pro's smart algorithm detects the trend, filters out market noise and gives entry signals with exit levels. The new features with enhanced rules for statistical calculation improved the overall performance of this indicator. Important Information Revealed Maximize the potential of Trend Pro, please visit www.mql5.com/en/blogs/post/713938 Test the demo version and explore its featu

Trading Signals

Choose a suitable trading strategy and subscribe to it with a few clicks. All Signals are provided with detailed statistics and informative charts.

Become a trading signal provider and sell subscriptions to thousands of traders around the world. With the Signals service, your successful strategy can generate income with a small start-up budget!

Growth
302%
Subscribers
17
Weeks
42
Trades
2488
Win
77%
Profit Factor
2.11
Max DD
37%
Growth
60%
Subscribers
10
Weeks
19
Trades
197
Win
71%
Profit Factor
0.75
Max DD
41%
Growth
677%
Subscribers
51
Weeks
44
Trades
144
Win
92%
Profit Factor
72.83
Max DD
31%
Growth
131%
Subscribers
5
Weeks
46
Trades
710
Win
78%
Profit Factor
1.58
Max DD
18%
Growth
733%
Subscribers
17
Weeks
61
Trades
2472
Win
76%
Profit Factor
2.11
Max DD
63%
Growth
4767%
Subscribers
110
Weeks
131
Trades
387
Win
79%
Profit Factor
4.65
Max DD
19%
Growth
1020%
Subscribers
10
Weeks
169
Trades
3907
Win
71%
Profit Factor
1.24
Max DD
32%
Growth
2413%
Subscribers
889
Weeks
43
Trades
1498
Win
96%
Profit Factor
3.73
Max DD
34%
Growth
7648%
Subscribers
492
Weeks
17
Trades
915
Win
74%
Profit Factor
2.51
Max DD
40%
Growth
645%
Subscribers
51
Weeks
116
Trades
2513
Win
68%
Profit Factor
3.07
Max DD
14%