Multi-Asset PortfolioWith thanks to luminaryfi for this indicator calculates basic metrics and statistics for a multi-asset portfolio. Note that returns are plotted after being multiplied by 100 in order allow the series to be visible against the other statistics.
Portfolio
Portfolio Log Returns - SeriesPlot a series of your portfolio! Merely calculate the (constant) weights (ensuring that they sum to one) and plug in along with the corresponding symbols in order to visualize your portfolio returns as a series. Experimenting before settling on a portfolio? Calculate your theoretical weights using tools online for mean-variance optimization, Black-Litterman allocation, or the like!
Portfolio Backtester [MS]Portfolio Backtester (with rebalancing) for any assets you choose.
Simple to use, input any assets and their percentage allocations, choose a rebalance interval, then see how that portfolio performs over time.
To compare two or more portfolios, add this indicator multiple times, click and drag one on top of the other (into the same pane), then pin both to the same scale .
Its recommended to view this "indicator" on an asset with lots of historical data in order to have the most flexibility in a Start Date. Calculations are limited by chart you're viewing.
Settings
• Input the portfolio's assets
• Input the assets' allocations
• Input start and end dates
• Set the initial capital investment
• Set the rebalancing period (visualized as dots on the chart)
• Display Performance label
• Display Rebalancing labels
Things To Note
• The Start Date will be the later of the date you enter and the first candle of the chart you're viewing.
• If an asset's data doesn't exist at the start or any rebalance, it's percentage allocation will go to cash.
• The backtester calculates purely on asset price, and does not take into account any commissions, fees, dividends, or any other extra additions or deductions.
Version 1: only supports whole-shares, and not fractional-shares of assets.
PM us with any questions about this indicator.
Alpha & BetaAlpha & Beta Indicators for Portfolio Performance
β = Σ Correlation (RP, RM) * (σP/σM)
α P = E(RP) –
Where,
RP = Portfolio Return (or Investment Return)
RM = Market Return (or Benchmark Index)
RF = Risk-Free Rate
How to use the Indicator
RM = SPX (Default)
The Market Return for the indicator has the options of $SPX, $NDX, or $DJI (S&P 500, Nasdaq 100, Dow 30)
RF = FRED: DTB3
The Risk-Free Rate in the Indicator is set to the 3-Month Treasury Bill: Secondary Market Rate
The Default Timeframe is 1260 or 5-Years (252 Trading Days in One Year)
RP = The symbol you enter
HOWEVER , you can determine your portfolio value by following the following directions below.
Note: I am currently working on an indicator that will allow you to insert the weights of your positions.
Complete Portfolio Analysis Directions
You will first need...
a) spreadsheet application - Google Sheets is Free, but Microsoft Excel will convert ticker symbols to Stocks and Retrieve Data.
b) your current stock tickers, quantity of shares, and last price information
In the spreadsheet,
In the first column list the stock tickers...
AMZN
AAPL
TSLA
In the second column list the quantity of shares you own...
5
10
0.20
In the third column insert the last price
Excel: Three tickers will automatically give you the option to "Convert to Stocks",
after conversion, click once on cell and click the small tab in the upper right-hand of the highlighted cell.
Click the tab and a menu pops up
Find "Price", "Price Extended-Hours", or "Previous Close"...
$3,284.72
$497.48
$2,049.98
Next, multiply the number of shares by the price (Stock Market Value)
Excel: in fourth column type "=(B1*C1)", "=(B2*C2)", "=(B3*C3)"...
= $16,423.60
= $4,974.80
= $410.00
add the three calculated numbers together or click "ΣAutoSum" (Portfolio Market Value)
= $21,808.40
Last, divide the market value of AMZN ($16,423.60) by the Portfolio Market Value ($21,808.40) for each of the stocks.
= 0.7531
= 0.2281
= 0.0188
These values are the weight of the stock in your portfolio.
Go back to TradingView
Enter into the "search box" the following...
AMZN*0.7531 + AAPL*0.2281 + TSLA*0.0188
and click Enter
Now you can use the "Alpha & Beta" Indicator to analyze your entire portfolio!
Portfolio ManagerMeet our all-new Portfolio Manager
The idea of such a tool was the lack of anything like that out there. Recently I've seen that the culture most common around the newcomers to trading has become extraordinarily scalping-like and much leaned on high-risk operations.
Fundamental cornerstones of math and statistics that are keys to lasting networth growth have been wholly forgotten.
One of the most efficient and simple ways that I tell my friends to make money without getting too technical is diversification.
It's merely math; I suggest reading about the Modern Portfolio Theory, based on the work about diversification of uncorrelated assets by Markowitz(Nobel-winner because of that).
Translating it to mere humans, the more assets you have, the more uncorrelated they are(as in their pattern of moves are nothing alike), the fewer risks of losing money in a given time you have.
So by following such stats, it's clear to say that's always important to trade on different fronts.
To quantify and qualify who diversified you are and how much risk you're taking, we decided to create a pretty handy tool.
Let's get the samba going:
C-Index is the individual correlation score of that asset compared to the given portfolio correlation average.
C-Score is the final correlation score of your portfolio.
Below that, we got the performance tracker, whatever timeframe you're benchmarking your portfolio, it will show there. I like to back-test for one year.
And last but not least, we have a proprietary risk exposure gauge, so we run a few math tricks, and we calculate how was the maximum of your investment that was exposed through-out the time range we set in. So let's say we have a 10% risk exposure over 365 days. It means that over one year at maximum we could have lost 10% of our investment.
If you're not familiar with correlation:
-> +100 score = Fully Correlated(Similar Behaviors)
-> 0 Score = Totally Uncorrelated(Different Behaviors)
-> -100 score = Inversely Correlated(Opposite Behaviors)
So any asset that averages between -20 and 20 is very little correlated to its comparison. Therefore, their pattern of behavior tend to be independent
By comparing the change and the risk exposure, you can assess your risk/reward ratio - golden information.
Not only that, but we also added several markets so you can easily benchmark your portfolio(up to 9 custom assets) to a diversified gamma of markets in the world.
We diversified each benchmark portfolio within its available industries for maximum risk mitigation.
You can change your benchmark range, nine custom assets, labels preferences, and nine benchmark portfolios, including NIKKEI, NASDAQ, IBOV , ASX , DAX , CRYPTO, FOREX, FTSE , SHANGHAI.
If you liked what you see take a look at our signare to get access to our scripts!
n4ly's Portfolio ToolThank to user bnh for the idea (Hershey's Portfolio Watch)
A script that shows the total or return on current assets in real time.
You can view all your assets in one currency.
Please refer to the comments in the script and modify them. A little script knowledge is required.
Depending on the number of registered items, it may take some time.
- English translated from Papago
bnh님께 아이디어를 얻었습니다. (Hershey's Portfolio Watch)
현재 자산 합계 또는 수익을 실시간으로 보여주는 스크립트입니다.
모든 자산을 하나의 통화로 묶어서 볼 수 있습니다.
스크립트 내부의 주석을 참고해서 수정하여 사용해 주세요. 약간의 스크립트 지식이 필요합니다.
등록된 항목 수에 따라 다소 긴 시간이 소요될 수 있습니다.
Portfolio and Risk Management: Gold Based Net Growth CoefficientHello, if our topic is stocks, whatever signal we get, we have to divide and reduce the risk.
Apart from the risk, we need inflation-free figures to detect a clear growth.
Gold is one of the most successful tools to beat inflation in this regard in the historical context.
When the economy is good, we have to beat both commodities and inflation.
For this purpose, I found it appropriate to develop a net growth factor free from gold growth.
Investors need several stocks with a high growth rate and as much risk-free as possible.
Personally, I think that the science of portfolio and risk management will last a lifetime and should continue.
I think this subject is a research and development subject.(R & D)
My research and publications on this matter will continue publicly.
I wish everyone a good day.
NOTE : You can determine the return in the time period you want to look back by adjusting the period in the rate you want from the menu.
The standard value is 200 days. (1 year)
Gold-Stocks RatioA historic risk-off flag.
When the Gold-Stocks Ratio is above the 200 week moving average, investors may fair better holding gold and avoiding equities, as was the case for the last 20 years.
Portfolio Tool [QuantNomad]It's a pretty simple indicator that allows you to calculate portfolio performance directly in TradingView.
You can use up to 5 symbols in your portfolio, select rebalancing frequency and compare it to a benchmark.
It's a pro indicator, you can have access to it for a small fee. Link to my PRO indicators you can find in my signature.
Will be happy to hear your feedback.
- How do you want to use this indicator?
- What other features do you want in it?
Scalping BerkinAlex 2
--------Inglés---------
Updated to Pine Script v4.
Errors found fixed.
---------Español---------
Actualizado a Pine Script v4.
Errores encontrados solucionados.
Combo Month-to-Month % Return (July - December)This tool acts as Month-to-Month % Return but in Combo mode. Allows to compare the asset's monthly performances across the preferred years. It works everywhere but better in use on the daily timeframe.
Combo Month-to-Month % Return (January - June)This tool acts as Month-to-Month % Return but in Combo mode. Allows to compare the asset's monthly performances across the preferred years. It works everywhere but better in use on the daily timeframe.
Investing - Weekly EMA's mapped to Daily ChartWhen there isn't enough time in your day to day-trade, yet you want to utilise all the technical analysis skills you have... why not make a long term investing or swing trading indicator set to help you along the way!
So I did....
When it comes to long term investing and swing trading, I often find the weekly 12/26/52 EMA's do a great job in capturing the main market swings from bull to bear.
However, I like to use the Daily chart to see the candle patterns and shapes with more detail and divergences often show up better on the daily chart.
So I have decided to combine the two!
I have basically taken the EMA 12/26/52 from the weekly and transferred them over to the daily (mathematically they are not exact, but for me they are close enough).
I have also developed a simple scale in / scale out strategy for using these exponential moving averages. It isn't as simple as buying in on each signal, however I use my own special strategy to take advantage of the alerts.
Enjoy!
ZEC/ETH/XMR/DASH PORTFOLIO KRAKENPortfolio chart with total value.
I will try to optimize it, maybe add % option if I findout how ;p
Or maybe a normalization would be good, idk.
Cheers!
Multibagger Strategy (no-repaint) by MarketAlphaMultibagger Strategy for long-term investor
Time Frame - One month
Altcoin PortfolioTrack your altcoin portfolio balance in Fiat currency.
Make sure to open the data window to the right of your charts, it makes everything alot easier to read at a glance.
To learn more about customizing this script to fit your portfolio, watch the video here: youtu.be
To get more cool scripts and up-to-date information about Autoview, join us in slack slack.with.pink
As per the usual, we hope this script helps with your trading venture.
Good luck, and happy trading.
Hershey's Portfolio WatchThanks to user rwestbury for the idea!
Watch the profit in dollars of your portfolio in REAL TIME, love it!
Put this in a window that doesn't change often, for it takes long to initially load.
I use it in my window where I monitor the US index SPY.
Edit and add as many symbols as you want below, you should be able to figure it out.
Just add symbol, number of shares and price.
I'll improve on this later, like trim the code down with function calls, etc.
Good trading!
Brian Hershey