Financial Table by QuarterFinancial Table by Quarter
Summary
This indicator was created to help fundamental traders analyze historical financial data directly on the chart, eliminating the need to switch between screens. The table displays key metrics for each calendar year, broken down by quarter (Q1-Q4) with an annual total, providing a clear overview of a company's growth at a glance. It is also highly customizable to fit your trading style and chart theme.
Key Features
Financial Data Table: Organizes data by calendar year, showing details for each quarter (Q1, Q2, Q3, Q4) and a "Total" column for the annual summary.
Selectable Metrics (3 Options): Easily switch between three crucial financial metrics via a dropdown menu:
Total Revenue
Net Income
EPS (Earnings Per Share)
Highly Customizable:
Table Position: Choose from 9 standard positions on your chart.
Lookback Years: Adjust the number of historical years to display (from 1 to 20).
Number Format: Select how large numbers are displayed (Automatic K/M/B/T, Millions only, Billions only, or the full number).
Decimal Places: Control the precision of the numbers from 0 to 4 decimal places.
Negative Number Style: Display negative values in three standard formats: with a minus sign, with a red minus sign, or in red parentheses.
Full Color Customization: You can change the colors of the title, headers, individual data columns, text, and borders to perfectly match your chart's theme.
How to Use & Interpretation
Analyze Growth Trends: Use the table to look for consistent growth in Total Revenue and Net Income, both quarter-over-quarter and year-over-year. A healthy company should show steady, reliable growth.
Spot Anomalies: The table makes it easy to see if a specific quarter had unusually high or low performance, which may warrant further investigation into the company's reports for that period.
Compare Metrics: Switch between "Total Revenue" and "Net Income" to see how well revenue growth translates into actual profit. Growing revenue with declining income could be a red flag regarding cost control or shrinking margins.
Preliminary Valuation: Switch to "EPS" to track profitability on a per-share basis. This is a key factor for assessing the P/E ratio trend and understanding if the company is creating more value for its shareholders over time.
Limitations
Stocks Only: This indicator uses request.financial, which is only available for stocks. It will not work on Forex, Crypto, or Futures.
Data Depth: TradingView typically provides about 8-10 years of historical financial data. Even if you set the lookback to 20, the indicator will only display the maximum amount of data available for that specific stock.
Analiza fundamentalna
Support & ResistanceEnglish:
This indicator identifies support and resistance zones based on pivot points and high-volume areas.
It dynamically draws boxes to highlight key price levels where buying or selling pressure is concentrated.
Green zones = support (positive volume)
Red zones = resistance (negative volume)
Dashed boxes = breakout/failed support or resistance
Solid boxes = holding support or resistance
It also marks:
Resistance turning into support (R→S)
Support turning into resistance (S→R)
Breakout labels for quick recognition
This tool helps traders visually track volume-backed supply and demand zones to anticipate future price reactions.
中文 (Chinese):
本指标基于枢轴点与高成交量区域识别支撑与阻力。
它会动态绘制矩形框,标记价格在买卖力量集中的关键水平。
绿色区域 = 支撑(正成交量)
红色区域 = 阻力(负成交量)
虚线框 = 突破或失效的支撑/阻力
实线框 = 有效保持的支撑/阻力
同时标注:
阻力转为支撑 (R→S)
支撑转为阻力 (S→R)
突破标签,便于快速识别
该工具帮助交易者直观追踪成交量验证的供需区域,以便预判未来价格反应。
OG OHLC MarkerDraws, OHLC for Previous day and Today with options to add alerts when any PD Array is swept
Higher High Lower Low Higher High Lower Low 🦉{Phanchai} — TradingView Description
Structure detector with dynamic Support/Resistance, customizable labels, and ready-made alerts (Pine v6).
This script marks market structure turning points — HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low) — and builds segmented Support/Resistance lines from those turns. Labels and colors are fully customizable and the script ships with multiple alert conditions.
What it does
Detects swing pivots using left/right bar windows, then classifies each confirmed swing as HH/HL/LH/LL.
Plots compact labels at the confirmed pivot bars with tooltips (English).
Derives dynamic Support / Resistance : every time structure flips, the previous level is closed and a new segment starts, extending to the right .
Provides alert conditions for any label and for specific first-occurrence shifts (e.g., first HH after a bearish label).
How it works (in short)
A pivot high/low confirms only after Right Bars candles have closed; labels and S/R appear at that confirmation bar.
An internal backbone (zigzag-like) is built from confirmed pivots, with light consistency checks to avoid contradictory sequences.
Structure rules compare the recent five pivots (A…E) to decide HH/HL/LH/LL.
S/R is updated from structure: e.g., in an up leg, new HLs refresh Support; in a down leg, new LHs refresh Resistance.
Alerts included
Any structure label (HH/HL/LH/LL) — Fires on any new label.
First LL after HL/HH — First bearish break after a bullish label.
First HH after LL/LH — First bullish break after a bearish label.
LL or HL formed — Any low-side label.
LH or HH formed — Any high-side label.
HL formed
HH formed
LL formed
LH formed
How to use (quick start)
Add the indicator to your chart.
Choose Left/Right Bars for your timeframe (e.g., 5–10 for intraday; larger for higher timeframes).
Pick your label colors/sizes and S/R style.
Right-click the chart → Add alert… → Condition: this indicator → select the desired alert.
Notes & tips
Because pivots require Right Bars to confirm, labels and S/R appear with a natural delay of that many bars. This avoids repainting.
Raising Left/Right Bars reduces noise and increases the average distance between pivots; lowering them increases sensitivity.
Structure is strict: sometimes you may see two HL (or two LH) in a row if the intermediate opposite swing didn’t qualify as HH/LH (or LL/HL).
S/R segments are drawn with line objects ; they are controlled via Inputs (style/width/color), not the Style tab.
This tool highlights structure; it’s not a standalone entry/exit system. Combine with volume, trend, or risk management rules.
Built with Pine v6. Clean, compact labels; segmented S/R that updates only on confirmed changes; comprehensive alerts ready for automation.
Earnings line & P/E Tracker# Earnings line & P/E Tracker
**A comprehensive fundamental analysis indicator that overlays earnings data and P/E ratios directly on your price charts.**
## 📊 Key Features
### Automatic Data Retrieval
- **Real-time financial data** pulled directly from TradingView's financial database
- **Multiple data sources**: Earnings Per Share (Basic/Diluted), Total Revenue, Net Income
- **Flexible periods**: TTM (Trailing Twelve Months), FQ (Quarterly), FY (Annual)
- **Live P/E ratio calculation** based on current price and TTM earnings
### Visual Display Options
- **Earnings progression line** overlaid on price chart for easy comparison
- **P/E ratio plot** with distinctive circle markers
- **Comprehensive data table** showing all key metrics in real-time
- **Dark mode optimized** with high-contrast colors for excellent readability
### Optional Event Tracking
- **Custom earnings dates** input for upcoming releases
- **Visual markers** on earnings announcement dates
- **Background highlighting** during earnings weeks
- **Smart alerts** for significant P/E changes and data updates
## 🎯 Perfect For
- **Fundamental analysts** comparing earnings growth vs stock price movement
- **Value investors** tracking P/E ratios and earnings trends
- **Earnings season trading** with visual release date markers
- **Long-term investors** monitoring fundamental health alongside technical analysis
## ⚙️ Customization Options
### Data Selection
- Choose between EPS Basic, EPS Diluted, Total Revenue, or Net Income
- Select TTM, quarterly, or annual reporting periods
- Toggle individual display elements on/off
### Visual Styling
- Customizable colors for earnings line, P/E ratio, and event markers
- Adjustable line width and styling options
- Moveable data table with size and position controls
### Event Management
- Input custom earnings release dates
- Enable/disable earnings event markers
- Background highlighting for earnings periods
- Configurable alert thresholds
## 📈 How It Works
1. **Automatic Detection**: The indicator automatically detects available fundamental data for your selected symbol
2. **Real-time Updates**: Financial metrics update as new data becomes available
3. **Visual Integration**: Earnings data is scaled and overlaid directly on your price chart
4. **Status Monitoring**: Clear indicators show data availability and freshness
## 🔧 Setup Instructions
1. Add the indicator to your chart
2. Select your preferred data source (EPS recommended for P/E tracking)
3. Choose time period (TTM recommended for most analyses)
4. Customize colors and display options to your preference
5. Optionally add upcoming earnings dates for event tracking
## 💡 Pro Tips
- **Use TTM EPS** for the most accurate P/E ratio calculations
- **Compare earnings line slope** with price movement to spot divergences
- **Enable earnings events** to prepare for volatility around announcements
- **Works best on daily/weekly timeframes** for fundamental analysis
## ⚠️ Data Availability
- Requires stocks with available fundamental data in TradingView's database
- Most major US stocks, ETFs, and international equities supported
- Limited data may be available for small-cap or recently listed companies
- Clear "No Data" indicator when fundamental data is unavailable
## 🎨 Display Features
- **High contrast colors** optimized for both light and dark chart themes
- **Clean, professional table** displaying all key metrics
- **Intuitive visual markers** for earnings events and data points
- **Responsive design** that adapts to different chart sizes
---
**Perfect for traders and investors who want to combine fundamental analysis with technical charting in a single, comprehensive view.**
## ⚠️ Important Disclaimer
**This indicator is provided for educational and informational purposes only. The author (raptor2030) is not responsible for:**
- **Data accuracy or completeness** - Financial data is sourced from TradingView's database and may contain errors, delays, or omissions
- **Trading decisions** - This tool should not be used as the sole basis for investment decisions
- **Financial losses** - Past performance does not guarantee future results
- **Data reliability** - Third-party data sources may experience outages or provide incorrect information
- **Market timing** - Earnings dates and projections may be inaccurate or outdated
**Always verify critical information from official company sources and consult with qualified financial professionals before making investment decisions.**
**Use this indicator at your own risk. The author disclaims all liability for any direct, indirect, or consequential damages arising from the use of this script.**
Fundamentals PanelFundamentals Panel Description
The Fundamentals Panel is a versatile Pine Script indicator that displays key financial metrics—Market Cap, P/E Ratio, P/S Ratio, and PEG Ratio—in a clean, customizable table on your TradingView chart. Designed for investors and traders, this tool brings essential company fundamentals directly to your chart, saving time and enhancing decision-making.
Quick Insights: View critical valuation metrics (Market Cap, P/E, P/S, PEG) at a glance without leaving your chart, ideal for fundamental analysis or screening stocks.
Customizable Display: Toggle each metric on or off via input settings to focus on what matters most to your strategy.
Adjustable Font Size: Choose from Small, Normal, or Large text sizes to ensure readability suits your chart setup and screen preferences.
Reliable Data: Pulls data directly from TradingView’s financial database, using diluted shares and trailing metrics for accuracy across most stocks.
Debugging Support: Includes hidden plots (visible in the Data Window) to verify raw data like shares outstanding, revenue, and PEG, helping you trust the numbers.
How It Works
The indicator fetches:
Market Cap: Calculated using diluted shares outstanding and current price.
P/E Ratio: Price divided by trailing twelve-month (TTM) diluted EPS.
P/S Ratio: Market cap divided by TTM total revenue.
PEG Ratio: Trailing PEG from TradingView’s data, with an additional calculated PEG for cross-checking.
Optimized SMC Dashboard - by MinkyJuiceSMC - all in one
all SMC confluences are included, fully automated and customisable
enjoy, made by MinkyJuice
No Turd Burglars, please
FOMC Fund Rate 2022–2025(0.1)This indicator visualizes the Federal Open Market Committee (FOMC) meetings from 2022 through 2025.
It plots vertical lines on the announcement dates and attaches labels showing:
The decision (rate hike ⭡, cut ⭣, or hold ⭤).
The size of the rate change in percentage points.
The cumulative Federal Funds Rate path in parentheses.
Features:
Accurate timestamps for each FOMC meeting (UTC+1).
Customizable line style, width, and color.
Label color and text color options.
Placeholder labels for future meetings to maintain the timeline.
Use this script to keep track of historical Fed policy decisions and visualize the rate path over time directly on your chart.
BLITZ PE ANAYLYZERFollowing script is designed specifically to meet the requirement of accessing the PE ratio, comparing it to it's historical averages, median and expected values that are possible.
Following is the method to use the indicator:
1) User must select the look back years which is by default set to 3 years as per the text book reference from the book "The Intelligent Investor" by Sir Benjamin Graham
2) The red or green histogram represents the deviation of the current PE to the average PE. If the histograms are green in color, it represent buy opportunity because the current PE is lower than that of the average PE values, the % deviation of the current PE from the average value is mentioned in the black color table and a negative value represents under evaluations as compared to the historical PE ratio
3) The black color line is the SMA of the PE ratio.
4) Another plots exists for plotting the current PE which is red or green depending upon its deviation from the average PE values & another plot exists for median PE ratio which is light blue when healthy and purple when not healthy.
5) Using the inflation data and the EPS growth of the company the black table also displays the expected value of the PE ratio for the stock.
Value Investing IndicatorThis is based on PeterNagy Indicator. I just update it from v.4 to v.6 and modify. Open for tweak
[DEM] Other Asset Predicting Indicator Other Asset Predicting Indicator is a cross-asset signal generator that uses technical signals from one market to predict price movements in the current chart's asset, based on the correlation between the two instruments. The indicator allows users to select from a comprehensive list of assets including major indices, sector ETFs, cryptocurrencies, forex pairs, country ETFs, and commodities, then applies one of four technical signal methods (Supertrend, Parabolic SAR, EMA Cross, or MACD Crossover) to generate buy and sell signals from the selected reference asset. A key feature is the built-in correlation analysis that calculates a rolling correlation coefficient between the current asset and the reference asset, displayed in a color-coded table where green indicates positive correlation (above 0.5) and red shows negative correlation (below 0.5). The indicator includes an option to invert signals for negatively correlated assets, making it particularly useful for identifying intermarket relationships and leveraging leading indicators from related markets to anticipate price movements in the current instrument.
[DEM] Option Experation Dates Option Expiration Dates is a calendar-based indicator that visually highlights standard monthly option expiration dates on the price chart by applying a purple background color. The indicator identifies expiration dates using the standard rule that options expire on the third Friday of each month, which it calculates by checking for Fridays (day 6 of the week) that fall between the 15th and 21st of the month. This simple yet practical tool helps traders stay aware of significant market dates when increased volatility and volume typically occur due to option contract settlements and portfolio rebalancing activities. By automatically marking these dates with a subtle purple background, the indicator eliminates the need for manual calendar tracking and ensures traders never miss these potentially impactful market events that can influence price action and trading dynamics.
[DEM] Correlation Dashboard Correlation Dashboard is designed to display real-time correlation analysis between the current chart's asset and five major market instruments (Bitcoin, Dow Jones 30, Dollar Index, Nasdaq 100, and S&P 500) in an easy-to-read table format overlaid on the price chart. The indicator calculates correlation coefficients over a configurable period (default 20 bars) and applies additional smoothing using a 200-period RMA to filter out noise and identify persistent correlation trends. The dashboard categorizes correlations into five levels ranging from "Very Strong Positive/Negative Correlation" (above ±0.5) to "No Strong Correlation" (between ±0.3), with color-coded text displaying green for positive correlations, red for negative correlations, and white for neutral relationships, enabling traders to quickly assess how their asset moves relative to major market benchmarks and identify potential diversification opportunities or risk concentrations.
[DEM] Correlation Coefficient Correlation Coefficient is designed to calculate and visualize the statistical correlation between the current chart's price movement and another selected symbol (defaulting to SPX) over a specified period. The indicator displays the correlation coefficient as both a colored area chart and line plot in a separate pane below the main chart, with colors dynamically changing from red (negative correlation) through purple (no correlation) to green (positive correlation) based on the strength and direction of the relationship. The correlation values range from -1 (perfect negative correlation) to +1 (perfect positive correlation), with horizontal reference lines at these extremes and zero, helping traders understand how closely their asset moves in relation to the selected benchmark symbol and identify periods of divergence or convergence in market behavior.
Stockraft Trade Checklist📌 Stockraft Checklist — TradingView Indicator
The Stockraft Checklist is a simple but powerful trading companion designed to keep your trading process disciplined and consistent.
✅ Key Features:
Create up to 5 custom trading rules (editable text).
Mark each rule with a checkbox (✅ or ❌) before taking a trade.
If a rule name is left empty, it is automatically hidden from the checklist.
Displays an easy-to-read Trade Score (%) at the bottom, based on how many rules are met.
Clean and minimal table-style layout on the chart.
Customizable appearance: background color, text color, border color, and table position (top-right, top-left, bottom-right, bottom-left).
🎯 Use Case:
This indicator doesn’t provide signals — instead, it acts as a visual trading journal on your chart. By ticking off your checklist before each trade, you ensure that you follow your rules consistently and only take high-probability setups.
SOLACEThis overlay combines a fast/slow EMA price-action system with rich context tools. Buy prints on the current bar when both EMAs (5 & 21) are below the OHLC average and the 21 EMA crosses below the 5 EMA; Sell prints when both EMAs are above the average and the 21 EMA crosses above the 5 EMA. It also plots MACD, VWAP, Bollinger Bands (20,2), SMA50/200, plus dynamic support/resistance lines from recent swing highs/lows (20/40/60 bars) for confluence. Labels fire same-bar for early entries, and alerts are included for both signals; fractal logic is prepared for future use.
KML ALGO v6 – Elite Trading Bot🚀 KML ALGO v6 – Elite Trading Bot by Ahmad Shoaib Kamal
💎 PREMIUM FEATURES
• Advanced ATR Trailing Stop engine
• Multi-Layer Smart Filters (RSI, MACD, Stochastic, Volume, Trend)
• Intelligent Scoring for high-accuracy entries
• Universal: Works on all markets & timeframes
• Live Performance Dashboard
• Professional Alert System ready for automation
⚡ WHY TRADERS LOVE IT
✅ Filters out false signals with 5-step validation
✅ Adapts instantly to changing market conditions
✅ Clean, color-coded interface for fast decision-making
✅ Real-time metrics and stats
✅ Fully customizable to your strategy
✅ Works on Crypto, Forex, Stocks, Indices
🎯 PERFECT FOR
• Day traders seeking pinpoint entries/exits
• Swing traders needing trend confirmation
• Automated trading setups
• Professional portfolio managers
⚙️ CUSTOM SETTINGS
• Adjustable signal sensitivity
• ATR period configuration
• Enable/disable any filter
• Fine-tune parameters for your style
• Heikin Ashi support for cleaner trends
🎨 VISUAL EXCELLENCE
• Dynamic trailing stop lines
• Clear BUY/SELL markers
• Weak signal indicators
• Live stats table
• Smart alerts ready for TradingView’s system
⭐ DEVELOPED BY: Ahmad Shoaib Kamal
🔥 Battle-tested algorithm with real results
💰 Invite-Only Access – Apply to Unlock
📩 Contact for Access & Support:
Email: kmlalgorithms@gmail.com
Telegram: @+15876671119
⚡ Trade with precision, confidence, and zero guesswork – only clarity.
JST & MT5 hourly + Sessions shade (subpanel, v6)このインジケーターは、TradingViewのタイムゾーンをNY時間に設定している際に、日本国内居住者が東京時間(JST)とMetaTraderのサーバー時間(MSK/MT5)を把握しやすくするためのツールです。
チャート下部にJSTとMT5の時間メモリを表示し、取引時間の対応関係を直感的に確認できます。
セッションごとの背景シェード(東京・ロンドン・NY)にも対応しており、時間認識を補助します。
This indicator helps traders based in Japan easily keep track of Tokyo time (JST) and MetaTrader server time (MSK/MT5) when using TradingView with the timezone set to New York (a common choice worldwide).
It displays JST and MT5 time markers along the bottom of the chart, making the relation between trading sessions more intuitive.
Background shading for Tokyo, London, and New York sessions is also included to assist time awareness.
PE Rating by The Noiseless TraderPE Rating by The Noiseless Trader
This script analyzes a symbol’s Price-to-Earnings (P/E) ratio, using Diluted EPS (TTM) fundamentals directly from TradingView.
The script calculates the Price-to-Earnings ratio (P/E) using Diluted EPS (TTM) fundamentals. It then identifies:
PE High → the highest valuation point over a 3-year historical range.
PE Low → the lowest valuation point over a 3-year historical range.
PE Median → the midpoint between the two extremes, offering a fair-value benchmark.
PE (Int) → an additional intermediate low to track more recent undervaluation points. This is calculated based on lowest valuation point over a 1-year historical range
These levels are plotted directly on the chart as horizontal references, with markers showing the exact bars/dates when the extremes occurred. Candles corresponding to those days are also highlighted for context.
Bars corresponding to these extremes are highlighted (red = PE High, green = PE Low).
How it helps
Provides a historical valuation framework that complements technical analysis. We look for long opportunity or base formation near the PE Low and be cautious when stocks tends to trade near High PE.
We do not short the stock at High PE infact be cautious with long trades.
Helps identify whether current price action is happening near overvalued or undervalued zones.
Adds a long-term perspective to support swing trading and investing decisions. If a stock is coming from Low PE to Median PE and along with that if we get entry based on Classical strategies like Darvas Box, or HH-HL based on Dow Theory.
Offers a simple visual map of how far the market has moved from “cheap” to “expensive.”
This tool is best suited for long-term investors and swing traders who want to merge fundamentals with technical setups.
This indicator is designed as an educational tool to illustrate how valuation metrics (like earnings multiples) can be viewed alongside price action, helping traders connect fundamental context with technical execution in real market conditions.
ATR Future Movement Range Projection
The "ATR Future Movement Range Projection" is a custom TradingView Pine Script indicator designed to forecast potential price ranges for a stock (or any asset) over short-term (1-month) and medium-term (3-month) horizons. It leverages the Average True Range (ATR) as a measure of volatility to estimate how far the price might move, while incorporating recent momentum bias based on the proportion of bullish (green) vs. bearish (red) candles. This creates asymmetric projections: in bullish periods, the upside range is larger than the downside, and vice versa.
The indicator is overlaid on the chart, plotting horizontal lines for the projected high and low prices for both timeframes. Additionally, it displays a small table in the top-right corner summarizing the projected prices and the percentage change required from the current close to reach them. This makes it useful for traders assessing potential targets, risk-reward ratios, or option strategies, as it combines volatility forecasting with directional sentiment.
Key features:
- **Volatility Basis**: Uses weekly ATR to derive a stable daily volatility estimate, avoiding noise from shorter timeframes.
- **Momentum Adjustment**: Analyzes recent candle colors to tilt projections toward the prevailing trend (e.g., more upside if more green candles).
- **Time Horizons**: Fixed at 1 month (21 trading days) and 3 months (63 trading days), assuming ~21 trading days per month (excluding weekends/holidays).
- **User Adjustable**: The ATR length/lookback (default 50) can be tweaked via inputs.
- **Visuals**: Green/lime lines for highs, red/orange for lows; a semi-transparent table for quick reference.
- **Limitations**: This is a probabilistic projection based on historical volatility and momentum—it doesn't predict direction with certainty and assumes volatility persists. It ignores external factors like news, earnings, or market regimes. Best used on daily charts for stocks/ETFs.
The indicator doesn't generate buy/sell signals but helps visualize "expected" ranges, similar to how implied volatility informs option pricing.
### How It Works Step-by-Step
The script executes on each bar update (typically daily timeframe) and follows this logic:
1. **Input Configuration**:
- ATR Length (Lookback): Default 50 bars. This controls both the ATR calculation period and the candle count window. You can adjust it in the indicator settings.
2. **Calculate Weekly ATR**:
- Fetches the ATR from the weekly timeframe using `request.security` with a length of 50 weeks.
- ATR measures average price range (high-low, adjusted for gaps), representing volatility.
3. **Derive Daily ATR**:
- Divides the weekly ATR by 5 (approximating 5 trading days per week) to get an equivalent daily volatility estimate.
- Example: If weekly ATR is $5, daily ATR ≈ $1.
4. **Define Projection Periods**:
- 1 Month: 21 trading days.
- 3 Months: 63 trading days (21 × 3).
- These are hardcoded but based on standard trading calendar assumptions.
5. **Compute Base Projections**:
- Base projection = Daily ATR × Days in period.
- This gives the total expected movement (range) without direction: e.g., for 3 months, $1 daily ATR × 63 = $63 total range.
6. **Analyze Candle Momentum (Win Rate)**:
- Counts green candles (close > open) and red candles (close < open) over the last 50 bars (ignores dojis where close == open).
- Total colored candles = green + red.
- Win rate = green / total colored (as a fraction, e.g., 0.7 for 70%). Defaults to 0.5 if no colored candles.
- This acts as a simple momentum proxy: higher win rate implies bullish bias.
7. **Adjust Projections Asymmetrically**:
- Upside projection = Base projection × Win rate.
- Downside projection = Base projection × (1 - Win rate).
- This skews the range: e.g., 70% win rate means 70% of the total range allocated to upside, 30% to downside.
8. **Calculate Projected Prices**:
- High = Current close + Upside projection.
- Low = Current close - Downside projection.
- Done separately for 1M and 3M.
9. **Plot Lines**:
- 3M High: Solid green line.
- 3M Low: Solid red line.
- 1M High: Dashed lime line.
- 1M Low: Dashed orange line.
- Lines extend horizontally from the current bar onward.
10. **Display Table**:
- A 3-column table (Projection, Price, % Change) in the top-right.
- Rows for 1M High/Low and 3M High/Low, color-coded.
- % Change = ((Projected price - Close) / Close) × 100.
- Updates dynamically with new data.
The entire process repeats on each new bar, so projections evolve as volatility and momentum change.
### Examples
Here are two hypothetical examples using the indicator on a daily chart. Assume it's applied to a stock like AAPL, but with made-up data for illustration. (In TradingView, you'd add the script to see real outputs.)
#### Example 1: Bullish Scenario (High Win Rate)
- Current Close: $150.
- Weekly ATR (50 periods): $10 → Daily ATR: $10 / 5 = $2.
- Last 50 Candles: 35 green, 15 red → Total colored: 50 → Win Rate: 35/50 = 0.7 (70%).
- Base Projections:
- 1M: $2 × 21 = $42.
- 3M: $2 × 63 = $126.
- Adjusted Projections:
- 1M Upside: $42 × 0.7 = $29.4 → High: $150 + $29.4 = $179.4 (+19.6%).
- 1M Downside: $42 × 0.3 = $12.6 → Low: $150 - $12.6 = $137.4 (-8.4%).
- 3M Upside: $126 × 0.7 = $88.2 → High: $150 + $88.2 = $238.2 (+58.8%).
- 3M Downside: $126 × 0.3 = $37.8 → Low: $150 - $37.8 = $112.2 (-25.2%).
- On the Chart: Green/lime lines skewed higher; table shows bullish % changes (e.g., +58.8% for 3M high).
- Interpretation: Suggests stronger potential upside due to recent bullish momentum; useful for call options or long positions.
#### Example 2: Bearish Scenario (Low Win Rate)
- Current Close: $50.
- Weekly ATR (50 periods): $3 → Daily ATR: $3 / 5 = $0.6.
- Last 50 Candles: 20 green, 30 red → Total colored: 50 → Win Rate: 20/50 = 0.4 (40%).
- Base Projections:
- 1M: $0.6 × 21 = $12.6.
- 3M: $0.6 × 63 = $37.8.
- Adjusted Projections:
- 1M Upside: $12.6 × 0.4 = $5.04 → High: $50 + $5.04 = $55.04 (+10.1%).
- 1M Downside: $12.6 × 0.6 = $7.56 → Low: $50 - $7.56 = $42.44 (-15.1%).
- 3M Upside: $37.8 × 0.4 = $15.12 → High: $50 + $15.12 = $65.12 (+30.2%).
- 3M Downside: $37.8 × 0.6 = $22.68 → Low: $50 - $22.68 = $27.32 (-45.4%).
- On the Chart: Red/orange lines skewed lower; table highlights larger downside % (e.g., -45.4% for 3M low).
- Interpretation: Indicates bearish risk; might prompt protective puts or short strategies.
#### Example 3: Neutral Scenario (Balanced Win Rate)
- Current Close: $100.
- Weekly ATR: $5 → Daily ATR: $1.
- Last 50 Candles: 25 green, 25 red → Win Rate: 0.5 (50%).
- Projections become symmetric:
- 1M: Base $21 → Upside/Downside $10.5 each → High $110.5 (+10.5%), Low $89.5 (-10.5%).
- 3M: Base $63 → Upside/Downside $31.5 each → High $131.5 (+31.5%), Low $68.5 (-31.5%).
- Interpretation: Pure volatility-based range, no directional bias—ideal for straddle options or range trading.
In real use, test on historical data: e.g., if past projections captured actual moves ~68% of the time (1 standard deviation for ATR), it validates the volatility assumption. Adjust the lookback for different assets (shorter for volatile cryptos, longer for stable blue-chips).
9:30 AM 1-Minute Open HighlightThis script highlights the 1st 1 min candle of the NY session (9:30 AM candle). This area can be used for retests, entries, targets, etc. I will continue making updates to this. This script allows you to highlight the shaded box to the color of your choosing, choose how many days the first 1 minute candle will be highlighted, as well as other customizable features. Please let me know if you have any suggestions. Thanks.