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.

Stop loss on moving average

Hi Does anyone know where I can find a expert that closes my deal once price closes above or below a moving average? I found the code for MT4 but not for MT5.

Accessing different buffers for same custom indicator

I'm working with an external indicator and access to different buffers is needed. For example, a Bollinger-Bands-like indicator has three buffers ( one for the central line, two for the external ones ). How to access those data? It seems it is not possible just using iCustom and CopyBuffer. Thank...

it is buy trade exist?

Im just learning mql4, but I have a problem. I want to know if it a buy trade exist, but the function always returned true. Whats the problem? bool vaneBuy(){ bool buy=false;    for(int x=OrdersTotal();x>=1;x--){    if(OrderSelect(x,SELECT_BY_POS,MODE_TRADES)==true);{    if(OrderType()==OP_BUY){...

Problem with trading by expert on another account

Hello, I bought an expert from  MQL5 market, I loaded it to my account and my friend's account. Expert is trading in my account correctly but it's not trading in my friend's account at all. Help me, plz.

Is it possible to generate an ERR_INVALID_PARAMETER error on class instantiation?

In MQL 4, I want to generate this error if my class fails to initialize. Like so: void CClass::CClass(int interval) // constructor {    if(interval<=0)     {        _LastError=ERR_INVALID_PARAMETER; // constant cannot be modified compiler error        ExpertRemove();        return;...

How to connect MT4 with my broker's credentials?

Hi, how do I log in with my broker's credentials? Can anyone please advise?

Indonesian Member

I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..

My Seller Account Not Approve

I have opened my account in mql5 which has been more than 6 months and has not been opened yet, I have completed all the document and multi, still my account is still unapproved, Please Solution

How to insert a minimum time interval for opening new orders and delay trades.

Hello, Please let me explain my situation. I’m trying many different expert advisors in a demo account. Each expert is attached to a different chart and/or currency. The problem is that in some cases theses experts are opening many orders in a small amount of time. My objective is to set a minimum...

Draw an Object Using Click Event

I have an indicator with one button in corner of chart And i want to click this button first,then click on the one of the chart bars and my indicator draw a simple line from that bar's date(and again when i clicking on that button , remove previous line and draw new with new given date ) the big...

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.

Applying OLAP in trading (part 1): Online analysis of multidimensional data

The article describes how to create a framework for the online analysis of multidimensional data (OLAP), as well as how to implement this in MQL and to apply such analysis in the MetaTrader environment using the example of trading account history processing.

Developing graphical interfaces based on .Net Framework and C# (part 2): Additional graphical elements

The article is a follow-up of the previous publication "Developing graphical interfaces for Expert Advisors and indicators based on .Net Framework and C#". It introduces new graphical elements for creating graphical interfaces.

Library for easy and quick development of MetaTrader programs (part V): Classes and collection of trading events, sending events to the program

In the previous articles, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms. In the fourth part, we tested tracking trading events on the account. In this article, we will develop trading event classes and place them to the event collections. From there, they will be sent to the base object of the Engine library and the control program chart.

Selection and navigation utility in MQL5 and MQL4: Adding data to charts

In this article, we will continue expanding the functionality of the utility. This time, we will add the ability to display data that simplifies our trading. In particular, we are going to add High and Low prices of the previous day, round levels, High and Low prices of the year, session start time, etc.

Library for easy and quick development of MetaTrader programs (part IV): Trading events

In the previous articles, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms. We already have collections of historical orders and deals, market orders and positions, as well as the class for convenient selection and sorting of orders. In this part, we will continue the development of the base object and teach the Engine Library to track trading events on the account.

How to visualize multicurrency trading history based on HTML and CSV reports

Since its introduction, MetaTrader 5 provides multicurrency testing options. This possibility is often used by traders. However the function is not universal. The article presents several programs for drawing graphical objects on charts based on HTML and CSV trading history reports. Multicurrency trading can be analyzed in parallel, in several sub-windows, as well as in one window using the dynamic switching command.

Studying candlestick analysis techniques (part IV): Updates and additions to Pattern Analyzer

The article presents a new version of the Pattern Analyzer application. This version provides bug fixes and new features, as well as the revised user interface. Comments and suggestions from previous article were taken into account when developing the new version. The resulting application is described in this article.

Developing a cross-platform grider EA

In this article, we will learn how to create Expert Advisors (EAs) working both in MetaTrader 4 and MetaTrader 5. To do this, we are going to develop an EA constructing order grids. Griders are EAs that place several limit orders above the current price and the same number of limit orders below it simultaneously.

A DLL for MQL5 in 10 Minutes (Part II): Creating with Visual Studio 2017

The original basic article has not lost its relevance and thus if you are interested in this topic, be sure to read the first article. However much time has passed since then, so the current Visual Studio 2017 features an updated interface. The MetaTrader 5 platform has also acquired new features. The article provides a description of dll project development stages, as well as DLL setup and interaction with MetaTrader 5 tools.

Using MATLAB 2018 computational capabilities in MetaTrader 5

After the upgrade of the MATLAB package in 2015, it is necessary to consider a modern way of creating DLL libraries. The article uses a sample predictive indicator to illustrate the peculiarities of linking MetaTrader 5 and MATLAB using modern 64-bit versions of the platforms, which are utilized nowadays. With the entire sequence of connecting MATLAB considered, MQL5 developers will be able to create applications with advanced computational capabilities much faster, avoiding «pitfalls».

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.

Ex4 File Needs to Be copied and FIFO, no Hedge Added

Bought this EA from developer with full rights. I need you to examine EX4 file and reproduce strategy with Fifo and no hedge added for American broker. This job should not be that hard for the right person. THe EA that I have is a scalper strategy that has some hedging involved. I need that...

EA modificar

Can someone help me to program that this EA HFT Arbitrage V4.1.ex4 to work like this: if ((MasterBid-Ask) / MyPoint> = ActionPips) Oper = OP_BUY; if ((Bid-MasterAsk) / MyPoint> = ActionPips) Oper = OP_SELL; and add...

Salve vorrei un expert che operi su segnali di un mio indicatore .... qualcuno disponibile?

cerco un esperto che operi tramite segnali di un indicatore che si possa mettere sia il tp che sl dell indicatore sia che valori discrezionali messi da me manualmente che abbia il trailing lo slippage chi interessa mi contatti sia per definire tutto che il prezzo da stabilire prima di iniziare...

EA with Proven sucess

Hello coders, I am looking for a profitable EA (full source code). fully tested with a live account. Send me your test results.  Final price I am willing to pay would depend on how profitable the EA is, and how risky is the strategy. I will choose the one that will behave better and that...

Telegram signals to MT4 with Hedging strategy

Hi,I receive signals when I am sleeping. I want to execute them to MT4.Trade Execution process:I want three positions for one signalSingal is like thisSell USDCAD @ 1.31890Take profit 1 at 1.31690 Take profit 2 at 1.31390Take profit 3 at 1.30890Stop loss at 1.32390Each position is for each Take...

Convert my CS file indicator that was built on Ninjatrader and convert to MT4.

I want to convert the indicator that was created for ninjatrader platform in cs file to function on mt4. The indicator creates a batman pattern similar to a head and shoulders, and has a voice announcing trade entries if possible for mt4 if not sound is fine.

Create Grid EA Using RSI and MACD Indicator

Ok the indicator used is RSI period 9(levels 70 and 30,When price crosses above 30 buy, when price crosses below 70 sell also MACD must be less than 0 for buy and greater than 0 for sell. I would then want a grid added. The attached file shows a sell as price crosses below 70 and MACD above...

I need a profitable and consistent EA.

Kindly let me know if you have a profitable and consistent working EA for sale. Either scalping or long term trading EA is welcome. Your expert will be subject to trial before payment is made. It is important to know that the EA will be used on a live account, not just for show off, be...

Reverse MT5 Simple MACD EA

I need to change Simple MACD EA because it works in reverse, in the sense that when it opens short positions it must be long and long positions must be short

Add news filter

I have an EA and want to add news filter with following options: Link: http://ec.forexprostools.com ========= NEWS FILTER ========== High impact news  True/False Pause before high news(min) Pause after high news(min) Medium impact news  True/False Pause before medium...

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!

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

Painting Deals

Painting Deals on active chart. It allows analyzing trade history on an account to which you have an investor (read only) password. Type of the arrow displayed indicated the deal type: Right Arrow means In and In/Out deals Arrow Left Left means Out deals.Blue arrows are for Buy deals and Red arrows are for Sell deals. The indicator displays deals in the real time mode, it also displays their Stop Loss and Take Profit levels. Put the mouse over the arrows to see the details of deals includ

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

Majors Advantage

Работа Советника базируется  на  синтетических паттернах между ценой и индикатором(CCI). Данные паттерны были найдены и протестированны с помощью алгоритмов машинного обучения и селективного выбора на промежутке более 20 лет. Советник не использует в своей работе мартингейл или усреднение и другие опасные методы манименеджмента. Используются тейк профит и стоп лосс. Советник не чувствителен к спреду. Советник показывает стабильную работу на основных мажорах рынка. Советник полностью оптимизирова

Fast Copy MT5

The program allows to copy trades between different MetaTrader 5 and MetaTrader 4 accounts in any direction and amount quickly and easily. Any type of copying is available MT4 → MT5 MT4 → MT4 MT5 → MT5 MT5 → MT4 * full description How the program works The program copies transactions between two or more terminals installed on one "PC" or "VPS". You need to install the program in the "MASTER" mode on one terminal, it can be a terminal with a trading password or an investor pass

Price Action Scalping

The Price Action Scalping Expert Advisor is based on Special Price Action. Combines with some indicators and AI (Artificial Intelligence) to get opportunities to entry * Features - Allow compound interest or Fix lots by user - Spreads protection, using pending orders (stop order) without any market orders - No grid. No martingale - A small Stoploss for every trade - Combines with RSI and Bollinger Bands indicators - Special Price Action, Special Artificial Intelligence (AI) * Setting --

Automatic stops

Automatic stops monitors your account and automatically sets the values you enter in the EA for stop loss, take profit and also trailing stop. As long as the EA is attached on a chart it will set stops and offer automatic trailing to any new trades for that currency pair so you wont have to manually enter them every time you open a trade. Features include: Ability to select which trades should be monitored via magic number. You can leave the value to 0 to only monitor manual trades or to any

Scalping Indicator Pro mt4

Scalping Indicator Pro is a powerful indicator that works in trend as well as non trending market conditions. This indicator is perfect for scalp trades as well as swing trades. Scalping Indicator Pro is not just an indicator, but a trading strategy itself. It doesn't requires any additional indicators for the trading setup. Check out the indicator in action. [Video demonstration below] Why use Scalping Indicator Pro? Great for novice traders as well as experienced traders.Low risk entries.Do

Dark Personal Grid

Dark Personal Grid is a fully automatic Expert Advisor for Extreme Scalping Trading. This Expert Advisor needs attention, in fact presents a High Operating Frequency. Dark Personal Grid is based on continuous openings, these Trades can be filtered with some indicators, Ma, Atr and Adx. The expert advisor is able to get a very high-rate of winning trades. Very often, I was asked if I had a robot with many operations, with this robot you can easily reach hundreds of orders a day. You can download

Asmani Pro

ONE OF THE MOST SAFE AND POPULAR EAs !! *  Low Risk / Consistent Profit EA. * Works on EURUSD and EURJPY on M15 Timeframe only. * Capital requirement : Minimum : $300 Ideal : $1000  MUST : Please go through following blogs before Back Testing or Using the EA 1)   General Strategy of Asmani Pro https://www.mql5.com/en/blogs/post/725758 2)   Inputs explained in detail for Asmani Pro 21.3 https://www.mql5.com/en/blogs/post/725759 3)   Backtesing for Asmani https://www.mql5.com/en/blogs

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
928%
Subscribers
26
Weeks
60
Trades
351
Win
64%
Profit Factor
2.62
Max DD
29%
Growth
752%
Subscribers
33
Weeks
60
Trades
336
Win
66%
Profit Factor
2.26
Max DD
13%
Growth
1259%
Subscribers
5
Weeks
31
Trades
255
Win
61%
Profit Factor
3.29
Max DD
37%
Growth
267%
Subscribers
5
Weeks
27
Trades
291
Win
88%
Profit Factor
3.12
Max DD
26%
Growth
49%
Subscribers
5
Weeks
16
Trades
153
Win
75%
Profit Factor
2.00
Max DD
14%
Growth
6482%
Subscribers
136
Weeks
54
Trades
336
Win
77%
Profit Factor
2.38
Max DD
38%
Growth
3777%
Subscribers
30
Weeks
37
Trades
385
Win
60%
Profit Factor
2.01
Max DD
25%
Growth
13791%
Subscribers
21
Weeks
51
Trades
242
Win
91%
Profit Factor
4.82
Max DD
28%
Growth
8690%
Subscribers
47
Weeks
71
Trades
1334
Win
91%
Profit Factor
3.87
Max DD
49%
Growth
17283%
Subscribers
183
Weeks
179
Trades
480
Win
80%
Profit Factor
7.33
Max DD
20%