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.

Using multiple time periods...

Is there a way to get your EA to reference candles constructed from different time periods? For instance, if I wanted it to consider the high of the H1 candle and the close of the previous H4 candle? At the moment I only know how to get it to use the one time frame and count back, but that becomes a

Discussion of article "Multicurrency monitoring of trading signals (Part 1): Developing the application structure"

New article Multicurrency monitoring of trading signals (Part 1): Developing the application structure has been published: In this article, we will discuss the idea of creating a multicurrency monitor of trading signals and will develop a future application structure along with its prototype, as

How to store last ADX cross signal in a variable in EA in MT4

Hi I am using ADX cross EA. At the moment it buys and sells only when +DI and -DI crosses. Could someone please help as below If No trades exist then place trade based on LAST +Di and -DI cross. I have tried to store the last cross signal value in "static double" under void OnTick(void), BUT ITS

Indicator Values messed up

I did this small variation of the MACD indicator, where I only changed the moving average from Simple to Exponential, then added two buffers to make the indicator line change colors. However, my indicator is bugged. After running for some time the values start getting messed up, and I get multiple

Signal Delay - only noticeable for entries, exits are received without delay

Hi, I decided to subscribe to a signal service on MQL5.com yesterday. I have received 3 trades so far today, all of the entry signals have been very late in arriving, 2 have been in excess of 8 minutes late, the other was 2 minutes late. All 3 exit signals were received within a few seconds of the

Finding History Data in MT5

I am trying to migrate to MT5 and really struggling with HISTORY. I tried to adopt some code - then gave up and been trying by trial and error. I have read some of the articles but just somehow don't get it. MT4 seemed so simple. If I download the HISTORY CSV I get large report which contains

How To Test EA/Indicator Based On Time

Hi, I've written some MQL4 Code which displays the previous session's (using NY, London and Asian) highs and lows. When one session ends and the next begins, the highs and lows are changed as well as some of the other related features (such as a window displaying the distance in pips to the previous

MT4 Is this possible to add default comment for every order? default

Is there any way to add a default comment for every trade, i have a EA but the comments are adding the name of the EA? I would like to have the settings automatically hide that for every future trade the bot places

Open prices only tester is skipping period

I am trying to test ea on open prices only from 2015.1.1 to 2020.4.7 but MT4 is skipping years and tests only 2015.1.1 to 2017.8.7 chart H1 H4 when I use M1 open prices only then it works fine how to fix this? Every tick test works fine for any period GBPUSD60 - 7 MB GBPUSD1 - 380 MB with or without

How to reset an Indicator 'iCustom' in an EA

This is what I'm doing int OnInit() { COG_handle=iCustom(NULL,0,indicatorName,bars_back,mm,ii,kstd,kstdinternal,sName); ...} Now every time I change somethign while the EA runs (Time frames etc..) it loads a new handler. how can I stop the indicator from running and reloadit in order to have

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 XXXI): Pending trading requests - opening positions under certain conditions

Starting with this article, we are going to develop a functionality allowing users to trade using pending requests under certain conditions, for example, when reaching a certain time limit, exceeding a specified profit or closing a position by stop loss.

Multicurrency monitoring of trading signals (Part 1): Developing the application structure

In this article, we will discuss the idea of creating a multicurrency monitor of trading signals and will develop a future application structure along with its prototype, as well as create its framework for further operation. The article presents a step-by-step creation of a flexible multicurrency application which will enable the generation of trading signals and which will assist traders in finding the desired signals.

Econometric approach to finding market patterns: Autocorrelation, Heat Maps and Scatter Plots

The article presents an extended study of seasonal characteristics: autocorrelation heat maps and scatter plots. The purpose of the article is to show that "market memory" is of seasonal nature, which is expressed through maximized correlation of increments of arbitrary order.

Continuous Walk-Forward Optimization (Part 3): Adapting a Robot to Auto Optimizer

The third part serves as a bridge between the previous two parts: it describes the mechanism of interaction with the DLL considered in the first article and the objects for report downloading, which were described in the second article. We will analyze the process of wrapper creation for a class which is imported from DLL and which forms an XML file with the trading history. We will also consider a method for interacting with this wrapper.

Library for easy and quick development of MetaTrader programs (part XXX): Pending trading requests - managing request objects

In the previous article, we have created the classes of pending request objects corresponding to the general concept of library objects. This time, we are going to deal with the class allowing the management of pending request objects.

