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 much will cost a lot in currency account ?

Hi, Here is my problem. I would like to know how much will cost one lot (100 000 units) for a specific currency pair. For example  I have an account in JPY and I want to know how much will cost 1 lot for EURUSD in JPY. Therefore I need to conver JPY to EUR (base currency). Is there a formula...

invalid pointer access

Hi This error "invalid pointer access" is that I get from this code, any suggestion how to fix it? #include<Arrays\List.mqh>CList lineList;class Line : public CObject {public:   string name;   string description;   double value;   };//... stuffdouble p = 100.46;Line *line = lineList...

MT5 - missing candles lately

Anyone has had similar issues ?

HELP! Opening Orders when there is an "X" difference in pips between two EMAs

Guys,  I really need your help, I want to create an EA with the following strategy, Open Buy Order when the gap ( in pips) between EMA 20 and  EMA 50 is in the range of 5 to 10 pips and the EMA 5 is above all other EMAs, I have tried to create the following code but the orders are opened without...

how to swap between funcions ?

Hello, I am new in programming :-)  I want to write a program like below I want to know how can I swap between functions function a() { if ( ------ ) buy; else if ( ------- ) sell; } if any of the condition happend and it sell or buy, go to function b () and the fanction a() condition does'nt check...

Closing orders after a specified number of bars

Any chance that there's a kind person who can help me with the following pls :-) Want some code that closes orders after say 4 bars, regardless of whether the trades are profitable or not. I'm trading hourly bars, so figured if I hadn't hit a profit target or stop by 4 hours, I'd just close the...

Indicator too slow

In the Toolbox/Experts, it says that " indicator is too slow, 6000ms, rewrite the indicator" , does it affect the operations of the EA's? NB*The indicator is not part of the EA but is on the other graphs.

HOW TO close pending orders OLDER than x hours.

Hi.  I would like help to make EA or as Indicator that can close pending orders when OLDER THAN x amount of HOURS old.  I have seen a ea that can close on time but that would close all pending orders and not the older ones only. Thanks for any help.

Custom indexing of an array / subscript operation overloading

Hey guys, I am getting acquainted with the mql language, but I have some knowledge of C++. I want a data structure where I can link a value to another. I was thinking of a map- (C++) or dictionary- (Python) like structure, but it is an overkill for my purposes. So I was thinking of a custom array...

HedgeEA

Some time ago, on Elite section cturner and me begin the development of an Hedge EA that allow to hedge two currencys taking profit from the swing and from the swap. I think that for now there are too many people busy with the championship so, I 've decided to bring the EA to the public zone so...

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.

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.

Visualizing trading strategy optimization in MetaTrader 5

The article implements an MQL application with a graphical interface for extended visualization of the optimization process. The graphical interface applies the last version of EasyAndFast library. Many users may ask why they need graphical interfaces in MQL applications. This article demonstrates one of multiple cases where they can be useful for traders.

How to create Requirements Specification for ordering an indicator

Most often the first step in the development of a trading system is the creation of a technical indicator, which can identify favorable market behavior patterns. A professionally developed indicator can be ordered from the Freelance service. From this article you will learn how to create a proper Requirements Specification, which will help you to obtain the desired indicator faster.

Money Management by Vince. Implementation as a module for MQL5 Wizard

The article is based on 'The Mathematics of Money Management' by Ralph Vince. It provides the description of empirical and parametric methods used for finding the optimal size of a trading lot. Also the article features implementation of trading modules for the MQL5 Wizard based on these methods.

