HB5

Spread Chart

HB5 Cập nhật   
This study does a division ("/") between the ticker to benchmark symbol works for all the time frames.

Often referred to as spread charts or ratio charts this is often used to measure the strength and performance of a script v/s a benchmark index. In this study, the comparison is plotted from a fixed reference session. On the current bar, the percentage change of the current ratio to the reference ratio is displayed as a label down icon, rounded to nearest 2 digit float value.

There are options to plot either a candle plot or line plot. Line chart can be plot as 2 different color before reference date and after reference date. The reference date can also be changed from the input dialog.

In the example above, 03-Jul-2020 is chosen as the reference date. At the latest bar, the "47.73%" displays the percentage difference between ratio on 03-July-2020 and current date, 27-Nov-2020. This means Deepak Nitrate performed 47.73% better than the benchmark NIFTY50 since 03-Jul-2020.

Basically, It gives an study that shows the strength or weakness of a ticker in comparison to benchmark symbol.

Phát hành các Ghi chú:
Change Input date value to 3rd July 2020 by default & minor color improvements.
Phát hành các Ghi chú:
Change label position to the right for better visualization
Phát hành các Ghi chú:
Changed ARS Date Value to 24th Sept 2020 by Default.
Phát hành các Ghi chú:
Added Simple Moving Average for a better decision of underperformance and outperformance.
Phát hành các Ghi chú:
- Added 2 EMA selection by default of 21 & 55.
- Color Enhancement
Phát hành các Ghi chú:
Updated by Default date to 24th Sept 2020
Phát hành các Ghi chú:
Default Date changed to 22/12/2020
Phát hành các Ghi chú:
Changed the input date format & added Lable Show/Hide checkbox.
Phát hành các Ghi chú:
Minor bug fixes...
Phát hành các Ghi chú:
Pine v5
Phát hành các Ghi chú:
Date Updated
Phát hành các Ghi chú:
Updated Moving Average Selection
Phát hành các Ghi chú:
Bug Fixes

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
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 đồ?