Library for easy and quick development of MetaTrader programs (part XXIX): Pending trading requests - request object classes

In the previous articles, we checked the concept of pending trading requests. A pending request is, in fact, a common trading order executed by a certain condition. In this article, we are going to create full-fledged classes of pending request objects — a base request object and its descendants.

Neural Networks Made Easy

Artificial intelligence is often associated with something fantastically complex and incomprehensible. At the same time, artificial intelligence is increasingly mentioned in everyday life. News about achievements related to the use of neural networks often appear in different media. The purpose of this article is to show that anyone can easily create a neural network and use the AI achievements in trading.

Library for easy and quick development of MetaTrader programs (part XXVIII): Closure, removal and modification of pending trading requests

This is the third article about the concept of pending requests. We are going to complete the tests of pending trading requests by creating the methods for closing positions, removing pending orders and modifying position and pending order parameters.

SQLite: Native handling of SQL databases in MQL5

The development of trading strategies is associated with handling large amounts of data. Now, you are able to work with databases using SQL queries based on SQLite directly in MQL5. An important feature of this engine is that the entire database is placed in a single file located on a user's PC.

Continuous Walk-Forward Optimization (Part 2): Mechanism for creating an optimization report for any robot

The first article within the Walk-Through Optimization series described the creation of a DLL to be used in our auto optimizer. This continuation is entirely devoted to the MQL5 language.

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.

Create an EA to trade Boom and Crash with a spike detector

Signal to be used: Accelerator Oscillator On M1 - Crash The bot should open enter and open trade for 35seconds at the first GREEN candle ABOVE the 0level On M1 - Boom  The bot should open and hold trade for 35seconds at the first red candle BELOW the 0level General Features: The bot should be

I need EA with my attached indicator

I need MT4 EA I have an indicator in EX4, which gives arrows red to open sell order and green arrow to open buy orders. But it is and indicator. I want it to be automatic through EA. I want Ea which only follows this indicator arrow and places order after one or two candles.Important and it should

Local trade copier EA

I need a local trade copier that has all functions of copier including reverse.It should have a function to enter custom Magic number & Custom comment. Copy Master Take Profit = True/FalseCopy Master Stoploss= True/False If false then it is =0 Virtual Stoploss= 50( even if there is a SL provided

EA FOR EMA & SMA CROSSOVER NEEDED

Hi, required for EA for EMA & SMA crossover as follows: 1. Base on MQL5 M15 & H1 EMA & SMA crossover setup, 2. Identifying Swing High/ Swing Low bar, 3. Identifying of pullback bars; bullish/ bearish pin bars as Trigger bar, 4. Place orders according to position size, entry price, take

Martingale Expert Advisor

I will pay 120$ for this, so I request the developer to re- explain the logic in short to me, so we can make sure it's what, to proceed with placing the order. Logic is below- Open Buy and Sell input double StartLots = 0.1; Maritnagle on both sides. input double pipStepWin = 25; input double

Convert Indicator to EA

I have an indicator which i need to convert it to EA. i need it to open buy or sell with arrow and close with the opposite signal. also, need in the input: lot size, stop loss, take profit,trailing stop. i need it to work with normal candle stick and renko. i need the expert work on specific input

Kelly Criterion Maths Formula

Hello, I'm looking for someone who is familiar with the Kelly Criterion specifically for forex and CFDs.  I need help in taking the basic Kelly formula which I have in google sheets and adding some steps to give me the lot size to be used per trade.  I know what percentage to use and the

Looking for a trading system based on moving averages that works on H1, H4, Daily

I want a reliable trading bot that can use the usual price action and moving average, and also comes with trailing stop, and also handle an account with minimum of $100 and push it to about $400 in 2 weeks 

EXPERT GRID / HEDGE

I have an indicator, change of color when market go up or down.  When trend is good the indicator work good, when market is slowly there are bad signals. I would like with this indicator create an ea who integrate a hedge or grid system.  I need a developper who has ideas, who has already

Need MT4 to Spectre.ai Bridge

The MT4 to Spectre.ai Bridge allows  to automate  MQL code in MT4 or MT5 in order to execute trades on Spectre.ai platform Instantantly .Automate  Expert Advisors to place trades on Spectre.ai immediately once they hit arrow alerts .Mirror trades taken by

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!

Kiss on billions on EURUSD

The provided robot is a result of several years of trading and research on thousands of strategies, various indicators of forecasting, aimed at creating the science of online trading engineering. By combining several strategies and algorithms in this robot, at changing each tick price, with the utmost precision and speed,  whatever a trader needs, the robot gives it a fraction of a second. The important advantage of this EA is that you can start to trade with $ 300 Minimum initial Deposit. And

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

Multi Strategist

News 29 March , 2020 New signal. More EURUSD strategies developed with the Strategy Scanning feature. Video tutorial on how to use the scanner available soon. News March 26, 2020 A 50 USD Donation for every purchase between today and the end of 31st of March 2020 will go to the COVID-19 Solidarity Response Fund and to the globally acting Kindernothilfe(25 USD each). Rent option excluded. Proof of donation will be provided.  News March  7, 2020 Video Guides  (more guides in development).  News

Sparta

Easy start: Everything is already set up. The minimum Deposit is $ 100. Quick result. Convenient interface. On the stock exchange, you can often hear that averaging, martingale, and other types of progressive money management do not work. The reality is that more than 90% of successful, highly profitable and long-standing signals use this method of money management. The situation is similar with top PAMM accounts.   Sparta is a fully a

Open lock

The Expert Advisor helps reduce the account drawdown. To do this, the losing deal is split into multiple small parts, each of these parts is closed separately. The EA can interact with other experts. For example, when a certain drawdown is reached, Open Lock can disable the other expert and start working with its orders. Open lock for MetaTrader 5 is available here Methods used by the EA Locking to prevent a drawdown increase Averaging orders used to cover the loss Partial clo

TripleH

My another Best Product recommended with Live Result : ⭐⭐⭐⭐⭐ 🔥🔥🔥   FiveElemenets Over 300% with 18% DD Over 10000EUR Profit now       💰💰💰   StoneBreaker Lite over 100% with 6000 Trades now  ⭐⭐⭐⭐⭐    Signals Monitor :  ---> DoubleH Mode      TripleH Mode <---          ⭐⭐⭐⭐⭐ Before you buy all of my product please be aware of the risks involved:1) Please do not over believe in backtesting result . No one can 100% predict the future . 2) I do not use any .set file ,

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 fea

