Duyck

Average Pivot Range - JD

Duyck Wizard Mis à jour   
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.
Notes de version:
- cooked up a method to calculate the APR more exactly by averaging only the non na values!
- added standard deviation bands to the average
Notes de version:
Code cleanup.
Notes de version:
update to v4.
Notes de version:
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 open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?