Oster's Investment Plan (OIP)Oster's Investment Plan (OIP) is a versatile and powerful tool designed to help traders and investors create and evaluate their long-term investment strategies . Unlike many conventional investment tools, OIP emphasizes customization, allowing users to design personalized savings plans and compare the performance of their portfolios against chosen benchmarks. Whether you're setting up a new investment plan or analyzing an existing one, OIP provides comprehensive insights into your portfolio's growth and performance.
Tailored Investment Planning:
OIP enables users to create customized savings plans with up to five assets from any available on TradingView. This feature offers unparalleled flexibility in asset selection, allowing investors to diversify their portfolios across various markets and asset classes. With OIP , users can freely determine the weighting of each asset, ensuring the portfolio aligns with their individual investment strategies and risk preferences .
Comprehensive Fee and Cost Analysis:
One of OIPs standout features is its ability to factor in nearly all cost components associated with investing. This includes annual deposit fees, fees on savings rates, tax deductions on dividend payouts, potential savings rate dynamics, and the Total Expense Ratio (TER) of funds. By considering these costs, OIP provides a realistic and accurate projection of your portfolio's growth, helping you identify the most cost-effective broker or investment platform .
Benchmark Comparison:
OIP allows users to select any benchmark to compare their portfolio's performance. This feature enables investors to gauge their portfolio's returns against broader market indices or specific sector benchmarks, providing valuable insights into the effectiveness of their investment strategy. The ability to choose and change benchmarks ensures that OIP remains relevant and adaptable to different investment goals and market conditions.
Reinvestment of Dividends:
For investors who prefer to reinvest their dividends, OIP can incorporate annual dividend reinvestments into the portfolio's growth curve . This feature accounts for the compounding effect of reinvested dividends, offering a more accurate representation of potential portfolio performance over time.
Use Cases:
Creating a Personalized Savings Plan:
With OIP , users can design a personalized savings plan tailored to their financial goals and investment horizon. By selecting up to five assets and determining their weightings, investors can create a diversified portfolio that suits their risk tolerance and investment preferences. OIP then calculates the potential growth of the portfolio, factoring in all relevant costs and fees, to provide a clear picture of the expected returns.
Evaluating Broker Fees:
For those who have already established a long-term investment plan, OIP can be used to compare the costs associated with different brokerage platforms . By inputting the fee structures of various brokers, investors can identify the most cost-effective option, ensuring that they maximize their returns by minimizing fees and expenses.
Sophisticated Calculation Methodology:
OIP employs a robust calculation methodology to derive its insights. It takes into account the initial investment, recurring deposits, fees, taxes, and the performance of the selected assets. The tool adjusts for annual deposit fees, dynamic savings rates, and the reinvestment of dividends, providing a detailed and nuanced evaluation of the portfolio's performance.
Interpretation:
OIP plots the total equity of the savings plan and the chosen benchmark , allowing users to visually compare the performance of their portfolio against the benchmark. The tool also displays the total invested amount , helping investors track their contributions and returns over time. Dynamic color coding enhances visual clarity, with the savings plan and benchmark differentiated by distinct colors for easy interpretation.
Conclusion:
Oster's Investment Plan (OIP) represents a significant advancement in investment planning and portfolio analysis. By offering customizable parameters, comprehensive fee considerations, and benchmark comparisons, OIP equips investors with a powerful tool for creating and evaluating their investment strategies. Whether you're a seasoned investor or new to the market, OIP provides invaluable insights that can inform and enrich your investment journey.
By integrating these features, OIP stands out as a sophisticated and user-friendly tool for managing and optimizing investment portfolios. Its emphasis on customization, detailed cost analysis, and flexible benchmarking makes it an essential resource for any investor looking to maximize their returns and achieve their financial goals.
Portfolioperformance
Equity CurveAn equity curve is a graphical representation of the change in the value of a trading account over a time period. The equity curve is a direct reflection of a trading strategy's effectiveness. A consistently upward-trending equity curve indicates a successful strategy, while a flat or declining curve may signal the need for adjustment.
This indicator takes traders daily account values as a comma separated list, and creates an equity curve and simple moving average of the equity curve. This serves as a mirror reflecting the outcome of past actions and decisions, guiding traders in fine-tuning their strategies, managing risk more effectively, and ultimately striving towards a consistently profitable trading journey.
New equity values should be added to the end of the current list. A space or no space after the comma has no effect.
Importance of the Equity Curve
Strategy Evaluation: The equity curve is a direct reflection of a trading strategy's effectiveness over time. A consistently upward-trending equity curve indicates a successful strategy, while a flat or declining curve may signal the need for adjustment.
Risk Management: Monitoring the equity curve helps traders to see the impact of their risk management practices. Sudden drops in equity could highlight instances of excessive risk-taking or inadequate stop-loss settings.
Performance Benchmarks: Comparing the equity curve against benchmarks or desired performance goals allows traders to assess if they are meeting, exceeding, or falling short of their trading objectives.
Psychology: Trading is as much about psychology as it is about strategy. A visual representation of one's equity curve helps maintain discipline, encouraging adherence to a trading plan during downturns and preventing overconfidence during upswings.
Having this data visually allows traders to see which category of trader they fall into.
Unprofitable
Boom or Bust
Profitable
Statistical Data
The indicator not only plots the equity curve and moving average, but includes the option to display the highest value reached by the equity curve, the percentage difference from the peak, and performance over selected periods (All Time, YTD, QTD, MTD, WTD).
Historical Analysis
The Equity Curve Indicator is not just a tool for real-time monitoring of trading performance; it also serves as a powerful instrument for conducting historical analysis. By analyzing the equity curve in conjunction with historical market conditions, traders can identify patterns or triggers that resulted in significant gains or losses.
For example, the chart below shows the equity curve overlaid on periods of net new highs / lows. The equity curve experienced declines while the market was showing net new lows or choppy periods (represented by a red or white background), while most of the equity gains were made while net new highs were present (green background).
This retrospective analysis helps in understanding how different market conditions impact trading strategies and performance.
Trading the Equity Curve
All trading strategies produce an equity curve that has winning and losing periods. In the example above, the trader could introduce a simple rule to lighten up on long positions or move to cash during periods of net new lows.
Another simple rule could be introduced to stop trading if the equity curve falls below the moving average, until favorable market conditions return again.
This indicator is intended to be used on the daily timeframe.
Portfolio TableA tool to manage your invested assets (stocks, crypto currencies, ...).
- Show profit of every asset as well as the total profit.
- Show/hide a bought price line on the chart if the current selected ticker is on your portfolio.
basilPort Portfolio Tracker Pro [basilChart]This script is helps giving detailed information about the portfolio.
Prominent features of this portfolio tracking indicator are:
- Chart of your portfolio: This portfolio tracker let’s you view the chart of your portfolio real-time.
- Visualized Profit/Loss: Indicator will let you know of your profit and loss on the chart.
- In-Depth Monitoring: Most Gained 1st, 2nd, 3rd and Most Lost 1st, 2nd, 3rd.
- All Time Highs: Let’s us view All Time Highs on the portfolio chart for each equity on the chart.
- 40 Different Symbols: Supports monitoring 40 different symbols at the same time, real-time.
- 10 Pair Detailed View: For the first 10 symbol in our portfolio, indicator supports viewing detailed info about each of them. Such as: Price, Cost, Qty, Profit Percentage, Chart TF Profit Percentage, Weight
basilPort Portfolio Tracker Pro indicator can be used to:
- Track your investments: The basilPort Portfolio Tracker allows you to enter all your investments and their associated details, such as the ticker symbol, purchase price, and quantity. It then calculates your total portfolio value, including gains and losses.
- Monitor portfolio performance: Provides an overview of your portfolio's performance over time. You can see how your portfolio is performing on a daily, weekly, or monthly basis, and compare it to the performance of the overall market.
- Analyze asset allocation: Helps you analyze your portfolio's asset allocation, which is the percentage of your portfolio invested in different symbols. You can use this information to adjust your portfolio and diversify your holdings.
- Set investment goals: You can use the Portfolio Tracker to set investment goals and track your progress towards achieving them. For example, you can set a goal of achieving a certain rate of return or accumulating a specific amount of wealth by a certain date.
Overall, the Portfolio Tracker is a useful tool for investors who want to monitor their portfolio's performance, evaluate their investment strategies, and make informed investment decisions.
Best and worst 3 performers in our portfolio:
From Data Window, script let’s us see the best and worst 3 performers in our portfolio. To know how to read it we follow this pattern:
- Check 1st Gained value.
- Find the nth symbol from script’s Inputs tab.
- Check 1st Gained to see its Profit Percentage.
An example scenario to reading Data Window is explained at the very end of the description.
Using the script:
- Add this script to the chart from indicators tab
- Set starting date for the basilGrid Portfolio Tracker Pro either by dragging and dropping the vertical line or by the date-time picker from indicator Inputs tab.
- Set symbols and enable them to monitor with this indicator.
- Set quantity and price information for the symbols you have selected.
- Set visual settings to tailor your experience.
basilPort Portfolio Tracker is an indicator that allows you to track and analyze the performance of your investment portfolio over time. It's a helpful tool for investors who want to monitor their holdings and evaluate their investment strategies.
In this example we used pair BTCUSDT 1h timeframe, our settings are:
Inputs Tab:
- Start Date: 2022-12-13 13:00
- Show All Time Highs: Unchecked
- Show Pair Data (First 10): Checked
- Show Total Data: Checked
Symbols:
- BINANCE:ETHUSDT Qty 4.2 Price 1 332
- BINANCE:BTCUSDT Qty 0.5 Price 17 469
- BINANCE:BNBUSDT Qty 20 Price 270
- BINANCE:AVAXUSDT Qty 200 Price 13.61
- BATS:PYPL Qty 50 Price 78.5
- BATS:AMZN Qty 40 Price 95.4
- BATS:ETSY Qty 40 Price 135.64
For example, if you check Data Window, you'll see the following:
An example scenario:
- Bought Portfolio Value 39142.98 => The cost of the portfolio
- Current Portfolio Value 39142.98 => The current value of the portfolio
- 1st Gained 2.00 => The most gained symbol's index. (Checking the Symbols what we see on the 2nd spot is this symbol, we can see this value indicates BINANCE:BTCUSDT)
- 1st Gained 28.09 => Means BINANCE:BTCUSDT is +%28.09
- 2nd Gained 4.00 => Again, after checking the Symbols, we now know what this value indicates. It is AVAXUSDT.
- 2nd Gained 18.59 => Means BINANCE:AVAXUSDT is +%18.59
..
And so on to Lost section. Only difference between Gained and Lost section indicates Lost equities.
This script's purpose is to make easier to have more control over the portfolio. With in depth data that’ll help with decision-making.
Spot Index Generator - The Quant Science Create your own spot index and compare returns with a benchmark. With this tool you will be able to quickly check if your portfolio management is better than the benchmark. It is a professional tool suitable for medium to long-term investors who need to create a personal and custom index with only spot assets and need to compare it with the return of a specific market.
Features
You can create your own indexes using up to 10 different assets. Through the user interface you can adjust the weight for each asset, and the initial capital with which to build the index.
Quantitative Data
1. Index Return vs. Benchmark Return
Compare your personal index with the benchmark.
2. Index Average Return vs. Index Return
Compare the return of your index with the average of returns. You can adjust the averaging through the user interface.
3. Volatility Index Analysis using Index Return and Average Index Return
Show the volatility of your index move over key levels created using the average of your index returns.
For the example used in the chart, we created a custom index for the crypto market, including 8 different assets:
1. KUCOIN:ETHUSDT , 10%
2. BINANCE:BNBUSDT , 10%
3. BINANCE:MATICUSDT , 20%
4. BINANCE:AVAXUSDT , 5%
5. BINANCE:SOLUSDT , 5%
6. KUCOIN:GODSUSDT , 10%
7. KUCOIN:SANDUSDT , 10%
8. BITGET:SHIBUSDT , 30%
The reference benchmark is KUCOIN:SANDUSDT .
The period of analysis start at January 1, 2023 to today.
Timeframe selected: 5 min
Capital: 1000 USDT
Following the benchmark analysis, the built index (lime color) does not perform better than the benchmark (blue color). As can be seen, the index created a lower return than the benchmark.
Live PnL v1.0Live P&L for multiple stocks, currencies, crypto and commodities can now be tracked for your favorite scripts, pair trading etc.
This indicator gives provision to add up to 3 stocks/futures/currency with Buy and Sell, Quantity (can be lot size or any other) and Entry Price and set as default so that every time you put back this indicator you can monitor the live Profit / Loss figure.
This indicator will help trade to evaluate and track tips/trades of experts on social media and Media platforms and check their accuracy themselves in an organized way.
Apart from paper trading a trade or multiple positions ones combined together it also gives a feeler of combined Mark to live Market Drawdowns or Profitability.
Portfolio Tracker For Stocks & CryptoThis is a portfolio tracker that will track individual, overall and daily profit/loss for up to 12 assets. You can set the size of your buys and price of your buys for accurate, up to date profit and loss data right on your chart. It works on all markets and timeframes.
HOW TO USE
Go into the indicator settings and you will see all of the available settings. The first is the ability to turn the tracker info table on or off from the chart, so it saves your portfolio info but let’s you remove it from the chart while trading. Second is the option to move the position of the info table to suit your preference.
Next we get into setting up your portfolio tickers, order size and price. Each ticker lets you set which stock/crypto you bought, then set how much you purchased and then what price you purchased them at.
Go through and set up all of your assets and then turn off any tickers that you don’t need. Once that is all done, your portfolio will be shown on the chart with all the data.
FEATURES
Top Section
The portfolio tracker has 2 sections. The top section shows each ticker in your portfolio individually with the following data:
- Ticker Name
- Weight of that asset compared to your total portfolio in %
- Current value of that position in $
- Profit or loss value from purchase price in %
- Todays change in value from yesterday’s close in %
The $ Value, PnL % and Today % will all change colors from green to red depending if they are in profit or not.
Bottom Section
The bottom section of the tracker will give you info for your portfolio as a whole. It has the following data:
- Total cost of your entire portfolio in $
- Current value of your entire portfolio in $
- Current profit or loss of your entire portfolio in $
- Current profit or loss of your entire portfolio in %
- Todays change of your entire portfolio value compared to yesterday’s close in %
The $ Value, PnL $, PnL % and Today % will all change colors from green to red depending if they are in profit or not.
Portfolio PerformanceThis indicators will help you to compute portfolio performance and display results with a stats table and a nice monthly chart.
In this script you can do following:
Compose portfolio with up to 15 instruments
Change Initial capital / date range / rebalancing period
Compare portfolio performance with a benchmark
Compute basic stats
Compute instruments contribution
Display monthly performance of portfolio and benchmark
Change style for almost everything you see on your chart
Hope it will be useful for you!
Thanks to @MUQWISHI for helping me coding it.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Trading Portfolio Tracker - The Quant ScienceTrading Portfolio Tracker - The Quant Science™ is a tracking and monitoring trades application.
It is a very useful Pine app for day traders and scalpers. This trading portfolio tracker is a unique solution for users who would monitoring their day trading performance instantly and make more efficient trade management decisions.
HOW IT WORK
The user enters the required data before the application is launched. The software automatically generates the portfolio tracking with all performance data information.
DESCRIPTION
This app keeps track of up to 10 trades simultaneously. The user can activate or deactivate each trade from the user interface.
Using this application is very simple. Install it on your monitor and enter the required data parameters.
Required data for each trade:
1. Open price
2. Invested capital
3. Ticker
4. Leverage
5. Direction
Once this data has been entered, the software will generate the portfolio automatically. You will be able to edit closed trades or newly opened trades directly from the user interface and the software will automatically update with the new parameters.
Portfolio SummaryThe stocks in my portfolio has very poor performance since the FED hiked the rate.
since the covid-19, i came to the stock market and buy a stock that i ever heard the name which i don't even know its fundamental.
Some stock, i bought them at the hilltop (and sell at the bottom, hehe).
Everyone is a genius in a bull market ; and now i realized i am gonna loss money.
I have to do something, so i looked for an indicator that allow me to manage my portfolio.
unfortunately, i cannot find one that fit me.
so i make this indicator.
How you can get the benefit from this indicator
This indicator will summarize the gain/loss since you bought the stock.
it also include the dividend.
So that you can see how much you gain and loss, and make a decision as you wish.
How to use it
1. Input some neccessary data like ticker/stock (up to 20 tickers, yeah i know, it is too much), share, average price which you can input manually or depend on your entry date.
2. The indicator will calculate gain/loss, dividend, % of your portfolio.
3. You can select how to display based on "Index" or "Market Value".
4. You can toggle on/off both label and table.
Disclaimer
This indicator may display inaccurate and need a lot of improvement.
pls use carefully.
if you have any suggestion, pls dont hersitate to comment below.
Enjoy.
Portfolio Backtester Engine█ OVERVIEW
Portfolio Backtester Engine (PBTE). This tool will allow you to backtest strategies across multiple securities at once. Allowing you to easier understand if your strategy is robust. If you are familiar with the PineCoders backtesting engine , then you will find this indicator pleasant to work with as it is an adaptation based on that work. Much of the functionality has been kept the same, or enhanced, with some minor adjustments I made on the account of creating a more subjectively intuitive tool.
█ HISTORY
The original purpose of the backtesting engine (`BTE`) was to bridge the gap between strategies and studies . Previously, strategies did not contain the ability to send alerts, but were necessary for backtesting. Studies on the other hand were necessary for sending alerts, but could not provide backtesting results . Often, traders would have to manage two separate Pine scripts to take advantage of each feature, this was less than ideal.
The `BTE` published by PineCoders offered a solution to this issue by generating backtesting results under the context of a study(). This allowed traders to backtest their strategy and simultaneously generate alerts for automated trading, thus eliminating the need for a separate strategy() script (though, even converting the engine to a strategy was made simple by the PineCoders!).
Fast forward a couple years and PineScript evolved beyond these issues and alerts were introduced into strategies. The BTE was not quite as necessary anymore, but is still extremely useful as it contains extra features and data not found under the strategy() context. Below is an excerpt of features contained by the BTE:
"""
More than `40` built-in strategies,
Customizable components,
Coupling with your own external indicator,
Simple conversion from Study to Strategy modes,
Post-Exit analysis to search for alternate trade outcomes,
Use of the Data Window to show detailed bar by bar trade information and global statistics, including some not provided by TV backtesting,
Plotting of reminders and generation of alerts on in-trade events.
"""
Before I go any further, I want to be clear that the BTE is STILL a good tool and it is STILL very useful. The Portfolio Backtesting Engine I am introducing is only a tangental advancement and not to be confused as a replacement, this tool would not have been possible without the `BTE`.
█ THE PROBLEM
Most strategies built in Pine are limited by one thing. Data. Backtesting should be a rigorous process and researchers should examine the performance of their strategy across all market regimes; that includes, bullish and bearish markets, ranging markets, low volatility and high volatility. Depending on your TV subscription The Pine Engine is limited to 5k-20k historical bars available for backtesting, which can often leave the strategy results wanting. As a general rule of thumb, strategies should be tested across a quantity of historical bars which will allow for at least 100 trades. In many cases, the lack of historical bars available for backtesting and frequency of the strategy signals produces less than 100 trades, rendering your strategy results inconclusive.
█ THE SOLUTION
In order to be confident that we have a robust strategy we must test it across all market regimes and we must have over 100 trades. To do this effectively, researchers can use the Portfolio Backtesting Engine (PBTE).
By testing a strategy across a carefully selected portfolio of securities, researchers can now gather 5k-20k historical bars per security! Currently, the PTBE allows up to 5 securities, which amounts to 25k-100k historical bars.
█ HOW TO USE
1 — Add the indicator to your chart.
• Confirm inputs. These will be the most important initial values which you can change later by clicking the gear icon ⚙ and opening up the settings of the indicator.
2 — Select a portfolio.
• You will want to spend some time carefully selecting a portfolio of securities.
• Each security should be uncorrelated.
• The entire portfolio should contain a mix of different market regimes.
You should understand that strategies generally take advantage of one particular type of market regime. (trending, ranging, low/high volatility)
For example, the default RSI strategy is typically advantageous during ranging markets, whereas a typical moving average crossover strategy is advantageous in trending markets.
If you were to use the standard RSI strategy during a trending market, you might be selling when you should be buying.
Similarily, if you use an SMA crossover during a ranging market, you will find that the MA's may produce many false signals.
Even if you build a strategy that is designed to be used only in a trending market, it is still best to select a portfolio of all market regimes
as you will be able to test how your strategy will perform when the market does something unexpected.
3 — Test a built-in strategy or add your own.
• Navigate to gear icon ⚙ (settings) of strategy.
• Choose your options.
• Select a Main Entry Strat and Alternate Entry Strat .
• If you want to add your own strategy, you will need to modify the source code and follow the built-in example.
• You will only need to generate (buy 1 / sell -1/ neutral 0) signals.
• Select a Filter , by default these are all off.
• Select an Entry Stop - This will be your stop loss placed at the trade entry.
• Select Pyamiding - This will allow you to stack positions. By default this is off.
• Select Hard Exits - You can also think of these as Take Profits.
• Let the strategy run and take note of the display tables results.
• Portfolio - Shows each security.
• The strategy runs on each asset in your portfolio.
• The initial capital is equally distributed across each security.
So if you have 5 securities and a starting capital of 100,000$ then each security will run the strategy starting with 20,000$
The total row will aggregate the results on a bar by bar basis showing the total results of your initial capital.
• Net Profit (NP) - Shows profitability.
• Number of Trades (#T) - Shows # of trades taken during backtesting period.
• Typically will want to see this number greater than 100 on the "Total" row.
• Average Trade Length (ATL) - Shows average # of days in a trade.
• Maximum Drawdown (MD ) - Max peak-to-valley equity drawdown during backtesting period.
• This number defines the minimum amount of capital required to trade the system.
• Typically, this shouldn’t be lower than 34% and we will want to allow for at least 50% beyond this number.
• Maximum Loss (ML) - Shows largest loss experienced on a per-trade basis.
• Normally, don’t want to exceed more than 1-2 % of equity.
• Maximum Drawdown Duration (MDD) - The longest duration of a drawdown in equity prior to a new equity peak.
• This number is important to help us psychologically understand how long we can expect to wait for a new peak in account equity.
• Maximum Consecutive Losses (MCL) - The max consecutive losses endured throughout the backtesting period.
• Another important metric for trader psychology, this will help you understand how many losses you should be prepared to handle.
• Profit to Maximum Drawdown (P:MD) - A ratio for the average profit to the maximum drawdown.
• The higher the ratio is, the better. Large profits and small losses contribute to a good PMD.
• This metric allows us to examine the profit with respect to risk.
• Profit Loss Ratio (P:L) - Average profit over the average loss.
• Typically this number should be higher in trend following systems.
• Mean reversion systems show lower values, but compensate with a better win %.
• Percent Winners (% W) - The percentage of winning trades.
• Trend systems will usually have lower win percentages, since statistically the market is only trending roughly 30% of the time.
• Mean reversion systems typically should have a high % W.
• Time Percentage (Time %) - The amount of time that the system has an open position.
• The more time you are in the market, the more you are exposed to market risk, not to mention you could be using that money for something else right?
• Return on Investment (ROI) - Your Net Profit over your initial investment, represented as a percentage.
• You want this number to be positive and high.
• Open Profit (OP) - If the strategy has any open positions, the floating value will be represented here.
• Trading Days (TD) - An important metric showing how many days the strategy was active.
• This is good to know and will be valuable in understanding how long you will need to run this strategy in order to achieve results.
█ FEATURES
These are additional features that extend the original `BTE` features.
- Portfolio backtesting.
- Color coded performance results.
- Circuit Breakers that will stop trading.
- Position reversals on exit. (Simulating the function of always in the market. Similar to strategy.entry functionality)
- Whipsaw Filter
- Moving Average Filter
- Minimum Change Filter
- % Gain Equity Exit
- Popular strategies, (MACD, MA cross, supertrend)
Below are features that were excluded from the original `BTE`
- 2 stage in-trade stops with kick-in rules (This was a subjective decision to remove. I found it to be complex and thwarted my use of the `BTE` for some time.)
- Simple conversion from Study to Strategy modes. (Not possible with multiple securities)
- Coupling with your own external indicator (Not really practical to use with multiple securities, but could be used if signals were generated based on some indicator which was not based on the current chart)
- Use of the Data Window to show detailed bar by bar trade information and global statistics.
- Post Exit Analysis.
- Plotting of reminders and generation of alerts on in-trade events.
- Alerts (These may be added in the future by request when I find the time.)
█ THANKS
The whole PineCoders team for all their shared knowledge and original publication of the BTE and Richard Weismann for his ideas on building robust strategies.
═════════════════════════════════════════════════════════════════════════
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 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.
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!
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?