PROTECTED SOURCE SCRIPT
已更新

Spread Performance Table

12 290
This study show a performance of a ticker to benchmark symbol in % terms. Works on all the time frames (advisable to use on daily time frame)

e.g - Benchmark - NIFTY - It will calculate the % return of a ticker in comparison to benchmark symbol in % terms.

Benchmark up 1% in a day , ticker up 6 % in a day - It will show a 1 day return as 5 %... It means out-performance of a ticker to the benchmark is 5%
版本注释
Added RS % - This % will show a performance of a ticker over a benchmark from a specific date.
版本注释
Pine v5
版本注释
Default Date Changed to 18th May 2021 (ARS Date).
版本注释
Date Updated
版本注释
Changed Calculation logic from %Change to %Performance.

How it's different ?
Let's say today is Tuesday. Weekly Change calculates the difference between the current close (Tuesday) and the close from the last week (the closing price of the previous Friday). Weekly Performance calculates the difference between the current close (Tuesday) and the open from a week ago exactly (the previous Tuesday).

Reference - tradingview.com/support/solutions/43000636536-how-is-performance-calculated-in-the-screener/
版本注释
Visual Improvements - Table size and position can be configured

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。