Duyck

Average Pivot Range - JD

Duyck Wizard Aktualisiert   
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.
Versionshinweise:
- cooked up a method to calculate the APR more exactly by averaging only the non na values!
- added standard deviation bands to the average
Versionshinweise:
Code cleanup.
Versionshinweise:
update to v4.
Versionshinweise:
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!
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?