twingall

Pivot Points & Midlines with color selector

twingall Cập nhật   
Adapted from Pinescript Manual's "Pivot Points Standard". Added extra levels and midlines as well as user inputs for color and a "show labels" on/off switch.
So this will show the Pivot level, the resulting levels R1,R2,R3,S1,S2,S3 and the midpoint lines between these.
User can choose the Higher timeframe period from which to calculate these pivot levels, as per the original script.
I like to add two of these to a chart, one for daily and one for weekly pivot levels.
If you don't need any particular level, just comment out the appropriate lines (one from each of the second last and third last blocks in the script).
Phát hành các Ghi chú:
~added Previous day's high and Previous day's low
~limited the number of historical levels as much as possible (you can tweak these by editing up the numbers in line 8; unfortunately, if you try to make them lower than 26, it throws an error)
Phát hành các Ghi chú:
~allow to show Previous day's highs & lows ONLY
~allow to show Pivot& midlines lines ONLY
(default is show all)
Phát hành các Ghi chú:
-show/hide previous day levels; added user option toggle on/off. Default is not show.
Phát hành các Ghi chú:
-Added option to print price labels
-Cleaned up code
Phát hành các Ghi chú:
-added label position choice (left or right).
-added offset bars for current day's labels (offset +(right) or -(left) of last bar index. Only applies when label position is set to 'right'.

You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3
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 đồ?