Swing Elite Macro Valuation ToolThis tool evaluates macro valuation conditions by comparing the current price of an asset to key macroeconomic instruments (like ZB1 bonds, DXY dollar index, and GC1 gold or more futures, like silver, sf, jpy and many others). It provides normalized valuation readings, plots overvalued/undervalued zones, and includes a live table and alerts.
⸻
Key Features:
1. Macro Valuation Indexes
• Compare the charted asset against up to 3 macro symbols.
• Normalize performance as % move from historical baseline.
• Modes: Short-term or Long-term .
2. Over/Undervaluation Detection
• Choose manual levels or automatic dynamic bands based on standard deviation.
• Default thresholds: Overvalued ≥ 88, Undervalued ≤ 10.
3. Visual Outputs
• Colored plots per macro asset:
• 🔴 Red = Overvalued
• 🟢 Green = Undervalued
• 🔵 Neutral/Normal
• Upper, lower, and mid reference lines.
4. Valuation Table
• Displays each macro asset’s:
• Name
• Current valuation %
• Status (Over / Under / Normal)
• Color signal dot
5. Multi-Timeframe Support
• Choose chart timeframe or set a custom valuation timeframe.
6. Alerts
• Alert conditions for over/undervalued signals per macro symbol.
⸻
Usage Instructions:
1. Select Valuation Mode
• Use "Short-term" for recent sentiment.
• Use "Long-term" to evaluate deeper macro positioning.
2. Choose Comparison Symbols
• Enable/disable ZB1, DXY, GC1 or replace with any symbols you want.
3. Adjust Levels
• Select "ManualLevels" or "AutoLevels".
• Tune Overvalued, Undervalued, Lookback, and Multiplier.
4. Set Table Display
• Enable "Show Table" and select its screen position.
5. Set Alerts
• Configure alert triggers from the alert panel (based on valuation levels).
⸻
Perfect For:
Traders who want to analyze asset pricing in context of macro trends, mean reversion, and relative strength/weakness of bonds, the dollar, or gold. Ideal for intermarket analysis and value-based swing trading.
การวิเคราะห์ปัจจัยพื้นฐาน
Multiple Divergence Scanner (move to candles and merge scales)This indicator detects and visualizes multiple types of RSI-based divergences, including Regular, Hidden, and Dual-source (Multi) Bullish/Bearish signals. Not limited with RSI only. You can add move functions and it will automaticly combine your options.
It offers customizable score filtering, label positioning, and visual styling.
Ideal for traders who seek both technical precision and symbolic clarity in their charts.
You have to drag it to your candles after adding to your chart. Then right click on price->Merge all scales to right/left.
Forex Currency Strength What this indicator does
It compares the relative strength of the 8 major currencies (USD, EUR, GBP, JPY, AUD, CAD, NZD, CHF) by looking at all 28 currency pairs. Each currency is smoothed (averaged) with a moving average to reduce noise.
From this it shows:
• Currency strength lines → how each major currency is performing over time (optional view).
• Pair divergence histogram → the difference in strength between the two currencies of the chart pair (e.g. EUR vs USD on an EURUSD chart). Green means the base currency is stronger, red means the quote currency is stronger.
• Ranking table → shows the strongest to weakest currency at the current moment. The strongest is highlighted green, the weakest red.
• Session highlighting → shows your chosen trading session on the chart (background shading, optional vertical line at the session start).
• Alerts → you can set TradingView alerts when:
• the pair divergence crosses above or below zero
• the divergence strength gets big enough (above your threshold)
• the difference between the strongest and weakest currency becomes large
⸻
👉 In plain words:
This indicator helps you quickly see which currencies are strong, which are weak, and whether the pair you are trading has a clear directional bias. It also highlights trading sessions and can notify you when strong moves or imbalances appear.
// ─────────────────────────────────────────────────────────────
// Forex Currency Strength (8 Majors, %R) + Divergence + Ranking
// ─────────────────────────────────────────────────────────────
//
// === Inputs ===
//
// exchPrefix → Broker/feed prefix (e.g. "OANDA:", "FX:", or "" for ICMarkets)
// tf → Data timeframe (empty = chart timeframe)
// smoothLen → Smoothing length (MA) for currency strength (default = 14)
// smoothMethod → MA method (SMA, EMA, WMA, DEMA)
// viewMode → Display mode: "Strength Lines", "Pair Divergence", "Both"
// (Tip: set to "Pair Divergence" to hide lines by default)
// barsLimit → Number of bars to display
//
// sessionStr → Trading session time (e.g. "0800-1700"); session is highlighted on chart
//
// alertDivAbs → Threshold for alerts on |divergence|
// alertGapTF → Threshold for alerts on Top–Flop ranking gap
//
// scaleK → Scaling factor (here ×1000)
//
// rankPos → Position of the ranking table (top/bottom left/right)
// rankTextSize → Font size for the ranking table (tiny, small, normal, large, huge)
//
// === Outputs ===
//
// • 8 currency strength lines (optionally visible)
// • Divergence (current pair) as histogram
// • Ranking table (top & flop highlighted)
// • Session highlighting (background color + optional vertical line)
// • Alerts on divergence crosses, |divergence| thresholds & top–flop gaps
//
// === Alert Conditions ===
//
// longDivCross → Divergence (current pair) crosses above 0
// shortDivCross → Divergence (current pair) crosses below 0
// divAbsUp → |Divergence| exceeds alertDivAbs threshold
// gapUp → Top–Flop ranking gap exceeds alertGapTF threshold
//
// ─────────────────────────────────────────────────────────────
Swing Guardrail — 30-sec Midterm Check (EBITDA Margin & EV/EBITDWhat it does
Before a short-term swing entry, this indicator right-sizes positions by a quick midterm (3–12m) durability screen using two fundamentals:
EBITDA Margin (TTM) → earning power / operational resilience
EV/EBITDA (TTM) → price tag vs earning capacity (payback feel)
A high-contrast table (top-right) shows both metrics and a verdict:
PASS — both meet thresholds → normal size
HALF — only one meets → reduce size
FAIL — neither meets → avoid
Why check “midterm” for a short-term trade?
Short swings still face earnings/news gaps, failed breakouts, and regime shifts. Names with weak margins or stretched valuation tend to break faster and deeper. A 30-sec durability check helps you:
Filter fragile setups (avoid expensive + weakening names)
Stabilize drawdowns (size down when quality/price don’t align)
Keep timing unchanged while improving risk-adjusted returns
Inputs (defaults)
Min EBITDA Margin % (TTM): 8%
Max EV/EBITDA (TTM): 12
Dark chart? High-contrast colors
How to use with a swing system
Get your entry from price/volume (e.g., Ichimoku cloud break, Kijun reclaim, Tenkan>Kijun; or your A/B/C rules).
Run this check only to set size (not timing).
Optional alerts: Once per bar close for PASS / HALF / FAIL.
Size mapping & event guard
PASS → 100% of your planned size
HALF → ~50% size / tighter stops
FAIL → watchlist only
If earnings < ~10 JP business days, drop one tier; ≤3 days → avoid.
Sector guides (tweak as needed)
Software/Internet: Margin ≥ 15%, EV/EBITDA ≤ 18
Industrials/Consumer: Margin ≥ 8%, EV/EBITDA ≤ 12
Retail: Margin ≥ 5–7%, EV/EBITDA ≤ 10–12
Edge cases / substitutions
Banks/Insurers/REITs or net-cash/negative EBITDA: EV/EBITDA may mislead → consider Net Debt/EBITDA or sector metrics (CET1/LTV/DSCR).
Sparse data / fresh listings: numbers may be NA until updates.
Notes & limitations
Data via request.financial() (TTM/most-recent). Some tickers/regions can show NA until fundamentals refresh.
This is a risk-screen / sizing tool, not a buy/sell signal.
Disclaimer
Educational use only. Not investment advice.
日本語
タイトル
スイング用ガードレール―中期“壊れにくさ”30秒チェック(EBITDAマージン & EV/EBITDA, TTM)
概要
短期スイングのエントリー前に、中期(3〜12か月)の耐久性を2指標で素早く確認し、ポジションサイズを決めるためのツールです。
EBITDAマージン(TTM):事業の稼ぐ力・体力
EV/EBITDA(TTM):その体力に対する“値札”(回収年数の感覚)
右上の高コントラスト表に数値と判定を表示:
PASS:両方クリア → 通常サイズ
HALF:片方のみ → サイズ半分
FAIL:両方NG → 見送り
なぜ短期でも“中期”を確認?
短期でも決算・ニュースのギャップ、ブレイク失敗、地合い転換は起きます。マージンが弱い/割高すぎる銘柄は崩れやすく、戻りも鈍い傾向。30秒の耐久性チェックで
脆いセットアップを回避
ドローダウンを平準化(サイズで吸収)
タイミングは変えずに、リスク調整後リターンの改善を狙えます。
入力(既定)
最低EBITDAマージン:8%
最大EV/EBITDA:12
黒背景向け:高コントラスト表示
使い方(スイング手法と併用)
まずは価格シグナル(一目の雲上抜け/基準線回復/転換線>基準線、またはA/B/Cルール)。
本インジの判定でサイズのみ決定(エントリーのタイミングは出しません)。
任意でバー確定アラート(PASS/HALF/FAIL)を設定。
サイズ目安 & イベント抑制
PASS:計画サイズ100%
HALF:約50%(ストップもタイトに)
FAIL:見送り
決算まで≦10営業日なら1段階サイズダウン、≦3営業日は原則見送り。
セクター目安(調整推奨)
ソフト/ネット:マージン 15%以上、EV/EBITDA 18以下
工業/一般消費:マージン 8%以上、EV/EBITDA 12以下
小売:マージン 5〜7%以上、EV/EBITDA 10〜12以下
例外・代替
銀行・保険・REIT/ネットキャッシュ・EBITDAマイナス:EV/EBITDAは適さない場合 → Net Debt/EBITDAやCET1/LTV/DSCR等で補助。
新規上場・データ薄:更新までNAのことあり。
注意
データは request.financial() を使用。更新前はNAの可能性。
本ツールはリスク確認/サイズ調整用で、売買シグナルではありません。
免責
情報提供のみ。投資判断は自己責任で。
Total Return (divi reivested)Total Return (Dividends Reinvested) — Price Scale
This indicator overlays a Total Return price line on the chart. It shows how the stock would have performed if all dividends had been reinvested back into the stock (buying fractional shares) rather than taken as cash.
The line starts exactly at the price level of the first visible bar on your chart and moves in the same price units as the chart (not indexed to 100).
Until the first dividend inside the visible window, the Total Return line is identical to the price. From the first dividend onward, it gradually diverges upwards, reflecting the effect of reinvested payouts.
Settings:
Reinvest at Open / Close — Choose whether reinvestment uses the bar’s open or close price.
Apply effect on the next bar — If enabled, reinvestment shows up from the bar after the dividend date (common in practice).
Show dividend markers — Optionally plots labels where dividend events occur.
Line width — Adjusts the thickness of the plotted Total Return line.
Use case:
This tool is useful if you want to compare plain price performance with true shareholder returns including dividends. It helps evaluate dividend stocks (like BTI, T, XOM, etc.) more realistically.
Stock Scoring SystemThe EMA Scoring System is designed to help traders quickly assess market trend strength and decide portfolio allocation. It compares price vs. key EMAs (21, 50, 100) and also checks the relative strength between EMAs. Based on these conditions, it assigns a score (-6 to +6) and a corresponding allocation percentage.
+6 Score = 100% allocation (strong bullish trend)
-6 Score = 10% allocation (strong bearish trend)
Scores in between represent intermediate trend strength.
📌 Key Features
✅ Scoring Model: Evaluates price vs. EMA alignment and EMA cross relationships.
✅ Allocation % Display: Converts score into suggested portfolio allocation.
✅ Background Highlighting: Green shades for bullish conditions, red shades for bearish.
✅ Customizable Table Position: Choose between Top Right, Top Center, Bottom Right, or Bottom Center.
✅ Toggleable EMAs: Show/Hide 21 EMA, 50 EMA, and 100 EMA directly from indicator settings.
✅ Simple & Intuitive: One glance at the chart tells you trend strength and suggested allocation.
📈 How It Works
Score Calculation:
Price above an EMA = +1, below = -1
Faster EMA above slower EMA = +1, else -1
Maximum score = +6, minimum = -6
Allocation Mapping:
+6 → 100% allocation
+4 to +5 → 100% allocation
+2 to +3 → 75% allocation
0 to +1 → 50% allocation
-1 to -2 → 30% allocation
-3 to -4 → 20% allocation
-5 to -6 → 10% allocation
Visual Output:
Table shows SCORE + Allocation %
Background color shifts with score (green for bullish, red for bearish)
⚠️ Disclaimer
This indicator is for educational purposes only. It does not constitute financial advice. Always backtest and combine with your own analysis before making trading decisions.
Asset in Every Fiat Currency📌 Description
Asset in Every Fiat Currency is an indicator that expresses the value of any chosen asset across a basket of global fiat currencies.
It uses exchange rates to calculate a weighted aggregate signal, allowing you to see how the asset behaves when priced simultaneously in the world’s most important currencies.
⚖️ Key Features
Choose any asset (default: Gold).
Weighted by major global currencies (USD, EUR, JPY, GBP, CNY, etc.).
Fully customizable weights through user inputs.
Automatic normalization factor for consistent scaling.
🛠️ Use Cases
Compare an asset’s performance beyond the USD lens.
Detect global strength/weakness of an asset in a diversified fiat basket.
Explore alternative ways of viewing asset pricing.
⚠️ Disclaimer: This script is for educational purposes only. It does not constitute financial advice. Always do your own research before making trading decisions.
session Zone Hunter 🚀 | Session + Ignition + LiquidityTitle: session Zone Hunter | Session + Ignition + Liquidity
Description:
1. Indicator Philosophy and Originality
This indicator is an integrated trading framework designed to analyze market behavior through the lens of trading sessions and high-probability liquidity zones. The core philosophy is that the most significant trading opportunities arise from the interplay between session context and liquidity events.
The originality of this script lies in its synergistic combination of two distinct but complementary modules:
A Session Analysis Engine: This module defines the temporal context, identifying the high, low, and behavioral characteristics (e.g., Trend, Consolidation) of each trading session.
An Ignition Zone Module: This module identifies potent supply and demand zones created by "explosive" price moves, which often signal institutional intent.
By overlaying these two analyses, a trader can answer critical questions that are not possible by using separate indicators: "Did this 'Ignition' demand zone form at the low of the London session?" or "Is the price currently consolidating near the high of the Asian session, preparing for a liquidity grab?" This fusion of "when" (session context) and "where" (liquidity zones) provides a unique and powerful analytical edge.
2. Module 1: Session Analysis
This is the foundational layer of the indicator, providing a structured view of the market based on the major trading sessions (Asia, Europe, US).
Session Boxes & Timing: The script automatically draws colored boxes for each session based on user-defined start and end times (in UTC minutes). It also includes a countdown table showing the time left in the current session and when the next one begins.
Session Behavior Analysis: At the close of each session, the indicator analyzes the price action within that session and classifies its behavior into one of four categories:
Trend Up/Down: Characterized by a strong directional move and a large price range.
Consolidation: Characterized by a tight, non-directional price range.
Manipulation: Characterized by significant wicks on both sides of the candle body, suggesting a battle between buyers and sellers with no clear winner.
Range: Any behavior that doesn't fit the above criteria.
Closing Price Bias: In addition to the overall behavior, the indicator analyzes where the session's price closed relative to its range (e.g., "Strong Bullish Close" if it closes in the top 40% of its range). This provides insight into the final sentiment of the session.
Session Edge Traps (Liquidity Grabs): This sub-module identifies potential liquidity grabs. It triggers a "Sell Trap" alert if price creates a new session high but the candle body is bearish, and a "Buy Trap" if price creates a new session low but the candle body is bullish. These signals can be filtered to only appear near the edges of the session range.
3. Module 2: Ignition Alert Zones (Supply & Demand)
This is an independent, embedded module designed to detect high-probability supply and demand zones based on the concept of "Ignition" candles.
Zone Creation Logic: A zone is identified when a "boring" (low momentum) candle is followed by an "explosive" (high momentum) candle.
Boring Candle: A candle where the total length of the wicks is greater than the body size by a user-defined ratio.
Explosive Candle: A candle with a strong directional body that is significantly larger than the preceding "boring" candle's body.
A bullish (Demand) zone is created from the high/low of the boring candle that precedes an explosive up-move. A bearish (Supply) zone is created from the boring candle preceding an explosive down-move.
Zone Management:
Non-Repaint & Close-Only Checks: The logic is designed to be non-repainting by confirming signals only on bar close.
Overlap Policy: To maintain chart clarity, the indicator has a built-in policy to handle overlapping zones, either by keeping the most "Current" zone or using a "Strict" policy that prevents any overlap.
Zone Lifecycle: Zones can be configured to be automatically deleted after being filled, broken, or after a certain number of bars have passed (aging). They can also be set to "dim" (become more transparent) after the first price touch.
Comprehensive Alerts: A full suite of alerts is available for every event in a zone's life, including: New Zone Created, Zone Filled, First Retest, Any Touch, and Zone Break/Invalidation.
By combining these two powerful modules, the Session Zone Hunter aims to provide traders with a complete system for identifying high-probability setups based on session dynamics and institutional liquidity footprints
Current Price TableThis script Shows an easy to read current value of the trade so that you can follow the value fluctuations.
CLEAN SESSION LEVELS This indicator provides all the key levels of the market. What sets it apart is how clean and clear the levels are—no clutter, just precise markings. You can extend the levels to the right, have them highlighted, and labeled, so there’s no confusion about their location.
I’m considering adding an alert system that notifies you when a key level is swept. Looking forward to seeing you all use it!
FuTech : Preferential Price📌 First Ever Indicator : FuTech : Preferential Price
💡 What if you could instantly know the Preferential Price — as if the company announced a preferential issue in today’s meeting surprisingly?
Normally, you’d be stuck with tedious valuation spreadsheets and SEBI formula checks 🧮📑…
✨ But not anymore — this tool does the hard work for you!
With just one click, it auto-calculates the Preferential Issue Floor Price under SEBI ICDR Regulations, 2018 - Regulation 164 (as amended), directly from your chart symbol.
✅ How it works ?
📅 Relevant Date = 30 days prior to either:
• Today’s date (default mode)
• Or your chosen EGM date (user input)
📊 For the Relevant Date, the indicator automatically computes:
• VWAP (90 trading days preceding Relevant Date)
• VWAP (10 trading days preceding Relevant Date)
🔎 As per SEBI Reg.164, the higher of these two VWAPs is selected as the Minimum Issue Price (Preferential Price).
💰 Price is neatly formatted in Indian style (e.g. ₹1,00,000).
✅ Key Features:
⚡ Auto-calculates from chart symbol — no manual entry.
🎛️ Option to input EGM date for accurate floor price compliance.
🎨 Fully customizable: text color, size, background, position.
🪄 Clean display → shows only the final Preferential Price (Reg.164).
📌 Usage:
This indicator is built for analysts, fund managers, and corporate professionals dealing with Preferential Allotment pricing compliance.
It ensures quick visibility of the floor price under SEBI ICDR rules, directly on your chart.
⚠️ Disclaimer:
📌 The calculated Preferential Price is an approximation based on SEBI ICDR Reg.164 methodology.
📊 Actual price determined by the company / merchant banker may vary slightly (±5) due to rounding, data source differences, or timing adjustments.
📅 Ensure to verify with official exchange data and SEBI filings before relying on these numbers.
📝 This tool is meant for analytical and educational purposes only, not a substitute for regulatory or professional advice.
PDD — Pullback & Breakout Alerts (PopsStocks) • INDICATOR🟢 Trader-Friendly (simple & clear)
Description:
This indicator highlights pullback and breakout trade opportunities on PDD (Pinduoduo). It automatically marks pullback buy zones, breakout levels, stops, and profit targets. Signals are based on bullish reversal candles (inside pullback zones) and confirmed breakouts above resistance. Includes optional EMAs for trend context and built-in alerts, making it easy to catch setups in real time.
🔵 Technical/Backtest-Friendly (for advanced users)
Description:
A price-action-based tool for identifying structured entries on PDD (Pinduoduo). The script plots dynamic pullback zones, breakout resistance levels, stops, and risk/reward targets. Signal logic combines candlestick reversals (bullish engulfing, hammer), volume filters, and optional higher-low buildup checks. 20/50 EMA overlays provide trend confirmation. Designed for traders who want defined rules, alert automation, and clear risk-to-reward planning.
US Elections Democrate-Republicain (1920-2025)This script shows the different U.S. presidents and indicates whether each was Democratic or Republican. It allows users to analyze the market based on the president in office.
Major Wars with a signifiant economic impactThis indicator highlights major wars that have had a significant economic impact worldwide. It allows users to easily see their effects on the charts.
PPP – Info Table (Anchor + Corr/Alpha/Beta) v3PPP – Info Table (Anchor + Corr/Alpha/Beta)
- By P3 Analytics, run by Puranam Pradeep Picasso Sharma
🔎 Overview
This indicator creates a clean, dynamic information table on your chart that lets you quickly analyze how your chosen asset is performing relative to BTC, ETH, or any other benchmarks.
With a single glance, you can see:
% change from today’s open (for the anchor asset, BTC, and ETH)
Previous day % change (self + benchmarks)
Correlation, Beta, and Alpha statistics for the selected window (1W, 1M, 1Y)
Anchor values at any bar you choose (via Bars Back or Anchor Time)
Perfect for traders who want to measure coin strength vs benchmarks and make better rotation, risk, or hedging decisions.
📊 Key Metrics
Correlation (Corr): How closely the asset moves with the benchmark.
+1 = moves together, 0 = no relation, -1 = moves opposite.
Beta (β): Sensitivity of returns vs the benchmark.
β = 1 → moves 1:1 with BTC.
β > 1 → more volatile (amplifies BTC moves).
β < 1 → less volatile (defensive).
Alpha (α): Excess return beyond what Beta predicts.
Positive α = outperforming benchmark-adjusted expectation.
Negative α = underperforming.
⚙️ Features
Flexible Anchor Mode:
Bars Back → quickly step through bars.
Time → pin analysis to a specific historical candle.
Customizable Benchmarks: Default BTC & ETH (futures), but replaceable with any ticker.
Adjustable Stats Window:
1 Week, 1 Month, 1 Year (auto-scales if using chart timeframe).
Compact Mode for a smaller table layout.
Dark/Light Theme, font size, corner placement, transparency, and decimal control.
Runs efficiently with minimal chart clutter.
🧑💻 About P3 Analytics
This indicator is developed under P3 Analytics, a research & trading technology initiative led by Puranam Pradeep Picasso Sharma.
P3 Analytics builds tools that merge machine learning, statistics, and trading strategy into accessible products for traders across crypto, equities, forex, and commodities.
✅ How to Use
Add indicator to your chart.
In settings:
Pick your benchmarks (default = BTCUSDT.P, ETHUSDT.P).
Choose your anchor (Bars Back or Time).
Set window length for correlation/alpha/beta.
Read the table:
Left side = your asset.
Right side = benchmarks.
Colors: Green = positive % change, Red = negative.
🚀 Why Use This?
Quickly compare your asset vs BTC/ETH without juggling multiple charts.
Spot whether a coin is truly leading or just following BTC.
Identify outperformance (alpha) coins for rotation or trend plays.
Manage risk by knowing which assets are high beta (high leverage-like moves).
✦ Indicator by P3 Analytics
✦ Created & published by Puranam Pradeep Picasso Sharma
Sectoral Stock Top-to-Down Screener : ⭐ Sectoral Stock Top-to-Down Screener Analysis ⭐
This Screener indicator provides a bird's-eye view of the Market's important indices, sectors and Stocks listed in those sectors.
1: It represents a Screener Table that shows the (%) percentage change of the market, Sectors and all the Stocks (listed via input) . The color represents the Trend of the Previous day and the current day compared to Nifty50 Index.
2: The %percentage change is dependent on the Time-Frame selection:
This Input allows users to look at the Major Index > sectors > stocks in their specific time frame.
3: It has a alert function, which can trigger for all symbols/securities in the table.
Irrespective of Trading View Free or Paid user, this alert works for all .
4: Compatible with All Devices (Laptop / Mobile / Tablet / PC)
Stock Fundamentals Health Map
I came up with this script because, like a lot of us, I was always bugging AI about every ticker under the sun—asking for breakdowns, forecasts, you name it. But then it hit me: wouldn't it be way faster if I could just glance at the stock chart and get a quick snapshot of the company's financial guts right there?. Also, i didnt bother looking up another indicator script because i want it that way.
This "Stock Fundamentals Health Map" is basically your jumping-off point before you go full detective mode on the fundamentals. It's not meant to be the end-all-be-all, just a smart way to spot red flags or green lights without wasting hours.
Here's the deal: TradingView has this treasure of financial stats for stocks—stuff like margins, ratios, growth numbers, and more—pulled from their database after earnings drops. The script grabs 40 of those for your chosen period (Fiscal Year, Quarter, Half, or Trailing Twelve Months—you pick in the settings, and 40 because your broke boy doesnt have a premium TV sub).
But raw numbers? Meh, they're just digits. So, we grade 'em. Think of it like a report card for the company: Excellent (or "Great" in some spots), Good, Fair, Poor, or Weak (I called it "Pathetic" in my head at first, but toned it down).
How do we grade? Based on thresholds for each metric. For instance, a Gross Margin over 60%? Excellent, baby—that's premium efficiency. 40-60%? Solid Good. Down to under 10%? Weak, might wanna think twice. Same logic for everything else: Altman Z-Score (bankruptcy risk—higher is safer), Beneish M-Score (earnings manipulation detector—lower is cleaner), ROE, EV/EBITDA, you get the idea. But hey, maybe you disagree with my defaults. No sweat—the settings let you tweak every single threshold. Want to be stricter on Debt-to-Equity? Crank it up. Think Dividend Yield needs a higher bar for "Excellent"? Go for it. It's your world; I'm just scripting in it.
Dont know what all those metrics mean? Use the tool tip. Still dont understand? Keep the defaults.
Once graded, we don't stop there. Each metric gets a weight (default is 1, for equal love), but if you're obsessed with Free Cash Flow Margin over, say, Asset Turnover, bump its weight to 2, 5, or even 100. FFT FAFO. The script multiplies grades by weights, adds 'em up, and spits out an overall score and grade for the stock. Excellent if it's crushing it (90%+), down to Weak if it's wheezing. Plus, it categorizes the stock type—Growth, Value, Quality, Dividend, Momentum—based on how it scores in those buckets. Handy for knowing if it's a high-flyer or a dead divi.
And because not all stocks are created equal, it throws in sector-specific smarts. REITs get FFO and AFFO grades (funds from operations—key for real estate trusts). Tech and Healthcare? R&D Intensity to check if they're innovating or slacking. Energy folks get Capex-to-Sales (lower is better for efficiency in that capital-hungry world). Utilities? Debt Service Coverage to see if they can handle the bills. If your ticker doesn't fit those, it skips 'em—no junk data. You dont see all that because TV might have that data with N/A entered in it.
The output? A clean table slapped on your chart (top-right by default and cant move it around, because being at the top and being right is all you need). Columns for metrics, values + grades, all color-coded: green for Excellent, lime for Good, yellow Fair, orange Poor, red Weak. Headers in blue, text customizable—pick your colors, transparency, sizes. It's overlay=true, so it vibes with your price action without cluttering.
Sure, these numbers are just what TradingView's crack team inputs post-earnings—could be off, or laggy, or whatever. They don't predict the future; markets are wild. But it's a lot better than panic-buying on a hunch. Gives you that quick financial health map to ponder before you leap into a trade that could change your life... or your portfolio's. ;)
If you need the source code, ask Grok AI. I got it from there. Too lazy to do that? Follow me on X and i'll dm you after you prove that you are not a bot.
Distance Between EMA'sThis indicator measures the distance between any two EMA's you choose. You can change the EMA's by clicking settings and change the inputs to the two that you choose
Futures Multi-Asset Open Distance Table## Multi-Asset Open Distance Table - Quick Description
This Pine Script indicator displays a **real-time table** that tracks how far **three user-selected assets** are from their key opening price levels.
**What it shows:**
- **Three customizable assets** (default: NQ!, ES!, YM!)
- **Distance from 3 key opens** for each asset:
- **1800 ET Open** (Electronic trading session start)
- **0930 ET Open** (Regular market hours start)
- **Weekly Open** (Beginning of trading week)
**Visual features:**
- **Percentage changes** from each open level
- **Color coding**: Green for gains above opens, red for losses below opens
- **Direction arrows**: ▲ (above), ▼ (below), ■ (unchanged)
- **Customizable table position** and size
**Perfect for:**
- **Intraday traders** monitoring key session levels
- **Multi-timeframe analysis** across different market opens
- **Quick reference** to see which assets are performing relative to major opening levels
- **Session-based trading strategies** using 6PM and 9:30AM opens
The table updates in real-time and provides an at-a-glance view of where your chosen assets stand relative to these critical price reference points throughout the trading day.
Artharjan NSE Sectors Relative Strength DashboardArtharjan NSE Sectors Relative Strength Dashboard
This script provides a comprehensive dashboard for analyzing the relative strength of NSE sectors compared to a benchmark index (default: NIFTY). It is designed to give traders and investors a consolidated snapshot of sector performance, momentum, and short-term trend strength — all in one visual table.
Core Purpose
The goal is to simplify sector rotation analysis by combining relative strength, rate of change, momentum, and trend classification into a sortable, color-coded dashboard. Instead of scanning multiple charts, users can rely on this single panel for quick decision-making.
Key Features
Benchmark Comparison
Every sector is measured against the benchmark index (default: NIFTY). This allows users to spot outperforming or underperforming sectors relative to the market.
Multiple Performance Metrics
LTP % Change: Last traded price percentage change from the prior close.
RS Score: Relative strength score over a user-defined lookback.
Momentum (ROC Difference): Convergence/divergence between two ROC values for added confirmation.
ROC1 / ROC2: Short- and medium-term rate-of-change measures.
Trend Classification Engine
Each sector is tagged as Ultra Bullish, Bullish Breakout, Strong/Moderate Bullish, Neutral, Moderate/Strong Bearish, Bearish Breakdown, or Ultra Bearish. This classification is based on sectoral price behavior and candlestick relationships.
Sorting & Customization
Users can sort the dashboard by any metric (e.g., RS Score, % Change, Momentum), in ascending or descending order, to highlight what matters most for their strategy.
Table Presentation
Adjustable text size, thickness, and positioning on the chart.
Optional color-coded cells for visual cues — green shades for strength, red shades for weakness, neutral shades for sideways trends.
“Last Updated” timestamp for clarity on when the snapshot was generated.
How It Helps
This tool reduces the noise of flipping through individual sector charts. Traders can identify sector leadership, monitor momentum shifts, and catch early signs of rotation without leaving a single chart window. It acts as both a macro lens (sector overview) and a micro tool (spotting exact strength/weakness transitions).
Closing Note
This dashboard was built with a simple goal: to bring clarity to complex sectoral movements. Use it as a guiding compass while respecting your broader trading or investing framework.
With Thanks,
Rrahul Desai
@Artharjan
Options Greeks AnalyzerOptions Greeks Analyzer (Training & Learning Guide)
________________________________________
1. Introduction
Options trading is advanced compared to regular stock trading, and one of the most important aspects is Options Greeks. Greeks are mathematical values that measure how the price of an option will react to changes in various factors such as the underlying asset’s price, volatility, interest rates, and time to expiry.
This Options Greeks Analyzer tool is built using TradingView Pine Script v5. It serves as a real time training and analysis dashboard that helps learners visualize how options greeks behave, how option prices change, and how traders can make informed decisions.
📌 Educational Disclaimer:
This tool is only for training and learning purposes. It is not a financial advice tool nor to be used for live trading decisions. The data shown is theoretical Black Scholes model calculations, which may differ from actual option market prices.
________________________________________
2. How the Tool Works
The Options Greeks Analyzer is divided into different modules. Below is a step by step walkthrough:
________________________________________
Step 1: User Inputs
• Implied Volatility (IV%) — You can manually enter volatility, which is the most important factor in option pricing. Higher IV = higher option premium.
• Expiry Selection — Choose from preset durations like 7D, 14D, 30D etc. Days to expiry directly affect time decay (Theta).
• Strike Price Mode — You can select either:
o ATM (At-the-Money = Current price of stock/index)
o Custom strike (Enter your own strike price)
• Risk-Free Rate (%) — A small interest rate factor (like government bond yield) used for theoretical valuation.
• Table Customization — Choose table size, position, and whether to show price lines for easy visibility.
________________________________________
Step 2: Market Data & Volatility
• The tool takes the current market price (Spot Price) as input.
• It calculates realized volatility from historical price fluctuations (using past 30 bars/log returns).
• Implied Volatility (manual input) is then compared to realized vol:
o If IV > Historical Volatility → Market pricing is “expensive” (HIGH IV RANK).
o If IV < Historical Volatility → Market is “cheap” (LOW IV RANK).
o Otherwise, it’s MEDIUM.
📌 Why it matters?
Traders can decide whether buying or selling options is favorable. Beginners learn that timing entry with volatility is more critical than just looking at market direction.
________________________________________
Step 3: Black-Scholes Formula
The core engine uses the Black-Scholes model, a mathematical formula widely used to compute option fair prices.
It uses the following inputs:
• Current price (Spot)
• Strike Price
• Time to Expiry (T)
• Risk Free Rate (r)
• Implied Volatility (σ)
This produces:
• Call Option Price
• Put Option Price
📌 This teaches learners how premiums are derived theoretically and why the same strike can have different values depending on IV and time.
________________________________________
Step 4: Option Greeks Calculation
The tool computes the first order Greeks:
• Delta → Measures how much the option price changes when the underlying stock moves by 1 point.
(Call Delta ranges 0–1, Put Delta ranges -1 to 0).
• Gamma → Sensitivity of Delta to price change. A measure of volatility risk.
• Theta → Time decay. Shows how much value option loses as each day passes. Calls and Puts have negative Theta (decay).
• Vega → Measures how sensitive option price is to volatility changes.
• Rho → Interest rate sensitivity. Mostly minor in equity options but important for training.
📌 New traders learn how each factor impacts profits/losses. Instead of random guessing, they see mathematical impact in numbers.
________________________________________
Step 5: Dashboard & Visualization
The tool builds a professional dashboard table on the chart.
It shows categories such as:
1. Asset Info — Spot, Strike, DTE (days to expiry), IV%, IV Rank, 1-Day Trend, Moneyness (ATM/OTM/ITM).
2. Option Prices — Call, Put, Break-even levels, Time Value, Expected Move (%), Realized vs Implied Vol.
3. Greeks with Visual Progress Bars — Easily shows Delta, Gamma, Vega, Theta, Rho in intuitive graphical representations.
4. Status Bar — Suggests theoretical bias like:
o HIGH IV → Favor Option Selling
o LOW IV → Favor Option Buying
o MEDIUM → Neutral observation
5. Recommendation Line — Offers training-based suggestions like “Buy Straddles”, “Sell Call Spreads”, etc. These are not signals, but scenarios to learn strategies.
________________________________________
3. How It Helps Beginners
1. Learn Greeks in Action:
Beginners often memorize formulas but never see real-time changes. This dashboard updates every bar to show how Greeks change dynamically.
2. Compare Volatilities:
Traders understand difference between historical vs implied volatility and why option premiums behave differently.
3. Understand Risk Levels:
The tool highlights when Gamma risk is high (danger for sellers) or when Theta is most favorable.
4. Training Mode for Strategies:
Helps beginners experiment by changing IV, strike, expiry and seeing how straddles, spreads, naked options would behave theoretically.
5. Prepares Before Live Trading:
Safe environment to practice option analysis without risking capital.
________________________________________
4. Educational Use Cases
• Scenario 1: Change expiry from 7D to 30D — see how Theta becomes slower for longer expiries.
• Scenario 2: Increase IV from 25% to 80% — watch how option premiums inflate, and recommendation changes from “Buy” to “Sell”.
• Scenario 3: Select OTM vs ITM strikes — check how delta moves from near 0 to near 1.
By running these scenarios, learners understand why professional traders hedge Greeks instead of directional gambling.
________________________________________
5. Disclaimer
This Options Greeks Analyzer is built strictly for educational and training purposes.
• It uses theoretical formulas (Black-Scholes) that may not match actual option market prices.
• The recommendations are for learning strategy logic only, not real-world execution signals.
• Trading in options carries significant risks and may result in capital loss.
📌 Always consult with a financial advisor before applying real strategies.
________________________________________
✅ Summary
This Options Greeks Analyzer:
• Teaches how Greeks, IV, and premiums work.
• Provides a real-time interactive dashboard for training.
• Helps beginners practice option scenarios safely.
• Is meant strictly for learning and not live trading execution.
________________________________________
________________________________________
Disclaimer from aiTrendview
This script and its trading signals are provided for training and educational purposes only. They do not constitute financial advice or a guaranteed trading system. Trading involves substantial risk, and there is the potential to lose all invested capital. Users should perform their own analysis and consult with qualified financial professionals before making any trading decisions. aiTrendview disclaims any liability for losses incurred from using this code or trading based on its signals. Use this tool responsibly, and trade only with risk capital.
Molina Prob-Score + FVG + S/R (v1.2)it computes a weighted bull/bear score (0–100%), highlights ICT-style FVGs, marks pivot S/R, and gives simple entry flags. tune the weights to your style.