Koalems

Fusion: Pivot Angles and Thresholds

Koalems Uppdaterad   
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!
Versionsinformation:
No functional change, just code improvements.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?