Greer Book Value Yield📘 Script Title
Greer Book Value Yield – Valuation Insight Based on Balance Sheet Strength
🧾 Description
Greer Book Value Yield is a valuation-focused indicator in the Greer Financial Toolkit, designed to evaluate how much net asset value (book value) a company provides per share relative to its current market price. This script calculates the Book Value Per Share Yield (BV%) using the formula:
Book Value Yield (%) = Book Value Per Share ÷ Stock Price × 100
This yield helps investors assess whether a stock is trading at a discount or premium to its underlying assets. It dynamically highlights when the yield is:
🟢 Above its historical average (potentially undervalued)
🔴 Below its historical average (potentially overvalued)
🔍 Use Case
Analyze valuation through asset-based metrics
Identify buy opportunities when book value yield is historically high
Combine with other scripts in the Greer Financial Toolkit:
📘 Greer Value – Tracks year-over-year growth consistency across six key metrics
📊 Greer Value Yields Dashboard – Visualizes multiple valuation-based yields
🟢 Greer BuyZone – Highlights long-term technical buy zones
🛠️ Inputs & Data
Uses Book Value Per Share (BVPS) from TradingView’s financial database (Fiscal Year)
Calculates and compares against a static average yield to assess historical valuation
Clean visual feedback via dynamic coloring and overlays
⚠️ Disclaimer
This tool is for educational and informational purposes only and should not be considered financial advice. Always conduct your own research before making investment decisions.
基本面分析
Greer EPS Yield📘 Script Title
Greer EPS Yield – Valuation Insight Based on Earnings Productivity
🧾 Description
Greer EPS Yield is a valuation-focused indicator from the Greer Financial Toolkit, designed to evaluate how efficiently a company generates earnings relative to its current stock price. This script calculates the Earnings Per Share Yield (EPS%), using the formula:
EPS Yield (%) = Earnings Per Share ÷ Stock Price × 100
This yield metric provides a quick snapshot of valuation through the lens of profitability per share. It dynamically highlights when the EPS yield is:
🟢 Above its historical average (potentially undervalued)
🔴 Below its historical average (potentially overvalued)
🔍 Use Case
Quickly assess valuation attractiveness based on earnings yield.
Identify potential buy opportunities when EPS% is above its long-term average.
Combine with other indicators in the Greer Financial Toolkit for a fundamentals-driven investment strategy:
📘 Greer Value – Tracks year-over-year growth consistency across six key metrics
📊 Greer Value Yields Dashboard – Visualizes valuation-based yield metrics
🟢 Greer BuyZone – Highlights long-term technical buy zones
🛠️ Inputs & Data
Uses fiscal year EPS data from TradingView’s built-in financial database.
Tracks a static average EPS Yield to compare current valuation to historical norms.
Clean, intuitive visual with automatic color coding.
⚠️ Disclaimer
This tool is for educational and informational purposes only and should not be considered financial advice. Always conduct your own research before making investment decisions.
THE HISTORY By [VXN]
THE HISTORY By - Monthly Seasonal Analysis Indicator
Development Status: This indicator is currently in the development phase and is not yet finished. Features and functionality may change as development continues.
Overview:
This indicator provides comprehensive historical analysis of monthly price patterns, designed to help traders identify recurring seasonal behaviors and market tendencies for the current month across multiple years of data.
Key Features:
Historical Data Analysis:
- Analyzes up to 10 years of historical performance for the current month
- Calculates monthly returns, win rates, and statistical metrics
- Tracks maximum drawdowns and runups for risk assessment
- Requires daily timeframe for accurate monthly calculations
Pattern Recognition:
- Implements a three-period classification system that breaks each month into segments
- Uses visual indicators (🟢🔴🟡) to represent bullish, bearish, and neutral periods
- Helps identify recurring intra-month behavior patterns
Statistical Display:
- Presents historical data in an organized table format
- Shows year-by-year performance comparisons
- Calculates average returns, best/worst performance, and confidence levels
- Displays overall market bias (bullish/bearish tendency) for the current month
Dynamic Zone Overlays:
- Projects Fibonacci-based support/resistance levels based on historical volatility
- Adjusts zone positioning based on the month's historical bias
- Provides visual reference points for potential price targets or reversal areas
Practical Applications:
- Seasonal trading strategy development
- Risk management through historical context
- Understanding market cyclicality and recurring patterns
- Educational tool for studying price behavior over time
Note: This indicator is designed for analysis and education purposes, helping traders understand historical market patterns rather than providing direct trading signals. The data should be used in conjunction with other forms of analysis and proper risk management. As this is still under development, please expect updates and refinements to functionality.
H turnoverTrading Value refers to the total monetary amount of all transactions for a particular stock or the entire market over a specific period. It is calculated by multiplying the trading volume (the number of shares traded) by the price at which they were traded. For example, if 10,000 shares of a stock are traded in a day at an average price of 50,000 KRW, the trading value for that day would be 500,000,000 KRW.
Key points about trading value:
Market Activity and Liquidity: A high trading value indicates an active and liquid market.
Flow of Investment Funds: Increasing trading value suggests more money is flowing into the market or a particular stock.
Relationship with Price Movements: When both trading value and price rise together, it often signals strong buying interest. Conversely, significant price changes with low trading value may be less reliable.
Market Sentiment Indicator: Changes in trading value can reflect shifts in investor interest and sentiment.
In summary, trading value is the total amount of money exchanged in trades and serves as an important indicator of market activity, liquidity, and investor sentiment.
Dynamic VWAP: Fair Value & Divergence SuiteDynamic VWAP: Fair Value & Divergence Suite
Dynamic VWAP: Fair Value & Divergence Suite is a comprehensive tool for tracking contextual valuation, overextension, and potential reversal signals in trending markets. Unlike traditional VWAP that anchors to the start of a session or a fixed period, this indicator dynamically resets the VWAP anchor to the most recent swing low. This design allows you to monitor how far price has extended from the most recent significant low, helping identify zones of potential profit-taking or reversion.
Deviation bands (standard deviations above the anchored VWAP) provide a clear visual framework to assess whether price is in a fair value zone (±1σ), moderately extended (+2σ), or in zones of extreme extension (+3σ to +5σ). The indicator also highlights contextual divergence signals, including slope deceleration, weak-volume retests, and deviation failures—giving you actionable confluence around potential reversal points.
Because the anchor updates dynamically, this tool is particularly well suited for trend-following assets like BTC or stocks in sustained moves, where price rarely returns to deep negative deviation zones. For this reason, the indicator focuses on upside extension rather than symmetrical reversion to a long-term mean.
🎯 Key Features
✅ Dynamic Swing Low Anchoring
Continuously re-anchors VWAP to the most recent swing low based on your chosen lookback period.
Provides context for trend progression and overextension relative to structural lows.
✅ Standard Deviation Bands
Plots up to +5σ deviation bands to visualize levels of overextension.
Extended bands (+3σ to +5σ) can be toggled for simplicity.
✅ Conditional Zone Fills
Colored background fills show when price is inside each valuation zone.
Helps you immediately see if price is in fair value, moderately extended, or highly stretched territory.
✅ Divergence Detection
VWAP Slope Divergence: Flags when price makes a higher high but VWAP slope decelerates.
Low Volume Retest: Highlights weak re-tests of VWAP on low volume.
Deviation Failure: Identifies when price reverts back inside +1σ after closing beyond +3σ.
✅ Volume Fallback
If volume is unavailable, uses high-low range as a proxy.
✅ Highly Customizable
Adjust lookbacks, show/hide extended bands, toggle fills, and enable or disable divergences.
🛠️ How to Use
Identify Buy and Sell Zones
Price in the fair value band (±1σ) suggests equilibrium.
Reaching +2σ to +3σ signals increasing overextension and potential areas to take profits.
+4σ to +5σ zones can be used to watch for exhaustion or mean-reversion setups.
Monitor Divergence Signals
Use slope divergence and deviation failures to look for confluence with overextension.
Low volume retests can flag rallies lacking conviction.
Adapt Swing Lookback
30–50 bars: Faster re-anchoring for swing trading.
75–100 bars: More stable anchors for longer-term trends.
🧭 Best Practices
Combine the anchored VWAP with higher timeframe structure.
Confirm signals with other tools (momentum, volume profiles, or trend filters).
Use extended deviation zones as context, not as standalone signals.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security or asset. Always do your own research and consult a qualified financial professional before making any trading decisions. Past performance does not guarantee future results.
RISK## Main Purpose
The indicator calculates and displays risk levels based on margin requirements and daily settlement prices, helping traders visualize their potential risk exposure.
## Key Features
**Inputs:**
- **Margin for Calculation**: The CME long margin requirement for the asset
- **HTF Margin Line**: An anchor point for higher timeframe margin calculations
**Core Calculations:**
1. **Settlement Price Tracking**: Captures daily settlement prices during specific session times (6:58-6:59 PM ET for close, 6:00-6:01 PM ET for new day open)
2. **Risk Percentage**: Calculates `margin / (point value × settlement price)` - with special handling for Micro contracts (symbols starting with "M") that uses 10× point value
3. **Risk Intervals**: Determines price intervals representing one margin unit of risk
## Visual Display
The indicator plots multiple risk levels on the chart:
- **Settlement price** (orange circles)
- **Globex open** (green circles)
- **Upper/Lower Risk levels** (red circles) - one and two risk intervals away
- **Subdivision levels** (blue crosses) - 25%, 50%, and 75% of each risk interval
- **MHP+ level** (black crosses) - HTF anchor adjusted by risk percentage
- **HTF Anchor** (black crosses)
## Practical Use
This helps futures traders:
- Visualize how far price can move before hitting margin calls
- See risk levels relative to daily settlements
- Plan position sizing and risk management
- Understand exposure in terms of actual margin requirements
The indicator essentially transforms abstract margin numbers into concrete price levels on the chart, making risk management more visual and intuitive.
Bullish Auto FibsBullish Auto Fibs Indicator
Description
The Bullish Auto Fibs indicator is a sophisticated tool designed for traders on the TradingView platform, specifically tailored for analyzing bullish price movements on XRP and other assets. It automatically plots Fibonacci retracement, B Wave, and extension levels based on a customizable ZigZag pattern, providing clear visual cues for potential support, resistance, and price targets. With a focus on the 15-minute timeframe, this indicator enhances technical analysis by dynamically updating Fibonacci levels as new pivot highs and lows are detected, ensuring traders stay aligned with evolving market trends.
Key Features:
Automatic Fibonacci Levels: Plots retracement (23.6%, 38.2%, 50%, 61.8%, 78.6%), B Wave (23.6% to 161.8%), and extension (100%, 161.8%, 261.8%) levels.
Dynamic ZigZag Detection: Identifies pivot highs and lows with an adjustable length (1–100 bars, default 20).
Real-Time Updates: Adjusts Fibonacci levels when new highs (for retracements) or lows (for B Wave and extensions) are detected, preserving key reference points like the B Wave pivot high.
Customizable Display: Toggle visibility for retracement, B Wave, and extension levels to suit your analysis needs.
Visual Clarity: Uses distinct colors (gray for retracements, yellow for B Wave, green for extensions) and labels for easy interpretation.
This indicator is ideal for traders employing Elliott Wave theory, Fibonacci-based strategies, or trend-following approaches, offering a robust framework for identifying key price levels in bullish markets.
User Manual
Configuration
The indicator’s settings can be adjusted via the “Settings” panel in TradingView:
Yellow ZigZag Length (default: 20, range: 1–100): Controls the sensitivity of pivot detection. Higher values detect more significant pivots; lower values increase sensitivity for shorter-term swings.
Show Retracement Fibs (default: true): Enable/disable retracement levels (low to high, 0% at high, 100% at low).
Show B Wave Fibs (default: true): Enable/disable B Wave levels (high to low, 100% at high, 0% at low, with extensions up to 161.8%).
Show Extension Fibs (default: true): Enable/disable extension levels (pivot low as 0%, projecting upward).
How It Works
ZigZag Pattern:
The indicator identifies pivot highs and lows using the ta.pivothigh and ta.pivotlow functions, with the specified yellowLength.
Pivots are marked with “H” (high) or “L” (low) labels in yellow.
Fibonacci Levels:
Retracement Fibs: Drawn from a pivot low (100%) to a pivot high (0%). Updates to a new high if detected, maintaining the original low.
B Wave Fibs: Drawn from a pivot high (100%) to a pivot low (0%), with extensions above 100%. Updates to a new low if detected, preserving the original high.
Extension Fibs: Drawn from a pivot low (0%) upward, based on the prior low-to-high wave length. Updates to a new low if detected.
Dynamic Updates:
Lines and labels extend to the current bar for active Fibonacci levels, ensuring real-time relevance.
When a new pivot is detected, previous levels are cleared, and new levels are drawn to reflect the latest price structure.
Usage Tips
Trend Confirmation: Use retracement levels to identify potential support zones during pullbacks in a bullish trend.
B Wave Analysis: Leverage B Wave levels for corrective wave targets, especially in Elliott Wave strategies.
Price Targets: Extension levels highlight potential bullish continuation zones.
Timeframe Flexibility: While optimized for 15-minute charts, adjust yellowLength for higher (e.g., 50–100) or lower (e.g., 5–10) timeframes.
Combine with Other Tools: Pair with trend indicators (e.g., moving averages) or oscillators (e.g., RSI) for enhanced decision-making.
Troubleshooting
No Levels Displayed: Ensure at least two pivots (high and low) are detected. Increase yellowLength if pivots are sparse.
Overlapping Labels: Reduce chart zoom or toggle off unnecessary Fibonacci types to declutter.
Performance Issues: The indicator limits arrays to 500 entries to prevent slowdowns. Older pivots are automatically removed.
Notes
The indicator is optimized for bullish markets but can be adapted for other assets by adjusting the ZigZag length.
For best results, test settings on historical data to align with your trading style.
RTH Standard Deviation+RTH Standard Deviation+ Indicator
Overview
The RTH Standard Deviation+ (RTH SD+) indicator is a versatile tool designed for traders to visualize key price levels based on the Regular Trading Hours (RTH) session.
It calculates and displays the high, low, equilibrium (midpoint), and standard deviation-based levels derived from the RTH session's price range.
This indicator is ideal for day traders and swing traders looking to identify potential support, resistance, and breakout zones.
Features
Customizable Session Window: Define the RTH session based on your preferred time window and timezone.
Key Price Levels: Displays high, low, equilibrium, 25%/75% quartile levels, and standard deviation levels (±0.5, ±1.0, ±1.33, ±1.66, ±2.0, and optional extended levels up to ±4.0).
Visual Elements: Includes horizontal lines, labels, boxes, and vertical lines to highlight key levels and session boundaries.
Flexible Styling: Customize line styles, colors, thicknesses, and visibility for all elements.
Extended Levels: Optional display of additional standard deviation levels (±2.25, ±2.33, ±2.5, ±2.66, ±2.75, ±3.0, ±3.25, ±3.33, ±3.5, ±3.66, ±3.75, ±4.0).
Deviation Boxes: Visualize specific standard deviation ranges (±0.1, ±1.33/1.66, ±2.33/2.66, ±3.33/3.66) with customizable colors.
Inputs
Session Window: Set the RTH session time (default: 06:00–09:00).
Timezone: Select the appropriate timezone (default: UTC-4).
Label Offset: Adjust the horizontal offset for price level labels (default: 5 bars).
Line Offset: Set the length of horizontal lines extending from the session end (default: 20 bars).
Show SD Levels: Toggle visibility of standard deviation lines (±0.5, ±1.0, ±1.33, ±1.66, ±2.0).
Show SD Labels: Enable or disable labels for standard deviation levels.
Show SD Boxes: Display shaded boxes for specific standard deviation ranges (e.g., ±1.33/1.66).
Show ±0.1 Dev Boxes: Highlight smaller deviation ranges (±0.1) with boxes.
Vertical Line: Toggle a vertical line at the session end, with customizable color, style, and thickness.
High/Low, Equilibrium, 25%/75%, ±0.1 Dev, ±1.33/1.66: Toggle visibility and customize colors, styles, and thicknesses for these levels.
Extended Levels: Enable additional standard deviation levels (e.g., ±2.25, ±2.5, etc.) for advanced analysis.
How It Works
Session Tracking: The indicator identifies the user-defined RTH session based on the specified time window and timezone.
It tracks the high, low, and equilibrium (midpoint) of the session's price action.
Price Range Calculation: At the session's end, the indicator calculates the price range (high - low) and uses it to compute standard deviation levels relative to the high, low, or equilibrium.
Level Visualization:
High/Low Lines: Display the session's high and low prices as horizontal lines, extended beyond the session end.
Equilibrium Line: Shows the midpoint of the session range.
Quartile Lines: Plots 25% and 75% levels within the session range.
Standard Deviation Lines: Displays levels at ±0.5, ±1.0, ±1.33, ±1.66, and ±2.0 standard deviations, with optional extended levels up to ±4.0.
Deviation Boxes: Shaded boxes highlight specific ranges (e.g., ±1.33/1.66) for quick reference.
±0.1 Deviation Lines/Boxes: Optional smaller deviation levels for precise analysis.
Dynamic Updates: During the session, high and low lines update in real-time. At session end, all levels are finalized and extended forward for post-session analysis.
Clearing Mechanism: When a new session begins, previous drawings are cleared to avoid clutter.
Usage
Add to Chart: Apply the indicator to your TradingView chart via the Pine Editor or Indicator menu.
Configure Settings:
Adjust the session window and timezone to match your market (e.g., 09:30–16:00 UTC-4 for US equities RTH).
Customize visibility, colors, styles, and thicknesses to suit your chart preferences.
Enable extended levels for deeper analysis or disable them for simplicity.
Interpret Levels:
High/Low: Act as potential support/resistance or breakout levels.
Equilibrium: Represents the session's midpoint, often a pivot point.
25%/75% Quartiles: Indicate intermediate levels within the session range.
Standard Deviation Levels: Highlight statistically significant price zones for potential reversals or breakouts.
Boxes: Emphasize key zones for quick visual reference.
Trading Application: Use levels to identify entry/exit points, set stop-losses, or gauge market volatility.
For example, ±1.0 standard deviation levels often act as strong support/resistance, while ±2.0 levels may indicate overextension.
Notes
Ensure the session window aligns with the market’s trading hours for accurate calculations.
The indicator is designed for intraday and post-session analysis but can be adapted for other timeframes.
Use in conjunction with other technical analysis tools for comprehensive decision-making.
Extended levels (±2.25 and beyond) are disabled by default to reduce chart clutter but can be enabled for specific strategies.
TradingView House Rules Compliance
This indicator contains no copyrighted material and adheres to TradingView’s Pine Script guidelines.
This indicator was approved and created with @TIMELESS1_
Opening Range Breakout🧭 Overview
The Open Range Breakout (ORB) indicator is designed to capture and display the initial price range of the trading day (typically the first 15 minutes), and help traders identify breakout opportunities beyond this range. This is a popular strategy among intraday and momentum traders.
🔧 Features
📊 ORB High/Low Lines
Plots horizontal lines for the session’s high and low
🟩 Breakout Zones
Background highlights when price breaks above or below the range
🏷️ Breakout Labels
Text labels marking breakout events
🧭 Session Control
Customizable session input (default: 09:15–09:30 IST)
📍 ORB Line Labels
Text labels anchored to the ORB high and low lines (aligned right)
🔔 Alerts
Configurable alerts for breakout events
⚙️ Adjustable Settings
Show/hide background, labels, session window, etc.
⏱️ Session Logic
• The ORB range is calculated during a defined session window (default: 09:15–09:30).
• During this window, the highest high and lowest low are recorded as ORB High and ORB Low.
📈 Breakout Detection
• Breakout Above: Triggered when price crosses above the ORB High.
• Breakout Below: Triggered when price crosses below the ORB Low.
• Each breakout can trigger:
• A background highlight (green/red)
• A text label (“Breakout ↑” / “Breakout ↓”)
• An optional alert
🔔 Alerts
Two built-in alert conditions:
1. Breakout Above ORB High
• Message: "🔼 Price broke above ORB High: {{close}}"
2. Breakout Below ORB Low
• Message: "🔽 Price broke below ORB Low: {{close}}"
You can create alerts in TradingView by selecting these from the Add Alert window.
📌 Best Use Cases
• Intraday momentum trading
• Breakout and scalping strategies
• First 15-minute range traders (NSE, BSE markets)
XAU/USD Lot Size CalculatorThis indicator automatically calculates the optimal lot size for XAUUSD (gold) based on the level of risk the trader wants to take. It is designed for traders using MetaTrader 4 or 5 and helps adjust position size according to the specific volatility of gold. The user can set the percentage of capital they are willing to risk on a single trade, for example 1%. The indicator also takes into account the stop loss level, which can be entered in pips or in dollars, as well as the account size (balance or equity).
Based on these parameters, it calculates the exact lot size that matches the risk amount. It then displays on the chart the recommended lot size, the risk amount in dollars, the pip value for XAUUSD, and a confirmation of the stop loss level. This type of indicator is useful for maintaining disciplined risk management and avoiding position sizing errors, especially on a highly volatile asset like gold.
Non-Commercial Bias TrackerNon-Commercial Bias Tracker
Overview
The Non-Commercial Bias Tracker is a sophisticated sentiment analysis tool designed to provide traders with a clear view of the positioning of institutional speculators in the futures market. By analyzing the weekly Commitment of Traders (COT) report, this indicator helps you understand the underlying bias of large market participants for a wide range of assets, including forex, commodities, and indices.
The primary goal of this tool is to identify the prevailing trend in market sentiment and alert you to significant shifts in that trend, allowing you to align your strategy with the flow of institutional money.
Key Features
Dual Asset Analysis: Automatically detects the two assets in a trading pair (e.g., EUR and USD in EURUSD) or a single asset (e.g., GOLD) and displays their sentiment data side-by-side.
Comprehensive Data Table: A clean, customizable dashboard shows you the most critical sentiment metrics at a glance, including the current Net Position, the Change %, and the Overall Bias.
Visual Sentiment Plot: The indicator plots the primary sentiment metric and its signal line, giving you a visual representation of momentum and trend.
Clear Bias-Shift Signals: Green and red circles appear directly on the plot to highlight the exact moment the underlying sentiment momentum shifts, providing clear and timely signals.
How to Use the Indicator
Important Note: The Commitment of Traders data is released weekly. For the most accurate and meaningful signals, it is strongly recommended to use this indicator on the Weekly (W) chart timeframe.
1. The Data Table
The table in the corner of your screen is your main dashboard. Here’s what each row means:
Net Position: Shows the net difference between long (bullish) and short (bearish) contracts held by non-commercial traders. A positive number indicates a net long position; a negative number indicates a net short position.
Change %: This is the primary metric used for analysis, representing the net sentiment as a percentage.
Overall Bias: This is the final output of the indicator's analysis. It provides a clear "Long" or "Short" signal based on the current sentiment momentum. This cell is color-coded for quick interpretation (Green for Long, Red for Short).
2. The Chart Plots
Blue Line: Represents the current sentiment metric ("Change %" or "Net Position %").
Orange Line: Represents the signal line, or the average sentiment over a specific period.
Crossover Signals:
A Green Circle appears when the blue line crosses above the orange line, signaling a shift to a Long Bias.
A Red Circle appears when the blue line crosses below the orange line, signaling a shift to a Short Bias.
Settings & Customization
You can tailor the indicator to your specific needs via the Settings menu:
Data Source: Choose between "Futures Only" or the combined "Futures and Options" data.
Metric Type: Select whether to analyze the market using "Change %" (for momentum) or "Net Position %" (for conviction).
Bias Signal Line Length: Adjust the sensitivity of the crossover signals. A shorter length is faster, while a longer length provides smoother, more confirmed signals.
Style Settings: Customize the position of the data table and the color of the text to match your chart theme.
Disclaimer: This indicator is a tool for analysis and should not be considered as direct financial advice. All trading involves risk. Always use proper risk management and conduct your own due diligence before making any trading decisions.
Boomerang Trading Indicator# Boomerang News Trading Indicator
## Overview
The Boomerang Trading Indicator is designed to identify potential reversal opportunities following major economic news releases. This indicator analyzes the initial market reaction to news events and provides visual cues for potential counter-trend trading opportunities based on Fibonacci retracement levels.
## How It Works
### News Event Detection
- Automatically detects major news release times (NFP, CPI, FOMC, etc.)
- Analyzes the first significant price movement following news releases
- Requires minimum candle size threshold to filter out weak reactions
### First Move Analysis
The indicator employs multiple analytical methods to determine the initial market direction:
**Simple Analysis (High Confidence):**
- When the news candle has ≥70% body-to-total ratio, uses straightforward bullish/bearish classification
**Advanced Analysis (Complex Cases):**
- Volume-weighted direction analysis
- Momentum and wick pattern analysis
- Market structure and gap analysis
- Weighted voting system combining all methods
### Entry Signal Generation
Based on the "boomerang" concept where markets often reverse after initial news reactions:
**For Bullish First Moves (Price Up Initially):**
- Generates SHORT entry signals when price retraces to 1.25-1.5 Fibonacci levels
- Visual: Red triangles above price bars
**For Bearish First Moves (Price Down Initially):**
- Generates LONG entry signals when price retraces to -0.25 to -0.5 Fibonacci levels
- Visual: Green triangles below price bars
## Key Features
### Visual Elements
- **Fibonacci Levels**: Displays key retracement levels based on the initial reaction range
- **Entry Zones**: Clear visual marking of optimal entry areas
- **Direction Arrows**: Shows the initial market reaction direction
- **Target Levels**: Displays profit target zones at 50% and 100% retracement levels
### Information Panel
Real-time display showing:
- Current setup status
- First move direction and body percentage
- Recommended trade direction
- Key price levels (reaction high/low)
- Profit targets with historical success rates
### Alert System
- Pre-news warnings (customizable timing)
- News event notifications
- Setup activation alerts
- Entry signal notifications
### Success Tracking
- Visual "BOOM!" animations when targets are hit
- Target 1 (50% level): ~95% historical success rate
- Target 2 (Main target): ~80% historical success rate
## Configuration Options
### Time Settings
- News release hour and minute (customizable for different events)
- Pre-news alert timing
- Setup duration (default 60 bars after news)
### Fibonacci Levels
- Adjustable retracement percentages
- Customizable target levels
- Mid-level importance weighting
### Risk Management
- Minimum reaction candle size filter
- Maximum risk point setting
- Visual risk/reward display
### Display Options
- Toggle Fibonacci level visibility
- Toggle target level display
- Toggle animation effects
- Customizable alert preferences
## Applicable News Events
This indicator is designed for high-impact economic releases:
- Non-Farm Payrolls (NFP) - First Friday, 8:30 AM ET
- Consumer Price Index (CPI) - Monthly, 8:30 AM ET
- Producer Price Index (PPI) - Monthly, 8:30 AM ET
- Gross Domestic Product (GDP) - Quarterly, 8:30 AM ET
- FOMC Interest Rate Decisions - 8 times yearly, 2:00 PM ET
## Trading Strategy Framework
### Core Principle
Markets often overreact to news initially, then reverse toward more rational price levels. This "boomerang effect" creates short-term trading opportunities.
### Entry Strategy
1. Wait for significant initial reaction (>10 points minimum)
2. Identify the initial direction using multi-factor analysis
3. Trade opposite to the initial reaction when price reaches sweet spot zones
4. Use Fibonacci retracement levels as entry triggers
### Risk Management
- Always use appropriate position sizing
- Set stop losses beyond recent swing levels
- Consider market volatility and news importance
- Monitor for setup invalidation signals
## Important Notes
### Educational Purpose
This indicator is for educational and analytical purposes. Users should:
- Thoroughly test strategies in demo environments
- Understand the risks involved in news trading
- Consider market conditions and volatility
- Use proper risk management techniques
### Market Considerations
- High volatility during news events increases both opportunity and risk
- Spreads may widen significantly during news releases
- Different brokers may have varying execution conditions
- Economic calendar timing may vary between sources
### Limitations
- Past performance does not guarantee future results
- Market conditions can change, affecting strategy effectiveness
- News events may have unexpected outcomes affecting normal patterns
- Technical analysis should be combined with fundamental analysis
## Version Information
- Compatible with TradingView Pine Script v5
- Designed for 1-minute timeframe optimal performance
- Works on major forex pairs, indices, and commodities
- Regular updates based on market condition changes
---
**Disclaimer:** This indicator is provided for educational purposes only. Trading involves substantial risk and is not suitable for all investors. Past performance is not indicative of future results. Users should conduct their own research and consider their financial situation before making trading decisions.
Global Risk Matrix [QuantAlgo]🟢 Overview
The Global Risk Matrix is a comprehensive macro risk assessment tool that aggregates multiple global financial indicators into a unified risk sentiment framework. It transforms diverse economic data streams (from currency strength and liquidity measures to volatility indices and commodity prices) into standardized Z-Score readings to identify market regime shifts across risk-on and risk-off conditions.
The indicator displays both a risk oscillator showing weighted average sentiment and a dynamic 2D matrix visualization that plots signal strength against momentum to reveal current market phase and historical evolution. This helps traders and investors understand broad market conditions, identify regime transitions, and align their strategies with prevailing macro risk environments across all asset classes.
🟢 How It Works
The indicator employs Z-Score normalization across various global macro components, each representing distinct aspects of market liquidity, sentiment, and economic health. Raw data from sources like DXY, S&P 500, Fed liquidity, global M2 money supply, VIX, and commodities undergoes statistical standardization. Several components are inverted (USDT.D, DXY, VIX, credit spreads, treasury bonds, gold) to align with risk-on interpretation, where positive values indicate bullish conditions.
This unique system applies configurable weights to each component based on selected asset class presets (Crypto Investor/Trader, Stock Trader, Commodity Trader, Forex Trader, Risk Parity, or Custom), creating a weighted average Z-Score. It then analyzes both signal strength and momentum direction to classify market conditions into four distinct phases: Risk-On (positive signal, rising momentum), Risk-Off (negative signal, falling momentum), Recovery (negative signal, rising momentum), and Weakening (positive signal, falling momentum). The 2D matrix visualization plots these dimensions with historical trail tracking to show regime evolution over time.
🟢 How to Use
1. Risk Oscillator Interpretation and Phase Analysis
Positive Territory (Above Zero) : Indicates risk-on conditions with capital flowing toward growth assets and higher risk tolerance
Negative Territory (Below Zero) : Signals risk-off sentiment with capital seeking safety and defensive positioning
Extreme Levels (±2.0) : Represent statistically significant deviations that often precede regime reversals or trend exhaustion
Zero Line Crosses : Mark critical transitions between risk regimes, providing early signals for portfolio rebalancing
Phase Color Coding : Green (Risk-On), Red (Risk-Off), Blue (Recovery), Yellow (Weakening) for immediate regime identification
2. Risk Matrix Visualization and Trail Analysis
Current Position Marker (⌾) : Shows real-time location in the risk/momentum space for immediate situational awareness
Historical Trail : Connected path showing recent market evolution and regime transition patterns
Quadrant Analysis : Risk-On (upper right), Risk-Off (lower left), Recovery (lower right), Weakening (upper left)
Trail Patterns : Clockwise rotation typically indicates healthy regime cycles, while erratic movement suggests uncertainty
3. Pro Tips for Trading and Investing
→ Portfolio Allocation Filter : Use Risk-On phases to increase exposure to growth assets, small caps, and emerging markets while reducing defensive positions during confirmed green phases
→ Entry Timing Enhancement : Combine Recovery phase signals with your technical analysis for optimal long entry points when macro headwinds are clearing but prices haven't fully recovered
→ Risk Management Overlay : Treat Weakening phase transitions as early warning systems to tighten stop losses, reduce position sizes, or hedge existing positions before full Risk-Off conditions develop
→ Sector Rotation Strategy : During Risk-On periods, favor cyclical sectors (technology, consumer discretionary, financials) while Risk-Off phases favor defensive sectors (utilities, consumer staples, healthcare)
→ Multi-Timeframe Confluence : Use daily matrix readings for strategic positioning while applying your regular technical analysis on lower timeframes for precise entry and exit execution
→ Divergence Detection : Watch for situations where your asset shows bullish technical patterns while the matrix shows Risk-Off conditions—these often provide the highest probability short opportunities and vice versa
TPO[Fixed Range, Anchored, Bars Back]TPO Bars Back, Fixed Range and Anchored
Overview
The TPO Profile (Time Price Opportunity Profile) is a powerful market profile indicator that displays the amount of time price spent at different levels during a specified period. Unlike traditional volume profile indicators that show volume distribution, TPO Profile shows time distribution , providing insights into where price has spent the most time and identifying key support and resistance levels.
Key Advantages Over TradingView's Built-in TPO
Simplified Composite Creation : Automatically creates TPO profiles for any time range without manual split/merge operations
Instant Value Area Calculation : Immediately shows Value Area, POC, VAH, and VAL for your selected period
No Manual Assembly Required : TradingView's native TPO requires you to manually split sessions and merge them to create composites - this indicator does it automatically
Flexible Time Ranges : Create composites for any custom time period (multiple days, weeks, specific events) with a few clicks
Real-time Composite Updates : Anchor mode creates live composites that update as new data arrives
Multiple Composite Analysis : Easily compare different time periods without the tedious manual process
Key Features
Core Functionality
Time-Based Analysis : Shows time spent at each price level rather than volume
Configurable Time Blocks : Use any timeframe for TPO counting (30min, 1H, 4H, etc.)
Multiple Price Levels : Adjustable from 5 to 200 levels for granular analysis
Point of Control (POC) : Automatically identifies the price level with highest time activity
Value Area Calculation : Shows the price range containing 70% (configurable) of time activity
Automatic Composite Generation : Creates multi-session composites without manual intervention
Three Operating Modes
1. Bars Back Mode
Analyzes the last N bars from the current bar
Perfect for recent market activity analysis
Range: 10-500 bars
Use Case : Intraday analysis, recent session review
2. Fixed Range Mode
Analyzes a specific time period between start and end times
Ideal for historical analysis of specific events
Creates perfect composites for multi-day periods
Use Case : Earnings periods, news events, specific trading sessions, weekly/monthly composites
3. Anchor Mode (NEW)
Starts from a specific time and extends to the current bar
Dynamically updates as new bars form
Perfect for building live composites from any starting point
Use Case : Live session monitoring, event-based analysis from a specific point, growing composites
Visual Elements
TPO Bars
Horizontal bars showing time distribution at each price level
Longer bars = more time spent at that level
Color-coded to distinguish Value Area from outlying levels
Point of Control (POC)
Red line marking the price level with highest time activity
Most significant support/resistance level
Configurable line style (Solid/Dashed/Dotted) and width
Value Area High/Low (VAH/VAL)
Green and Orange lines marking the boundaries of the Value Area
Shows the price range containing the specified percentage of time activity
Optional display with customizable line styles
Single Print Detection
Identifies price levels touched by only one time block
Display options: Lines or Boxes
Purple color highlighting these significant levels
Often act as strong support/resistance in future trading
Customization Options
Time Block Configuration
Block Time : Choose timeframe for TPO counting (30min, 1H, 4H, etc.)
Allows analysis at different time granularities
Higher timeframes = broader perspective, Lower timeframes = finer detail
Visual Styling
Line Styles : Solid, Dashed, or Dotted for all line elements
Line Widths : 1-5 pixels for POC, VAH, and VAL lines
Colors : Fully customizable colors for all elements
Transparency : Adjustable transparency for better chart readability
Label Management
Show/Hide Labels : Toggle POC, VAH, VAL labels
Font Sizes : Tiny, Small, Normal, Large, Huge
Label Positioning : 8 different position options relative to lines
Offset Controls : Fine-tune label positioning
Line Extension
Level Offset Right : Controls how far lines extend
Smart extension logic:
Value ≤ 0: Infinite extension (extend.right)
Value ≥ 1: Extends exactly N bars ahead
Trading Applications
Support & Resistance
POC often acts as strong support/resistance
Value Area boundaries provide key levels
Single prints frequently become significant levels
Market Structure Analysis
Identify areas of price acceptance (thick TPO bars)
Spot areas of price rejection (thin TPO bars)
Understand where market participants are comfortable trading
Composite Profile Analysis
Create multi-day, weekly, or monthly composites instantly
Compare different composite periods without manual work
Analyze longer-term price acceptance levels
Build composites around specific events or announcements
Session Analysis
Monitor intraday session development in real-time
Compare different sessions (London, New York, Asia)
Track how profiles change throughout the trading day
Build live composites across multiple sessions
Event Analysis
Use Fixed Range mode for earnings, news events
Use Anchor mode to track price development from specific events
Compare pre/post event price acceptance levels
Create event-based composites automatically
Input Parameters
Mode Selection
Mode : Bars Back | Fixed Range | Anchor
Bars Back : Number of bars to analyze (10-500)
Start Time : Beginning time for Fixed Range and Anchor modes
End Time : Ending time for Fixed Range mode only
Analysis Configuration
Block Time : Timeframe for TPO blocks (e.g., "30" for 30-minute blocks)
TPO Levels : Number of price levels (5-200)
Value Area % : Percentage for Value Area calculation (50-95%)
Display Options
Show POC : Display Point of Control line
Show Value Area : Display Value Area box
Show VAH/VAL Lines : Display Value Area boundary lines
Show Single Prints : Display single print detection
Single Print Style : Lines or Boxes
Styling Controls
Colors : TPO, POC, Value Area, VAH, VAL, Single Print colors
Line Styles : POC, VAH, VAL line styles
Line Widths : POC, VAH, VAL line widths
Labels : Show/hide, font size, position, offset controls
Technical Details
Calculation Method
Divides the price range into equal levels based on TPO Levels setting
For each time block, determines which price levels it crosses
Adds +1 count to each crossed level
Identifies POC as the level with highest count
Calculates Value Area by expanding from POC until target percentage is reached
Performance Considerations
Historical data limited to prevent buffer overflow errors
Smart bounds checking for different timeframes
Optimized cleanup routines to prevent drawing object accumulation
Pine Script Version
Built on Pine Script v6
Uses modern Pine Script best practices
Efficient array handling and drawing object management
Best Practices
Timeframe Selection
Block Time = Chart Timeframe : Traditional TPO approach
Block Time > Chart Timeframe : Smoother, broader perspective
Block Time < Chart Timeframe : More granular, detailed analysis
Level Count Guidelines
Low levels (10-20) : Better for swing trading, major levels
High levels (50-100) : Better for scalping, precise entries
Very high levels (100+) : For very detailed analysis
Mode Selection
Bars Back : Daily analysis, recent activity
Fixed Range : Historical events, specific periods, manual composites
Anchor : Live monitoring, event-based analysis, growing composites
Composite Creation Workflow
Select Fixed Range or Anchor mode
Set your desired start time (and end time for Fixed Range)
Adjust TPO Levels for desired granularity
Enable VAH/VAL lines to see Value Area boundaries
The composite profile generates automatically with all key levels
This indicator eliminates the tedious manual process of creating composite TPO profiles in TradingView. Instead of splitting sessions and manually merging them, you get instant composite analysis with automatic Value Area calculation, POC identification, and single print detection. The combination of time-based analysis, multiple operating modes, and extensive customization options makes it a powerful tool for understanding market structure and price acceptance levels across any time period.
Red Report Filter x 'Bull_Trap_9'Hello Traders!
This one is my favorite.
This is indicator / filter: '2 of 2.'
'1 of 2' is the, 'Closed Market Filter,' I posted before this that you may like.
Again, I prefer 'Filter' over 'Indicator' because this Pine Script code does not interact with the actual price data.
It makes handling high impact reports effortless.
As you all know; if you're on a Prop and breach a 'Red,' you lose your account.
This will filter up to 5 reports. More than enough unless you're on EURUSD!
It offers both 'Red' and 'Orange' report control.
The default window times of 15 / 6 are programmed for red events. You can always alter the base code for your desired, 'Before / After.'
Click the tooltip for more info.
How to use:
You do need to update the inputs daily with the current report times before each open.
I trade YM / US markets. Those reports are very repetitive on their delivery times, so I usually leave a 10:00 setting in slot 1. I then toggle it 'On' or 'Off' per demand.
Just open the dialogue box and it is pretty self explanatory.
I used task scheduler for a lot of years, but that wasn't very reliable, modest work to set up daily and a lot of times I may not hear it or it malfunctions because of a Windows update.
TradingView has the little icon that floats from the bottom right, but who really looks for that.
Any audio alert is subject to fail for a number of reasons.
This filter REDS the screen in your face. Leaves no doubt about what's coming.
I know there may be other apps and options out there, but this filter is integral to the TradingView chart itself embedded through Pine Script. It is right there, a click away, easy to input data, and as long as your chart is active and working, the filter will fire.
I did not build an alert condition into this, but I'm sure that could be an option if you want to program in audio as well.
Please Note: Only when the price candles push into the filter zone, will the filter start to display. Run a test a minute from the current price candle and you can see how it functions.
I appreciate your interest.
Closed Market / Back-Test Filter x 'Bull_Trap_9'Hello TradingView Traders!
This is a very valuable tool that I believe all traders will find useful.
This indicator / filter is '1 of 2'. I prefer it as a filter because it is not meant for live trade analysis. It is designed to make a trader aware of their individual trade sessions and to help aid in static chart candlestick back-testing.
Also, look for my indicator / filter, '2 of 2': 'Red Report Filter'
There are two functions to this filter.
Primary use: It allows a trader to set a session window: Open / Close.
During a trade session, like YM, I only trade 9:30 - 15:00. Without the filter, many times I have traded past my cutoff because I was focused on the chart and not the time.
With this filter on as close nears with an open trade and the filter starts to apply, I know I am at session close with no more trades upon exit. Otherwise, I know the session is done with no further trades.
It is also nice to have the filter on during the session open as a demarcation boundary.
Secondary use: It is used as a chart back-test tool.
When applied to a traders back-test chart, the trader can control their trade session envelopes for easier and more precise evaluation. The filter will allow only the candles per session that the trader wants to focus on and will filter all other non-session candles.
I can easily compare a whole week of 30m session data, concentrating solely on the filtered trade windows.
Please Note: The filter will be active as far back as the historic data prints.
Thanks for viewing!
Pristine Fundamental AnalysisThe Pristine Fundamental Analysis indicator enables users to perform comprehensive fundamental stock analysis in a fraction of the time! 🏆
For swing/position traders, fundamental analysis is essential—it informs stock selection and strengthens conviction, enabling traders to stay in positions long enough to capture larger moves. Since every ticker represents both a business and a tradable asset, fundamental analysis perfectly complements technical analysis.
💠 Fundamental Analysis Insights - Weekly Timeframe
EPS & sales trends, margins & ratios, and valuation metrics are displayed on the weekly timeframe for in-depth analysis outside market hours.
💠 Fundamental Analysis Insights - Daily Timeframe
A slimmed down version of the fundamental analysis table is displayed on the daily timeframe to provide users quick insights into the fundamentals, while allowing them to focus on technical analysis during market hours.
💠 Fundamental Analysis Metrics to Deepen Understanding of Companies!
EARNINGS & SALES TRENDS
Why does it matter? Company stock prices tend to track the growth trajectory of earnings and sales over time. By analyzing fundamentals, users can gain an edge that pure technical traders do not have. This edge is most pronounced during big market dislocations when investors are forced to liquidate their top holdings.
▪ EPS - Measures year-over-year growth, quarter-over-quarter growth, and the surprise between actuals & analyst estimates
▪ Sales Analysis - Measures year-over-year growth, quarter-over-quarter growth, and the surprise between actuals & analyst estimates
MARGIN ANALYSIS
Why does it matter? Revenue is the lifeblood of a company. Margins measure company profits and expenditures as a percentage of revenue
▪ G% - Gross margin measures the percentage of revenue a company retained after subtracting the direct costs of producing the goods or services it sells, known as the cost of goods sold (COGS)
▪ CFO% - Measures the percentage of a company's revenue that was converted to Cash flow from operations (CFO). CFO, also known as operating cash flow (OCF), is the amount of cash a company generated from its core business activities over a specific period. It reflects the actual cash inflows and outflows resulting from the company’s main operations, such as selling products or providing services, and excludes cash flows from investing and financing activities.
▪ Net% - Net margin measures the percentage of revenue that was converted to net profit
▪ ROE% - Return on Equity measures how much net income a company produced for each dollar of equity invested by shareholders
▪ R&D% - R&D margin measures how much the company invested in research & development as a percentage of revenue
▪ D/E - The Debt to Equity ratio measures how much of a company’s financing comes from creditors (debt) versus owners (equity), providing insight into the company’s financial leverage and risk profile. The indicator tracks changes in the ratio over time
VALUATION METRICS
Why does it matter? Valuation metrics provide users an understanding of the potential risk if the fundamental trajectory of the company, or the broad market, changes! The more highly valued a company is, the more downside risk is present if conditions worsen, and vice versa.
▪ PE - The Price-to-Earnings ratio measures a company’s current share price relative to its trailing twelve-month(TTM) earnings per share (EPS). It helps investors assess how much they are paying for each dollar of a company’s earnings and is often used to gauge whether a stock is overvalued, undervalued, or fairly valued compared to its peers or historical averages.
▪ PS - The Price-to-Sales ratio measures a company’s current share price relative to its trailing twelve-month(TTM) sales per share. It helps investors assess how much they are paying for each dollar of a company’s sales and is often used to gauge whether a stock is overvalued, undervalued, or fairly valued compared to its peers or historical averages.
▪ BB% - Buyback yield measures the annual percentage of stock repurchased by the company. Share buybacks reduce total share count, which directly increases earnings per share!
💠 What Makes This Indicator Unique
There are many fundamental dashboards, however, what makes this indicator unique is customized metrics that were used to achieve back-to-back top finishes in the US Investing Championship. The main purpose of the indicator is to highlight companies with a history of EPS and sales acceleration , rather than focusing on the values in isolation, or even the growth of the values. Our goal is further evolution of the metrics and color signals based on continued backtesting and analysis of real-time market data.
▪ Custom Margin Metrics : Several of the margin metrics are unique and offer significant value beyond EPS and sales data alone.
For example, there are plenty of companies that have negative EPS due to non-cash expenses and/or investments they are making into their business, but that does not by itself mean that the companies are not worthy of an investment. Roblox (RBLX) is a great example. The company has consistently negative EPS, but the CFO% margin is positive! That means the core business throws off significant amounts of cash, and a large amount of it is being allocated to aggressive R&D spend, which is captured by the R&D% metric. This could propel the fundamentals of the business well into the future.
▪ Color Signals Based on Thresholds : The background colors of metrics are based on historical analysis and apply relevant thresholds to help users identify companies with strong fundamentals
▪ Comprehensive Inline Documentation : All headers cells offer detailed information about the relevant calculations/metrics as well as in-depth information on color coding and how to interpret each value. This small, yet important detail, allows users to quickly identify accelerating fundamental trends
💠 Practical Use Case Examples
Analyzing fundamentals to trade a Power Earnings Gap setup 👇
In August 2023, APP reported a +467% YoY increase in EPS, 181% higher than Wall Street estimates! This sparked a generational trading opportunity.👇
After the first earnings report with stellar earnings growth, APP rallied > 1000% in 2 years, following the trajectory of sales and EPS.👇
💠 Settings and Preferences
💠 Tips and Tricks
Fundamentals drive price action during periods of fundamental transition
▪ Pre-revenue companies that are anticipated to start earning revenue
▪ Revenue-generating companies that are anticipated to flip from negative to positive EPS
▪ Revenue-generating companies that are anticipated to flip from negative cash flow to positive cash flow
▪ Major accelerations or decelerations in sales or EPS
EPS and Sales Magic Indicator V2EPS and Sales Magic Indicator V2
EPS and Sales Magic Indicator V2
Short Title: EPS V2
Author: Trading_Tomm
Platform: TradingView (Pine Script v6)
License: Free for public use under fair usage guidelines
Overview
The EPS and Sales Magic Indicator V2 is a powerful stock fundamental visualization tool built specifically for TradingView users who wish to incorporate earnings intelligence directly onto their price chart. Designed and developed by Trading_Tomm, this upgraded version of the original 'EPS and Sales Magic Indicator' includes an enriched and more insightful presentation of company performance metrics — now with TTM EPS support, advanced color-coding, label sizing, and refined control options.
This indicator is tailored for retail traders, swing investors, and long-term fundamental analysts who need to view Quarter-over-Quarter (QoQ) earnings and revenue changes directly on the price chart without switching tabs or breaking focus.
What Does It Display?
The EPS and Sales Magic Indicator V2 intelligently detects quarterly financial updates and displays the following data points via labels:
1. EPS (Earnings Per Share) – Current Quarterly Value
This is the most recent Diluted EPS published by the company, fetched using TradingView’s request.financial() function.
Displayed in the format: EPS: ₹20.45
2. EPS QoQ Percentage Change
Shows the percentage change in EPS compared to the previous quarter.
Highlights improvement or decline using arrows (up for improvement, down for decline).
Displayed in the format: EPS: ₹20.45 (up 15.3 percent)
3. Sales (Revenue) – Current Quarterly Value
Fetches and displays Total Revenue of the company in ₹Crores for easier Indian-market readability.
Displayed in the format: Sales: ₹460Cr
4. Sales QoQ Percentage Change
Measures and presents the quarter-over-quarter percentage change in total revenue.
Uses arrows to indicate growth or contraction.
Displayed in the format: Sales: ₹460Cr (down 3.8 percent)
5. EPS TTM (Trailing Twelve Months)
You now get the TTM EPS — the sum of the last four quarterly EPS values.
This value provides a better long-term earnings snapshot compared to a single quarter.
Displayed in the format: TTM EPS: ₹78.12
All of these values are automatically calculated and displayed only on the bars where a new financial report is detected, keeping your chart clean and insightful.
Customization Features
This indicator is built with user control in mind, allowing you to personalize how and what you want to see:
Show EPS in Label: Enable or disable the display of EPS and EPS QoQ values.
Show Sales in Label: Toggle the visibility of revenue and sales change percentage.
Color Options for Label Themes: The label background color is automatically determined based on performance.
Green: Both EPS and Sales increased QoQ.
Red: Both decreased.
Orange: One increased and the other decreased.
Gray: Default color (if values are unavailable or mixed).
Label Text Size: Choose from Tiny, Small (default), or Normal.
Visual Design
Placement: The labels are positioned just below the candlesticks using yloc.belowbar, so they do not obstruct price action or interfere with technical indicators.
Anchor: Aligned precisely with the financial reporting bars to maintain clarity in historical comparisons.
Background Style: Clean, semi-transparent styling with soft text colors for comfortable viewing.
How It Works
The indicator relies on TradingView’s powerful request.financial() function to extract fiscal quarterly financials (FQ). Internally, it uses detection logic to identify fresh data updates by comparing current vs. previous values, arithmetic to compute QoQ percentage changes in EPS and Sales, logic to build formatted labels dynamically based on user selections, and conditional color and sizing logic to enhance interpretability.
Use Cases
For Long-Term Investors: Quickly identify if a company’s profitability and revenue are improving over time.
For Swing Traders: Combine recent earnings trends with price action to evaluate if post-result momentum has real backing.
For Technical and Fundamental Traders: Layer it with moving averages, RSI, or volume to create a hybrid analysis environment.
Limitations and Notes
Financial data is provided by TradingView’s financial API, and occasional missing values may occur for less-covered stocks.
This tool does not repaint but depends on the timing of the official financial updates.
All values are rounded and formatted to prioritize readability.
Works best on Daily or higher timeframes (weekly or monthly also supported).
License and Fair Use
This script is free to use and share under TradingView’s open-use guidelines. You may copy, fork, and build upon this indicator for personal or educational purposes, but commercial usage requires attribution to the author: Trading_Tomm.
Future Enhancements (Planned)
Addition of Net Profit (QoQ and TTM)
Inclusion of Operating Margin, Profit Margin, and Book Value
Option to switch between numeric and graphical display (table mode)
Alerts on extreme earnings deviation or sales slumps
Final Thoughts
The EPS and Sales Magic Indicator V2 represents a clean, visual, and smart way to monitor a company’s core performance from your chart screen. It helps you align fundamental strength with technical strategies and provides instant financial clarity, which is especially vital in today’s fast-moving markets.
Whether you’re preparing for an earnings season or scanning past performance to pick your next investment, this indicator saves time, enhances insights, and sharpens decisions.
Bid/Ask Volume Tension with Rolling Avg📊 Bid/Ask Volume Tension with Rolling Average
This indicator is designed to help traders identify pivotal moments of buildup, exhaustion, or imbalance in the market by calculating the tension between buy and sell volume.
🔍 How It Works:
Buy volume is approximated when the candle closes higher than or equal to its open.
Sell volume is approximated when the candle closes below its open.
Both are smoothed using an EMA (Exponential Moving Average) for noise reduction.
Tension is calculated as the absolute difference between smoothed buy and sell volume.
A rolling average of tension shows the baseline for normal behavior.
When instant tension rises significantly above the rolling average, it often signals:
A build-up before a large move
Aggressive order flow imbalances
Potential reversals or breakouts
🧠 How to Use:
Watch the orange line (instant tension) for spikes above the aqua line (rolling average).
Purple background highlights show when tension exceeds a customizable multiple of the average — a potential setup zone.
Use this indicator alongside:
Price action (candlestick structure)
Support/resistance
Liquidity zones or order blocks
⚙️ Settings:
Smoothing Length: Controls the responsiveness of buy/sell volume smoothing.
Rolling Avg Window: Defines the lookback period for the baseline tension.
Buildup Threshold: Triggers highlight zones when tension exceeds this multiple of the average.
🧪 Best For:
Spotting pre-breakout tension
Detecting volume-based divergences
Confirming order flow imbalances
HTF Box Range Overlay - FIXEDThis script overlays higher timeframe candles (e.g. 4H) onto lower timeframe charts (e.g. 5min), showing both the body and wick ranges of the last N HTF candles.
Features:
✔ Displays both candle body and wick as separate shaded boxes
✔ Fully customizable for bullish/bearish colors and wick appearance
✔ Supports any higher timeframe (15m, 1H, 4H, 1D, etc.)
✔ Clean overlay with no performance lag
✔ Automatically adjusts in real-time as new candles form
Great for traders using HTF zones, supply/demand, or structure-based confluence. Works best when used on intraday charts.
Supply & Demand (OTC)Supply & Demand - Advanced Zone Detection
Overview
This indicator is a sophisticated tool designed to automatically identify and draw high-probability supply and demand zones on your chart. It analyzes pure price action to find key areas where institutional buying and selling pressure has previously occurred, providing you with a clear map of potential market turning points.
Unlike basic supply and demand indicators, this script is built with a proprietary engine that intelligently defines zone boundaries and filters for the most relevant price action patterns. It's designed to be a clean, professional, and highly customizable tool for traders who use supply and demand as a core part of their strategy.
Features
Advanced Zone Detection: Automatically finds and draws supply and demand zones based on significant price imbalances.
Reversal & Continuation Patterns: Identifies all four major price action patterns: Rally-Base-Drop (RBD), Drop-Base-Rally (DBR), Rally-Base-Rally (RBR), and Drop-Base-Drop (DBD).
"Level on Level" (LoL) Analysis: Automatically detects and labels zones that are stacked closely together, highlighting areas of potentially high liquidity and significance.
Wider vs. Preferred Zones: Choose between two zone definition modes. "Wider" mode draws the zone based on the full range of the consolidation, while "Preferred" mode refines the entry line based on key price action within the base, offering more precision.
Smart Zone Display: Intelligently displays only the most relevant zones closest to the current price, keeping your chart clean and focused. Supply zones above the current price and demand zones below are automatically prioritized and displayed based on your settings.
Customizable Zone Interaction: Control how zones react after being tested. Zones can change color on a first touch and be automatically deleted after a significant violation, which you can define by a percentage.
Customizable Visuals & Alerts: Fully customize the colors of all zones and candles. Enable or disable alerts for new zone creation and zone touches to stay on top of market movements.
How to Use
Identify Zones: The indicator will automatically plot supply zones (red) above the price and demand zones (green) below the price. These are potential areas to look for trade entries.
Assess Zone Strength: The strongest zones are typically "fresh" (untouched) and are formed by a strong, explosive move away from a tight consolidation (a small number of base candles).
Use Labels for Context: The floating labels (RBD, DBR, RBR (LoL), etc.) provide immediate context about the price action structure that formed each zone. "LoL" indicates a "Level on Level" zone, which may be of higher importance.
Wait for Confirmation: For the highest probability setups, wait for the price to return to a zone and show signs of rejection (e.g., reversal candlestick patterns) before considering an entry.
Settings Overview
Zone Definition: Control the core logic, such as including continuation patterns, setting the max number of base candles, and choosing between Wider and Preferred zone types.
Zone Display & Limits: Toggle limits on or off, and specify the maximum number of supply and demand zones to show on the chart.
Zone Interaction: Define how zones react to being tested, including the percentage required to delete a zone.
Colors & Style: Fully customize the appearance of zones, labels, and price candles.
Alerts: Enable or disable alerts for key events.
Disclaimer
This indicator is a tool for market analysis and should not be considered financial advice or a signal provider. Always use proper risk management and conduct your own analysis before making any trading decisions. Past performance is not indicative of future results.
Single Line Fibs with Strict Overlap CheckSingle Line Fibs with Strict Overlap Check
Overview:
The "Single Line Fibs with Strict Overlap Check" indicator is a sophisticated tool designed for technical analysts and traders focusing on Elliott Wave theory. This indicator overlays Fibonacci retracement and extension levels on a price chart, specifically tailored for a single zigzag line (Line 2), to identify potential support, resistance, and impulse wave targets. It incorporates a strict overlap check to ensure valid impulse waves, adhering to Elliott Wave principles.
Key Features:
Zigzag Detection: Utilizes pivot highs and lows based on customizable lengths (White ZigZag: 2 bars, Yellow ZigZag: 15 bars) to construct a zigzag pattern.
Fibonacci Levels:
Retracements: 0.236, 0.382, 0.5, 0.618, 0.786 (gray, 50% transparency).
B Wave Extensions: 1.236, 1.386 (orange, 50% transparency).
Impulse Extensions: 1.0, 1.236, 1.386, 1.618 (green, 50% transparency), drawn from the next pivot low if valid.
Wave Count Filter: Displays Fibonacci levels only when the internal wave count from Line 1 reaches or exceeds a user-defined threshold (default: 5).
Overlap Validation: Implements a strict overlap check per Elliott Wave rules. If the next pivot low overlaps the previous high, no Impulse extensions are drawn, and a red 'X' (50% transparency) marks the invalid pivot low.
Customization:
White ZigZag Length: Adjusts the sensitivity of the initial pivot detection.
Yellow ZigZag Length: Sets the primary zigzag length.
Min Line 1 Waves for Line 2 Fib: Defines the minimum wave count threshold.
Enable Overlap Removal: Toggles the overlap validation feature.
Usage:
Apply the indicator to your chart (e.g., 30-minute timeframe).
Adjust input parameters to match your trading strategy (e.g., length2 = 15, waveThreshold12 = 5).
Observe Fibonacci levels appearing at pivot highs when the wave count threshold is met. Impulse extensions will only plot after a valid pivot low below the previous high.
Use the red 'X' as an alert for invalid impulse waves, indicating potential trend reversals or corrections.
Interpretation:
Retracements: Identify potential support levels within the upwave.
B Wave Extensions: Highlight extended correction targets.
Impulse Extensions: Project potential price targets for the next wave, valid only if the overlap check passes.
Red 'X': Signals an invalid impulse wave, suggesting a review of wave structure.
Limitations:
Designed for a single zigzag line; multi-line analysis requires additional customization.
Performance may vary with highly volatile instruments or short timeframes due to pivot sensitivity.
Author: Developed by ScottDog for TradingView users, this indicator leverages advanced Pine Script v6 features for precise wave analysis.
Version: 1.0 (Fail-Safe)
Last Updated: June 24, 2025
Greer Revenue Yield📊 Greer Revenue Yield – RPS%
Author: Sean Lee Greer
Date Published: June 23, 2025
🔍 Overview
The Greer Revenue Yield indicator evaluates a stock's Revenue Per Share Yield (RPS%), giving investors a unique lens into how much top-line revenue a company produces per share relative to its stock price. This can help identify under- or over-valued conditions based on fundamental efficiency.
Revenue per Share = Total Revenue ÷ Shares Outstanding
Revenue Yield (%) = Revenue per Share ÷ Stock Price × 100
A simple yet powerful valuation metric, dynamically visualized with smart coloring:
🟢 Green = Yield is above average (potential value opportunity)
🔴 Red = Yield is below average (potentially overvalued)
🧠 Use Case
Use this tool to assess whether a company’s price justifies its revenue output on a per-share basis. Especially useful in combination with other indicators in the Greer Financial Toolkit:
📘 Greer Value – Tracks year-over-year growth consistency across 6 key financial metrics
📊 Greer Value Yields Dashboard – Visualizes multiple valuation-based yields
🟢 Greer BuyZone – Identifies long-term technical entry points based on trend cycles and valuation zones
⚠️ Disclaimer
This script is for educational purposes only and should not be considered financial advice. Always conduct your own research or consult a financial advisor before making investment decisions.