TradingView
Koalems
3 lut 2022 01:59

Fusion: Pivot Angles and Thresholds 

Bitcoin / U.S. dollarBitstamp

Opis

This is a somewhat unusual indicator working purely on geometry.

You set a threshold for an angle of a pivot and if the angle is LESS THAN (because the sharper the pivot the smaller the angle) your threshold then a signal is given.

I use this as an exit indicator and it works well for me when other methods don't give a clear signal. Seeing where it shows up it might also make a good entry indicator but I'll leave it up to others to play with that and see if it's a good entry indicator for them. If you find it is good for entries or other things please drop me a note or make a comment, I would appreciate knowing.

If you set the length to 1 for the moving average then it will just use the source and not perform a moving average operation.

There's half a dozen or so moving average types to select from so you will probably find one that suits you pretty well.

The settings are certainly not optimized so set to whatever suits your needs as my defaults will probably be wrong for you.

The code is structured to easily drop into a bigger system so use it as a lone indicator or add the code to some bigger project you are creating. If you do integrate it into something else then send me a note as it would be nice to know it's being well used.

Finally, if you find value please do make a comment, give a thumbs up etc.

Enjoy and good luck!

Informacje o Wersji

No functional change, just code improvements.
Komentarze
saidghia7711
gran trabajo, gracias por tu valioso tiempo para generar valor
lemuelmaye
Thank you!!! This works really well with my hma strategy :)
Koalems
@lemuelmaye, You are very welcome and I'm glad it's of value to you.
Koalems
I've been playing with this and so far found that in tight markets with mostly small movements, say BTC late last month to now (Jan 2022+), it adds to finding a good exit times however when things are moving more, say BTC in Nov/Dec 2021 it wasn't of much value so perhaps it's best use is ranging or close to ranging markets.
ulomadgreat
@Koalems, I don't think so. What I see is, it's better used to add to position or open a position in the direction of the main trend. You will notice that all its sell signals from 69k to 17k were superb while all its buy signal from 17k till date are also superb. I put on the weekly chart with the default settings. By the way, have you noticed if it does repaint?
xmd1979
nice script, thank you )
Koalems
@xmd1979, Thank you for saying so.
Więcej