Sinewave indicator

To add comments, please log in or register
Michalangelo
335
Michalangelo  

Hello,

I am looking for sine wave generator indicator where I can control period, amplitude and offset and it can display 3 sine waves.

I post a image so you can see what I mean. I cant find it anywhere. 

Image of how it looks like

Sergey Golubev
Moderator
106761
Sergey Golubev  

Sine Wave - indicator for MetaTrader 5

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. 

Sergey Golubev
Moderator
106761
Sergey Golubev  

and the article - Advanced Adaptive Indicators Theory and Implementation in MQL5 -

Phasor or Phase Vector is a vector that shows amplitude and phase of a cycle. According to Euler's formula a sinewave can be represented as a sum of two complex number components. Please observe rotating phasor depicting a sinewave cycle below.

Phasor

 

Leonhard Euler - Wikipedia
Leonhard Euler - Wikipedia
  • en.wikipedia.org
Euler was one of the most eminent mathematicians of the 18th century and is held to be one of the greatest in history. He is also widely considered to be the most prolific mathematician of all time. His collected works fill 60 to 80 quarto volumes,[5] more than anybody in the field. He spent most of his adult life in Saint Petersburg, Russia...
Sergey Golubev
Moderator
106761
Sergey Golubev  

If more so you can make a search by yourself for the Market for example, or go to Freelance to find the coder who can help. 

----------------


Michalangelo
335
Michalangelo  
Sergey Golubev:

If more so you can make a search by yourself for the Market for example, or go to Freelance to find the coder who can help. 

----------------


Dear Mr Golubev, thank you for your effort, I really appreciate it. I already read those articles and thats why I became more interested in sine waves. I have seen and tried all those indicators but as its shown in image it is not the sine wave generator which I was looking for. And just because I found an image of it, I know it exists and it can be coded. Maybe it is better to find somebody on freelance.
I hope you're doing excellent and wish you every best.
Sergey Golubev
Moderator
106761
Sergey Golubev  
I found old thread with indicator (for MT4) - it is on this page: https://www.mql5.com/en/forum/174980/page2 
All John Ehlers Indicators...
All John Ehlers Indicators...
  • 2006.09.03
  • www.mql5.com
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible...
kypa
1036
kypa  

You need a more complicated wave equation to describe (and actually predict) the market than just a sine wave. I'm trying to figure out alglib polynomial interpolation, it should provide some results in this direction.

I wrote something that multiplicates sine waves with fading amplitude and it did draw something like an Elliot wave, but it's (very) far from ready.

To add comments, please log in or register