mobester16

MultiSymbol Multitimeframe Supertrend Table

mobester16 Cập nhật   
This is an initial release for four symbols and four timeframes.
Symbols and timeframes are customizable.
There is a gradient heatmap for the daily percentage change as well as another heatmap for each of the timeframe trends.
The two different forms of heatmap have separate settings so can have different colors and scaling if desired.

The trend used is Trading View's built in Supertrend and the gradient for the trend changes based on how far above or below that timeframe's trend the latest price currently is

It is recommended to place this in a separate pane and use it in the top left so it occupies the whole pane.

You can adjust the cell width and height to fit to your own chart window
Phát hành các Ghi chú:
Substantially revised the code
Choose from 3 to 8 symbols
(Note that because the relative.security function cannot be called from within an if statement I am currently unable to increase the symbol count higher than 8 due to the way the script uses that function)
Choose either 3 or 4 timeframes
Value details now on two lines instead of three so cell height can be reduced allowing more compact vertical footprint and eg allowing multiple copies of this table in a smaller space
That way you can look across more symbols in the same chart window
Added the option of user created custom names for each symbol - particularly useful if one or more of your symbols is based on a long formula that cannot be contained within a cell width
Introduced new coloring functionality for where the daily change or trend change crosses through zero. Users can now set the parameter for which the change will be considered neutral. This allows a wider band at which the neutral or crossover color will appear and can be used as a visual indicator for when the daily change or that timeframe trend is changing from bullish to bearish or vice versa
Phát hành các Ghi chú:
Minor Update v3
Allow custom row 1 height to make this more compact
Move custom name input setting to its own row to make settings easier to view
Changed default widths to better illustrate how this can spread across the entire chart tab window
Phát hành các Ghi chú:
This is a correction of a typo that appeared in the script.
ie a hotfix only
Phát hành các Ghi chú:
Split first column into two separate columns for readability
This helps significantly where the symbol's value has multiple decimal places or is otherwise quite long
Phát hành các Ghi chú:
Added some new functionality for the second column of the table.
When the price of any table symbol is at or near its high or low for the day then this column will be colored (default is cyan for high of day and magenta for low of day).
The percentage difference between the current daily change the max daily change can also be customised so this new coloring will still apply even when the symbol price is not at the exact high or low of the day.
The idea is to clearly see which symbols are either at or very close to their highs or lows and for this not to be a momentary flash of color that disappears in a second
This may be helpful in terms of relative strength, weakness, trending and breakout conditions
Phát hành các Ghi chú:
Added the option to choose between percentage change from the open or percentage daily change
Minor code tidying up
Phát hành các Ghi chú:
Added ability to customize width and text size for column 2 independently of column 1
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 đồ?