Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2011.11.25 12:27
Indicators

Sine Wave - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Published by:
Nikolay Kositsin
Views:
7124
Rating:
votes: 12

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 Software Corp.
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.