Daily BreadWhat it does:
This script uses specific multiple true ranges from a 30 EMA baseline to plot lines that represent 10% buying increments. Although the common period for ATR is 14, this script employs a period of 20 for smoothing that I have determined is more effective when used with a daily candle chart. It includes onscreen trend signals to identify an uptrend or downtrend when the 50 EMA crosses the 90 EMA and will also display a coloured directional signal at each candle beyond an EMA cross to identify the current trend.
The script plots a scale of percentage labels at the end of each line to identify the percent of an account intended to be in short or longer term trades.
How it does it:
The script uses a 30 EMA baseline and then multiplies ATR increments of +1, +2, +4 and -1 through -7. These ATR multiples and the EMA are plotted as 11 lines, 10 of which make up the range of 10% increments from 10% to 100% with the 11th line being the High Band representing the extreme high or expected sale of any holdings. The percentage label scale uses variable declarations to position and colour match a percentage label to each line.
Intended use:
It is intended to be used for short term trading or long term investing with a daily market index chart such as SPY and multiple exchange traded funds that track said market index. A different ETF is purchased when a daily SPY candle reaches a lower buy band using 10% of a total account value. The sale of any ETFs is at the discretion of the trader and dependent on investment strategy (short term trading or long term inventing) and the trend. When short term trading in a downtrend or when daily candles are below the 50 EMA, selling would be done every 2 to 3 bands above a buy to mitigate the risk of a significant portion of an account getting caught in a downtrend. In an uptrend the High Band would be used to sell any holdings.
Longterminvesting
DRIP Yearly PerformanceOverview: The DRIP Yearly Performance indicator is designed for long-term investors using Dividend Reinvestment Plans (DRIP). This script calculates both the total and average yearly performance of an asset, factoring in the reinvestment of dividends over time. It provides key insights into portfolio growth by tracking the number of accumulated units from dividend reinvestment and how this impacts overall performance.
Key Features:
Dividend Reinvestment (DRIP) Calculation: Automatically adjusts the number of units held by reinvesting dividends, enhancing the calculation of total returns.
Custom Start Date: Choose a custom start date to begin tracking performance from a specific time period, allowing for more tailored performance analysis.
Performance Metrics: Displays key metrics such as the initial investment value, current value, total performance percentage, and the average yearly performance, all in an easy-to-read table format.
Visual Representation: Plots accumulated units and overall performance on the chart, with customizable colors for clarity.
Inputs Explained:
Start Quantity: Define the initial number of units (shares) held at the start of the investment.
Dividend Type: Choose between tracking Net or Gross dividends for reinvestment purposes. Net is always better unless you have a special case and you need to base your calculations on gross.
Start Date: Select a custom date to begin tracking performance. This allows users to focus on performance from any historical point.
Table Size: Customize the size of the text in the performance table to suit your visual preferences.
Performance Line Color: Choose the color of the performance plot line that tracks the value of your investment over time.
Accumulator Line Color: Customize the color of the line that tracks the accumulated units (shares) due to reinvested dividends.
Who Can Benefit: This indicator is ideal for long-term investors and dividend growth investors who want to measure their investment returns over time while factoring in the effects of dividend reinvestment.
Use Cases:
Tracking Dividend Impact: See how reinvesting dividends enhances your overall portfolio value.
Custom Performance Analysis: Set a custom start date to analyze performance from a specific point in time.
Visualizing Growth: Use the chart's plots to visually track your growing number of shares (units) and overall performance.
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.
Index investingThe Index Investing indicator simplifies decision-making for adding to Index ETF's Long-term investments. By utilizing a percentage discount methodology, it highlights potential opportunities to enhance portfolios. This straightforward tool aids in identifying favorable moments to invest based on calculated price discounts from selected reference points, making the process more systematic and less subjective.
🔶 SETTINGS
Reference Price: Choose between 'All-Time-High' or 'Start of the Year' as the basis for calculating discount levels. This allows for flexibility in strategy depending on market conditions or investment philosophy.
Discount 1 %, Discount 2 %, Discount 3 %: These inputs define the percentage below the reference price at which buy signals are generated. They represent strategic entry points at discounted prices.
🔶 Default Parameters
The default parameters of 4.13%, 8.26%, and 12.39% for the discount levels are chosen based on the average 5-year return of the NSE:NIFTY Index, which stands at approximately 12.39%. By dividing this return into three parts, we obtain a structured approach to capturing potential upside at varying levels of market retracement, providing a logical basis for the selected default values.
Users have the flexibility to modify these parameters, tailoring the indicator to fit their unique approach and market outlook.
🔶 How Levels Are Calculated
Discount levels are calculated using the formula: Discount Price = Reference Price * (1 - Discount %) . This succinct approach establishes specific entry points below the chosen reference, such as an all-time high or the year's start price.
🔶 How Are the Buy Labels Generated
Buy signals are generated when the market price(Low of the candle) crosses under any of the defined discount levels. Each level has a corresponding buy label ('Buy 1', 'Buy 2', 'Buy 3'), which is activated upon the price crossing below the specified discount level and is only reset at the beginning of a new year or upon reaching a new reference high, ensuring signals are not repetitive for the same price level.
🔶 Other Features
Alerts: The indicator provides alerts for each buy signal, notifying potential entry points at their defined discount levels. The alert triggers only once per candle.
Year Marker: A vertical line with an accompanying label marks the start of each trading year on the chart. This feature aids in visualizing the temporal context of buy signals and reference price adjustments.
Fetch Buy And Hold StrategyThis script was created as an experiment using ChatGPT. I actually woudn't recommend using the ai program to help you with your Pinescripts, as it makes a fair amount of mistakes. It was a fun experiment however.
The script is a simple buy and hold tool. Here's what it does:
- Everytime the rsi enters below the set treshold, a counter increases.
- The second increase of the counter happens when the price goes above the treshold, and then dips below the treshold again.
- The program would fire off a buy signal when the counter hits the number 3.
- After the buy. the counter will reset.
Lets take a look at the following example where the rsi treshold is 30:
- So the rsi dips below 30 and the initial counter is set from 0 to 1.
- The price rises which brings the rsi back to 40.
- Then another dip happens and the rsi is now 25, increasing the counter from 1 two.
- Rsi now dips to 23 and nothing happens.
- Rsi goes back up to 31, and dips back to 28 which puts the counter at 3. A buy singal is now fired and the counter is set to 0.
Shiller PE Ratio (CAPE Ratio) [WhaleCrew]Our Implementation of the famous Shiller PE Ratio (aka C yclically A djusted P rice-to- E arnings Ratio) a long-term valuation indicator for the S&P 500.
Calculation: Share price divided by 10 - year average, inflation - adjusted earnings
The indicator works on the M and 12M timeframe and has a built-in moving average that supports an upper and lower bollinger band.
Hercules Ultimate DCA™The Problem Most People Face When Trading & Investing:
If anyone tells you they know where the market is going, they’re either lying or they’re time travelers.
The truth is NOBODY knows whether the markets will move up or down tomorrow, next week, next year, or over any period of time.
If we all knew, we’d all be rich. What would suit most Investors is to Invest consistently over long periods of time into sound financial products.
When Creating This Investing Tool We Had 5 Requirements in Mind:
1. To create a tool that ANYONE with little to no experience could use to outperform 95% of traders and speculators.
2. To ignore the Charts, Candlesticks, Indicators, and Volatility in any market so you can rest easy at night, never having to look at the price of your asset and still remain profitable.
3. To create a tool that tells you exactly HOW MUCH to invest every day or week which takes the stress away in guessing which direction the market will go.
3. To minimize your risk and and exposure to downside even if you started buying a crypto at or near the top of a market.
4. To buy a crypto at or near the bottom of every single major swing or trend.
5. To make Investing Easy, Simple, and Fun for the average joe.
We achieved that goal with the Hercules Ultimate DCA™ Tool!
WHO Created it & HOW was it Created?
This tool uses complex math and an algorithm designed by a Quantitative Military Mathematician (who wishes to remain anonymous, so we’ll call him Satoshi) over a period of 5 and a half months.
To start, we wanted to keep things simple, and extensively researched 6 of the top investing strategies of all time:
1. Buy and Hold
2. Active Investing
3. Dollar Cost Averaging
4. Index Investing
5. Growth Investing
6. Value Investing
Most of the strategies above work well depending on your goals or how risk adverse you are, however most DO NOT check off all of the requirements we mentioned above. Comprehensive home-work and price-action history in Cryptocurrency Markets led us to the Dollar Cost Averaging (DCA) Strategy.
According to Fidelity,
“Dollar Cost Averaging is a strategy where you invest your money in equal portions, at regular intervals, regardless of which direction the market or a particular investment is going. In other words, your purchases occur regardless of the changes in price for the stock or other investment, potentially helping reduce the impact of volatility on the overall purchase.”
With this in mind our High IQ math friend got to work and formulated over 17 Different Variable Algorithms on the DCA Strategy before arriving to the one we named Hercules Ultimate DCA™.
WHY the Hercules Ultimate DCA™ Works BETTER Than Anything Else.
Rigorous backtesting & forward-testing led us to create what we believe is the most effective and efficient strategy to extract the most money from the markets while at the same time minimizing nearly all the risk when investing your hard earned money in small increments in a truly effortless way.
The Hercules Ultimate DCA™ is essentially a DCA strategy put on steroids because no two investments are alike.
As we mentioned above, a traditional DCA approach assumes you purchase the same dollar amount of any asset at scheduled times, no matter where the price of your purchased asset is.
Example: If you have $1,000 dollars and decided to invest 50 dollars per week into Bitcoin, you would invest over a period of 20 weeks before you run out of money. Now, let’s assume the price of bitcoin is 50k during your first week, you would invest $50 dollars. Then next week the price rises to 60k, you would still invest $50 Dollars. The third week, if the Price of BTC rose to 70k, you would invest $50 dollars, so on and so forth. This approach is flawed because although you would still do better than many speculators and traders over a long period of time, it essentially leaves you penniless at the end of twenty weeks with no gunpowder left to buy BTC if it drops to all-time lows.
The Hercules Ultimate DCA™ works so well because it tells you to invest less as the price goes up and far more if the prices drops. What feels counterintuitive to most investors is typically what provides the most returns. Take the example above. If you have $1,000 dollars to invest weekly and Bitcoin currently sits at 50k, you would start by investing $50 dollars. Then next week, let’s say BTC rises to 60k, you would now invest $30 dollars. And your third week, BTC reaches 70k, you would now invest $10 dollars. Not only does strategy preserve your capital but it tells you to invest less into an asset at all time highs and far more into an asset at lows.
Now obviously the math in this tool is more complex, but it’s also more cost effective. At the time of writing this, the current Crypto Market has tanked from all-time-highs. Bitcoin currently sits at a price of $32,000 and is 51% down from its high of $64,900 dollars.
Just using this tool over the last 6 years, you would have invested a total of $5758.71 dollars and accumulated 4.328 Bitcoins for an average purchase of $1330.34 dollars. Your current Portfolio value would be $138,519.77 for a whopping percentage gain total of 2305%.
In other words, even with this massive crypto dump, you’d be rolling handsomely in your profits and you’d feel pretty smart too.
What’s more unique is that the Hercules Ultimate DCA™ will ALWAYS tell you to Invest More Dollars at the Literal Bottom of ANY market.
Dips in a market you believe in are far more exciting and will provide far more returns. The only way this tool fails is if the user (you) choose a market that goes to zero or is a rugpull.
How Do You Use the The Hercules Ultimate DCA™?
Step 1: Scroll to your “Invite-Only Scripts” in your indicators tab on Tradingview, then click on the indicator titled, “Hercules Ultimate DCA.”
Step 2: You should see the Indicator Populate at the Bottom of your chart with two lines, the Green line indicating how much you should buy that day, and the Blue line indicating how much of the asset you’ve purchased.
Step 3: (If you haven’t already) Make sure you turn on the Indicator Label. Navigate to the top right of the Crypto Product you would like to purchase and you will see a small settings gear. Once open, navigate on the left-hand side to the “Scales” tab and find the “Indicator Last Value Label.” Make sure it’s turned on and you will see the direct price.
Step 4: The amount you invest will now populate on the right hand side of the indicator with a number. That’s the exact dollar amount you invest in a disciplined manner no matter how large or small the number may seem.
Step 5: Get familiar with the indicator by opening the settings on the indicator itself. You will notice on the first tab it has a multiplier. If you increase it to 2, then the indicator will tell you to invest double the amount. If you input 10, then it will tell you to invest 10x the amount.
Step 6: Choose a Chart Timeframe and time of day to invest. If you choose to go with a once weekly investment then we recommend you increase your multiplier. If you choose a daily investment (and lack the necessary capital to invest large amounts daily) then we recommend keeping your multiplier down to lower numbers incase we see a lot of volatility. For most folks, once weekly on a 10x multiplier is most convenient. Set your chart to a weekly time-frame and increase your multiplier to 10. Then each week around the same time, you must invest.
Step 7: STAY DISCIPLINED. This method and tool only works if you invest the exact amount it tells you to invest over sustained periods of time.
Step 8: Enjoy Investing Made Easy 🙂
🔗 Blockchain Fundamentals - NVU Ratio by Cryptorhythms🔗 Blockchain - NVU (Network Value to User) Ratio by Cryptorhythms
Introduction
Please note this is not an indicator that gives you buy and sell signals, its for bitcoin blockchain based fundamental analysis and valuation metrics.
Description
Blockchains have network effects.
The classic example of network effects is Facebook: every person who gets on Facebook makes the network a little more valuable for every other person on Facebook.
As the number of users in a network grows, the more valuable the network becomes. That’s why the most powerful companies in the world today are network companies: Facebook, Apple, Google. The old-school “blue chip” companies don’t have the benefits of network effects. (When a new customer buys your toothpaste, it doesn’t make toothpaste more valuable for everyone else.)
Blockchain assets (like bitcoin) are essentially networks. The more people who use a blockchain asset (like bitcoin), the more valuable that blockchain becomes. One way that analysts value network companies (like Facebook and Twitter) is by looking at Network Value per User. We take their market cap, then divide by their number of Monthly Active Users.
Of the top social media networks, the Value Per User generally ranges from $25 to $250. These values have fluctuated over time, but they give us some guard rails. Of the blockchains we can track, the Network Value per User is typically $1,000 and $5,000 per user. This makes sense, as we would expect blockchain NVU to be higher than social media NVU, since blockchain users are much more valuable—they’re not just mindless ad-consuming machines, like on Facebook.
The caveat is that Value Per User depends on knowing Monthly Active Users, which is not available for all blockchain assets. Blockchains that have this level of transparency will have better valuation metrics, which means they will become more trusted, and thus more highly valued.