Hey there! I've been diving into the book "Paul Wilmott on Quantitative Finance," and I stumbled upon this cool model for calculating and modeling returns. Basically, it helps us figure out how much a price has changed over a set number of periods—I like to use 20 periods as a default. Once we get that rate of change value, we crunch some numbers to find the...
This script is a technical indicator that calculates the year-over-year (YoY) or month-over-month (MoM) returns of a security. The returns are then plotted on a chart, with positive returns colored in green and negative returns colored in red.
Displays monthly and yearly returns in tabular format along with maximum, minimum, average returns and standard deviations. This uses boxes to build the table and as maximum boxes that could be used is 500, it displays up to 32 years of returns. However, for maximum, minimum, average and standard deviation calculations, it uses data from all months since...
this scrip is modified of Performance Table () of TradingView user @BeeHolder = Thank u very much. - @BeeHolder formula is based on daily basis, but my calculation is based on respective day, week and month. - The formula of the calculation is (Current Close - Previous Close) * 100 / Previous Close, where Past value is: 1D = close 1 day before 5D = close 5 day...
Overview The Annual Returns % Comparison indicator aimed to compare the historical annual percentage change of any two symbols. The indicator output shows a column-plot that was developed by two using a pine script table, so each period has pair columns showing the yearly percentage change for entered symbols. Features - Enter date range. - Fill up with any...
(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...
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: ...
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...
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...
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...
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...
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...
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...
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 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