Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 2405
- Rating:
- Published:
- 2018.04.18 16:25
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This library is a further development of SignalMAAboveBelow.
What's new in version 2
- The Type of trade parameter allows to set the type of signal to be produced by the module:
- only BUY
- only SELL
- BUY and SELL
Example of opening positions when Reverse == false:
Fig. 1. SignalMAAboveBelow 2 - opening a BUY position
Fig. 2. SignalMAAboveBelow 2 - opening a SELL position
Parameters of the signals module
- Reverse - the flag of the reverse of signals;
- PeriodMA - the averaging period of the Moving Average indicator;
- Shift - the horizontal shift of the Moving Average indicator;
- Method - type of smoothing of the Moving Average indicator;
- Applied - the type of the price, based on which the Moving Average indicator is calculated;
- TypeOfTrade - type of trading signals: 0 → BUY, 1 → SELL, 2 → BUY and SELL.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20051

The indicator of divergences of High/Low indices.

An indicator of dynamic support/resistance levels.