OPEN-SOURCE SCRIPT

Fusion: Pivot Angles and Thresholds

Atualizado
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!
Notas de Lançamento
No functional change, just code improvements.
exitsignalMoving AveragespivotTrend AnalysisVolatility

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal