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.

MQL4- Can we plot the Indicators using an EA?

Hello Gurus Can we plot the indicator using an EA, for example if I have an EA trading 5-MA 15 MA cross, can I plot those indicator lines in EA- I badly need this way for some testing purposes Please share some example or a tutorial, I tried for days but couldnt do it in MT4; Thanks Regards Arun

MT4 Terminal Market window not working

Hello! ‌‌Recently my MetaTrader 4 Market tab inside the Terminal window stopped working properly. Every Market tab (Main, Favorites, Purchased) shows a blank white screen. The same thing goes for all of my platforms running MetaTrader 4 version 4.00 build 1045 (3 Feb 2017). I have tried restarting...

piramyding?

I can't activate the pyramid, do you have any ideas? I would like the first lot to be 0.01 the second 0.02 the third 0.03 etc ... thanks * Calculates lot size according to risk and the weight of this trade* @return   double*/double GetLotSize(int Type){   // Lots   double l_lotz = LotSize;      //...

Indicators: Vervort's crossover - histogram version

Vervort's crossover - histogram version: Vervort's crossover - histogram version Author: Mladen Rakic

Array out of Range. PLEASE HELP

Please I am working on MQL5 and I see Array out of range. I have tried +1 but it still does not work. What else can I change to make it work? THANK YOU for(int i = limit-1; i >= 0; i--)     {      if (i >= MathMin(5000-1, rates_total-1-50)) continue; //omit some old rates to prevent "Array out of...

Indicators: Vervoort's crossover - extended

Vervoort's crossover - extended: Vervoort's crossover - extended Author: Mladen Rakic

Averaging function

Have written averaging function to my new expert but for some reason does not make sense at Strategy Tester. I hope someone could help with this.

Wrong computation

int maximumLossPerTrade;int accountBalanceinEuro;double maximumLossPercentage;maximumLossPerTrade = (int)(accountBalanceinEuro / 100 * NormalizeDouble(maximumLossPercentage, 1)); When; accountBalanceinEuro = 14232 maximumLossPercentage = 1.8 I get 255 for maximumLossPerTrade. But, in excel, it is...

Change Timeframe limits

Hi everybody, I searched for it and couldn't find a satisfying answer. Does anyone know if it is possible to change the default limits of a timeframe? For example for H4 instead of having: 0-4, 4-8, 8-12, etc. -> 2-6, 6-10, 10-14, etc. Thank you for your help!

Signal Systems

I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS

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.

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

MTF indicators as the technical analysis tool

Most of traders agree that the current market state analysis starts with the evaluation of higher chart timeframes. The analysis is performed downwards to lower timeframes until the one, at which deals are performed. This analysis method seems to be a mandatory part of professional approach for successful trading. In this article, we will discuss multi-timeframe indicators and their creation ways, as well as we will provide MQL5 code examples. In addition to the general evaluation of advantages and disadvantages, we will propose a new indicator approach using the MTF mode.

Library for easy and quick development of MetaTrader programs (part III). Collection of market orders and positions, search and sorting

In the first part, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms. Further on, we implemented the collection of history orders and deals. Our next step is creating a class for a convenient selection and sorting of orders, deals and positions in collection lists. We are going to implement the base library object called Engine and add collection of market orders and positions to the library.

Extracting structured data from HTML pages using CSS selectors

The article provides a description of a universal method for analyzing and converting data from HTML documents based on CSS selectors. Trading reports, tester reports, your favorite economic calendars, public signals, account monitoring and additional online quote sources will become available straight from MQL.

Library for easy and quick development of MetaTrader programs (part II). Collection of historical orders and deals

In the first part, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms. We created the COrder abstract object which is a base object for storing data on history orders and deals, as well as on market orders and positions. Now we will develop all the necessary objects for storing account history data in collections.

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.

Alert for criteria met using multiple indicators.

Hi, Please see the below pictures. It is a combination of the attached indicators. With the CAP Channel, the normal arrow colour have been changed to black to hide them, and the channels changed to white. And the QMP filter showing either red or green dots. I would like an alert made where...

Stop buy/stop sell order based on price/stop loss/take profit/auto size plus/trailing stop

I would like to set a stop buy order, stop loss, take profit, auto size plus and trailing stop. The EA has to open a stop buy order, set the stop loss and take profit, and set trailing stops. If the order is closed via stop loss, a new order has to placed on my stop buy order value, set sl and tp...

Ea autoscale position

This Ea need to autoscale position of a pair that have the more loss. The ea need to start when equity arrive at input paramter (-1000€ for example) and now if we go above this input we start to cut loss position. Cut position need to be an input in money for example cut 100€ of loss. I remember...

Order Genersting Robot

I would like to have a Robot which will generate orders.1 I will choose Buy or sell 2 . How many pips should be between orders.3 How many positions can be opened . 4 all position liquidation. When I start for example Buy , robot should open first position if market go up after my selected...

To modify Indicator

will provide a multi time frame Indicator - uses ma / hma  The sigals backdraw and also flicker/ vanish need the signals to be made fixed .on current bar and not shift if you want will show on team v at my side 

An expert with double rsi

i want to make an ea that trade with rsi. when a bigger period rsi enters over bought. trade with the smaller rsi period. stop loss is the high of the rsi, take profit is multiply by stoploss, add lot size.

New ea

new ea in one indicator stochastic trades two time frames chart time frame and other frame with settings and candle filter trades buys candle up trades sell when candle down   can you test it in lower time frame 5 minutes and 1 minutes open tow charts 5 minutes and 1 minutes add ea to 5...

Writting Expert Advisor to create a Hedge Safety Zone

I am looking to create an EA that will do the same exact job as the EA in the following link https://www.mql5.com/en/market/product/20160#!tab=tab_p_overview I want the same exact functionality Thank you 

Modification of EA (replaced the new indicator)

I would like to to change the indicator in the existing EA. I have attached the new indicator for replacement in the EA.  i also attached the EA that needed for modification. for the trailing stop first trailing need to move to BE.

Create MultiCurrency Strenghth Indicator .

I need a very good MultiCurrency Strenghth Indicator . Like the one used on this EA : https://www.mql5.com/en/market/product/30874 I have the EA mentioned above I wanted more licenses but as the owner dont sell it anymore, I can with an idea. I need a very good MultiCurrency Strenghth...

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

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

Majors Advantage

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

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.1 https://www.mql5.com/en/blogs/post/725759 3)   Backtesing for Asmani https://www.mql5.com/en/blogs

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

Twin Hedge DC

Attention!!! Do not try to test an Expert Advisor in Tester, this is simply impossible and meaningless, since the principle is based on pair trading, that is, the robot opens two positions at once for 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/491066, which is much more convincing and weightier than any tests, and demo results

AlgoTradeSoft Innovative EA

The strategy is based on the breakdown of the most important support and resistance levels. The EA uses the adaptive trade management algorithm. It was backtested and optimized using real ticks with 99,9% quality. The Expert Advisor has successfully passed the stress test with slippage and commission approximate to the real market conditions. The EA contains the algorithm of statistics collection and slippage control with complete statistics output on the information panel, so you can control

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

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
698%
Subscribers
40
Weeks
54
Trades
319
Win
65%
Profit Factor
2.17
Max DD
13%
Growth
875%
Subscribers
7
Weeks
55
Trades
331
Win
64%
Profit Factor
2.53
Max DD
29%
Growth
145%
Subscribers
8
Weeks
14
Trades
287
Win
78%
Profit Factor
4.22
Max DD
25%
Growth
107%
Subscribers
4
Weeks
50
Trades
485
Win
82%
Profit Factor
2.47
Max DD
17%
Growth
388%
Subscribers
4
Weeks
19
Trades
2498
Win
54%
Profit Factor
2.92
Max DD
29%
Growth
16259%
Subscribers
23
Weeks
48
Trades
299
Win
87%
Profit Factor
4.39
Max DD
33%
Growth
5440%
Subscribers
82
Weeks
49
Trades
298
Win
77%
Profit Factor
2.22
Max DD
38%
Growth
3671%
Subscribers
28
Weeks
138
Trades
1167
Win
75%
Profit Factor
1.62
Max DD
32%
Growth
6920%
Subscribers
26
Weeks
68
Trades
1240
Win
91%
Profit Factor
3.49
Max DD
49%
Growth
1851%
Subscribers
32
Weeks
32
Trades
321
Win
57%
Profit Factor
1.58
Max DD
25%