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.

How to check whether last candle is completely out of bollinger band

Hi Friends, I am trying to write a piece of code to check whether the previous candle body is completely outside of Bollinger bands. So far I wrote the following.   double bolinger_upper_band=iBands(NULL,0,mPeriod,mDeviation,mShift,mAppliedto,MODE_UPPER,1);   double bolinger_lower_band=iBands(NULL,0...

Do i need to rent VPS to copy signal on MQL5 when my computer is shut down

Hi, Im new to MQL5 and I intend to subscribe to some signals, Do I need a VPS when my computer is shut down? Or the subscribment copy the trades automaticly? even if my Meta is shuted down..? Thank you very much

Does backtesting work on Linux?

Just tested  the exact same EA on VM Win10 and on Debian, 2 completely different results. Backtesting is not working on Linux then, Can anyone confirm this?

Trying to code Stop Loss behind last three bars bars need help (I am new to coding as well).

I'm trying to get the stop loss in my EA to auto set behind last three bars can someone show me how this is done, when complied I get error, not all control paths return a value how do I fix this? I have some idea that I have to use: return StopLossBuy;

enum to send trades selectively...

given the following two arrays: string symbols[]=      {       "USDCHF","GBPUSD","USDJPY","EURUSD","AUDUSD","USDCAD","EURCHF","EURGBP",       "EURJPY","EURCAD","EURAUD","GBPCHF","GBPJPY","CHFJPY","NZDUSD","NZDJPY",       "CADCHF","EURNZD","AUDJPY","AUDCHF","AUDCAD","AUDNZD","CADJPY","USDSGD",...

MQL4 code required - calculate $value per point

I want to set my TP based on a target % of my account balance. Example: Balance=$100 Lotsize=0.01 EURUSD Target % profit = 0.5% of balance Once I have the $value per point I can then calculate my TP   

Allow WebRequest for listed URL

Hello, I have an expert and I would like it to make a WebRequest to verify the current version number of the expert, and alert the user if there is a newer version. I am wondering if there is a way to add the URL to the Allow WebRequest from inside the expert. I assume this may be a security issue,...

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..

Ea that stops other ea if spread is too high

I need an ea that stops other ea if spread is too high.

WebRequest Ignoring Timeout Parameter in Experts Advisory (MT5 Build 1881)

Hi there, Im trying to set up a WebRequest in an Expert Advisory, wheras the server needs ~5-10 min to come up with the response. Even though I set the timeout to 3600 seconds, I get a "read timeout" after exactly 10 seconds. The following code can be used to reproduce the behavior for MT5 Build...

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.

Can you add few optional functions on my EA?

Hi, I would like to modify my EA as following; 1. Addition of optional trading hours > You can modify the current EA configuration 2. Addition of optional trading days > You can modify the current EA configuration 3. Limitation of opening positions per currency pair (on chart) > My EA...

Expert advizor

Reglas para el robotNombre: MegalodonEs muy sencilloManejo de dinero Cálculo del lote = precio moneda x tamano cuenta dividido entre 1000   ejemplo eur usd cuenta de 250 dolares =1.1683 x 250 / 1000 x 1 (riesgo de operación) = 0.029 lotes y debe redondear a 0.03Debe tener casillas para...

PROMAS EA

EA based  solely on volume progression  that  should be dependent of previous trades outcomes .No indicators are used only conditions for progression and  simple math calculations.Details will be attached .

Create an EA / Basket trader

I am trying to do pair hedging using a basket for profit. Semi auto for entry and size. There is no entry logic since its a 5 pair hedge but i like a few options: 1. to open two baskets. same 5 pairs different directions.  Be able to put another 5 pair order and combine to the basket...

INDICATOR FOR LONG/SHORT POSITIONS

I am new on trading any one who want to trade with me feel welcomes.you a welcomed  to ask about  anything  if your  doing business with me price  is negotiateble.

Fbs Real 2

Chỉ định Đặc tả Yêu cầu của bạn tại đây theo điểm. Hãy cố gắng mô tả các yêu cầu của bạn một cách nhanh chóng và rõ ràng để nhà phát triển tiềm năng của bạn có thể đánh giá chính xác tính phức tạp và chi phí của nó, cũng như thời gian thực hiện được yêu cầu.Mô tả xấu hoặc quá chung chung sẽ dẫn đến...

Trade Manager EA/Hedging EA

This trade is mainly centered around managing trades with specific rules after a trade order has been executed. It mainly entails specific hedging rules giving the specifications set by the user in the input parameters. Attached is my instructions and how I want the EA to be created. 

Tool for combining multiple expert advisors into 1 expert advisor

I have multiple expert advisors which all have the same format in build layout. I need a tool/program which can combine those ea's in 1 expert advisor. Requirements - Up to 20 experts have to be combined - Program for combining must be a windows based program - All experts advisors are in the...

Modify existing EA and create indicator

1) i would like to create an indicator/EA that will auto scan the existing charts. first chart, follow by the 2nd then to the 3rd..etcexample: i have 5 chartseurusd, usdcad, gbpusd, usdchf, eurusduser set: start every x min (5)user set: stay x seconds (10)every 5 mins, it will start from usdcad (1st...

Mql 5 ea to enter momentum and swing trades

I want to have an EA which records data for all symbols in the Marketwatch in Second's timeframe and filter the trades as per my selected criteria and then triggers trade and push/email notifications.Example: I want to trade EURJPY and attached EA to this chartEa will have the following inputs...

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

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

VR Watch list and Linker MT5

Create your own list of trading instruments Watch list* and combine it with several open charts Link **. Using this program, a user can create fully-fledged Watch lists, create and delete trading instruments and move through the list. A selected symbol shows charts in linked windows. Linked windows can have different periods, indicators, experts, trading panels, etc... Moving through his/her Watch list, a trader an see the full image of his/her strategy in all windows. A lot of traders use 1

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
298%
Subscribers
17
Weeks
41
Trades
2476
Win
77%
Profit Factor
2.13
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
129%
Subscribers
5
Weeks
46
Trades
709
Win
78%
Profit Factor
1.57
Max DD
18%
Growth
732%
Subscribers
18
Weeks
61
Trades
2466
Win
76%
Profit Factor
2.10
Max DD
63%
Growth
4767%
Subscribers
112
Weeks
131
Trades
387
Win
79%
Profit Factor
4.65
Max DD
19%
Growth
2413%
Subscribers
920
Weeks
43
Trades
1498
Win
96%
Profit Factor
3.73
Max DD
34%
Growth
1008%
Subscribers
11
Weeks
169
Trades
3906
Win
71%
Profit Factor
1.24
Max DD
32%
Growth
7582%
Subscribers
487
Weeks
17
Trades
911
Win
74%
Profit Factor
2.49
Max DD
40%
Growth
766%
Subscribers
124
Weeks
46
Trades
861
Win
76%
Profit Factor
3.92
Max DD
37%