Duyck

Average Pivot Range - JD

Duyck Wizard Cập nhậ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.

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!
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?