TradingView
Duyck
16 Th04 2019 14:12

Average Pivot Range - JD 

Bitcoin / TetherUSBinance

Mô tả

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.

Phát hành các Ghi chú

- cooked up a method to calculate the APR more exactly by averaging only the non na values!
- added standard deviation bands to the average

Phát hành các Ghi chú

Code cleanup.

Phát hành các Ghi chú

update to v4.

Phát hành các Ghi chú

UPDATED WITH THE USE OF ARRAYS !!

Enjoy!

Gr, JD.
Bình luận
tttdiff
You have hit nail on the head!! THANK YOU!!! ...fyi- you dont have comments because this is truly advanced indicator for retail traders
Duyck
@tttdiff, Thx for the support, glad you like it!
Gr, JD.
raymondmario3507
Thanks man! Master at work
Marzipug
All of your indicators are genius! Thanks for sharing.
Duyck
@Marzipug, thx for the compliment!
rhanna
This is amazing work, thanks a lot :)
Duyck
@rhanna, my pleasure!
Thêm nữa