Duyck

Average Pivot Range - JD

Duyck Wizard Actualizado   
The "Average Pivot Indicator" is an alternative to the "Average True Range"
and is based in "pivot points" calculated with a Jurik ma, (same as the "Zero-Lag"ZigZag")
the indicator calculates the range in the price swing between the two last pivot points.
A green/red candle shows the range that price has risen/fallen since the last swing low/high
As with the normal ATR, this can be used to set price targets, stoplosses, to gauge volatility,...

I added an option to insert a commission/fee percentage to make it easy to see if a timeframe is worth trading
or if you will likely get "eaten" by fees.
(note the fee should be entered per transaction!! The indicator will calculate it one time for entry and once for exit)

The indicator can be displayed in percentage (upper chart) or in absolute value/ticks (lower chart)
The normal ATR is added too, so you don't have to chose which one you add to your chart! ;-)

if you find other uses, please leave your ideas in the comments!

Shoutout to Everget for the awesome Jurik code!!

JD.

#NotTradingAdvice
#DYOR

I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
Notas de prensa:
- cooked up a method to calculate the APR more exactly by averaging only the non na values!
- added standard deviation bands to the average
Notas de prensa:
Code cleanup.
Notas de prensa:
update to v4.
Notas de prensa:
UPDATED WITH THE USE OF ARRAYS !!

Enjoy!

Gr, JD.

Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
JD.

You can contact me for info/access in PM or on Telegram: @jduyck
PLS, DON'T ASK FOR ACCESS IN THE COMMENT SECTION!
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?