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.

Round a Array of indicator values in MQL5

Hey, I want to Round the number of an Array of my indicator. I need to Round the numbers to the number of digits of the currency, for example the EURUSD in my broker has 5 digits, while USDJPY have 3 digits. I cannot do it this way. And I want to change Round the numbers as soon as they are created,...

Anyone getting error 403 forbidden on file commit?

Or knows how to fix this error? I can’t commit any code since yesterday.

Alarm on Indicator

I have an Indicator with Alarm function, which is fixed, so I can't pick another Sound but the Alarm sound. However the Alarm sound goes off as well for different things. I switched it off for all other indicators, but the alarm sounds off at the beginning of every candle. How can I switch that off?...

How to install MT4 Indicators?

Here is a little guide on how to get the work done NOTE: An indicator can be of 2 format (extensions), .MQ4 and .EX4. MQ4 is the source code, and EX4 is the compiled version of the code. Step By Step 1) Download/Copy/Save the MQ4/EX4 file into your C:\Program Files\MetaTrader 4\experts\indicators...

Read Buffer from iCustom - only 3 of 5 work?

Hello! I wrote an Indicator which works just fine. It has 5 Buffers in total, which are all working fine (i checked in the data-window when applied to a chart and they contain values where they should). Now i created an EA wich reads this indicators buffers. I can read the first 3 Buffers...

StringToShortArray() issue

It took me a while to figure out the bug in my code, but it boils down to StringToShortArray() function this is the test: void test_strings(){    ushort a[];    int alen = 0;    string s = "michael";    StringToShortArray(s, a);    printf("string '%s' has len %i    array a has len %i", s,...

How can I convert the commission to pips/doubles to use it in my risk-management-code?

Hello forum, I have my entry and my stop-loss and I want to calculate the lot size according to my risk-management. It works fine and this is how I do it: double pipRisk = MathAbs(orderOpenPrice-orderStoploss);double lotSize  = AccountBalance()*0.01 / pipRisk / (MarketInfo(_Symbol,...

Close/Delete all open/pending orders immediately

I want to ask you if it is possible to close all open orders and to delete all pending orders within a unique call to a method. Without the need to iterate over Orders MODE_TRADES. Thanks!

Do we need to download the data before a backtest in Metatrader 5?

Hello, I'm doing some backtesting and while before the backtest is says "downloading history" (I suppose is doing just that, meaning downloading the minute data from Metaquotes and then recalculate for my timefrime). After the backtest is done, checking the graph with the trades I see big "chunks"...

Difference in readings between charts in mt4 to mt5

If I pull up mt4 usd/jpy 1m. chart I get a different reading f4om that same chart on mt5. Why? Isnt the market being read the same? Shouldnt it be the same readings on both platforms. I have one going bullish while the other one going bearish. How is that

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.

The power of ZigZag (part II). Examples of receiving, processing and displaying data

In the first part of the article, I have described a modified ZigZag indicator and a class for receiving data of that type of indicators. Here, I will show how to develop indicators based on these tools and write an EA for tests that features making deals according to signals formed by ZigZag indicator. As an addition, the article will introduce a new version of the EasyAndFast library for developing graphical user interfaces.

Studying candlestick analysis techniques (part I): Checking existing patterns

In this article, we will consider popular candlestick patterns and will try to find out if they are still relevant and effective in today's markets. Candlestick analysis appeared more than 20 years ago and has since become quite popular. Many traders consider Japanese candlesticks the most convenient and easily understandable asset price visualization form.

The power of ZigZag (part I). Developing the base class of the indicator

Many researchers do not pay enough attention to determining the price behavior. At the same time, complex methods are used, which very often are simply “black boxes”, such as machine learning or neural networks. The most important question arising in that case is what data to submit for training a particular model.

Practical application of correlations in trading

In this article, we will analyze the concept of correlation between variables, as well as methods for the calculation of correlation coefficients and their practical use in trading. Correlation is a statistical relationship between two or more random variables (or quantities which can be considered random with some acceptable degree of accuracy). Changes in one ore more variables lead to systematic changes of other related variables.

Applying Monte Carlo method in reinforcement learning

In the article, we will apply Reinforcement learning to develop self-learning Expert Advisors. In the previous article, we considered the Random Decision Forest algorithm and wrote a simple self-learning EA based on Reinforcement learning. The main advantages of such an approach (trading algorithm development simplicity and high "training" speed) were outlined. Reinforcement learning (RL) is easily incorporated into any trading EA and speeds up its optimization.

Practical Use of Kohonen Neural Networks in Algorithmic Trading. Part II. Optimizing and forecasting

Based on universal tools designed for working with Kohonen networks, we construct the system of analyzing and selecting the optimal EA parameters and consider forecasting time series. In Part I, we corrected and improved the publicly available neural network classes, having added necessary algorithms. Now, it is time to apply them to practice.

Martingale as the basis for a long-term trading strategy

In this article we will consider in detail the martingale system. We will review whether this system can be applied in trading and how to use it in order to minimize risks. The main disadvantage of this simple system is the probability of losing the entire deposit. This fact must be taken into account, if you decide to trade using the martingale technique.

Horizontal diagrams on MеtaTrader 5 charts

Horizontal diagrams are not a common occurrence on the terminal charts but they can still be of use in a number of tasks, for example when developing indicators displaying volume or price distribution for a certain period, when creating various market depth versions, etc. The article considers constructing and managing horizontal diagrams as arrays of graphical primitives.

Analyzing trading results using HTML reports

The MetaTrader 5 platform features functionality for saving trading reports, as well as Expert Advisor testing and optimization reports. Trading and testing reports can be saved in two formats: XLSX and HTML, while the optimization report can be saved in XML. In this article we consider the HTML testing report, the XML optimization report and the HTML trading history report.

Selection and navigation utility in MQL5 and MQL4: Adding auto search for patterns and displaying detected symbols

In this article, we continue expanding the features of the utility for collecting and navigating through symbols. This time, we will create new tabs displaying only the symbols that satisfy some of the necessary parameters and find out how to easily add custom tabs with the necessary sorting rules.

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.

An EA for Trend following.

APPLY ALL THE TIMES is Pending Entry ON Risk:Reward is more than or equal 1. APPLY ALL THE TIMES is EXIT Current Trade ONLY WHEN Open New Trade of Opposite Direction.  (Run the trend in the trending indicator, run the profit, cut the loss short)APPLY ALL THE TIMES is HOLD ONLY 1 TRADE per Pair...

Duplicate similar order each time it hits take profit

Currency: AnyLot size: min is 0.01Example:Buy eurusd 0.01 lot , 1.1300 take profit (0.0001) 1 pip is at 1.13001, once this order hits take profit, ea will create buy pending order at 1.300 at 0.01 lotSell eurusd 0.01 lot 1.1300 take profit (0.0001) 1 pip is at 1.12999 once this order hits take...

Robot for trading Breakouts from Squeezes

Hello there, I need a robot for trading breakouts from squeezes. The robot should be able to ride the trends after breakouts and shout close the trade as soon as the trend from the breakout thats going eating halfway into the profit made by riding the trend. Kind regards, Collins

Simple EA with MA and volume

Hi all. i need a simple EA for mt4 with MA and volume and martingale enbedded. SHould be a simple ea, so i hope that this can take like less than 2hrs.if you're unable to committ for the next 2 hours, pls do not applythe rest is just for filling up the wordings.  

Make an alert for an already made indercator

Hi, For this indicator: Can you make an alert for when an arrow is formed outside the channel? And also can swtich on off a MA filter, so alert when buy above 200ma, and sell below 200ma And also if another time frame, the price is higher. So ALERT: Buy Arrow Outwide Channel on 1H Price...

Want to convert mq4 ea to mq5 and make it work proper

I have mt4 ea source file i want to make it work on mt5 so i need anyone who convert and fix all bugs or errors that usualy faced when converting mt4 to mt5.

Makkah

حدد مواصفات المتطلبات الخاصة بك هنا نقطة تلو الأخرى. حاول وصف متطلباتك لفترة وجيزة وبشكل واضح ، حتى يتمكن المطور المحتمل من تقييم تعقيده وتكلفته بشكل صحيح ، وكذلك وقت التنفيذ المطلوب.سيؤدي الوصف السيئ أو العام جدًا إلى تجاهل طلبك ، أو ستقضي وقتًا طويلاً في التفاوض على التفاصيل مع كل مقدم طلب.تذكر:...

Ea study12

Specification   ENCreate mt4 EA using Any major currency pair     Any time frame can be used but only 1 trade per day.   Max a trade can stay open is 48  hours.    30 trades max per month.      Ea must be designed to loose money...

Modify EA

i need help, i have lost my MQL4 EA and i have only ex4 file it possible a way  someone Can u decompile  my Ea in MQL4 .for more informations please contact me my skype name chedly16 , many thanks

An Simple EA required for executing orders automatically.

i have a strategy based on two custom indicatorsi need ea to be designed in such a way that i should be able to sale and  rent it (means along with the controlling codes)and copywrite should be in my name i need a robot trading system for MT4  on jobwork basis. interested can...

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

The One MT5

Search no more. This is The One! The One is based on Patterns Recognition and statistical / probabilistic approach to their outcome. This is not just the EA but rather a complex research project with the ultimate goal to create a perfect trading robot. So, this is not a closed project and there will be updates / developments and improvements. Every trade has fixed Stop Loss and Take Profit. NO Martingale / Grid involved. The EA trades with Multiple Orders. This is the way the EA accumulates

Neural Hunter MT5

The multi-currency advisor Neural Hunter trades according to signals generated by an advanced system of indicators. The advisor also relies on a robust neural network that filters false signals. By default the Neural Hunter advisor has been trained to trade the following symbols: AUDUSD, EURUSD, GBPUSD, NZDUSD, USDCAD, USDCHF, and USDJPY. The Neural Hunter advisor is ready for the fully automated trading with these symbols. This is a link for general discussion of the advisor: https://www.mql5.

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

Grid King MT5

!! PROMO -> ONLY 3 COPIES LEFT AT 350$ !!  NEXT PRICE: 400$ Grid King is a revolution in grid trading.  The main focus when developing the EA was safety, by eliminating the margin-call risk which is usually associated with most grid systems on the market.  It also strives to achieve much higher returns than the average grid system, by spreading risk amongst multiple pairs and strategies which all have a limited effect on the account-equity.  Where almost all grid systems will blow your account

Max Mixed Hedging DC

Attention!!! Do not try to test an Expert Advisor in Tester, this is simply impossible and meaningless, since the principle is based on multi-currency trading, that is, the robot opens several positions at once on different instruments. The tester is able to test only one pair. Therefore, a separate real account is attached to the product, where you can constantly monitor all trading results: https://www.mql5.com/en/signals/491068, which is much more convincing and weightier than any tests, and

Bruces Price Predictor

This is an arrow indicator that shows precise price reversals. A great arsenal to add to any chart. Bruce's Price Predictor points price reversals with high degree of accuracy and it is great for scalping on the 1min time frame, Or swing trading on the 1hr time frame. Buy and sell arrows are shown on the chart as for entry signals. They do not repaint but confirmation entries with ALERTS are formed after the close of the candle or bar close. *Great For Scalping *Great For Swing Trading *For

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

AW Recovery System

Advisor is designed to reduce drawdown on the account. The author's algorithm locks the unprofitable position, splits it into many separate parts, and closes each of them separately. It is the use of closing losses by parts to reduce losses with a smaller deposit load, which ensures a safer operation with losses, in contrast to the grid strategies of closing orders only in whole groups. How is the restoration of orders The Expert Advisor closes the other windows of the selected tool in order

Price Action Diver Power

PRICEACTION DIVER POWER is a ready-made trading system which independently analyzesthe market and determines the key moments of price reversal and rollbackaccording to the rules of Divergence and Convergence. Theindicator gives clear signals about opening and closing trades, as well asshows the levels for placing Take Profit. All tradealerts duplicate in the form of PUSH-notifications. You can place a tradingplatform with indicator PRICE ACTION DIVER POWER on the VPS-server, receive trading si

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
615%
Subscribers
34
Weeks
46
Trades
281
Win
63%
Profit Factor
2.08
Max DD
13%
Growth
133%
Subscribers
69
Weeks
14
Trades
401
Win
64%
Profit Factor
1.44
Max DD
12%
Growth
1360%
Subscribers
8
Weeks
57
Trades
451
Win
74%
Profit Factor
6.53
Max DD
45%
Growth
27%
Subscribers
21
Weeks
7
Trades
186
Win
59%
Profit Factor
2.27
Max DD
3%
Growth
100%
Subscribers
5
Weeks
25
Trades
607
Win
100%
Profit Factor
n/a
Max DD
33%
Growth
4395%
Subscribers
19
Weeks
129
Trades
1140
Win
76%
Profit Factor
1.78
Max DD
32%
Growth
3970%
Subscribers
53
Weeks
41
Trades
222
Win
77%
Profit Factor
1.98
Max DD
38%
Growth
5651%
Subscribers
17
Weeks
30
Trades
250
Win
73%
Profit Factor
2.42
Max DD
25%
Growth
14036%
Subscribers
508
Weeks
166
Trades
373
Win
86%
Profit Factor
15.80
Max DD
19%
Growth
947%
Subscribers
18
Weeks
60
Trades
493
Win
71%
Profit Factor
3.19
Max DD
42%