I'm not 100% satisfied with the strategy performance output I receive from TradingView. Quite often I want to see something that is not available by default. I usually export raw trades/metrics from TradingView and then do additional analysis manually. But with tables, you can build additional metrics and tools for your strategies quite easily. This script will...
Some time ago I published Monthly returns table. Now It's time for weekly one. To get it work you need a pretty big screen, but I hope it will be useful for some of you. Features of this table includes: Display weekly returns of your strategy, benchmark, and alpha over this benchmark. Select benchmark to be another instrument Select the date from...
Portfolio Metrics **New** 'returns' 'log returns' 'geometric returns' portfolio alpha portfolio beta portfolio,market correlation portfolio standard deviation portfolio variance mean portfolio returns maximum drawdown maximum gain
Very excited to bring this script to the public. This is a very useful table that displays the performance of any strategy you give it in a more detailed view. It runs on all timeframes and at any position on the chart with the replay function. It also updates on tick changes. The table consists of three modes: Simple Equity, Compound Equity and Drawdown. Simple...
Portfolio Risk Metrics (Part I): beta 'β' The beta coefficient can be interpreted as follows: β =1 exactly as volatile as the market β >1 more volatile than the market β <1>0 less volatile than the market β =0 uncorrelated to the market β <0 negatively correlated to the market excerpt from the Corporate Finance Institute correlation coefficient 'ρxy'...
An indicator that lets you visualize the historical Yearly Percentage returns of any symbol . Key Features: Displays the yearly returns from start to end of each year Displays a table showing all yearly returns for current symbol Displays start of each year as a vertical line Displays up to 5 custom horizontal levels Table Settings: ...
Alpha Performance of Period (PoP) produces a visualization of returns (gains and losses) over a quarterly, monthly, or annual period. It also displays the total % gain and loss over any length of days, months, and years as defined by the user. Performance of Period (PoP) can be used to understand the performance of an asset over multiple periods using a single...
**This indicator can be applied to the ticker of your choice (not just BTC)** Markets are said to be "efficient". An efficient market is by definition unpredictable - no matter the amount of ML, computation, or indicators thrown at it. In particular, in an efficient market, TA will not be of help. An illustration of efficient markets is the WSJ's longstanding...
Buy on Mondays sell on Tuesdays. Just a simple tracking of returns. It works only on the weekly charts
RAR - risk adjusted returns. This methodology could be helpful in portfolio creation and position size risk management. We can set our own preference of risk tolerance via the X variable which is the exponent of volatility in our calculations. This gives an unlimited set of example portfolios on a given time-frame that can be sorted from return oriented to...
This is a modified version of this excellent script Monthly Returns in PineScript Strategues by QuantNomad I liked and used the script but wanted to see how strategy performed vs market on each month/year. So I am sharing back. The modification consists in adding Market or Buy & Hold performance between parenthesis inside each cell to better see how strategy...
This is a script meant for the weekly timeframe . It shows the change between the current close and the close 52 bars ago. I find that this data can be useful for deciding how long to stay in a trade, and for deciding how far a stock is likely to move in a year based on it's historical returns. The High average takes the sum of all positive returns and averages it...
The Kolmogorov–Smirnov test aims to tell you if the distribution of prices (or log returns) tends to follow a normal distribution or not. You can read about this test on Wikipedia . It seems to be a basic but trusted measure in the quantitative trading world. When KS-t columns are blue, then it's safe to assume normal distribution. When they are red, the normal...
What does this indicator show? This indicator shows the rolling return of a set lookback period. The default indicator value is 20 which will show the rolling 20-day return because 20 trading days is 1 month.
Hi! I want to share a simple script I built to analize the seasonality of Bitcoin and other assets. So far it just displays the average return of each month, but I might add some more things later on. The best timeframe to use it is the monthly timeframe it works on all timeframes but you need the full history for the average, and on weekly you will see issues...
This script attempts to contextualize the instrument's latest return. It asks, "when a return of the same or greater magnitude occurred in the past, in the same direction, what was the following period's return?" By default, the latest return is used. For example, on a daily chart, that would mean "today's" return. However, you can select any return you want...
(This indicator was designed for the BTC index chart) Designed for Bitcoin. Plots the log of the close/20W SMA with a linear offset m*t, where m is the gradient I've chosen and t is the candle index. Anything above 1 is a mania phase/market cycle top. If it peaks around 0.92 and rolls over, it could be a local/market cycle top. This will obviously not work at...