Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Sine Wave - indicator for MetaTrader 5

Published by:
Nikolay Kositsin
Views:
21021
Rating:
(27)
Published:
2011.11.25 12:27
Updated:
2018.05.31 12:06
\MQL5\Indicators\
CyclePeriod.mq5 (18.96 KB) view
Sinewave.mq5 (22.34 KB) view
Sinewave2.mq5 (22.75 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author: Witold Wozniak

Sine Wave indicator was developed in 1996 by the American analyst John Ehlers, who called it a "trend oscillator". It is based on the idea of the economical processes periodicity: the indicator detects this periodicity violations. 

The indicator acts in a completely opposite way comparing to the adaptive moving averages during a trend market: in case of a definite trend, both indicator lines (Lead Sine and Sine Wave) move parallel to each other and show the trend direction by their location relative to each other; in case of a flat, the Sine Wave indicator quickly reacts on the market swing movements. That is one of a few indicators that can be used both during a trend market and a flat and it shows accurate results in either case.

The simplest way to automatize trading using the Sine Wave indicator is to create the automated trading system that can generate buy and sell signals in case of two lines crossing. Therefore, positions will be closed when these lines cross with different periods in the opposite direction.

Two versions of this indicator are available. Original code version - Sinewave.mq5. Sinewave2.mq5 indicator provides a small filtration of chaotic oscillations of the Lead Sine line. 

Place the CyclePeriod indicator compiled file to the terminal_data_folder\MQL5\Indicators\. 

SineWave and SineWave2 indicators

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/577

TwoPoleButterworthFilter TwoPoleButterworthFilter

Two pole Butterworth filter is used for smoothing in this moving average calculation algorithm.

ZigZag NK Channel ZigZag NK Channel

The indicator draws the channel using ZigZag extreme points.

Three Pole Butterworth Filter Three Pole Butterworth Filter

Three pole Butterworth filter is used for smoothing in this moving average calculation algorithm.

Magnified Market Price Magnified Market Price

The indicator shows the current price in one of the chart corners.