Weekend Analysis
There are always discussions about how the weekend affects Crypto-Coins.
It seems that on Monday, the price usually returns to Friday's level.
To make a qualified statement, I wrote this script that tests exactly that
and provides an evaluation.
It displays a candle for Saturday and Sunday.
Either green or red, but also blue if there was hardly any movement.
This threshold is set at 2%, but can be changed in the settings.
If the relative distance from Saturday's open to Friday's close is less than this value,
it counts as the same.
The timeframe should be between day and hour so that Tradingview goes back far enough in the past.
The output (here for BTC)
Total: 477
Lower: 20%
Equal: 55%
Higher: 25%
is displayed in the chart, but also output via the log function.
Fundamental Analysis
Optimal Buy Day (Zeiierman)█ Overview
The Optimal Buy Day (Zeiierman) indicator identifies optimal buying days based on historical price data, starting from a user-defined year. It simulates investing a fixed initial capital and making regular monthly contributions. The unique aspect of this indicator involves comparing systematic investment on specific days of the month against a randomized buying day each month, aiming to analyze which method might yield more shares or a better average price over time. By visualizing the potential outcomes of systematic versus randomized buying, traders can better understand the impact of market timing and how regular investments might accumulate over time.
These statistics are pivotal for traders and investors using the script to analyze historical performance and strategize future investments. By understanding which days offered more shares for their money or lower average prices, investors can tailor their buying strategies to potentially enhance returns.
█ Key Statistics
⚪ Shares
Definition: Represents the total number of shares acquired on a particular day of the month across the entire simulation period.
How It Works: The script calculates how many shares can be bought each day, given the available capital or monthly contribution. This calculation takes into account the day's opening price and accumulates the total shares bought on that day over the simulation period.
Interpretation: A higher number of shares indicates that the day consistently offered better buying opportunities, allowing the investor to acquire more shares for the same amount of money. This metric is crucial for understanding which days historically provided more value.
⚪ AVG Price
Definition: The average price paid per share on a particular day of the month, averaged over the simulation period.
How It Works: Each time shares are bought, the script calculates the average price per share, factoring in the new shares purchased at the current price. This average evolves over time as more shares are bought at varying prices.
Interpretation: The average price gives insight into the cost efficiency of buying shares on specific days. A lower average price suggests that buying on that day has historically led to better pricing, making it a potentially more attractive investment strategy.
⚪ Buys
Definition: The total number of transactions or buys executed on a particular day of the month throughout the simulation.
How It Works: This metric increments each time shares are bought on a specific day, providing a count of all buying actions taken.
Interpretation: The number of buys indicates the frequency of investment opportunities. A higher count could mean more consistent opportunities for investment, but it's important to consider this in conjunction with the average price and the total shares acquired to assess overall strategy effectiveness.
⚪ Most Shares
Definition: Identifies the day of the month on which the highest number of shares were bought, highlighting the specific day and the total shares acquired.
How It Works: After simulating purchases across all days of the month, the script identifies which day resulted in the highest total number of shares bought.
Interpretation: This metric points out the most opportune day for volume buying. It suggests that historically, this day provided conditions that allowed for maximizing the quantity of shares purchased, potentially due to lower prices or other factors.
⚪ Best Price
Definition: Highlights the day of the month that offered the lowest average price per share, indicating both the day and the price.
How It Works: The script calculates the average price per share for each day and identifies the day with the lowest average.
Interpretation: This metric is key for investors looking to minimize costs. The best price day suggests that historically, buying on this day led to acquiring shares at a more favorable average price, potentially maximizing long-term investment returns.
⚪ Randomized Shares
Definition: This metric represents the total number of shares acquired on a randomly selected day of the month, simulated across the entire period.
How It Works: At the beginning of each month within the simulation, the script selects a random day when the market is open and calculates how many shares can be purchased with the available capital or monthly contribution at that day's opening price. This process is repeated each month, and the total number of shares acquired through these random purchases is tallied.
Interpretation: Randomized shares offer a comparison point to systematic buying strategies. By comparing the total shares acquired through random selection against those bought on the best or worst days, investors can gauge the impact of timing and market fluctuations on their investment strategy. A higher total in randomized shares might indicate that over the long term, the specific days chosen for investment might matter less than consistent market participation. Conversely, if systematic strategies yield significantly more shares, it suggests that timing could indeed play a crucial role in maximizing investment returns.
⚪ Randomized Price
Definition: The average price paid per share for the shares acquired on the randomly selected days throughout the simulation period.
How It Works: Each time shares are bought on a randomly chosen day, the script calculates the average price paid for all shares bought through this randomized strategy. This average price is updated as the simulation progresses, reflecting the cost efficiency of random buying decisions.
Interpretation: The randomized price metric helps investors understand the cost implications of a non-systematic, random investment approach. Comparing this average price to those achieved through more deliberate, systematic strategies can reveal whether consistent investment timing strategies outperform random investment actions in terms of cost efficiency. A lower randomized price suggests that random buying might not necessarily result in higher costs, while a higher average price indicates that systematic strategies might provide better control over investment costs.
█ How to Use
Traders can use this tool to analyze historical data and simulate different investment strategies. By inputting their initial capital, regular contribution amount, and start year, they can visually assess which days might have been more advantageous for buying, based on historical price actions. This can inform future investment decisions, especially for those employing dollar-cost averaging strategies or looking to optimize entry points.
█ Settings
StartYear: This setting allows the user to specify the starting year for the investment simulation. Changing this value will either extend or shorten the period over which the simulation is run. If a user increases the value, the simulation begins later and covers a shorter historical period; decreasing the value starts the simulation earlier, encompassing a longer time frame.
Capital: Determines the initial amount of capital with which the simulation begins. Increasing this value simulates starting with more capital, which can affect the number of shares that can be initially bought. Decreasing this value simulates starting with less capital.
Contribution: Sets the monthly financial contribution added to the investment within the simulation. A higher contribution increases the investment each month and could lead to more shares being purchased over time. Lowering the contribution decreases the monthly investment amount.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
LIT - Timings Fx MartinThe Asia Liquidity Points Indicator is a powerful tool designed for traders to identify key liquidity points during the Asia trading session. This script is tailored specifically to aid traders in capitalizing on the unique characteristics of Asian markets, providing invaluable insights into liquidity zones that can significantly enhance trading decisions.
Key Features:
Asia Session Focus: The indicator focuses exclusively on the Asia trading session, which encompasses the trading activity primarily in the Asian markets such as Tokyo, Hong Kong, Singapore, and others.
Liquidity Zones Identification: The script utilizes advanced algorithms to identify and map out liquidity zones within the Asia trading session. These zones represent areas where significant buying or selling pressure is likely to occur, thus presenting lucrative trading opportunities.
Customizable Parameters: Traders have the flexibility to customize various parameters such as time frame, sensitivity, and display options to suit their trading preferences and strategies.
Visual Alerts: The indicator provides visual alerts on the trading chart, clearly indicating the location and strength of liquidity points. This feature enables traders to quickly identify potential entry or exit points based on the liquidity dynamics in the market.
Real-Time Updates: The script continuously monitors market activity during the Asia session, providing real-time updates on liquidity points as they evolve. This ensures traders stay informed and adaptable to changing market conditions.
Integration with Trading Strategies: The Asia Liquidity Points Indicator seamlessly integrates with various trading strategies, serving as a valuable tool for both discretionary and algorithmic traders. Whether used in isolation or in combination with other technical analysis tools, this indicator can enhance trading performance and profitability.
User-Friendly Interface: The indicator boasts a user-friendly interface, making it accessible to traders of all levels of experience. Whether you are a novice trader or a seasoned professional, you can easily incorporate this tool into your trading arsenal.
In conclusion, the Asia Liquidity Points Indicator offers traders a strategic advantage in navigating the nuances of the Asia trading session. By identifying key liquidity zones and providing real-time insights, this script empowers traders to make informed decisions and capitalize on lucrative trading opportunities in the dynamic Asian markets.
Blockunity Address Synthesis (BAS)Track the address status of the various cryptoassets and their evolution.
The Idea
The goal is to provide a simple tool for visualizing the evolution of different types of crypto addresses.
How to Use
This tool is to be used as fundamental information. It is not intended for investment or trading purposes.
Elements
Active Addresses
Active Addresses represent the subset of total addresses that made one or more on-chain transaction on a given day.
New Addresses
New Addresses refer to addresses that receive their first deposit in the selected crypto-asset.
Zero Balance Addresses
Zero Balance Addresses are addresses that transferred out (potentially sold) all of their holdings for the selected crypto-asset.
Total Addresses
Total Addresses refer to the overall count of unique addresses that have been created on a blockchain network.
Settings
In the settings, you can :
Adjust line smoothing (in terms of number of days).
Change the lookback period used to calculate the different variations.
Display or not the different address types (for better visualization, Total Addresses should be shown alone).
Show or hide labels and configure their offset.
Lastly, you can modify all table parameters.
Crypto Stablecoin Supply - Indicator [presentTrading]█ Introduction and How it is Different
The "Stablecoin Supply - Indicator" differentiates itself by focusing on the aggregate supply of major stablecoins—USDT, USDC, and DAI—rather than traditional price-based metrics. Its premise is that fluctuations in the total supply of these stablecoins can serve as leading indicators for broader market movements, offering traders a unique vantage point to anticipate shifts in market sentiment.
BTCUSD 6h for recent bull market
BTCUSD 8h
█ Strategy, How it Works: Detailed Explanation
🔶 Data Collection
The strategy begins with the collection of the closing supply for USDT, USDC, and DAI stablecoins. This data is fetched using a specified timeframe (**`tfInput`**), allowing for flexibility in analysis periods.
🔶 Supply Calculation
The individual supplies of USDT, USDC, and DAI are then aggregated to determine the total stablecoin supply within the market at any given time. This combined figure serves as the foundation for the subsequent statistical analysis.
🔶 Z-Score Computation
The heart of the indicator's strategy lies in the computation of the Z-Score, which is a statistical measure used to identify how far a data point is from the mean, relative to the standard deviation. The formula for the Z-Score is:
Z = (X - μ) / σ
Where:
- Z is the Z-Score
- X is the current total stablecoin supply (TotalStablecoinClose)
- μ (mu) is the mean of the total stablecoin supply over a specified length (len)
- σ (sigma) is the standard deviation of the total stablecoin supply over the same length
A moving average of the Z-Score (**`zScore_ma`**) is calculated over a short period (defaulted to 3) to smooth out the volatility and provide a clearer signal.
🔶 Signal Interpretation
The Z-Score itself is plotted, with its color indicating its relation to a defined threshold (0.382), serving as a direct visual cue for market sentiment. Zones are also highlighted to show when the Z-Score is within certain extreme ranges, suggesting overbought or oversold conditions.
Bull -> Bear
█ Trade Direction
- **Entry Threshold**: A Z-Score crossing above 0.382 suggests an increase in stablecoin supply relative to its historical average, potentially indicating bullish market sentiment or incoming capital flow into cryptocurrencies.
- **Exit Threshold**: Conversely, a Z-Score dropping below -0.382 may signal a reduction in stablecoin supply, hinting at bearish sentiment or capital withdrawal.
█ Usage
Traders can leverage the "Stablecoin Supply - Indicator" to gain insights into the underlying market dynamics that are not immediately apparent through price analysis alone. It is particularly useful for identifying potential shifts in market sentiment before they are reflected in price movements. By integrating this indicator with other technical analysis tools, traders can develop a more rounded and informed trading strategy.
█ Default Settings
- Timeframe Input (`tfInput`): Allows users to specify the timeframe for data collection, adding flexibility to the analysis.
- Z-Score Length (`len`): Set to 252 by default, representing the period over which the mean and standard deviation of the stablecoin supply are calculated.
- Color Coding: Uses distinct colors (green for bullish, red for bearish) to indicate the Z-Score's position relative to its thresholds, enhancing visual clarity.
- Extreme Range Fill: Highlights areas between defined high and low Z-Score thresholds with distinct colors to indicate potential overbought or oversold conditions.
By integrating considerations of stablecoin supply into the analytical framework, the "Stablecoin Supply - Indicator" offers a novel perspective on cryptocurrency market dynamics, enabling traders to make more nuanced and informed decisions.
Interest Rate IndicatorThis script offers a overview of Year-over-Year (YoY) interest rates for key countries. The interest rate data utilized by default are sourced from TradingView Tickers, but they can be modified to any preferred source via the settings.
The script does not perform any calculations; its primary function is to present a comparative view of interest rates across different countries in a single indicator.
Key features include:
Interest rate data for the USA, European Union, Australia, Canada, Switzerland, Japan, United Kingdom, and New Zealand (Interest Rate Symbols are editable in the settings).
A table displaying country flags, names, and the latest interest rates, providing a clear and immediate comparison.
Country-representative colors for easy identification and visual distinction between different countries' data.
This indicator is designed for traders and analysts looking for a quick and efficient way to monitor and compare the interest rates of major economies directly within TradingView, facilitating better informed financial and investment decisions.
Debasement Adjusted CAGREquity growth may appear less significant when juxtaposed with the expansion of the money supply. This is because markets tend to adjust prices to reflect changes in money supply almost immediately.
Our indicator offers a unique perspective by adjusting the current ticker price for the M2 money supply and normalizing this data to show the percentage appreciation since the first visible bar on the chart. Users can also select alternative money supply measures, such as the EU-M2, via the indicator's settings.
This approach essentially redefines the price as the "growth of the relative share of the total money supply," providing a novel lens through which to view equity performance.
Additionally, the indicator computes both the Compound Annual Growth Rate (CAGR) and the total growth observed from this adjusted standpoint. These metrics are calculated within the context of the selected time range, adding depth to the analysis.
Although this indicator is compatible with all timeframes, it is primarily designed as a macroeconomic tool. It yields the most meaningful insights when applied to longer-term perspectives, such as weekly or monthly timeframes.
This tool builds upon the foundational work presented in the "Inflation Adjusted Performance Ticker," accessible at Inflation Adjusted Performance Ticker , enhancing its application by normalizing the results and computing CAGR and total growth.
LV Stock Valuation by Benjamin Graham's FormulaBenjamin Graham's stock valuation formula for growth companies is based on the principle that a stock is a part of a business, and that by analyzing the fundamentals of any company in the stock market, you should be able to derive its intrinsic value independent from its current stock price. Graham suggests that over the long-term, the stock price of a company and its intrinsic/fair value will converge towards each other until the stock price reflects the true value of the company. Finally, Graham recommends that after estimating the intrinsic value of a stock, investors should always purchase the stock with a "margin of safety," to protect oneself from assumptions and potential errors made in the valuation process.
Graham's stock valuation formula to calculate intrinsic value was originally shown in the 1962 edition of Security Analysis as follows:
V = EPS * (8.5 + 2g)
where:
V = intrinsic value per share (over the next 7-10 years)
EPS = earnings per share (over the trailing twelve months (TTM))
8.5 = price-to-earnings (P/E) base for a no-growth company
g = reasonably expected annual growth rate (over the next 7-10 years)
In 1974, Graham revised this formula, as published in The Intelligent Investor, to include a discount rate (aka required rate of return). This was after he concluded that the greatest contributing to stock values and prices over the past decade had been due to interest rates.
Graham's current stock valuation formula is shown below:
V = (EPS * (8.5 + 2g) * Z) / Y
where:
V = intrinsic value per share (over the next 7-10 years)
EPS = diluted earnings per share (over the trailing twelve months (TTM))
8.5 = price-to-earnings (P/E) base for a no-growth company (you can change it manually)
g = reasonably expected annual growth rate (calculated by 5-Yr EPS CAGR%) (you can change year period)
Z = average yield of XXX Bonds (4.4 is default on Graham's formula)
Y = current yield of XXX Bonds
Current bond yield values (Z and Y) are selected as an example from Turkey. You need to change it according to the country of stocks.
Buy price (BP) = Intrinsic value per share * (1 - Margin of safety %)
Margin of safety = selected 20% (you need to change it to 0, if you don’t want to use margin of safety and to see intrinsic value)
Buy price > Current market price: Consider buying the stock, as the current market price appears to be undervalued.
Buy price < Current market price: Consider selling or not buying the stock, as the current market price appears to be overvalued.
Keep in mind that this buy/sell recommendation is purely based on Graham's stock valuation formula and the current market price, and ignores all other fundamental, news, and market factors investors should examine as well before making an investment decision.
Buy price is calculated for 5 different P/E values in the script.
1. with fixed P/E
2. with current P/E
3. with forward P/E
4. with sector P/E (optional)
5. with index P/E (optional)
You can also do calculations by using different growth rate by selecting that option.
Different type of moving averages is also included in the script as an option.
Inflation IndicatorThis script provides a great view of Year-over-Year (YoY) inflation rates for key countries.
The inflation data used per default are TradingView Tickers, but you can change them to anything you want from the settings.
There is no calculation in this script, all it does is providing a overview of inflation rates in a single indicator.
Inflation data for the USA, European Union, Australia, Canada, Switzerland, Japan, United Kingdom, and New Zealand (Inflation Symbols editable in the settings)
Customizable static line to indicate a specific threshold value (default: 2.0).
Table displaying country flags, names, and the latest inflation rates.
Country-representative colors for easy identification.
Economic Growth Index (XLY/XLP)Keeping an eye on the macroeconomic environment is an essential part of a successful investing and trading strategy. Piecing together and analysing its complex patterns are important to detect probable changing trends. This may seem complicated, or even better left to experts and gurus, but it’s made a whole lot easier by this indicator, the Economic Growth Index (EGI).
Common sense shows that in an expanding economy, consumers have access to cash and credit in the form of disposable income, and spend it on all sorts of goods, but mainly crap they don’t need (consumer discretionary items). Companies making these goods do well in this phase of the economy, and can charge well for their products.
Conversely, in a contracting economy, disposable income and credit dry up, so demand for consumer discretionary products slows, because people have no choice but to spend what they have on essential goods. Now, companies making staple goods do well, and keep their pricing power.
These dynamics are represented in EGI, which plots the Rate of Change of the Consumer Discretionary ETF (XLY) in relation to the Consumer Staples ETF (XLP). Put simply, green is an expanding phase of the economy, and red shrinking. The signal line is the market, a smoothed RSI of the S&P500. Run this on a Daily timeframe or higher. Check it occasionally to see where the smart money is heading.
MVRV Z-Score [AlgoAlpha]Introducing the ∑ MVRV Z-Score by AlgoAlpha, a dynamic and sophisticated tool designed for traders seeking to gain an edge in INDEX:BTCUSD analysis. This script employs advanced statistical techniques on Bitcoin On-Chain data to offer a deeper understanding of market conditions, focusing on valuation extremes and momentum trends. Let's explore the features and functionalities that make this tool a valuable addition to your trading arsenal.
Key Features:
🔶 Adjustable Parameters: Customize the Z score lookback length, moving average lookback length, and choose from six moving average types, tailoring the analysis to your trading style.
🔶 Heiken Ashi Compatibility: Incorporate Heiken Ashi plots to visualize market trends, adding a layer of clarity to your technical analysis.
🔶 Divergence Alerts: Detect significant bullish and bearish divergences, allowing for timely identification of potential market reversals.
🔶 Configurable Alerts: Set alerts for overbought, oversold, and divergence conditions, ensuring you never miss an opportunity.
How to Use:
1. ➡️ Parameter Selection: Start by configuring the Z-Score and moving average settings according to your analysis needs. This includes selecting the lookback period and the type of moving average.
2. ➡️ Visualization Options: Choose to enable Heiken Ashi plots for an alternative view of the Z-Score, which can help in identifying trend directions more clearly.
3. ➡️ Monitor for Signals: Keep an eye out for divergence signals and overbought/oversold conditions as potential indicators for entering or exiting trades.
4. ➡️ Alert Setup: Configure alerts based on your selected parameters to receive notifications for important market movements and conditions.
How It Works:
The core of this tool is the Z-Score calculation, which assesses the standard deviation of the current market value from its mean, highlighting overvalued or undervalued market conditions. Here's a brief overview of the script's operational mechanics:
1. 📊 Calculating the Z-Score: The script first calculates the mean over a user-defined lookback period of the MVRV ratio, then it computes the Z-Score to identify deviations from the average.
meanValue = ta.sma(marketValue, zScoreLookback)
zScoreValue = (marketValue - meanValue) / ta.stdev(marketValue, zScoreLookback)
2. 📈 Applying a Moving Average: To smooth the Z-Score data and make trends more discernible, a moving average is applied. Users can choose from several types, such as SMA, EMA, or HMA, based on their preference.
3. 🔄 Heiken Ashi Visualization: For those opting for a more intuitive trend analysis, Heiken Ashi plots can be enabled, transforming the Z-Score data into candlestick charts that simplify trend identification.
4. 🔍 Identifying Divergences: The script is equipped to spot divergences between the market price action and the Z-Score, signaling potential bullish or bearish market reversals.
oscHigherLow = haClose > ta.valuewhen(findPivotLow, haClose , 1) and isInRange(findPivotLow )
priceLowerLow = low < ta.valuewhen(findPivotLow, low , 1)
bullishCondition = enablePlotBullish and priceLowerLow and oscHigherLow and findPivotLow
5. 🚨 Configurable Alerts: Lastly, the script allows for the setting of customizable alerts based on the Z-Score, moving averages, and identified divergences, enabling traders to react promptly to market changes.
The ∑ MVRV Z-Score by AlgoAlpha is an essential tool for traders looking to analyze and interpret market dynamics through a quantitatively rigorous lens. Whether you're focused on identifying market extremes or tracking trend momentum, this script offers the insights needed to support informed trading decisions. 🌟📊💡
Bitcoin Price Based On ElectricityThis script Calculates the price of Bitcoin solely on the hashrate and the cost of electricity.
The calculation is quite conservative considering its based on the average cost of electricity globally and we are assuming that everyone is running the latest mining hardware, which is the most efficient and cost effective.
Under both of these assumptions the calculation for bitcoins price is almost identical to the price we are seeing now.
If we change the reward rate to 3.125 (Aprils reward amount) then the price of one bitcoin per cost of work will be around 100k.
I am sure I am missing some important numbers in this calculation, fees, start up costs etc. However, it is very interesting to see that the price of Bitcoin can be calculated almost perfectly based on the hashrate and cost of electricity.
PROOF OF WORK
Ohlson O-Score IndicatorThe Ohlson O-Score is a financial metric developed by Olof Ohlson to predict the probability of a company experiencing financial distress. It is widely used by investors and analysts as a key tool for financial analysis.
Inputs:
Period: Select the financial period for analysis, either "FY" (Fiscal Year) or "FQ" (Fiscal Quarter).
Country: Specify the country for Gross Net Product data. This helps in tailoring the analysis to specific economic conditions.
Gross Net Product : Define the number of years back for the index to be set at 100. This parameter provides a historical context for the analysis.
Table Display : Customize the display of various tables to suit your preference and analytical needs.
Key Features:
Predictive Power : The Ohlson O-Score is renowned for its predictive power in assessing the financial health of a company. It incorporates multiple financial ratios and indicators to provide a comprehensive view.
Financial Distress Prediction : Use the O-Score to gauge the likelihood of a company facing financial distress in the future. It's a valuable tool for risk assessment.
Country-Specific Analysis : Tailor the analysis to the economic conditions of a specific country, ensuring a more accurate evaluation of financial health.
Historical Context : Set the Gross Net Product index at a specific historical point, allowing for a deeper understanding of how a company's financial health has evolved over time.
How to Use:
Select Period : Choose either Fiscal Year or Fiscal Quarter based on your preference.
Specify Country : Input the country for country-specific Gross Net Product data.
Set Historical Context : Determine the number of years back for the index to be set at 100, providing historical context to your analysis.
Custom Table Display : Personalize the display of various tables to focus on the metrics that matter most to you.
Calculation and component description
Here is the description of O-score components as found in orginal Ohlson publication :
1. SIZE = log(total assets/GNP price-level index). The index assumes a base value of 100 for 1968. Total assets are as reported in dollars. The index year is as of the year prior to the year of the balance sheet date. The procedure assures a real-time implementation of the model. The log transform has an important implication. Suppose two firms, A and B, have a balance sheet date in the same year, then the sign of PA - Pe is independent of the price-level index. (This will not follow unless the log transform is applied.) The latter is, of course, a desirable property.
2. TLTA = Total liabilities divided by total assets.
3. WCTA = Working capital divided by total assets.
4. CLCA = Current liabilities divided by current assets.
5. OENEG = One if total liabilities exceeds total assets, zero otherwise.
6. NITA = Net income divided by total assets.
7. FUTL = Funds provided by operations divided by total liabilities
8. INTWO = One if net income was negative for the last two years, zero otherwise.
9. CHIN = (NI, - NI,-1)/(| NIL + (NI-|), where NI, is net income for the most recent period. The denominator acts as a level indicator. The variable is thus intended to measure change in net income. (The measure appears to be due to McKibben ).
Interpretation
The foundational model for the O-Score evolved from an extensive study encompassing over 2000 companies, a notable leap from its predecessor, the Altman Z-Score, which examined a mere 66 companies. In direct comparison, the O-Score demonstrates significantly heightened accuracy in predicting bankruptcy within a 2-year horizon.
While the original Z-Score boasted an estimated accuracy of over 70%, later iterations reached impressive levels of 90%. Remarkably, the O-Score surpasses even these high benchmarks in accuracy.
It's essential to acknowledge that no mathematical model achieves 100% accuracy. While the O-Score excels in forecasting bankruptcy or solvency, its precision can be influenced by factors both internal and external to the formula.
For the O-Score, any results exceeding 0.5 indicate a heightened likelihood of the firm defaulting within two years. The O-Score stands as a robust tool in financial analysis, offering nuanced insights into a company's financial stability with a remarkable degree of accuracy.
Earnings CountdownSince TradingView for some reason removed the small UI element in the symbol details window showing the amount of days left til a company releases its next earnings report, I decided to make my own.
A simple script with options for choosing the position and at what amount of days left the displayed color should change to red (mimicking the old feature).
I would suggest placing the indicator somewhere else than the main price chart, since it will be difficult to place it somewhere where it doesn't obscure something. Default is bottom and right since I place it on a separate volume indicator where the number is clearly visible.
THISMA cbpremiumDescription:
This script is tailored for traders interested in monitoring the premium difference between the Coinbase BTCUSD pair and another selected exchange.
Key Features:
- Customizable Exchange Selection: Users can input the symbol of any other exchange to compare against Coinbase's BTCUSD pair. The default comparison is set against BITFINEX:BTCUSD.
- Real-Time Premium Calculation: The script calculates the premium or discount of Coinbase's Bitcoin price over the chosen exchange. It does this by subtracting the closing price of Bitcoin on the selected exchange from Coinbase's closing price.
- Intuitive Color Coding: The premium difference is visually represented in a histogram format. If Coinbase's price is higher, the bar is shown in a bright yellow (RGB: 236, 222, 92), indicating a premium. If it's lower, the bar is displayed in a deep blue (RGB: 46, 125, 189), signifying a discount.
Applications:
- Market Comparison: This tool is excellent for traders who want to compare Bitcoin's market value across different exchanges quickly. It helps in identifying potential arbitrage opportunities.
- Price Analysis: By understanding the premium or discount of Bitcoin on Coinbase compared to another exchange, traders can gain insights into market sentiment and potential price movements on different platforms.
ROCE with 3-Year EMAThis Pine Script indicator, "3-Year EMA of Return on Capital Employed (ROCE)," is designed for investors and traders who incorporate both fundamental and technical analysis in their market approach. ROCE is a crucial metric for evaluating the efficiency and profitability of a company's capital employment. Our script enhances this analysis by overlaying a 3-year Exponential Moving Average (EMA) on the ROCE, allowing users to compare current performance against a longer-term trend.
Key Features:
ROCE Calculation: The script calculates the Return on Capital Employed (ROCE) using EBIT (Earnings Before Interest and Taxes) for the Trailing Twelve Months (TTM) and Capital Employed (Total Assets minus Short Term Debt) for the Fiscal Year (FY). This calculation provides a snapshot of how effectively a company is using its capital to generate profits.
3-Year EMA Overlay: The script features a 3-year EMA of the ROCE, providing a smoothed, long-term trend line. This EMA helps in identifying broader trends in a company's operational efficiency and profitability, making it easier to spot deviations from the historical norm.
Customizable for Different Data Frequencies: Whether your data is quarterly, monthly, or weekly, the script is adaptable. The length of the EMA is adjustable to suit the data frequency, ensuring accurate representation over a 3-year period.
Visualization: The ROCE and its 3-year EMA are plotted with distinct colors for easy comparison and analysis. This visual representation aids in quickly assessing the company's current performance against its historical trend.
Customization: Users can adjust the EMA length to match the frequency of their data (e.g., 12 for quarterly, 36 for monthly, 156 for weekly data).
Usage Tips:
Best used on companies with stable and consistent reporting.
Combine with other fundamental and technical indicators fo
r comprehensive analysis.
Disclaimer: This script is provided for informational and educational purposes only and should not be construed as investment advice.
Election Year GainsShows the yearly gains of the chart in U.S. Election years.
Use the options to turn on other years in the cycle.
For use with the 12M chart.
Will show non-sensical data with other intervals.
Crypto USD LiquidityThe "Crypto USD Liquidity " indicator is designed to offer a comprehensive analysis of liquidity dynamics within the cryptocurrency market, specifically focusing on various stablecoins. This versatile tool allows users to tailor their analysis by adjusting key parameters such as the Rate of Change (ROC) length and the smoothing rate.
The indicator incorporates a user-friendly interface with options to selectively display the supply data for major stablecoins, including USDT, BUSD, USDC, DAI, and TUSD . Users can toggle these options to observe and compare the liquidity trends of different stablecoin assets.
The total liquidity is computed as the summation of the selected stablecoin supplies, providing a holistic view of the overall crypto market liquidity. The Rate of Change (ROC) and its smoothing are then applied to the aggregated liquidity data. This process helps users identify trends and potential turning points in the liquidity landscape.
The visual representation on the chart includes a color-coded display: positive changing ROC values are shaded in green, indicating potential increases in liquidity, while negative values are shaded in red, suggesting potential decreases. This color scheme enhances the user's ability to quickly interpret the changing dynamics of stablecoin liquidity.
Moreover, the script includes a Zero Line for reference and overlays the raw ROC values for additional insight. The resulting chart not only serves as a powerful analytical tool for traders and investors but also contributes to a deeper understanding of the nuanced movements within the broader cryptocurrency market.
In summary, the "Crypto USD Liquidity" Pine Script indicator empowers users with a customizable and visually informative tool for analyzing and interpreting the complex dynamics of stablecoin liquidity, facilitating more informed decision-making in the realm of cryptocurrency trading and investment.
COT Index by NielsThe COT index is an indicator for determining trend reversals based on the net positions of commercials from the CFTC COT report.
A time frame of 26 weeks is selected as the basis. If the value is greater than or equal to 75, this is a bullish sign; if it is less than or equal to 25, this is a bearish sign.
You can select the number of weeks to be used for the calculation.
As the CFTC data is only published on Fridays at 21:30, the value of the current week is hidden until the market closes.
In addition, the background changes color when the index reaches an extreme range.
Both functions can be deactivated in the settings.
Hodl Calculation v1.0I have developed an indicator that calculates the value of our currency if we had periodically bought any stock or cryptocurrency on any exchange. I believe many individuals would be interested in computing such values.
You can customize the start and end times, choose the amount of currency to be used for each deal, and select from two frequency options.
The first option involves specific intervals, such as hourly, every three days, or bi-weekly.
The second option allows purchases at specific dates or times, like every 15th of the month at 12:00 PM, every Monday at 11:00 AM, or every day at 6:00 AM.
After selecting the frequency, the indicator performs calculations and presents statistical information in a table.
The summarized data includes frequency value, total selected period duration, number of deals, total quantity, total cost, current value, and profit/loss status.
MicroStrategy / Bitcoin Market Cap RatioThis indicator offers a unique analytical perspective by comparing the market capitalization of MicroStrategy (MSTR) with that of Bitcoin (BTC) . Designed for investors and analysts interested in the correlation between MicroStrategy's financial performance and the Bitcoin market, the script calculates and visualizes the ratio of MSTR's market capitalization to Bitcoin's market capitalization.
Key Features:
Start Date: The script considers data starting from July 28, 2020, aligning with MicroStrategy's initial announcement to invest in Bitcoin.
Data Sources: It retrieves real-time data for MSTR's total shares outstanding, MSTR's stock price, and BTC's market capitalization.
Market Cap Calculations: The script calculates MicroStrategy's market cap by multiplying its stock price with the total shares outstanding. It then forms a ratio of MSTR's market cap to BTC's market cap.
Bollinger Bands: To add a layer of analysis, the script includes Bollinger Bands around the ratio, with customizable parameters for length and multiplier. These bands can help identify overbought or oversold conditions in the relationship between MSTR's and BTC's market values.
The indicator plots the MSTR/BTC market cap ratio and the Bollinger Bands, providing a clear visual representation of the relationship between these two market values over time.
This indicator is ideal for users who are tracking the impact of Bitcoin's market movements on MicroStrategy's valuation or vice versa. It provides a novel way to visualize and analyze the interconnectedness of a leading cryptocurrency asset and a major corporate investor in the space.
Financials - Quick OverviewThis unique indicator is designed to provide traders and investors with a concise yet comprehensive view of a company's financial health and sector classification. It features an intuitive table displayed prominently on the chart, offering a blend of essential company information and key financial metrics. This tool is ideal for those looking to integrate fundamental analysis into their technical trading strategy.
Key Features:
Company Sector Information: Get a quick glimpse of the company's industry sector, aiding in understanding its market position and comparative performance within its industry.
Financial Overview: The table includes vital financial data such as Earnings and Sales, providing insights into the company's revenue and profitability.
Growth Metrics: Track both quarter-over-quarter (QoQ) and year-over-year (YoY) growth, offering a dynamic view of the company's performance over time.
Operating Margin Percentage (OPM%): Understand the efficiency of the company's operations with the OPM%, which indicates the proportion of revenue that remains after paying for variable costs of production.
Price-to-Earnings (PE) Ratio: Assess the company's stock value relative to its earnings, an essential metric for valuation and comparative analysis within the sector.
Usage: This indicator is particularly useful for investors and traders who incorporate fundamental analysis into their decision-making process. By providing key financial data directly on the chart, it allows for a more integrated approach to technical and fundamental analysis. The indicator is designed to be straightforward and easy to interpret, making it suitable for both seasoned investors and those new to financial analysis.
Free cash flow yieldThis script shows
- FCF Yield Net based on enterprise value. See reference: www.investopedia.com
- FCF Yield Diluted: which reduced CFC net by dilution amount.
- FCF % change.
This should give you a good overview on how well the company is at growing FCF and how efficiently they are creating FCF.