Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 5864
- Rating:
- Published:
- 2018.03.01 11:22
- Updated:
- 2018.06.27 12:36
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The author of the idea: Evgeniy Trofimov, the mq5 code author: barabashkakvn.
Works on a new bar. The nearest vertex of the ZigZag indicator is found:
- Vertex at the bar High means a signal to open BUY and to close all existing SELL positions.
- Vertex at the bar Low means a signal to open SELL and to close all existing BUY positions.
The Signal reverse parameter allows reversing signals.
Input Parameters
- Depth - ZigZag indicator parameter;
- Deviation - ZigZag indicator parameter;
- Backstep - ZigZag indicator parameter;
- Volume position - the volume of a position to open;
- Signal reverse - the flag is responsible for reversing positions;
- magic number - Expert Advisor identifier.
Testing in the "Every Tick" tick generation mode.
EURUSD,M30 (Signal reverse == false):
EURUSD,M30 (Signal reverse == true):
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19759
![CCI Color Levels](https://c.mql5.com/i/code/indicator.png)
Modified iCCI (Commodity Channel Index, CCI) - color highlighting of zones above the UP level and below the DOWN level.
![EasyAndFastGUI library for creating graphical interfaces](https://c.mql5.com/i/code/library.png)
The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs.
![SAR index based on MA](https://c.mql5.com/i/code/indicator.png)
The SAR indicator calculated based on the iMA (Moving Average, MA) indicator values.
![LacusTstopandBE](https://c.mql5.com/i/code/expert.png)
An assistant EA for manual trading. Sets Stop loss, Take profit, moves positions to breakeven and applies trailing.