MMRI Chart (Primary)The **Mannarino Market Risk Indicator (MMRI)** is a financial risk measurement tool created by financial strategist Gregory Mannarino. It’s designed to assess the risk level in the stock market and economy based on current bond market conditions and the strength of the U.S. dollar. The MMRI considers factors like the U.S. 10-Year Treasury Yield and the Dollar Index (DXY), which indicate investor confidence in government debt and the dollar's purchasing power, respectively.
The formula for MMRI uses the 10-Year Treasury Yield multiplied by the Dollar Index, divided by a constant (1.61) to normalize the risk measure. A higher MMRI score suggests increased market risk, while a lower score indicates more stability. Mannarino has set certain thresholds to interpret the MMRI score:
- **Below 100**: Low risk.
- **100–200**: Moderate risk.
- **200–300**: High risk.
- **Above 300**: Extreme risk, indicating market instability and potential downturns.
This tool aims to provide insight into economic conditions that may affect asset classes like stocks, bonds, and precious metals. Mannarino often updates MMRI scores and risk analyses in his public market updates.
Financial
Financial GrowthOverview
The script named "Financial Growth" is written in Pine Script v5.
It is designed to display various financial metrics and ratios in a tabular format on TradingView charts.
The code pulls financial data like revenue, net income, EPS, etc., and presents these metrics along with ratios such as P/E, D/E, and others.
The table can display these values for different time periods such as quarterly, yearly, or trailing twelve months (TTM).
Additionally, it can show QoQ (Quarter-over-Quarter), YoY (Year-over-Year), and CAGR (Compound Annual Growth Rate) changes for selected financial items.
The code includes plotting options for visual representation of financial data and labels.
Explanation of Code Sections
Revision Notes
The revision notes indicate changes made in different versions of the code.
Each version update introduces new financial metrics and code restructuring.
Indicator Definition
indicator("Financial Growth", overlay=false, format=format.volume): Defines a standalone indicator with the name "Financial Growth". The overlay=false parameter ensures it is not overlaid on the chart but shown in a separate panel.
Text Sizes and Table Positions
Different text sizes and table positions are defined using variables such as text_size_SMALL, tb_pos_POS01, etc.
These variables help in formatting the visual display of the table and labels.
Financial Items
The script defines several financial items like revenue, net income, EPS, EBITDA, debt, and ratios such as ROE, ROA, and D/E.
Each financial item is assigned a corresponding unique identifier, e.g., _revenue_id = 'TOTAL_REVENUE'.
Calculated Financial Ratios
Ratios such as P/E, P/BV, P/S, and P/FCF are calculated using:
price_to_earning
price_to_book_value
price_to_sales
price_to_free_cash_flow
These calculations are done using request.financial function calls.
User Inputs
The code uses input functions to allow users to select financial items and time periods:
financial_item_selection_01 and financial_item_selection_02 enable the selection of financial metrics.
period_selection allows users to choose between periods like FQ (Fiscal Quarter), FY (Fiscal Year), and TTM (Trailing Twelve Months).
Users can control the table's visibility and the display of QoQ, YoY, and CAGR changes using input.bool() settings.
Financial Data Retrieval
The function retreive_financial_data(_financial_item, _period) retrieves financial data based on the selected financial item and period.
It uses the request.financial function to get data for a specific ticker.
Table Creation and Formatting
The script uses table.new() to create a table for displaying financial data.
The table’s headers and values are populated using custom functions like header_column, date_column, and value_column.
QoQ, YoY, and CAGR columns are conditionally displayed based on the user’s input settings.
Plotting Data
The script can also plot the selected financial metrics using the plot() function.
Labels for plotted data are created using the label.new() function.
Handling of Bar States
The barstate.islast condition ensures that the table and plots are only updated at the last bar state, which optimizes performance and prevents unnecessary calculations.
Code Formatting and Optimization
Proper use of variables, functions, and conditional statements adheres to TradingView’s guidelines for efficient Pine Script development.
The use of ignore_invalid_symbol=true in request.financial calls ensures the script handles non-existent financial data gracefully.
Key Functions
is_calculated_data(_financial_item)
Determines whether a given financial item is a calculated metric (e.g., P/E, P/BV) instead of being directly available from TradingView’s data.
get_financial_id(_financial_item)
Returns the financial identifier based on the selected item (e.g., TOTAL_REVENUE for revenue).
get_value_formating(_financial_item)
Returns the appropriate value divider, suffix, and formatting style based on the selected financial item.
create_array(arrayId, val)
Adds a new value to a specified array, used for storing historical financial data for table display.
get_cagr(_data_array, _id, _idmax)
Calculates the compound annual growth rate (CAGR) based on the given data array and index.
Relative Performance AnalysisRelative Performance Analysis Script
This Pine Script creates a detailed table on your TradingView chart to compare the performance of a specified asset against a benchmark over multiple time frames. The table is fully customizable, allowing you to select its location on the chart and display performance metrics for different periods.
Features:
Customizable Table Location: Choose where the table appears on your chart from a range of predefined positions (e.g., bottom left, top center).
Dynamic Column Headers: The table includes columns for the ticker, description, and performance metrics for various time periods (1 day, 1 week, 1 month, 3 months, 6 months, and 1 year).
Performance Calculation: Calculates the percentage change in performance between the current close price and the previous close price for each time frame.
Color-Coded Performance: Uses a color scheme to highlight performance levels, with specific colors for positive and negative changes to easily visualize performance trends.
Benchmark and Asset Comparison: Displays performance metrics for both a benchmark (e.g., SPY) and the asset currently viewed on the chart, providing a clear comparison.
Inputs:
Benchmark Symbol: Specify the symbol of the benchmark asset (e.g., SPY).
Benchmark Description: Provide a description for the benchmark asset.
Chart Symbol: Automatically uses the symbol of the chart for comparison.
Usage:
Add the script to your TradingView chart.
Configure the benchmark symbol and description as needed.
The table will automatically populate with performance data and be positioned according to your selection.
Disclaimer:
This script is for informational and educational purposes only and is not intended as financial advice. The performance data displayed in the table is based on historical prices and is not indicative of future performance. Trading involves risk, and you should always do your own research and consult with a qualified financial advisor before making any investment decisions. The creator of this script assumes no responsibility for any losses or damages incurred as a result of using this tool.
PE Ratio Intrinsic ValueThe "Median PE Ratio and Intrinsic Value" indicator is designed for traders and investors who wish to evaluate the intrinsic value of a stock based on a comparative analysis of Price-to-Earnings (PE) ratios across multiple stocks. This tool not only provides insights into whether a stock is undervalued or overvalued but also allows you to visualize the intrinsic value directly on the chart.
Comparison Across Multiple Stocks:
This indicator calculates the PE ratio for up to five different stocks, allowing you to compare the target stock's valuation against four other same sector companies. By default, the stocks included are Apple (AAPL), Google (GOOG), Microsoft (MSFT), and Amazon (AMZN), but you can customize these symbols to fit your analysis needs.
Dynamic PE Ratio Calculation:
The indicator calculates the PE ratio for each stock by dividing the current price by the earnings per share (EPS). The EPS data is retrieved based on the selected period, which can be one of the following:
FY (Fiscal Year)
FH (Fiscal Half-Year)
FQ (Fiscal Quarter)
TTM (Trailing Twelve Months)
You can easily switch between these periods using the provided input options, enabling a more customized analysis based on your preferred financial timeframe.
Once the PE ratios for the selected stocks are computed, the indicator calculates the average PE ratio. The average value is a robust measure that reduces the influence of outliers and provides a balanced view of market valuation.
The intrinsic value of the stock on the chart is calculated by multiplying its EPS by the median PE ratio of the selected stocks. This gives you an estimate of what the stock should be worth if it were to trade at a fair valuation relative to the chosen peers.
The intrinsic value is plotted directly on the price chart as a step line with breaks. This step line style is chosen to represent changes in intrinsic value clearly, with breaks indicating periods where the calculated value is not valid (e.g., negative intrinsic value). Only positive intrinsic values are displayed, helping you focus on meaningful data.
You can easily customize the stocks analyzed by entering the ticker symbols of your choice. Additionally, the indicator allows you to adjust the timeframe for EPS data, giving you flexibility depending on whether you are focused on long-term trends or shorter financial periods.
How to Use:
Compare the current stock price to the plotted intrinsic value. If the current price is below the intrinsic value, the stock may be undervalued. Conversely, if the price is above the intrinsic value, the stock might be overvalued. By comparing your stock against major market players, you can gauge whether it's trading at a premium or discount relative to other key companies in the sector. Use the period selection (FY, FQ, TTM) to adapt your analysis to different market conditions or earnings cycles, giving you more control over your valuation assessment.
Ideal For:
Long-term Investors looking to assess the intrinsic value of a stock based on comparative analysis.
Fundamental Analysts who want to combine multiple stocks' PE ratios to estimate a fair valuation.
Value Investors interested in finding undervalued opportunities by comparing the market price to intrinsic value.
Financials ScoreThe Pine Script you've provided is designed to compute and display a "Financials Score" for a security based on several key financial metrics. This script is structured to run as an independent indicator on the TradingView platform, appearing in a separate pane rather than overlaying on the main price chart. Here's a breakdown of the script's components and functionality:
User Inputs
- **Period Selection**: Users can choose between 'FQ' (Financial Quarter) and 'FY' (Financial Year) to specify the period for which financial data should be considered.
- **Display Settings**: Allows customization of the table's appearance with inputs for text size, text color, data text color, and panel background color. These inputs help tailor the visual representation to the user's preferences.
- **Table Position**: Users can choose where to position any table within the indicator pane from several options like top left, top center, top right, etc.
- **Show Status Column**: A boolean input to decide whether to show an additional status column in any table outputs.
### Financial Metrics
The script retrieves various financial data points using the `request.financial` function. The data retrieved includes:
- **Operating Margin** (`opmar`)
- **Earnings Per Share (Basic)** (`eps`)
- **Price to Earnings Ratio** (`pe_ratio`)
- **Price to Book Ratio** (`pb_ratio`)
- **Debt to Equity Ratio** (`de_ratio`)
- **Return on Equity Adjusted to Book Value** (`roe_pb`)
- **Piotroski F-Score** (`fscore`)
### Scoring Logic
A scoring system is implemented where each financial metric contributes points to a total score based on specified conditions:
- **Operating Margin**: +20 points if greater than 20%.
- **EPS**: +20 points if greater than 0.
- **P/E Ratio**: +10 points if between 0 and 20.
- **P/B Ratio**: +10 points if less than 3.
- **D/E Ratio**: +10 points if less than 0.8.
- **ROE/PB Ratio**: +20 points if greater than 5.
- **F-Score**: +10 points if greater than 5.
The script uses ternary operators to conditionally add points to the `total_score` variable based on these criteria.
### Output
- **`plot` function**: The total score is plotted as a line graph in the indicator pane, allowing users to visually track the financial health score over time.
### Overall Functionality
This script is valuable for investors or traders who want to quickly assess the financial health of a company using key metrics and visualize this assessment directly within the TradingView interface. The score provides a simplified aggregate view that can aid in making investment decisions based on financial fundamentals.
Financial Ratio Analysis (with / without Competitors)What Is Financial Ratio Analysis?
Financial Ratio Analysis is a quantitative technique used to assess a company's liquidity, operational efficiency, and profitability by examining its financial statements, including the balance sheet, income statement, and cash flow statement. It provides valuable insights into a company's performance over time and allows for comparisons with other companies within the same industry or sector.
What Are the Uses of Financial Ratio Analysis?
Analysis of financial ratios serves two main purposes:
1. Track company performance
Determining individual financial ratios per period and tracking the change in their values over time is done to spot trends that may be developing in a company.
Current Ratio for Adobe Inc. NASDAQ:ADBE
2. Make comparative judgments regarding company performance
Comparing financial ratios with those of major competitors enables the identification of whether a company is performing better or worse than the industry average. This comparative analysis aids in understanding the company's competitive position and potential areas for improvement.
For comparison, the script would automatically select a maximum of 5 competitors from the US markets based on the ticker's industry. This ensures a relevant comparison with industry peers to evaluate performance and assess competitive positioning.
To compare the Free Cash Flow Margin of Apple Inc. NASDAQ:AAPL with its competitors.
To compare the Free Cash Flow Margin of Apple Inc. NASDAQ:AAPL with its competitors’ average.
Customized competitors list
To customize your own competitors list, you can specify the companies or tickers you want to include in the comparison. This allows for a tailored analysis based on your specific preferences and industry knowledge.
Example:
To compare PayPal NASDAQ:PYPL with NASDAQ:MELI , NASDAQ:DLO , and NYSE:PAY , users can input the following text into the competitors list:
NASDAQ:MELI,NASDAQ:DLO,NASDAQ:PYPL,NYSE:PAY;
This will ensure that the comparison includes these specific companies alongside PayPal.
Financial ratios are grouped into the following categories:
Liquidity ratios
Leverage ratios
Efficiency ratios
Profitability ratios
Market value ratios
Liquidity Ratios
Liquidity ratios are financial ratios that measure a company’s ability to repay both short-term and long-term obligations.
Current Ratio measures a company’s ability to pay off short-term liabilities with current assets:
Current ratio = Total current assets / Total current liabilities
Cash To Debt Ratio measures a company’s ability to pay off short-term liabilities with cash and cash equivalents. A high ratio indicates a company can pay off its debt and remain solvent into the foreseeable future. In addition, it also means that if necessary, the company can take on a larger amount of debt because it has the cash to support that.
Cash to debt ratio = Cash and Short Term Investments / Total debt
Leverage Financial Ratios
Leverage ratios measure the amount of capital that comes from debt. In other words, leverage financial ratios are used to evaluate a company’s debt levels.
Debt To Assets Ratio measures the relative amount of a company’s assets that are provided from debt. This indicator is a measure of assets that are growing at the expense of debt. Because of this, you can see how a company acquired its assets over time. It can be used to assess a company's ability to meet its current debt obligations.
Debt to assets ratio = Total debt / Total assets
Debt To Equity Ratio calculates the weight of total debt and financial liabilities against shareholders’ equity:
Debt to equity ratio = Total liabilities / Shareholder’s equity
Interest Coverage Ratio shows how easily a company can pay its interest expenses:
Interest coverage ratio = Operating income / Interest expense
Efficiency Ratios
Efficiency ratios, also known as activity financial ratios, are used to measure how well a company is utilizing its assets and resources.
Research & Development (R&D) Expense to Revenue Ratio measures the percentage of sales that is allocated to R&D expenditures.
R&D to revenue ratio = Research and development expense / Total revenue * 100%
Asset Turnover Ratio measures a company’s ability to generate sales from assets. The higher it is, the more efficient the company is, since higher ratios mean that the company generates more income per dollar of assets. Conversely, if the company has a low Asset turnover, this indicates that it is inefficiently using its assets.
Asset turnover ratio = Revenue / Average total assets for two periods
Inventory Turnover shows how quickly a company sells its stock. A low turnover can mean weak sales, while a high one can mean good sales or insufficient stock. Inventory turnover is an important indicator of a company's performance.
Inventory turnover = Cost of goods sold / Total inventories
Days Sales Outstanding measures the average number of days it takes for a company to collect cash from credit purchases.
Days sales outstanding = Average Accounts Receivable / Revenue x 365 Days
Days Inventory shows the time in days that is spent turning a company's inventory into sales. This metric is an indicator of a company's inventory management. Low values are preferred for Days Inventory, which means items are selling faster and there is a quick turnaround. Large values indicate that a company has invested too much in stocks and does not have time to sell them.
Days inventory = Average inventories / Cost of goods sold * Days in period
Profitability Ratios
Profitability ratios measure a company’s ability to generate income relative to revenue, balance sheet assets, operating costs, and equity.
Gross Margin compares the gross profit of a company to its net sales to show how much profit a company makes after paying its cost of goods sold:
Gross margin % = Gross income / Total revenue * 100
Operating Margin , sometimes known as the return on sales ratio, compares the operating income of a company to its net sales to determine operating efficiency:
Operating margin = Operating income / Revenue * 100%
Free Cash Flow Margin is a profitability ratio that compares a company's free cash flow to its revenue to understand the proportion of revenue that becomes free cash flow. The higher the percentage, the more cash is available from sales. A company that shows an increasing cash flow margin from year to year is certainly getting stronger with time. This is a good indicator of its probability for long-term success.
Free cash flow margin = Free Cash Flow / Total Revenue
Return On Assets measures how efficiently a company is using its assets to generate profit. A high ROA indicates that a company successfully converts invested money into income.
Return on assets = Net income before discontinued operations / Total average assets
Return On Equity measures how efficiently a company is using its equity to generate profit:
Return on equity = Net income / Shareholder’s equity
Revenue Growth refers to the increase in a company’s total revenue or income over a specific period
Revenue growth = (Current period revenue - previous period revenue) / Previous period revenue * 100%
Earnings Per Share Growth illustrates the growth of earnings per share over time.
Earnings per share growth = ( Current period EPS - previous period EPS ) / Previous period EPS * 100%
Operating Cash Flow Growth is the long term rate of growth of operating cash, the money that is actually coming into the bank from business operations.
Operating cash flow growth = ( Current period operating cash flow - previous period operating cash flow) / Previous period operating cash flow* 100%
Market Value Ratios
Market value ratios are used to evaluate the share price of a company’s stock.
Book Value Per Share calculates the per-share value of a company based on the equity available to shareholders. In case of the company liquidation, the book value per share shows the monetary value remaining for common shareholders after all assets are sold and all debt is paid. If a company’s Book value per share is higher than a market price of its share, then the stock may be considered undervalued.
Book value per share = Total common equity / Total common shares outstanding
Dividend Yield measures the amount of dividends attributed to shareholders relative to the market value per share:
Dividend yield = Dividends TTM for the primary issue excluding special dividends / Price of the primary issue
Diluted Earnings per Share (Diluted EPS)
EPS stands for earnings per share. Investors use EPS to measure how much money a company makes for every outstanding share the company has. Diluted EPS is slightly different in that it measures the earnings per share for a company if all convertible securities (such as preferred stocks, convertible debt instruments, stock options and warrants) were used to calculate the metric.
Financial Ratios Fundamental StrategyWhat are financial ratios?
Financial ratios are basic calculations using quantitative data from a company’s financial statements. They are used to get insights and important information on the company’s performance, profitability, and financial health.
Common financial ratios come from a company’s balance sheet, income statement, and cash flow statement.
Businesses use financial ratios to determine liquidity, debt concentration, growth, profitability, and market value.
The common financial ratios every business should track are
1) liquidity ratios
2) leverage ratios
3)efficiency ratio
4) profitability ratios
5) market value ratios.
Initially I had a big list of 20 different ratios for testing, but in the end I decided to stick for the strategy with these ones :
Current ratio: Current Assets / Current Liabilities
The current ratio measures how a business’s current assets, such as cash, cash equivalents, accounts receivable, and inventories, are used to settle current liabilities such as accounts payable.
Interest coverage ratio: EBIT / Interest expenses
Companies generally pay interest on corporate debt. The interest coverage ratio shows if a company’s revenue after operating expenses can cover interest liabilities.
Payables turnover ratio: Cost of Goods sold (or net credit purchases) / Average Accounts Payable
The payables turnover ratio calculates how quickly a business pays its suppliers and creditors.
Gross margin: Gross profit / Net sales
The gross margin ratio measures how much profit a business makes after the cost of goods and services compared to net sales.
With this data, I have created the long and long exit strategy:
For long, if any of the 4 listed ratios,such as current ratio or interest coverage ratio or payable turn ratio or gross margin ratio is ascending after a quarter, its a potential long entry.
For example in january the gross margin ratio is at 10% and in april is at 15%, this is an increase from a quarter to another, so it will get a long entry trigger.
The same could happen if any of the 4 listed ratios follow the ascending condition since they are all treated equally as important
For exit, if any of the 4 listed ratios are descending after a quarter, such as current ratio or interest coverage ratio or payable turn ratio or gross margin ratio is descending after a quarter, its a potential long exit.
For example in april we entered a long trade, and in july data from gross margin comes as 12% .
In this case it fell down from 15% to 12%, triggering an exit for our trade.
However there is a special case with this strategy, in order to make it more re active and make use of the compound effect:
So lets say on july 1 when the data came in, the gross margin data came descending (indicating an exit for the long trade), however at the same the interest coverage ratio came as positive, or any of the other 3 left ratios left . In that case the next day after the trade closed, it will enter a new long position and wait again until a new quarter data for the financial is being published.
Regarding the guidelines of tradingview, they recommend to have more than 100 trades.
With this type of strategy, using Daily timeframe and data from financials coming each quarter(4 times a year), we only have the financial data available since 2016, so that makes 28 quarters of data, making a maximum potential of 28 trades.
This can however be "bypassed" to check the integrity of the strategy and its edge, by taking for example multiple stocks and test them in a row, for example, appl, msft, goog, brk and so on, and you can see the correlation between them all.
At the same time I have to say that this strategy is more as an educational one since it miss a risk management and other additional filters to make it more adapted for real live trading, and instead serves as a guiding tool for those that want to make use of fundamentals in their trades
If you have any questions, please let me know !
Financial DeepeningFinancial Deepening is defined as increases in the ratio of a country's financial assets to its GDP. It has the effect of increasing liquidity. Having access to money can provide more opportunities for investment growth. If done properly financial deepening can increase the country's resilience and boost economic growth.
US Money Supply M2 / US GDP. (ratio)
Financials based on Piotroski F-ScoreFinancials based on Piotroski F-Score includes 2 languages : Vietnamese and English
Select Quarterly or Annual Financial Statements:
Select Quarterly Report
Select Annual Financial Statements
Convert to billions:
Note the abbreviations:
1. Rev: Total revenue
2. Gross: Gross profit (Gross Margin)
3. OI: Operating Income
4. Net: Net Income (Net Margin)
5. FCO: Cash From Operating Activities
6. ROA: Return on assets
7. C: Deferred Income, Current
8. N: Deferred Income, Non-Current
9. TAS: Total assets (Asset turnover)
10. Debt: Total liabilities
11. E: Debt to EBITDA ratio
12. L_debt: Long term debt to total assets ratio
13. Cur: Current ratio
14. INV: Total inventories (Inventory turnover)
15. TSO: Total Shares Outstanding (Diluted EPS )
16. Graham: Graham's number (close/Graham's number)
17. F_score: Piotroski F-score
Select item Financials on chart:
Manual Financials based on Piotroski F-Score:
The Piotroski F-Score is the sum of 9 components related to profitability, leverage and op. efficiency. These nine components are each given a pass (1) or fail (0). The sum of these parts results in the F-Score. For each criteria that a company meets, it's F-Score is increased by 1.
Profitability Components
- Positive Net Income -> 1
- Positive Operating Cash Flow -> 1
- Higher ROA than Previous Period -> 1
- CFO > NI -> 1
Leverage Components
- Decline in Long Term Debt -> 1
- Higher Current Ratio than Previous Period ->1
- Less Dilution (# of Shares Outstanding) than Previous Period -> 1
Operating Efficiency Components
- Higher Gross Margin than Previous Period -> 1
- Higher Asset Turnover than Previous Period -> 1
If you invested in only those companies that scored best or highest (8 or 9) on his nine-point scale, or F-Score as he called it, over the 20 year period from 1976 to 1996, you would have outperformed the market by an average of 13.4% per year - and this over 20 years!
That sounds just about too good to be true. But it is true!
Financials Index ComboFinancials Index Combo includes 2 languages Vietnamese and English:
Note the abbreviations:
Rev: Total revenue (Diluted EPS)
Gross: Gross profit
OI: Operating Income
C: Deferred Income, Current
N: Deferred Income, Non-Current
INV: Total inventories (Inventory turnover)
TAS: Total assets (Asset turnover)
Ev/Ed: Enterprise value to EBITDA ratio
ROIC: Return on invested capital
ROA: Return on assets
ROE: Return on equity
TA: Return on tangible assets
TE: Return on tangible equity
G: Sustainable growth rate
FCO: Cash From Operating Activities
FCF: Free Cash Flow
D: Debt to equity ratio
L: Long term debt to total assets ratio
E: Debt to EBITDA ratio
M: Current ratio
S: Sloan ratio -10 -> 10 --> safe zone
H: Fulmer H <0 --> struggling with its finances
>0 --> stable condition
F_score: Piotroski F-score 0 - 9
TCA: Total Current Assets
Rev/TCA: Total revenue to Total Current Assets ratio
Graham: Graham's number
NCAVPS: Net current asset value per share
Convert to billions:
Real Time Table:
Quarterly or annual financial statements
Financials Index For Bank:
TCtrader 5 in 1 Financial DatasTCtrader 5 in 1 Financial Datas(FactSheet)
Consist of 5 financial datas for Stock Market
1.P/E Ratio , TTM (Trailing 12 Months)
2.NetProfit Margin , FQ (Fiscal Quarter)
3.GrossProfit Margin , FQ (Fiscal Quarter)
4.Return of Equity , FQ (Fiscal Quarter)
5.Tick Size(price increment change of a trading instrument) ขนาดของช่องราคา+เพิ่ม-ลดกี่ช่อง
Financial BoxFinBox is to show key Financial ratio which is used to determine stock valuation.
Green is consider passing FA criteria as shown below.
MARKET CAPITAL
REVENUE & % Change
CASH FLOW FROM OPERATING ACTIVITIES
BOOK VALUE PER SHARE
EARNING PER SHARE
PRICE EARNING RATIO - GREEN if below 20
PRICE SALES RATIO - GREEN if below 2
PRICE BOOK RATIO - GREEN if below 2
PRICE FREE CASH FLOW RATIO - GREEN if below 2
CURRENT RATIO - GREEN if above 2
DEBT TO EQUITY RATIO - GREEN if below 0.5
CASH TO DEBT RATIO - - GREEN if above 2
RETURN OF EQUITY - GREEN if above 15
GROSS MARGIN - GREEN if above 50
ENTERPRISE VALUE EBITDA - GREEN if below 12
RELATIVE STRENGTH is a formula to calculate STRENGHT of the equity based on Technical Analysis. MAX is 1. Higher is better. It is use to compare between stocks and determine which stock is relatively stronger from technical perspective.
FA SCORE is as scoring system based on the following Financial ratio/statistic.
-Return of Equity
-Cash Flow From Operating Activities
-Growth
-Debt Equity Ratio
-Gross Margin
-PE Ratio
Price RatiosJust a handy financial ratio bar where you can quickly view key price ratios.
Position, text size and color combinations can be set from input settings. Header is readjusted according to the table position chosen.
For example, if position selected as top-center or bottom-center or middle-center, orientation of the table will be horizantal and would display like this:
Otherwise, table will have vertical orientation like this:
You can also move it to new panel and use it along with other financials scripts such as:
Relative-Growth-Screen
Quality-Screen
With that, your screen would look something like this:
Earnings DashboardThe Earnings Dashboard Indicator is a fast way to check the most recent quarterly earnings growth on TradingView.
Colors
The colors should help you get an easy overview of the quarters that are particularly outstanding.
- Earnings /Sales Growth & Surprise >= 20% -> Green
- Earnings /Sales Growth & Surprise <= -20% -> Red
- Net Margin < 5% -> Red
- Net Margin >15% -> Green
Indicator Configuration
- Not available at the moment. Feel free to leave us a comment on TradingView with your idea and we will see what we can do.
Planned Future Update
- Extension with annual (FY) financial data
Happy Trading 📈😎
Important : All data is retrieved using the variables provided by TradingView.
Financial Highlights [Fundamentals]█ OVERVIEW
This indicator plot basic key financial data to imitate the presentation format of several popular finance site, make it easier for a quick glance of overall company financial health without switching tabs for every single stocks.
█ Financial Data Available:
- Revenue & PAT (Profit after Tax)
- Net Profit Margin (%)
- Gross Profit Margin (%)
- Earnings Per Share (EPS)
- Dividend
█ Features:
- Toggle between Quarter/Annual Financial Data (Notes: For Dividends, it will always be plotted based on Annual data, at Financial Year ending period)
- Options to plot at either at Quarter/Yearly ending period OR Financial Data published date
█ Limitation
- The accuracy of the data subject to Tradingview's source, but from my observation it's accurate 95% of the time
- Recently published data might not be available immediately. e.g. MYX exchange tends to have 1-3 days lag
- More information on Tradingview's financial data can be read here -> www.tradingview.com
█ Disclaimer
Past performance is not an indicator of future results.
My opinions and research are my own and do not constitute financial advice in any way whatsoever.
Nothing published by me constitutes an investment recommendation, nor should any data or Content published by me be relied upon for any investment/trading activities.
I strongly recommends that you perform your own independent research and/or speak with a qualified investment professional before making any financial decisions.
Any ideas to further improve this indicator are welcome :)
FA Valuation DashboardSimple Financial Ratio for investor.
User can insert CAGR value for PEG ratio.
Financial Statement (Annual)This is an advanced tool to analyze the economic and financial health of a company. The tool uses exactly the same data as built-in annual financial metrics by TradingView.
Provides better visualization and additional indicators (maximum, minimum, average, median, linear regression ) that greatly simplifies the analysis of financial data.
All 222 built-in metrics available
Stay cheeki breeki and don't get sick. Good luck!
Financial Statement (Quarterly)This is an advanced tool to analyze the economic and financial health of a company. The tool uses exactly the same data as built-in quarterly financial metrics by TradingView.
Provides better visualization and additional indicators (maximum, minimum, average, median, linear regression) that greatly simplifies the analysis of financial data. If you have ever used the built-in metrics then you will get what I mean:
214 metrics available except:
Dividends payable
Notes payable
Other short term debt
Float shares outstanding
KZ index
Net income per employee
Number of employees
Revenue per employee
Stay cheeki breeki and don't get sick. Good luck!
Statistical and Financial MetricsGood morning traders!
This time I want to share with you a little script that, thanks to the use of arrays, allows you to have interesting statistical and financial insights taken from the symbol on chart and compared to those of another symbol you desire (in this case the metrics taken from the perpetual future ETHUSDT are compared to those taken from the perpetual future BTCUSDT, used as a proxy for the direction of cryptocurrency market)
By enabling "prevent repainting", the data retrieved from the compared symbol won't be on real time but they will static since they will belong to the previous closed candle
Here are the metrics you can have by storing data from a variable period of candles (by default 51):
✓ Variance (of the symbol on chart in GREEN; of the compared symbol in WHITE)
✓ Standard Deviation (of the symbol on chart in OLIVE; of the compared symbol in SILVER)
✓ Yelds (of the symbol on chart in LIME; of the compared symbol in GRAY) → yelds are referred to the previous close, so they would be calculated as the the difference between the current close and the previous one all divided by the previous close
✓ Covariance of the two datasets (in BLUE)
✓ Correlation coefficient of the two datasets (in AQUA)
✓ β (in RED) → this insight is calculated in three alternative ways for educational purpose (don't worry, the output would be the same).
WHAT IS BETA (β)?
The BETA of an asset can be interpretated as the representation (in relative terms) of the systematic risk of an asset: in other terms, it allows you to understand how big is the risk (not eliminable with portfolio diversification) of an asset based on the volatilty of its yelds.
We say that this representation is made in relative terms since it is expressed according to the market portfolio: this portfolio is hypothetically the portfolio which maximizes the diversification effects in order to kill all the specific risk of that portfolio; in this way the standard deviation calculated from the yelds of this portfolio will represent just the not-eliminable risk (the systematic risk), without including the eliminable risk (the specific risk).
The BETA of an asset is calculated as the volatilty of this asset around the volatilty of the market portfolio: being more precise, it is the covariance between the yelds of the current asset and those of the market portfolio all divided by the variance of the yelds of market portfolio.
Covariance is calculated as the product between correlation coefficient, standard deviation of the first dataset and standard deviation of the second asset.
So, as the correlation coefficient and the standard deviation of the yelds of our asset increase (it means that the yelds of our asset are very similiar to those of th market portfolio in terms of sign and intensity and that the volatility of these yelds is quite high), the value of BETA increases as well
According to the Capital Asset Pricing Model (CAPM) promoted by William Sharpe (the guy of the "Sharpe Ratio") and Harry Markowitz, in efficient markets the yeld of an asset can be calculated as the sum between the risk-free interest rate and the risk premium. The risk premium of the specific asset would be the risk premium of the market portfolio multiplied with the value of beta. It is simple: if the volatility of the yelds of an asset around the yelds of market protfolio are particularly high, investors would ask for a higher risk premium that would be translated in a higher yeld.
In this way the expected yeld of an asset would be calculated from the linear expression of the "Security Market Line": r_i = r_f + β*(r_m-r_f)
where:
r_i = expected yeld of the asset
r_f = risk free interest rate
β = beta
r_m = yeld of market portfolio
I know that considering Bitcoin as a proxy of the market portfolio involved in the calculation of Beta would be an inaccuracy since it doesn't have the property of maximum diversification (since it is a single asset), but there's no doubt that it's tying the prices of altcoins (upward and downward) thanks to the relevance of its dominance in the capitalization of cryptocurrency market. So, in the lack of a good index of cryptocurrencies (as the FTSE MIB for the italian stock market), and as long the dominance of Bitcoin will persist with this intensity, we can use Bitcoin as a proxy of the market portfolio
Fin_PanelStock Financial Panel
Basic financial analysis.
Able to FY/FQ switch.
Free plan users please turn on the "Free Plan" checkbox.
There is no proper category, so I chose my fav Tech indicators category.
EV/Ebitda RealEV/Ebitda ratio updated realtime with true value of market cap .
Market cap = last price * total number of shares
EV = market cap - debts + cash
This indicator, as opposed to the default one, uses last price information to calculate the market cap of the selected company/symbol.
The default TradingView ratio uses the last financial quarter information about market cap, which, tends to be obsolete in the day-by-day analysis.
Wanderer FinancialDesigned exclusively for subscribers of Wanderer Financial, this script began as a 9/20 cross that, with a lot of tinkering and backtesting help from our subs, developed into a Moving Average cross that puts us into trending moves early, giving us great reward-to-risk entries on our trades. When we combine this indicator with a couple of other simple eyeball indications, we can avoid many of the false chop signals, and focus on the runners. Wanderer Financial is a group of traders passionate about making the most of life through adventure, travel, and freeing themselves from the grind to focus on family and what's important to them. Check us out.
Random Walk SimulationUnderstanding the Random Walk Simulation
This indicator randomly generates alternative price outcomes derived from the price movements of the underlying security. Monte Carlo methods rely on repeated random sampling to create a data set that has the same characteristics as the sample source, representing examples of alternate outcomes. The data set created using random sampling is called a “random walk”.
First, every bar in the time stamp is measured and put into a logarithmic population. Then, a sample is drawn at random from the population and is used to determine the next price movement of the random walk. This process is repeated fifteen times to visualise whether the alternative outcomes lie above or beneath the current market price of the security.
Random Walk Utility
The random walk generator allows users of the Monte Carlo to further understand how the Monte Carlo projection is generated by creating a visual representation of individual random walks. Trends that occur on the random walks may correlate to the historical price action of the underlying security.
You can find the Monte Carlo Simulator here:
Input Values
Select the “ Format ”, button located next to the indicator label to adjust the input values and the style.
The Random Walk indicator only has one user-defined input value that can be changed.
The Random_Variable randomises a set of random walks. If this variable is changed, it will run a fresh set of 15 random walks which will result in a slightly different outcome.
Adding the indicator to your chart multiple times using many different random variables will allow you to achieve a more accurate reading. Ideally, the Monte Carlo Simulator takes an average of these to be interpreted.
For more information on this indicator, the full PDF can be found here: www.kenzing.com