Idea Pro gold

⭐⭐⭐⭐⭐ I am glad to welcome you on the page of my product - I am its author Vasily Strukov.⭐⭐⭐⭐⭐ The EA is simple and convenient to use - just attach it with the default settings on eurusd gbpusd nzdusd audusd m5. For best results, it is recommended to cancel the direction of trade on the EA panel on the chart - "trade buy" (green color on the panel will mean that the EA is allowed to buy, red that is prohibited) or "trade sell" (similarly). For choosing the direction of th

PipFinite Breakout EDGE

The Missing Edge You Need To Catch Breakouts Like A Pro. Follow a step-by-step system that detects the most powerful breakouts! Discover market patterns that generate massive rewards based on a proven and tested strategy. Unlock Your Serious Edge Get it here ► www.mql5.com/en/blogs/post/723208 Have access to the game changing indicator that will take your trading to the next level! How To Trade Execute your trades in 3 Easy Steps! Step 1: Trade Setup Enter a signal if Success Rate is a

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
1 064%
Subscribers
29
Weeks
32
Trades
165
Win
86%
Profit Factor
5.55
Max DD
45%
Growth
1 434%
Subscribers
22
Weeks
44
Trades
206
Win
88%
Profit Factor
15.25
Max DD
50%
Growth
702%
Subscribers
66
Weeks
88
Trades
320
Win
90%
Profit Factor
10.24
Max DD
37%
Growth
201%
Subscribers
6
Weeks
39
Trades
754
Win
69%
Profit Factor
1.28
Max DD
34%
Growth
139%
Subscribers
4
Weeks
65
Trades
963
Win
78%
Profit Factor
1.63
Max DD
20%
Growth
3 573%
Subscribers
125
Weeks
243
Trades
1835
Win
77%
Profit Factor
4.35
Max DD
48%
Growth
801%
Subscribers
17
Weeks
123
Trades
1557
Win
69%
Profit Factor
2.06
Max DD
42%
Growth
656%
Subscribers
8
Weeks
127
Trades
1386
Win
75%
Profit Factor
1.52
Max DD
31%
Growth
262%
Subscribers
25
Weeks
207
Trades
1212
Win
79%
Profit Factor
4.14
Max DD
18%
Growth
311%
Subscribers
25
Weeks
44
Trades
185
Win
66%
Profit Factor
2.91
Max DD
10%