alexgrover

Morphed Sine Wave

Introduction

If you rescale a sine wave to the price you will need to correlate it with it in order to show good results, today i present a different method that does not involve correlation to "morph" a sine wave to the price in order to provide forecast's and highlight market periodic patterns.

Parameters

length control the period of the sine wave , power control the "morphing" amount, if you see for example that the results are going nuts try to increase power, if the results are just the price and the delayed price try to decrease power.


power = 1


power = 100

Those settings might be different depending on which market you are in.

Various Uses

You can do a lot of things with this indicator, use filters as source :


Use the indicator as source for oscillators in order to create cycles indicators :



And certainly many more things

Conclusion

I presented a way to morph a sine wave to the price i order to highlight cycles. You can use any function that return a value between -1 and 1 instead of sin, this can be a scaled rsi / stochastic or correlation coefficient , its up to you :)

If you need help don't hesitate to commend or pm me. I hope you will like the indicator and that it will inspire you to make great things.

Thanks for reading !
Notes de version: Support for floats in the power parameter, use floats for BTCUSD
Notes de version: Fixing some errors
Script open-source

Dans le plus pur esprit de TradingView, l'auteur de ce texte l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur ! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par les règles internes. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?
Patreon: https://www.patreon.com/alexgrover

Become a Patreon and get access to exclusive technical indicators!

You can also check out some of the indicators I made for luxalgo : https://www.tradingview.com/u/LuxAlgo/#published-scripts

Commentaires

Cool! Alex I saw you use this indicator on very low timeframe; is that possible to use in higher timeframe and how the result will be?
+2 Répondre
@ICEKI, You can use the indicator in higher time frames without problem but take into account that if the price of the instrument is high, power need to be low, so adjust power accordingly :) I will certainly find a way to remove power to make the indicator easier to use. Thanks for the support !
Répondre
ICEKI alexgrover
@alexgrover, You're very genius salute you =D
+1 Répondre
@ICEKI, any luck on better setting on higher timeframes preferably daily?
Répondre
ICEKI Callum1999
@Callum1999, Thanks for asking. To be honest Callum; don't just rely on this; otherwise result is terrible. I personally use this as a supportive on Daily. For example if MACD. STOCH, EMA and Price Action in one direction bulish and the Sine Wave also tend to bullish I long the trade, hope my experiences can give you some tips; happy trading =D
Répondre
Callum1999 alexgrover
@alexgrover, Great indictar btw
+1 Répondre
second version from same script with bg trend colors added, all those are possible cause of people like u, may the Light be with u, thank you kind @alexgrover
Répondre
alexgrover scamArtist
@scamArtist, From now on any one of my script who is reposted with changes such as : color/plot changes or alerts will be considered a copy pasta, i don't recommend you doing that.
+1 Répondre
scamArtist alexgrover
wow @alexgrover, so much ego for nothing,do u think that those scripts are really "yours" as u pretend?! your sources u took your knowledge from belongs to the collective memory not to u, to share those ideas like u do is a great thing but those are not "yours", u can only own your choices not others free will, plus everyone has to start to learn from some point, not all are pro as u are, dont get me wrong u are great but this reply was such a dickhead statement no offence, thank you anyway, it seems that life it never stops surprising me :)
Répondre