Smarter Money Concepts - FVGs [PhenLabs]📊 Smarter Money Concepts - FVGs
Version: PineScript™ v6
📌 Description
Smarter Money Concepts - FVGs is a sophisticated indicator designed to identify and track Fair Value Gaps (FVGs) in price action. These gaps represent market inefficiencies where price moves quickly, creating imbalances that often attract subsequent price action for mitigation. By highlighting these key areas, traders can identify potential zones for reversals, continuations, and price targets.
The indicator employs volume filtering ideology to highlight only the most significant FVGs, reducing noise and focusing on gaps formed during periods of higher relative volume. This combination of price structure analysis and volume confirmation provides traders with high-probability areas of interest that institutional smart money may target during future price movements.
🚀 Points of Innovation
Volume-Filtered Gap Detection : Eliminates low-significance FVGs by requiring a minimum volume threshold, focusing only on gaps formed with institutional participation
Equilibrium Line Visualization : Displays the midpoint of each gap as a potential precision target for trades
Automated Gap Mitigation Tracking : Monitors when price revisits and mitigates gaps, automatically managing visual elements
Time-Based Gap Management : Intelligently filters gaps based on a configurable timeframe, maintaining chart clarity
Dual Direction Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure view
Memory-Optimized Design : Implements efficient memory management for smooth chart performance even with numerous FVGs
🔧 Core Components
Fair Value Gap Detection : Identifies price inefficiencies where the current candle’s low is higher than the previous candle’s high (bearish FVG) or where the current candle’s high is lower than the previous candle’s low (bullish FVG).
Volume Filtering Mechanism : Calculates relative volume compared to a moving average to qualify only gaps formed during significant market activity.
Mitigation Tracking : Continuously monitors price action to detect when gaps get filled, with options to either hide or maintain visual representation of mitigated gaps.
🔥 Key Features
Customizable Gap Display : Toggle visibility of bullish and bearish gaps independently to focus on your preferred market direction
Volume Threshold Control : Adjust the minimum volume ratio required for gap qualification, allowing fine-tuning between sensitivity and significance
Flexible Mitigation Methods : Choose between “Wick” or “Close” methods for determining when a gap has been mitigated, adapting to different trading styles
Visual Customization : Full control over colors, transparency, and style of gap boxes and equilibrium lines
🎨 Visualization
Gap Boxes : Rectangular highlights showing the exact price range of each Fair Value Gap. Bullish gaps indicate potential upward price targets, while bearish gaps show potential downward targets.
Equilibrium Lines : Dotted lines running through the center of each gap, representing the mathematical midpoint that often serves as a precision target for price movement.
📖 Usage Guidelines
General Settings
Days to Analyze : Default: 15, Range: 1-100. Controls how many days of historical gaps to display, balancing between comprehensive analysis and chart clarity
Visual Settings
Bull Color : Default:(#596fd33f). Color for bullish Fair Value Gaps, typically using high transparency for clear chart visibility
Bear Color : Default:(#d3454575). Color for bearish Fair Value Gaps, typically using high transparency for clear chart visibility
Equilibrium Line : Default: Enabled. Toggles visibility of the center equilibrium line for each FVG
Eq. Line Color : Default: Black with 99% transparency. Sets the color of equilibrium lines, usually kept subtle to avoid chart clutter
Eq. Line Style : Default: Dotted, Options: Dotted, Solid, Dashed. Determines the line style for equilibrium lines
Mitigation Settings
Mitigation Method : Default: Wick, Options: Wick, Close. Determines how gap mitigation is calculated - “Wick” uses high/low values while “Close” uses open/close values for more conservative mitigation criteria
Hide Mitigated : Default: Enabled. When enabled, gaps become transparent once mitigated, reducing visual clutter while maintaining historical context
Volume Filter
Volume Filter : Default: Enabled. When enabled, only shows gaps formed with significant volume relative to recent average
Min Ratio : Default: 1.5, Range: 0.1-10.0. Minimum volume ratio compared to average required to display an FVG; higher values filter out more gaps
Periods : Default: 15, Range: 5-50. Number of periods used to calculate the average volume baseline
✅ Best Use Cases
Identifying potential reversal zones where price may react after extended moves
Finding precise targets for take-profit placement in trend-following strategies
Detecting institutional interest areas for potential breakout or breakdown confirmations
Plotting significant support and resistance zones based on structural imbalances
Developing fade strategies at key market structure points
Confirming trade entries when price approaches significant unfilled gaps
⚠️ Limitations
Works best on higher timeframes where gaps reflect more significant market inefficiencies
Very choppy or ranging markets may produce small gaps with limited predictive value
Volume filtering depends on accurate volume data, which may be less reliable for some symbols
Performance may be affected when displaying a very large number of historical gaps
Some gaps may never be fully mitigated, particularly in strongly trending markets
💡 What Makes This Unique
Volume Intelligence : Unlike basic FVG indicators, this script incorporates volume analysis to identify the most significant structural imbalances, focusing on quality over quantity.
Visual Clarity Management : Automatic handling of mitigated gaps and memory management ensures your chart remains clean and informative even over extended analysis periods.
Dual-Direction Comprehensive Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure picture rather than forcing a directional bias.
🔬 How It Works
1. Gap Detection Process :
The indicator examines each candle in relation to previous candles, identifying when a gap forms between the low of candle and high of candle (bearish FVG) or between the high of candle and low of candle (bullish FVG). This specific candle relationship identifies true structural imbalances.
2. Volume Qualification :
For each potential gap, the algorithm calculates the relative volume compared to the configured period average. Only gaps formed with volume exceeding the minimum ratio threshold are displayed, ensuring focus on institutionally significant imbalances.
3. Equilibrium Calculation :
For each qualified gap, the script calculates the precise mathematical midpoint, which becomes the equilibrium line - a key target that price often gravitates toward during mitigation attempts.
4. Mitigation Tracking :
The indicator continuously monitors price action against existing gaps, determining mitigation based on the selected method (wick or close). When price reaches the equilibrium point, the gap is considered mitigated and can be visually updated accordingly.
💡 Note:
Fair Value Gaps represent market inefficiencies that often, but not always, get filled. Use this indicator as part of a complete trading strategy rather than as a standalone system. The most valuable signals typically come from combining FVG analysis with other confirmatory indicators and overall market context. For optimal results, start with the default settings and gradually adjust parameters to match your specific trading timeframe and style.
Z-VALUE
Imbalance(FVG) DetectorImbalance (FVG) Detector
Overview
The Imbalance (FVG) Detector is a technical analysis tool designed to highlight price inefficiencies by identifying Fair Value Gaps (FVGs). These gaps occur when rapid price movement leaves an area with little to no traded volume, which may later act as a zone of interest. The indicator automatically detects and marks these imbalances on the chart, allowing users to observe historical price behavior more effectively.
Key Features
- Automatic Imbalance Detection: Identifies bullish and bearish imbalances based on a structured three-bar price action model.
- Customizable Sensitivity: Users can adjust the minimum imbalance percentage threshold to tailor detection settings to different assets and market conditions.
- Real-time Visualization: Marked imbalances are displayed as colored boxes directly on the chart.
- Dynamic Box Updates: Imbalance zones extend forward in time until price interacts with them.
- Alert System: Users can set alerts for when new imbalances appear or when price tests an existing imbalance.
How It Works
The indicator identifies market imbalances using a three-bar price structure:
- Bullish Imbalance: Occurs when the high of three bars ago is lower than the low of the previous bar, forming a price gap.
- Bearish Imbalance: Occurs when the low of three bars ago is higher than the high of the previous bar, creating a downward gap.
When an imbalance is detected:
- Green Boxes indicate bullish imbalances.
- Red Boxes indicate bearish imbalances.
- Once price interacts with an imbalance, the box fades to gray, marking it as tested.
! Designed for Crypto Markets
This indicator is particularly useful in crypto markets, where frequent volatility can create price inefficiencies. It provides a structured way to visualize gaps in price movement, helping users analyze historical liquidity areas.
Customization Options
- Min Imbalance Percentage Size: Adjusts the sensitivity of the imbalance detection.
- Alerts: Users can enable alerts to stay notified of new or tested imbalances.
Important Notes
- This indicator is a technical analysis tool and does not provide trading signals or financial advice.
- It does not predict future price movement but highlights historical price inefficiencies.
- Always use this tool alongside other market analysis methods and risk management strategies.
Fundamental Fair Value RangeFundamental Fair Value Range
This indicator calculates and visualizes a company's intrinsic fair value based on several fundamental valuation metrics, including Price-to-Earnings (P/E), Price-to-Book (P/B), Price-to-Sales (P/S), Price-to-Free Cash Flow (P/FCF), Price-to-Tangible Book Value (P/TBV), Enterprise Value-to-EBITDA (EV/EBITDA), and Price-to-Cash Flow (P/CF). It dynamically computes median historical ratios to establish a robust fair value range, enhanced by forward-looking estimates and adjusted for financial risk and dividend yield.
Features :
Dynamic Valuation Metrics : Combines historical and forward-looking financial data to calculate realistic fair value estimates.
Flexible Weighting System : Assign customized weights to valuation metrics depending on profitability conditions (positive or negative EPS).
Risk & Dividend Adjustments : Includes risk assessment via Debt-to-Equity and Altman Z-Score, and adjusts valuations for dividends up to a specified cap.
Confidence Range Visualization : Displays fair value with clearly marked upper and lower confidence bounds to simplify interpretation.
Customizable Display : Table position, text size, and theme (dark or light mode) can be adjusted for optimal readability and integration into your chart layout.
Strengths:
Incorporates multiple robust valuation metrics for a comprehensive analysis.
Adapts dynamically to changing financial conditions.
Provides clear actionable signals for investors.
Weaknesses:
Relies heavily on historical data, which may not fully capture future market disruptions.
Sensitivity to user-defined parameters may impact reliability; careful selection is required.
To use this indicator, simply apply it to your chart and customize parameters according to your analysis preferences. Monitor signals closely to identify stocks trading below or above intrinsic value, guiding investment decisions with greater confidence.
This indicator is freely available and open-source on TradingView for everyone to use. Enjoy!
EZ_Algo Copyright label
This script overlays a fully adjustable watermark on your chart, featuring:
A bold Main Title (e.g., your brand or name) and Subtitle (e.g., a tagline or ID).
Optional extras like a copyright notice, logo symbol, warning message, and chart info (symbol, timeframe, timestamp, or close price).
A subtle repeating overlay pattern to deter theft.
Flexible positioning, sizing, and color options to match your vib
e
It’s built for traders who want to protect their charts and make them stand out, all in a few clicks.
How to Use It
Add to Chart: Click "Add to Chart" and watch the default watermark appear (e.g., "EZ ALGO" at the top).
Customize It:
Main Title: Set your brand (e.g., "EZ ALGO") under "Main Title". Tweak color, size, and alignment.
Subtitle: Add a tagline (e.g., "Algo Trading") and trader ID (e.g., "@EZ_Algo
") with matching style options.
Text Opacity: Adjust "Text Opacity" in "Appearance" to control title and subtitle transparency (0 = solid, 100 = invisible).
Chart Info: Toggle "Show Chart Info" to display symbol and timestamp, or add "Show Close Price" for extra data.
Extras: Enable "Show Copyright" for a © notice, "Show Logo" for a symbol (e.g., ★), or "Show Warning" to shout "DO NOT COPY".
Overlay Pattern: Turn on "Show Overlay Pattern" to repeat a phrase (e.g., "EZ Algo") across the chart.
Positioning: Pick vertical/horizontal spots (top, middle, bottom; left, center, right) or try "Randomize Main Position" for a surprise placement.
Appearance: Set a "Background Color" and "Background Opacity" for the watermark’s backdrop.
Cell Size: Adjust "Cell Width (%)" and "Cell Height (%)" to resize the watermark (0 = auto-fit).
Apply & Share: Hit "OK" to save settings, then screenshot or share your branded chart with confidence!
Tips
Use a semi-transparent background (e.g., 50 opacity) to keep the chart readable.
Experiment with "Randomize Main Position" for a dynamic look.
Pair a bold logo with a faint overlay pattern for max branding power.
Credits
Inspired by @KristaKT
thanks for the great ideas!
Enjoy marking your charts with flair and protection! Questions? Drop a comment below.
Cash Flow YieldsCash Flow Yields Indicator
This indicator offers a straightforward way to visualize a company’s cash flow metrics—Free Cash Flow (FCF), Operating Cash Flow (OCF), and Capital Expenditures (CapEx)—as yields relative to its market capitalization. With the flexibility to switch between Trailing Twelve Months (TTM) and Quarterly data, it’s perfect for spotting financial efficiency trends at a glance. Values are plotted as dynamic lines with smart color coding and labeled for clarity.
Features:
TTM & Quarterly Data: Toggle between financial periods to suit your analysis.
Color-Coded Lines: Green for positive OCF, teal for positive FCF, and blue for CapEx. Red and maroon kick in when values turn negative.
Yield Perspective: See FCF, OCF, and CapEx as percentages of market cap, making it easy to compare cash flow strength across companies.
Clear Labels: The latest values pop up on the chart, positioned to the right of the last bar.
Simple & Intuitive: No clutter - just clean lines and numbers to help you focus on what matters.
To use it, add it to your chart and toggle between TTM or Quarterly to see trends. FCF should roughly equal OCF minus CapEx. Adjust your view to focus on companies with strong FCF yields for potential opportunities.
This indicator is freely available and open-source on TradingView for everyone to use. Enjoy!
Cryptolabs Global Liquidity Cycle Momentum IndicatorCryptolabs Global Liquidity Cycle Momentum Indicator (LMI-BTC)
This open-source indicator combines global central bank liquidity data with Bitcoin price movements to identify medium- to long-term market cycles and momentum phases. It is designed for traders who want to incorporate macroeconomic factors into their Bitcoin analysis.
How It Works
The script calculates a Liquidity Index using balance sheet data from four central banks (USA: ECONOMICS:USCBBS, Japan: FRED:JPNASSETS, China: ECONOMICS:CNCBBS, EU: FRED:ECBASSETSW), augmented by the Dollar Index (TVC:DXY) and Chinese 10-year bond yields (TVC:CN10Y). This index is:
- Logarithmically scaled (math.log) to better represent large values like central bank balances and Bitcoin prices.
- Normalized over a 50-period range to balance fluctuations between minimum and maximum values.
- Compared to prior-year values, with the number of bars dynamically adjusted based on the timeframe (e.g., 252 for 1D, 52 for 1W), to compute percentage changes.
The liquidity change is analyzed using a Chande Momentum Oscillator (CMO) (period: 24) to measure momentum trends. A Weighted Moving Average (WMA) (period: 10) acts as a signal line. The Bitcoin price is also plotted logarithmically to highlight parallels with liquidity cycles.
Usage
Traders can use the indicator to:
- Identify global liquidity cycles influencing Bitcoin price trends, such as expansive or restrictive monetary policies.
- Detect momentum phases: Values above 50 suggest overbought conditions, below -50 indicate oversold conditions.
- Anticipate trend reversals by observing CMO crossovers with the signal line.
It performs best on higher timeframes like daily (1D) or weekly (1W) charts. The visualization includes:
- CMO line (green > 50, red < -50, blue neutral), signal line (white), Bitcoin price (gray).
- Horizontal lines at 50, 0, and -50 for improved readability.
Originality
This indicator stands out from other momentum tools like RSI or basic price analysis due to:
- Unique Data Integration: Combines four central bank datasets, DXY, and CN10Y as macroeconomic proxies for Bitcoin.
- Dynamic Prior-Year Analysis: Calculates liquidity changes relative to historical values, adjustable by timeframe.
- Logarithmic Normalization: Enhances visibility of extreme values, critical for cryptocurrencies and macro data.
This combination offers a rare perspective on the interplay between global liquidity and Bitcoin, unavailable in other open-source scripts.
Settings
- CMO Period: Default 24, adjustable for faster/slower signals.
- Signal WMA: Default 10, for smoothing the CMO line.
- Normalization Window: Default 50 periods, customizable.
Users can modify these parameters in the Pine Editor to tailor the indicator to their strategy.
Note
This script is designed for medium- to long-term analysis, not scalping. For optimal results, combine it with additional analyses (e.g., on-chain data, support/resistance levels). It does not guarantee profits but supports informed decisions based on macroeconomic trends.
Data Sources
- Bitcoin: INDEX:BTCUSD
- Liquidity: ECONOMICS:USCBBS, FRED:JPNASSETS, ECONOMICS:CNCBBS, FRED:ECBASSETSW
- Additional: TVC:DXY, TVC:CN10Y
Higher Time Frame Fair Value Gap [ZeroHeroTrading]A fair value gap (FVG) highlights an imbalance area between market participants, and has become popular for technical analysis among price action traders.
A bullish (respectively bearish) fair value gap appears in a triple-candle pattern when there is a large candle whose previous candle’s high (respectively low) and subsequent candle’s low (respectively high) do not fully overlap the large candle. The space between these wicks is known as the fair value gap.
The following script aims at identifying higher timeframe FVG's within a lower timeframe chart. As such, it offers a unique perspective on the formation of FVG's by combining the multiple timeframe data points in the same context.
You can change the indicator settings as you see fit to achieve the best results for your use case.
Features
It draws higher timeframe bullish and bearish FVG's on the chart.
For bullish (respectively bearish) higher timeframe FVG's, it adds the buying (respectively selling) pressure as a percentage ratio of the up (respectively down) volume of the second higher timeframe bar out of the total up (respectively down) volume of the first two higher timeframe bars.
It adds a right extended trendline from the most recent lowest low (respectively highest high) to the top (respectively bottom) of the higher timeframe bullish (respectively bearish) FVG.
It detects and displays higher timeframe FVG's as early as one starts forming.
It detects and displays lower timeframe (i.e. chart's timeframe) FVG's upon confirmation.
It allows for skipping inside first bars when evaluating FVG's.
It allows for dismissing higher timeframe FVG's if there is no update for any period of the chart's timeframe. For instance, this can occur at lower timeframes during low trading activity periods such as extended hours.
Settings
Higher Time Frame FVG dropdown: Selects the higher timeframe to run the FVG detection on. Default is 15 minutes. It must be higher than, and a multiple of, the chart's timeframe.
Higher Time Frame FVG color select: Selects the color of the text to display for higher timeframe FVG's. Default is black.
Show Trend Line checkbox: Turns on/off trendline display. Default is on.
Show Lower Time Frame FVG checkbox: Turns on/off lower timeframe (i.e. chart's timeframe) FVG detection. Default is on.
Show Lower Time Frame FVG color select: Selects the color of the border for lower timeframe (i.e. chart's timeframe) FVG's. Default is white.
Include Inside Bars checkbox: Turns on/off the inclusion of inside first bars when evaluating FVG's. Default is on.
With Consistent Updates checkbox: Turns on/off consistent updates requirement. Default is on.
TTM FCFF Yield %An indicator that shows the Free Cash Flow yield daily for the underlying ticker. Useful for when you need to screen for ideas, or the news just broke out and you want to make a calculated purchase - rather than buying at whatever price it is at the moment.
Green line tracks daily Free Cash Flow yield to Enterprise Value.
Where Free Cash Flow is defined as = Cashflow from Operations + Depreciation and Amortization (from the income statement) - Capital Expenditure (fixed assets) - Change in Working Capital
And where Enterprise Value is defined as = Market Capitalization + Net Debt
Red line tracks Free Cash Flow of financial year and what FCFF yield does that equate to if the stock current trades at the price right now.
Reminder: When working with international equities. Be mindful of whether they report FQ or FH. For example, France only reports FH, so it's better to use TTM FHFree Cash Flow results. If you didn't toggle FH in the indicator settings, it will automatically set as FQ and it will not show anything.
GLHF
Dividend Payout RatioShows the dividend payout ratio for the specific stock.
The dividend payout ratio indicates if the dividend payout is sustainable in the long run. Therefore,
1. A dividend payout under 50% is considered sustainable. The line will be green
2. A dividend payout over 50% and under 100%, the line will be yellow, is considered a stock to investigate since the dividend payout may have to be cut in the future which will cause the stock price to crash.
3. A dividend payout over 100%, the line will be red, is considered unsustainable and the dividend payout will most likely be cut in the near future. It can take up to a few years for the dividend cut to happen if the financials do not improve.
If the dividend payout ratio is over 100%, this means that the company is paying a dividend amount over $1 for every $1 earned. Therefore, the company must borrow money or find another source to pay the dividend amount that the company cannot afford to pay with the current earnings.
Calculating the dividend payout ratio:
Divide dividend paid by earnings after tax and multiplying the result by 100%.
Correlation Coefficient Master TableThe Correlation Coefficient Master Table is a comprehensive tool designed to calculate and visualize the correlation coefficient between a selected base asset and multiple other assets over various time periods. It provides traders and analysts with a clear understanding of the relationships between assets, enabling them to analyze trends, diversification opportunities, and market dynamics. You can define key parameters such as the base asset’s data source (e.g., close price), the assets to compare against (up to six symbols), and multiple lookback periods for granular analysis.
The indicator calculates the covariance and normalizes it by the product of the standard deviations. The correlation coefficient ranges from -1 to +1, with +1 indicating a perfect positive relationship, -1 a perfect negative relationship, and 0 no relationship.
You can specify the lookback periods (e.g., 15, 30, 90, or 120 bars) to tailor the calculation to their analysis needs. The results are visualized as both a line plot and a table. The line plot shows the correlation over the primary lookback period (the Chart Length), which can be used to inspect a certain length close up, or could be used in conjunction with the table to provide you with five lookback periods at once for the same base asset. The dynamically created table provides a detailed breakdown of correlation values for up to six target assets across the four user-defined lengths. The table’s cells are formatted with rounded values and color-coded for easy interpretation.
This indicator is ideal for traders, portfolio managers, and market researchers who need an in-depth understanding of asset interdependencies. By providing both the numerical correlation coefficients and their visual representation, users can easily identify patterns, assess diversification strategies, and monitor correlations across multiple timeframes, making it a valuable tool for decision-making.
Dynamic Risk-Adjusted Performance Ratios with TableWith this indicator, you have everything you need to monitor and compare the Sharpe ratio, Sortino ratio, and Omega ratio across multiple assets—all in one place. This tool is designed to help save time and improve efficiency by letting you track up to 15 assets simultaneously in a fully customizable table. You can adjust the lookback period to fit your trading strategy and get a clearer picture of how your assets perform over time. Instead of switching between charts, this indicator puts all the critical information you need at your fingertips.
Sharpe Ratio -
Helps evaluate the overall efficiency of investments by comparing the average return to the total risk (measured by the standard deviation of all returns). Essentially, it tells you how much excess return you’re getting for each unit of risk you’re taking. A higher Sharpe ratio means you’re getting better risk-adjusted performance—something you’ll want to aim for in your portfolio.
Sortino Ratio -
Goes a step further by focusing only on downside risk—because let’s face it, no one worries about positive volatility. This ratio is calculated by dividing the average return by the standard deviation of only the negative returns. Perfect for those concerned about avoiding losses rather than chasing extreme gains. It gives you a sharper view of how well your assets are performing relative to the risks you’re trying to avoid.
Omega Ratio -
Offers a unique perspective by comparing the sum of positive returns to the absolute sum of negative returns. It’s a straightforward way to see if your wins outweigh your losses. A higher Omega ratio means your positive returns significantly exceed the downside, which is exactly what you want when building a strong, reliable portfolio.
This indicator is perfect for traders who want to streamline their decision-making process and gain an edge. Bringing together these three critical ratios into a single user-defined table makes it easy to compare and rank assets at a glance. Whether optimizing a portfolio or looking for the best opportunities, this tool helps you stay ahead by focusing on risk-adjusted returns. The customizable lookback period lets you tailor the analysis to fit your unique trading approach, giving you insights that align with your goals. If you’re serious about making data-driven decisions and improving your trading outcomes, this indicator is a game-changer for your toolkit.
Crypto Value RainbowThe best way to value Crypto value is comparing Crypto price against the available money supply circulating in the economy. There are 3 different 4 different type of money supply M0/M1/M2/M3 which denotes the level of money printed by central government to the final credit lend out to the economy via fractional banking system. This rainbow valuation measures the relative Crypto price against the M0/M1/M2/M3 from most popular currency that account for more than 75% of money supply in the world.
CV = US MS + EU MS + CN MS + JP MS + UK MS
CV = Crypto Value
MS = Money Supply
This can only be applied to a few crypto currency:
- BTCUSD Bitcoin
- ETHUSD Ehereum
- BNBUSD BNB
- SOLUSD Solana
- XRPUSD XRP
- TONUSD Toncoin
- DOGEUSD Dogecoin
- TRXUSD Tron
- ADAUSD Cardano
- AVAXUSD Avalanche
The rainbow color is the multiplier for the total Crypto Value by 1x,2x,3x,...,10x
Pivotal Point Detection
The indicator highlights price gaps (overnight gaps) with significantly increased volume in the daily chart only. These price jumps can occur after earnings reports or other significant news and often point to an important event (e.g., a new product or business model). According to Jesse Livermore, these are called Pivotal Points.
The price jumps displayed by the indicator are not a guarantee that they represent a true Pivotal Point, but they provide a hint of a significant business development - especially when they occur repeatedly alongside revenue growth. This can help identify potentially strong growth stocks and high-performing investments. However, the underlying events and connections must be investigated through additional research.
make posible to find stocks like:
NYSE:PLTR NASDAQ:ROOT NASDAQ:NVDA NYSE:CVNA NYSE:LRN
A "pivotal price line" is drawn at the opening price of the Pivotal Point. This line is considered a support level. If the price falls below this line, the Pivotal Point loses its validity.
London USDEGP priceThis indicator calculates the hypothetical USDEGP price using CIB receipts price in London Stock Exchange and its price in EGX. Values are smoothed.
Sharpe Ratio Z-ScoreThe "Sharpe Ratio Z-Score" indicator is a powerful tool designed to measure risk-adjusted returns in financial assets. This script helps investors evaluate the performance of a security relative to its risk, using a Z-score based modification of the Sharpe Ratio. The indicator is suitable for assessing market environments and understanding periods of underperformance or overperformance relative to historical standards.
Features:
Risk Assessment and Scaling: The indicator calculates a modified version of the Sharpe Ratio
over a user-defined period. By using scaling and mean offset adjustments, it allows for better
fitting to different market conditions.
Customizable Settings:
Period Length: The number of bars used to calculate the Sharpe Ratio.
Mean Adjustment: Offset value to adjust the average return of the calculated Sharpe ratio.
Scale Factor: A multiplier for emphasizing or reducing the calculated score's impact.
Line Color: Easily customize the plot's appearance.
Visual Cues:
Plots horizontal lines and fills specific regions to visually represent significant Z-score levels.
Highlighted zones include risk thresholds, such as overbought (positive Z-scores) and oversold
(negative Z-scores) areas, using intuitive color fills:
Green for areas below -0.5 (potential buy opportunities).
Red for areas above 0.5 (potential sell opportunities).
Yellow for neutral zones between -0.5 and 0.5.
Use Cases:
Risk-Adjusted Decision Making: Understand when returns are favorable compared to risk, especially during volatile market conditions.
Timing Reversion to Mean: Use highlighted zones to identify potential reversion-to-mean scenarios.
Trend Analysis: Identify times when an asset's performance is significantly deviating from its
average risk-adjusted return.
How It Works:
The script computes the daily returns over a set period, calculates the standard deviation of
those returns, and then applies a modified Sharpe Ratio approach. The Z-score transformation
helps to visualize how far an asset's risk-adjusted return deviates from its historical average.
This "Sharpe Ratio Z-Score" indicator is well-suited for investors seeking to combine quantitative metrics with visual cues, enhancing decision-making for long and short positions while maintaining a risk-adjusted perspective.
ATH/ATL trackerThis script calculates and displays in a table in realtime:
- ATH, date of occurrence, and that price/current price
- ATL, date of occurrence, and that price/current price
- ATH of the current year, date of occurrence, and that price/current price
- ATL of the current year, date of occurrence, and that price/current price
LV Stock QualityCritical financial and technical values are listed in the table.
PIOTROSKI_F_SCORE (expect. >5) -> The Piotroski score is a discrete score between zero and nine that reflects nine criteria used to determine the strength of a firm's financial position. The Piotroski score is used to determine the best value stocks, with nine being the best and zero being the worst. Having a score bigger than 5 is a good sign for the strength of a firm's financial position
ROE (expect. >11) --> Return on equity (ROE) is a measure of a company's financial performance. It is calculated by dividing net income by shareholders' equity. Because shareholders' equity is equal to a company’s assets minus its debt, ROE is a way of showing a company's return on net assets. A “good” ROE will depend on the company’s industry and competitors.
EPS_GROWTH (expect. >11) --> This indicator is calculated as the percentage change in Basic earnings per share for one year. This indicator reflects the growth rate of a company's basic profit per share outstanding for one year. It is calculated based using only common shares. An increase in EPS growth may signal that a company is becoming more profitable and efficient in its operations. A decline in EPS growth may signal that a company is spending more or losing business share. EPS growth should be viewed alongside other metrics like revenue and costs.
CURRENT_RATIO (expect. >1.25) --> The current ratio measures a company’s ability to pay current, or short-term, liabilities (debt and payables) with its current, or short-term, assets (cash, inventory, and receivables). Current ratios over 1.00 indicate that a company's current assets are greater than its current liabilities, meaning it could more easily pay of short-term debts.
OPERATING_MARGIN(expect. >11) --> The operating margin measures how much profit a company makes on a dollar of sales after paying for variable costs of production, such as wages and raw materials, but before paying interest or tax.
RETURN_CAPITAL (expect. >11) --> Return of capital (ROC) is a payment that an investor receives as a portion of their original investment and that is not considered income or capital gains from the investment.
ALTMAN_Z_SCORE (expect. >1.8) --> The Altman Z-score is the output of a credit-strength test that gauges a publicly traded manufacturing company's likelihood of bankruptcy. An Altman Z-score close to 0 suggests a company might be headed for bankruptcy, while a score closer to 3 suggests a company is in solid financial positioning.
REVENUE_GROWTH (expect. >11) --> Quarterly revenue growth is an increase in a company's sales in one quarter compared to sales of a different quarter. Comparing a company's financials from one period to another gives a clear picture of its revenue growth rate and can help investors identify the catalyst for such growth.
SUSTAINABLE_GROWTH (expect. >11) --> The sustainable growth rate (SGR) is the maximum rate of growth that a company or social enterprise can sustain without having to finance growth with additional equity or debt. In other words, it is the rate at which the company can grow while using its own internal revenue without borrowing from outside sources.
DEBT TO INCOME (expect. <0.4) --> A debt-to-income (DTI) ratio is a financial metric used by lenders to determine your borrowing risk. Your DTI ratio represents the total amount of debt you owe compared to the total amount of money you earn each month.
NORMALIZED ATR (expect. <8, W) --> The Normalized Average True Range (Normalized ATR) is an indicator used to measure market volatility by normalizing the average true range values. It does this by dividing the Average True Range (ATR) by the asset's closing price, converting it into a percentage. This normalization allows for the comparison of volatility levels across different securities or market conditions, regardless of the asset's price levels. The Normalized ATR helps traders to adjust their strategies based on relative volatility, rather than absolute price movements.
INDEX expect. EMA10>EMA20 --> it is expected to have EMA 10 > EMA 20 in weekly basis graph. It is known that having a strong trend in index will also increases chance of strong trend on stock levels. You need to select INDEX Market of stock via settings.
M. RELATIVE STRENGTH expect. MRS>1 --> Stan Weinstein uses the Mansfield RS indicator as another relative strength indicator. The indicator measures the variation in the 52-week ratio of stock and market.
VOLUME CHANGE (expect. >30) --> Having an increase on volume comparing to previous week can be a good sign if it occurs at the same time of breakout.
PRICE CHANGE (expect. >5 and <20) --> Having an increase on price comparing to previous week can be a good sign if it occurs at the same time of breakout.
It is better to look on weekly basis graphs.
ADA Stock-to-Flow Model (BSP)ADA Stock-to-Flow Model
This script implements a Stock-to-Flow (S2F) model for ADA (Cardano). The Stock-to-Flow ratio is a popular metric used to assess the scarcity of an asset by comparing its current supply (stock) to the rate at which it is being produced (flow). By visualizing the S2F ratio on ADA, this model helps traders and analysts evaluate potential long-term price trends based on supply scarcity.
Key features:
Calculates ADA's Stock-to-Flow ratio dynamically, adjusting for changes in circulating supply and emission rates.
Provides easy-to-read visualizations with adjustable timeframes, making it accessible for both novice and experienced traders.
The Stock-to-Flow model is widely used in analyzing assets like Bitcoin, and this adaptation for ADA gives unique insights into the relationship between its supply and market value. While the model offers a useful perspective on ADA’s potential trajectory, it should be used in conjunction with other tools for a comprehensive market analysis.
CAPE / Shiller PE RatioThe CAPE (Cyclically Adjusted Price-to-Earnings) or Shiller PE ratio is a popular valuation measure used by investors to assess whether a stock or index is over or undervalued relative to its historical earnings. Unlike the traditional P/E ratio, the CAPE ratio smooths earnings over ten years, adjusting for inflation and providing a more stable and long-term view of valuation.
This indicator lets you quickly calculate and visualize the CAPE ratio for any stock on TradingView, helping you make informed decisions about the sustainability of current price levels. With its clear presentation and intuitive setup, you can compare historical CAPE levels and identify potential opportunities for long-term investments or avoid overvalued markets.
Advantages of the CAPE Ratio:
Long-Term Focus : Smooth earnings over ten years, reducing the impact of short-term volatility.
Inflation-Adjusted : Provides a more precise, inflation-adjusted valuation measure over time.
Historical Comparison : Allows for benchmarking against long-term historical averages.
Market Sentiment Indicator : Can highlight overvalued or undervalued markets for long-term investors.
Reduces Noise : Filters out short-term earnings fluctuations, offering a more stable view.
Disadvantages of the CAPE Ratio:
Ignores Recent Earnings : Misses short-term earnings changes, which can affect current valuations.
Outdated Data : Relies on old earnings data that may not reflect recent company performance.
Less Effective for Growth Stocks : May undervalue high-growth stocks focused on future earnings.
Sector Limitations : Works best for broad markets, less so for fast-changing industries.
Debated Predictive Power : It’s unreliable for timing short-term market movements.
In short, the CAPE ratio is excellent for long-term valuation but has limitations for short-term or growth-focused investing.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Leonid's Bitcoin Sharpe RatioThe Sharpe ratio is an old formula used to value the risk-adjusted return of an asset. It was developed by Nobel Laureate William F. Sharpe. In this case, I have applied it to Bitcoin with an adjustable look-back date.
The Sharpe Ratio shows you the average return earned after subtracting out the risk-free rate per unit of volatility (I've defaulted this to 0.02 ).
Volatility is a measure of the price fluctuations of an asset or portfolio. Subtracting the risk-free rate from the mean return allows you to understand what the extra returns are for taking the risk.
If the indicator is flashing red, Bitcoin is temporarily overbought (expensive).
If the indicator is flashing green, Bitcoin is temporarily oversold (cheap).
The goal of this indicator is to signal out local tops & bottoms. It can be adjusted as far as the lookback time but I have found 25-26 days to be ideal.
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.
Stef's Enterprise Value CalculatorI have learned the hard way why Enterprise Value is far more superior than Market Cap. That's why I made this indicator, but more importantly, why I added several features that other similar indicators just don't have. The key thing is to not just show you Enterprise Value of a company (it's true worth) but also the capability to see that line colored in a specific way, with key stats as a neat table, and the ability to chart the key facts that go into Enterprise Value, which are debt and cash.
I'll say it again: Market Cap is not nearly as good as Enterprise Value. Don't get tricked by what Market Cap does NOT show you and instead focus on Enterprise Value. I hope my indicator, and the features you see below, help investors and traders all over the world better understand this.
Here are the key features:
Enterprise Value Indicator Features:
1. Real-Time Enterprise Value (EV) Display: Track the EV of a company directly on your chart, providing a comprehensive measure of its true market value.
2. Custom Color Trends: Customize the color of your EV line based on specific trends you’re monitoring, allowing for personalized and insightful visual analysis.
3. Debt & Cash Visualization: Plot both debt and cash & equivalents on the same chart, offering a clear and concise view of a company’s financial health.
4. Key Metrics Table: View a table displaying essential metrics including:
- Average EV
- Highest EV
- Lowest EV
- MC-EV (Market Cap minus Enterprise Value)
MC-EV Charting: Easily chart MC-EV to understand how much debt a company has relative to its market cap, providing insight into financial leverage and growth potential.
Why MC-EV Matters: This metric is crucial for evaluating a company’s financial risk and operational efficiency, giving you an edge in making informed investment decisions.
Thanks for reading and I hope you find some value in this! More updates to come.
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.