LifeHack for traders: Blending ForEach with defines (#define)

The article is an intermediate step for those who still writes in MQL4 and has no desire to switch to MQL5. We continue to search for opportunities to write code in MQL4 style. This time, we will look into the macro substitution of the #define preprocessor.

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.

Need a bot which closes and opens orders based on Moving Averages

Need a bot which is able to create and close orders based on 2 different Moving Averages On top of that there is a variable profit taking model Need the source code in the end All specification via DM, will not reveal the login in public

Simple Moving Average EA that will average into losing positions

Needing an EA that is based on mean reversion, using a slow moving average as a gauge for deviation from the mean and a fast moving average as a trade signal. For example, EUR/USD is 50 pips below SMA 200, once price crosses above SMA 30 a buy trade is executed. Vice versa for a sell trade. Once the...

Stochastics EA

Attached are field requirements for a Stochastics EA strategy. The EA applies 3 strategies. The user can choose which strategy to run i.e. choose Yes/No to running Strategy 1,2 or 3. Strategy1: Run the EA when the crossover happens in the overbought or oversold areas only Strategy2: ...

Round Numbers with RSI/TDI

I need an indicator that will be triggered either by the RSI or TDI. The indicate should be based on round numbers (eg 1.20000 or 1.40000, etc).  1. Signals A BUY SIgnal: Whenever the RSI crosses below 50 and the price is around a ROUND NUMBER (critical value) - For example when the price...

High and low once MA lines cross.

 Good afternoon.   I am looking for an EA which calculates the HIGH and LOW everytime MA lines cross one another. Using the example below. Say I entered a start time for calculation as candle number 1. Once a start time is entered, you would then need two MA crosses, in the...

I need a Binary Options signal indicator for IQ optiond daily trading

I am a newbie and don't know much about technical terms and will need a signal bot, not a trading bot, I wish to carry out the trading myself: Here is a sample of what I am talking about but am open to any better idea provided I win %70 to %99 of my trades daily. https://www.youtube.com/watch...

I need that you fixdesign of site according to photoshop and install some function

Hello, Our site, e-shop, boonamber.com was created on woordper woocomerce and it is done in fact, but design html was transfered from fotoshop not true. I need that you arrange design of site according to photoshop (all sizes and details). Also I need that you fix cart and some small...

Alert when candle cross two moving average

Can you create an indicator for the attached condition?Need alert and notifications When candle close by crossing two moving average as given input.Give me the option in input for moving average value and method.

EA - based on Donchian Channel Breakout

Hi all programmer, i wish to develop a EA mainly based on donchian channel breakout (stop order). Entry will based on Indicator below: 1) Donchian channel 2) Candle Length (candle body, open - close) 3) Xsupertrend_MTF (indicator like supertrend)   The entry condition...

MTF MA indicator for FT3

Anyone can create MTF MA indicator for FT3?I attached the indicator for MT4, "-MTF_MovingAverage.mq4". I need exactly the same as the indicator.Please let me know if you have any questions!cheers

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

Bober Real MT5

Bober Real MT5 is a fully automatic Forex trading Expert Advisor. The robot can run on any instrument, but the results are better with EURGBP, GBPUSD, on the M5 timeframe. The system can run with the brokers providing floating spread. Expert Advisor Advantages The EA does not use such systems as Martin, hedging, etc. Always uses SL and TP. No need to close the robot during news releases. The results obtained in the strategy tester match the results of real trading. High testing sp

HedgeTerminalApi

Trade in the opposite directions with HedgeTerminalApi library! HedgeTerminalApi is a program interface allowing you to use HedgeTerminal virtualization technologies in your robots and scripts. With HedgeTerminalApi, you are able to trade in the opposite directions when two or more trading algorithms occupy opposite positions on a single symbol. The library allows robots to track their positions even if these positions overlap entirely or partially. Moreover, with this library, you are able to

Spread and Swap monitor

The indicator is intended for determining the spread and swap size, the distance for setting stop orders and stop losses from the current price allowed and the risk per 1 point in the deposit currency. The indicator informs a trader about possible additional expenses and profits connected with transferring a position to the next trade session of the financial instrument. It also informs about the spread size and the distance of pending orders, stop loss and trailing from the current price. In a

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

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

Hamster Scalping

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 USD, the recommended timeframe is M1. Use a broker with good execution and with a spread of 2-5 points. A very fast VPS is required, preferably with a latenc

Veno EA

Veno EA is a safe and fully automated medium-term trading robot. The EA does NOT use hedging, martingale, grid strategies, arbitration, etc. Veno Expert System automatically analyzes the appearance of participants with distinct preference towards buying or selling on the market. Trades are conducted on strong cluster and news based movements. The robot automatically analyzes the market volumes and volatility and follows strong supply and demand movements. It smoothly sets breakeven levels and

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
256%
Subscribers
8
Weeks
38
Trades
2210
Win
77%
Profit Factor
2.06
Max DD
37%
Growth
121%
Subscribers
9
Weeks
15
Trades
155
Win
73%
Profit Factor
2.71
Max DD
24%
Growth
784%
Subscribers
19
Weeks
24
Trades
398
Win
90%
Profit Factor
7.47
Max DD
36%
Growth
655%
Subscribers
66
Weeks
38
Trades
130
Win
91%
Profit Factor
71.28
Max DD
31%
Growth
709%
Subscribers
17
Weeks
57
Trades
2369
Win
76%
Profit Factor
2.08
Max DD
63%
Growth
2457%
Subscribers
111
Weeks
43
Trades
839
Win
75%
Profit Factor
3.77
Max DD
37%
Growth
2269%
Subscribers
560
Weeks
39
Trades
1348
Win
97%
Profit Factor
3.42
Max DD
34%
Growth
783%
Subscribers
25
Weeks
103
Trades
389
Win
85%
Profit Factor
2.04
Max DD
22%
Growth
4436%
Subscribers
71
Weeks
127
Trades
348
Win
80%
Profit Factor
5.59
Max DD
19%
Growth
615%
Subscribers
50
Weeks
112
Trades
2460
Win
69%
Profit Factor
3.13
Max DD
14%