This article will teach you how to receive trade signals that are necessary for a trade system to work. The examples of forming 20 trade signals are given here as separate custom functions that can be used while developing Expert Advisors. For your convenience, all the functions used in the article are combined in a single mqh include file that can be easily connected to a future Expert Advisor.
Introduction
Traders try to find regularities in the price behavior, strive to form rules using which they will have a good chance to determine a favorable moment for buying or selling. To create a fully automatic system, you need to learn how to inform about the forthcoming of such moments – trade signals.
Signals inform traders about the potential points of entering a position, however not all of them are obligatory to execute. Additional criteria can filter out even most of the signals, but it’s not significant for us. The subject of the article is how to program the most popular trade signals in MQL5.
Trade Signals
- Intersection of Moving Averages
- Intersection of the Main and Signal Line of MACD
- Breakthrough of the Price Channel Range
- Breakthrough of the Range of the ADX Adaptive Channel
- Exit from the Overbuying/Overselling Zones of Stochastic
- Exit from the Overbuying/Overselling Zones of RSI
- Exit from the Overbuying/Overselling Zones of CCI
- Exit from the Overbuying/Overselling Zones of Williams %
- Bounce from the Borders of the Bollinger Channel
- Bounce from the Borders of the Standard Deviation Channel
- Bounce from the Borders of the Price Channel
- Bounce from the Borders of the Envelopes Channel
- Breakthrough of the Donchian Channel
- Breakthrough of the Silver-Channel
- Breakthrough of the Gallagher Channel
- Change of Trend by NRTR
- Change of Trend by Alligator
- Change of Trend by AMA
- Change of Color of the Awesome Oscillator
- Change of Trend by Ichimoku
- Transferring Indicators from MQL4 to MQL5
- MetaTrader 5 – Migrating from MQL4 to MQL5
- MetaTrader 5 – Trade Reports and SMS Notifications
- MetaTrader 5 – How to call indicators in MQL5
- The Prototype of Trade Robot
Tags: ADX Adaptive Channel

Comments