Combined CE and PE Option Overlay with pending signalsBETTERMENT OF PREVIOUS VERSION WITH LONGER EXECUTION
consider that after a ce signal appears it is triggered when price crosses and closses the ce signal candle high; simialrly for pe signal if the price closes below the pe signal candle loe then the signal is considered triggered. now if a ce signal is triggerred and then the price reverses to create a pe signal but the pe signal is not triggered, and then again a new signal is generated that gets triggered then this new ce signal should be considered as the subsignal of previous ce signal and this signal label and lines should be orange in colour and both ce signals should be displayed. same vise a versa for pe signal
Forecasting
Statistical FootprintStatistical Footprint - Behavioral Support & Resistance
This indicator identifies key price levels based on actual market behavior rather than traditional pivot calculations. It analyzes how bulls and bears have historically moved price from session opens, creating statistical zones where future reactions are most likely.
The concept is simple: track how far bullish candles typically push above the open versus how far bearish candles drop below it. These patterns reveal the market's behavioral "footprint" - showing where momentum typically stalls and reverses.
Key Features:
- Separate analysis for daily and weekly timeframes
- Smart zone merging when levels cluster together (within 5 points)
- Uses both mean and median calculations for more robust levels
- XGBoost-optimized lookback periods for maximum statistical significance
- Clean zone-only display focused on actionable price areas
How it Works:
The code separates bullish and bearish sessions, measuring their typical range extensions from the open. It then projects these statistical ranges forward from current session opens, creating "behavioral zones" where the market has historically shown consistent reactions.
When daily and weekly levels align closely, they merge into combined zones with enhanced significance. Labels show both the mean and median values when they differ meaningfully.
Best Used For:
- Identifying high-probability reversal zones
- Setting profit targets based on historical behavior
- Understanding market sentiment shifts at key levels
- Confluence analysis between different timeframes
The lookback periods have been optimized using machine learning to find the most predictive historical sample sizes for current market conditions.
Prev RTH FibsThis study captures the previous day’s Regular Trading Hours (RTH) range (default 09:30–16:00 America/New_York), then projects it onto the current session. It draws HIGH, LOW, and an optional 50% midpoint, plus a configurable set of inside fib-style percentages measured from the HIGH downward. Every level extends a short distance to the right of the current price and shows a clean numeric label (no box) on the right edge.
Key features
Prev-day RTH range tracked automatically; plotted each new session.
Inside levels (from HIGH ↓): 11%, 25%, 29.5%, 38.2%, 45%, 55%, 62% (OTE), 70.5%, 75%, 78.6%, 85% (toggle any on/off).
Clean right-side labels: numbers only, resizable (Tiny → Huge) with transparent background.
Line styling: HIGH/LOW and 50% are solid; inside levels can be Solid/Dashed/Dotted with independent color/width.
Smart right padding: lines/labels extend a few bars past the latest candle, so annotations stay beside price without violating TradingView’s “>500 bars in future” rule.
Works on any symbol/timeframe; RTH window and timezone are adjustable.
Inputs you control
Session: RTH session string and timezone.
Right-side padding (bars) and number size.
Visibility & style for HIGH, LOW, and 50%.
Which inside levels to show, plus their style/color/width.
Signal Hunter Pro - GKDXLSignal Hunter Pro - GKDXL combines four powerful technical indicators with trend strength filtering and volume confirmation to generate reliable BUY/SELL signals. This indicator is perfect for traders who want a systematic approach to market analysis without the noise of conflicting signals.
🔧 Core Features
📈 Multi-Indicator Signal System
Moving Averages: EMA 20, EMA 50, and SMA 200 for trend analysis
Bollinger Bands: Dynamic support/resistance with price momentum detection
RSI: Enhanced RSI logic with smoothing and multi-zone analysis
MACD: Traditional MACD with signal line crossovers and zero-line analysis
🎛️ Advanced Filtering System
ADX Trend Strength Filter: Only signals when trend strength exceeds threshold
Volume Confirmation: Ensures signals occur with adequate volume participation
Multi-Timeframe Logic: Works on any timeframe from 1m to 1D and beyond
🚨 Intelligent Signal Generation
Requires 3 out of 4 indicators to align for signal confirmation
Separate bullish and bearish signal conditions
Real-time signal strength scoring (1/4 to 4/4)
Built-in alert system for automated notifications
⚙️ Customizable Parameters
📊 Technical Settings
Moving Averages: Adjustable EMA and SMA periods
Bollinger Bands: Configurable length and multiplier
RSI: Customizable length, smoothing, and overbought/oversold levels
MACD: Flexible fast, slow, and signal line settings
🎯 Risk Management
Risk Percentage: Set your risk per trade (0.1% to 10%)
Reward Ratio: Configure risk-to-reward ratios (1:1 to 1:5)
ADX Threshold: Control minimum trend strength requirements
🖥️ Display Options
Indicator Visibility: Toggle individual indicators on/off
Information Table: Optional detailed status table (off by default)
Volume Analysis: Real-time volume vs. average comparison
🎨 Visual Elements
📈 Chart Indicators
EMA Lines: Blue (20) and Orange (50) exponential moving averages
SMA 200: Gray long-term trend line
Bollinger Bands: Upper/lower bands with semi-transparent fill
Clean Interface: Minimal visual clutter for clear analysis
📋 Information Table (Optional)
Real-time indicator status with ✓/✗/— symbols
Current signal strength and direction
ADX trend strength measurement
Volume confirmation status
No-signal reasons when conditions aren't met
🔔 Alert System
📢 Three Alert Types
BUY Signal: Triggered when 3+ indicators align bullishly
SELL Signal: Triggered when 3+ indicators align bearishly
General Alert: Any signal detection for broader monitoring
📱 Alert Messages
Clear, actionable alert text
Includes indicator name for easy identification
Compatible with webhook integrations
🎯 How It Works
📊 Signal Logic
Indicator Assessment: Each of the 4 indicators is evaluated as Bullish/Bearish/Neutral
Consensus Building: Counts aligned indicators (minimum 3 required)
Filter Application: Applies trend strength and volume filters
Signal Generation: Generates BUY/SELL when all conditions are met
🔍 Indicator States
Moving Averages: Price position, EMA alignment, and crossovers
Bollinger Bands: Price relative to bands and momentum shifts
RSI: Multi-zone analysis with momentum and crossover detection
MACD: Signal line crossovers and zero-line positioning
🎉 Why Choose Signal Hunter Pro?
✅ Multi-Indicator Confirmation reduces false signals
✅ Trend Strength Filtering improves win rate
✅ Volume Confirmation ensures market participation
✅ Customizable Parameters adapt to any trading style
✅ Clean Visual Design doesn't clutter your charts
✅ Professional Alert System for automated trading
✅ No Repainting - reliable historical signals
✅ Works on All Timeframes from scalping to investing
HTF Dealing Range & FibsKey Features:
Premium & Discount Zone Visualization: Clear, color-coded boxes are drawn to represent the Premium (sell zone), Discount (buy zone), and the crucial Equilibrium (50%) level. These boxes extend into the future so you can anticipate future price action.
Customizable Fibonacci Levels: Plot key Fibonacci retracement levels within the defined range. You can customize which levels you want to see (e.g., 0.62, 0.79, etc.) to pinpoint specific points of interest.
Multi-Timeframe Confluence Table: A powerful, on-screen dashboard that shows you the status of the current price relative to the P&D zones on up to 5 different timeframes simultaneously. Instantly see if the price is in a Premium or Discount zone on the 15m, 1H, 4H, and Daily charts at a single glance.
Built-in Alerts: Never miss an opportunity. Set up alerts to be notified the moment the price enters the Premium or Discount zone on your chosen HTF, allowing you to prepare for potential trade setups.
Fully Customizable: Take full control over the indicator's appearance. Adjust pivot lookback periods, colors of the zones and Fibs, and select which timeframes appear in your dashboard to match your personal trading plan.
Disclaimer:
This indicator is provided for educational and informational purposes only and should not be considered as financial or investment advice. Trading and investing in financial markets, including but not limited to stocks, forex, and cryptocurrencies, involves a substantial risk of loss and is not suitable for every investor.
Major & Modern Wars TimelineDescription:
This indicator overlays vertical lines and labels on your chart to mark the start and end dates of major global wars and modern conflicts.
Features:
Displays start (red line + label) and end (green line + label) for each war.
Covers 20th century wars (World War I, World War II, Korean War, Vietnam War, Gulf War, Afghanistan, Iraq).
Includes modern conflicts: Syrian Civil War, Ukraine War, and Israel–Hamas War.
For ongoing conflicts, the end date is set to 2025 for timeline visualization.
Customizable: label position (above/below bar), line width.
Works on any chart timeframe, overlaying events on financial data.
Use case:
Useful for historical market analysis (e.g., gold, oil, S&P 500), helping traders and researchers see how wars and conflicts align with market movements.
Major & Modern Wars TimelineDescription:
This indicator overlays vertical lines and labels on your chart to mark the start and end dates of major global wars and modern conflicts.
Features:
Displays start (red line + label) and end (green line + label) for each war.
Covers 20th century wars (World War I, World War II, Korean War, Vietnam War, Gulf War, Afghanistan, Iraq).
Includes modern conflicts: Syrian Civil War, Ukraine War, and Israel–Hamas War.
For ongoing conflicts, the end date is set to 2025 for timeline visualization.
Customizable: label position (above/below bar), line width.
Works on any chart timeframe, overlaying events on financial data.
Use case:
Useful for historical market analysis (e.g., gold, oil, S&P 500), helping traders and researchers see how wars and conflicts align with market movements.
Premium Discount Range ProPremium Discount Range Pro
Short Description / Summary:
An advanced, all-in-one toolkit for traders who utilize Smart Money Concepts (SMC) and institutional price action analysis. The "Premium Discount Range Pro" automatically identifies the current higher timeframe (HTF) dealing range, visualizes the Premium, Discount, and Equilibrium zones, and provides a multi-timeframe dashboard to see where the current price stands across the market.
This indicator is built to streamline your analysis, helping you to quickly identify high-probability areas for entries by adhering to the core institutional principle: look for buys in a discount and sells in a premium.
Key Features:
Automatic HTF Range Detection: The indicator automatically detects the most recent significant swing high and swing low on your chosen Higher Timeframe (e.g., 4H, Daily) to define the current dealing range.
Premium & Discount Zone Visualization: Clear, color-coded boxes are drawn to represent the Premium (sell zone), Discount (buy zone), and the crucial Equilibrium (50%) level. These boxes extend into the future so you can anticipate future price action.
Customizable Fibonacci Levels: Plot key Fibonacci retracement levels within the defined range. You can customize which levels you want to see (e.g., 0.62, 0.79, etc.) to pinpoint specific points of interest.
Multi-Timeframe Confluence Table: A powerful, on-screen dashboard that shows you the status of the current price relative to the P&D zones on up to 5 different timeframes simultaneously. Instantly see if the price is in a Premium or Discount zone on the 15m, 1H, 4H, and Daily charts at a single glance.
Built-in Alerts: Never miss an opportunity. Set up alerts to be notified the moment the price enters the Premium or Discount zone on your chosen HTF, allowing you to prepare for potential trade setups.
Fully Customizable: Take full control over the indicator's appearance. Adjust pivot lookback periods, colors of the zones and Fibs, and select which timeframes appear in your dashboard to match your personal trading plan.
Disclaimer
This indicator is provided for educational and informational purposes only and should not be considered as financial or investment advice. Trading and investing in financial markets, including but not limited to stocks, forex, and cryptocurrencies, involves a substantial risk of loss and is not suitable for every investor.
US Presidents 1789–1916Description:
This indicator displays all U.S. presidential elections from 1789 to 1916 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Historical flag style: All presidents before 1900 are considered historical, providing visual distinction.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Great for studying historical market behavior around elections or for general reference of U.S. presidents during the early history of the country.
US Presidents 1920–2024Description:
This indicator displays all U.S. presidential elections from 1920 to 2024 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Modern flag style: Presidents from 1900 onward are highlighted as modern, giving clear historical separation.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Useful for analyzing modern U.S. presidential cycles, market reactions to elections, or quickly referencing recent presidents directly on charts.
FED Rate Decisions (Cuts & Hikes)This indicator highlights key moments in U.S. monetary policy by plotting vertical lines on the chart for Federal Reserve interest rate decisions.
Features:
Rate Cuts (red): Marks dates when the Fed reduced interest rates.
Rate Hikes (green): Marks dates when the Fed increased interest rates.
Configurable view: Choose between showing all historical decisions or only those from 2019 onwards.
Labels: Each event is tagged with “FED CUT” or “FED HIKE” above or below the bar (adjustable).
Alerts: You can set TradingView alerts to be notified when the chart reaches a Fed decision day.
🔧 Inputs:
Show decisions: Switch between All or 2019+ events.
Show rate cuts / hikes: Toggle visibility separately.
Colors: Customize line and label colors.
Label position: Place labels above or below the bar.
📈 Usage:
This tool helps traders and investors visualize how Fed policy shifts align with market movements. Rate cuts often signal economic easing, while hikes suggest tightening monetary policy. By overlaying these events on price charts, you can analyze historical reactions and prepare for similar scenarios.
Multi-Timeframe HalfTrendbest performing inicator with buy sell signals,good for treding in nifty50, banknifty, gold ,silver
Multi-Timeframe HalfTrendMulti-Timeframe HalfTrend is much more better foe view. After ploting 2 mtf halfTrend, you can see hourly mtf halftrend in the daily mtf halfTrend .which can help you lot off to find best tred
Dual 4/8 MTFInspired on multi-timeframe Murrey’s Math Lines Channel.
Using the 4/8 , 2 times with different fractal multipliers to follow the trend
Lines and fill in between then can be =
-dynamic :(turn green/red/grey depending on price)
-static : fixed colour that wont change depending on trend
Divergences v2.4 [LTB][SPTG]Open-source credit & license
Original author: LonesomeTheBlue.
This fork by: sirpipthegreat — with attribution to the original work.
License: Open-source, published under the MPL-2.0 (same license header in the code).
I am publishing this open-source in accordance with TradingView’s Open-source reuse rules.
What’s new:
- Fixes & stability (addresses “historical offset beyond buffer” errors)
- Capped and validated all historical indexing with guarded lookbacks (e.g., min(…, 200) style limits) to prevent referencing data beyond the buffer on shorter histories/thin symbols.
- Refactored highest/lowest bars scans to obey the cap and avoid cumulative overflows on long sessions.
- Added per-bar counters with safety clamps to ensure it never exceeds available history.
- Ensured HTF switching doesn’t create invalid offsets when the higher timeframe compresses history.
Modernization & user control:
- Pine v6 upgrade and re-organization of logic for clarity/performance.
- More predictable tops/bottoms detection.
What it does:
- Detects regular (trend-reversal) and optional hidden (trend-continuation) divergences between price swing tops/bottoms and the selected oscillator(s).
- Computes candidate pivots with a light HTF alignment to reduce micro-noise; validates divergence when oscillator and price move in opposite directions across those pivots.
- Plots colored lines/labels on price to highlight bearish (regular & hidden) and bullish (regular & hidden) patterns.
How to use:
- Choose the oscillator set you trust (start with RSI + MACD).
- Consider confluence (S/R, volume, trend filters). This tool only identifies conditions
Justin's MSTR Powerlaw Price PredictorJustin's MSTR Powerlaw Price Predictor is a Pine Script v6 indicator for TradingView that adapts Giovanni Santostasi’s Bitcoin power law model to forecast MicroStrategy (MSTR) stock prices. The price prediction is based on the the formula published in this article:
www.ccn.com
JessieOBS with MACD - The Evil MACD
中文版说明在后面
JessieOBS takes the classic MACD to the next level by clearly highlighting overbought and oversold zones.
While the traditional MACD works well for spotting uptrends and downtrends, it often struggles in sideways markets—producing false signals and useless crossovers that can trigger unnecessary stop losses. JessieOBS solves this problem, giving you cleaner, more reliable signals even when the market is moving sideways.
The thick white line signals an oversold area, hinting that a price reversal to an uptrend may happen soon.
The thick blue line signals an overbought area, hinting that a price reversal to a downtrend may happen soon.
JessieOBS helps you filter sideways trends, improving your win rate.
WARNING: JessieOBS is only an early WARNING, NOT A TRADE ENTRY SIGNAL.
When a warning appears, stay alert and wait for confirmation—through price action, divergences (HIGHLY RECOMMENDED with a win rate over 85%!), or the theory of entanglement (HIGHLY RECOMMENDED with a even higher win rate!).
With the right approach, JessieOBS can take your win rate to the next level!
中文版说明:
传统的MACD可以很明确识别出趋势,但有两个最大的缺点:第一是滞后性,第二是假信号。所以MACD在趋势行情里比较好用(不管是上升趋势还是下降趋势),但在横盘期间,就会产生很多的假信号。
JessieOBS就解决了MACD不准的问题,在MACD的信号线上,添加了白色和蓝色的粗线,白色粗线代表价格超卖,接下来很可能会反转上涨,蓝色粗线代表价格超买,接下来很可能会反转下跌。市场横盘期间,JessieOBS很少会给出超买或者超卖信号,从而有效过滤了MACD的假信号。
注意!JessieOBS只能作为一个提前的预警,一定不能把JessieOBS当做入场信号看待。因为JessieOBS只预警价格可能会反转,但并不能预测出价格发生反转的准确时间。
正确的做法是,一旦看见JessieOBS的预警信号,就应该重点关注,再用其他的方式找到准确的入场点。裸k交易法是有用的,找到反转的趋势k线作为入场点。
强烈推荐:出现预警信号之后根据背离点入场,这种方法的胜率可以超过85%。
强烈推荐:出现预警信号之后根据缠论分析入场,利用缠论分析出的入场点胜率可以更高。
MO and Stoch GOLD H4 Full – Kim TradingMO and Stoch GOLD H4 Full – Kim Trading
Slogan: “Trading Is a Profession, Trading Is Life”
Market: XAUUSD • Timeframe: H4
Regime Gate (strong-trend filter) – turn on to suppress noise during strong trends; trade-off: you may miss some opportunities.
Cut & Reverse – use when you prefer to disable the strong-trend filter and react fast (cut the losing side and reverse with the new signal).
Entry/Exit Rules. When B/B1★/B2★/B3★ (buy) or S/S1★/S2★/S3★ (sell) labels appear, follow the prevailing trend and consider DCA (scale-in) with the trend. Combine with other confluences (levels, candlesticks, volume, timing) to form an optimal setup.
Signal Confidence Tiers:
B — S
B1★ — S1★
B2★ — S2★
B3★ — S3★
Enter only when one of the four labels appears. Use Alerts → Once Per Bar Close.
Notes. Educational tool, not financial advice. Source code remains Protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
MO and Stoch GOLD H4 V1 – Kim Trading (with Regime Gate ML)MO and Stoch GOLD H4 – Kim Trading (with Regime Gate ML)
Slogan: “Trading Is a Profession, Trading Is Life”
Market: XAUUSD (spot gold) • Timeframe: H4 (4 hours)
Overview. The script combines a Momentum Oscillator (MO) cross with Stochastic RSI context and evaluates signals on bar close to reduce repaint. An optional Regime Gate (ML) filter classifies market conditions (e.g., strong-trend vs. choppy) from historical patterns to suppress counter-trend noise and highlight powerful waves.
Entry/Exit Rules
When a B, B1★ … (buy) or S, S1★ … (sell) label appears, first reference the prevailing trend and consider applying DCA (scale-in) in the direction of that trend. You’re encouraged to combine this tool with other methods (price levels, candlesticks, volume/timing) to build an optimal setup.
Signal Confidence Tiers
B — S
B1★ — S1★
B2★ — S2★
B3★ — S3★
Enter trades only when one of the four signal types above is printed.
Notes. Use Once Per Bar Close alerts. This is an educational tool and not financial advice. Source code remains protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
Sniper Fade Indicator™️Sniper Fade Indicator™️
The Sniper Fade Indicator™️ is built to help traders spot potential fade opportunities — areas where price may exhaust and reverse during key sessions.
Features:
Fade Zone Mapping → visual zones highlighting likely reversal areas.
Time-Based Filters → optimized for London & New York sessions.
Clean Visual Overlays → boxes & markers for quick recognition.
Customizable Alerts → get notified when fade conditions align.
Works Across Markets → Forex, Futures, and Indices (including NAS100).
How to Use:
Use this indicator to plan trades around potential exhaustion zones. It works best when combined with daily bias context and liquidity levels. Always apply risk management and confirmation from your own strategy.
Notes:
Educational purposes only.
Not financial advice.
For best results, test in multiple markets and sessions.
Economic Profit (Fixed & Labeled) — Rated + PeersFRAC (Fundamental-Rated-Asset-Calculate)
FRAC is a fundamentals-driven tool designed to measure whether a company is creating or destroying shareholder value. Unlike surface ratios, FRAC uses Economic Profit (ROIC – WACC) as its engine, showing whether a business truly outperforms its cost of capital.
🔹 What FRAC Does
Calculates ROIC (Return on Invested Capital) vs. WACC (Weighted Average Cost of Capital).
Shows whether a company is creating or destroying shareholder value.
Uses tiered color coding for clarity:
🔵 Superior (Aqua Blue) → Top tier; best of the best.
🟣 Elite (Purple) → Strong value creation.
🟢 Positive (Green) → Solid, creating shareholder value.
🟡 Marginal (Yellow) → Barely covering cost of capital.
🔴 Negative (Red) → Value destruction.
🔹 Composite Ranking System (1–4)
FRAC also assigns each company a Composite Rank so you can compare multiple names side by side. The rank works like this:
Rank 1 → Superior (🔵 Aqua Blue)
Best possible rating; wide gap between ROIC and WACC.
Rank 2 → Elite (🟣 Purple)
Strongly positive; above-average capital efficiency.
Rank 3 → Positive (🟢 Green)
Creating value but only moderately; not a top compounder.
Rank 4 → Marginal/Negative (🟡/🔴)
Weak or destructive; either barely covering WACC or losing money on capital.
✅ How to Use the Ranks
When comparing a set of peers (e.g., NVDA, AMD, INTC):
FRAC will display each company’s color rating + composite rank (1–4).
You can instantly see who is strongest vs. weakest in the group.
Best decisions = overweight Rank 1 & 2 companies, avoid Rank 4 names.
🔹 Key Inputs Explained
Risk-Free Asset → Typically the 10-Year US Treasury yield (US10Y).
Corporate Tax Rate → Effective tax rate for the company’s country (e.g., USCTR).
Expected Market Return → Historical average ~8–10%, adjustable.
Beta Lookback Period → Controls how far back Beta is calculated (longer = more stable, shorter = more reactive).
👉 These must be set correctly for FRAC to calculate WACC accurately.
🔹 Example Comparison
NVDA: ROIC 25% – WACC 7% = +18% → 🔵 Superior → Rank 1
AMD: ROIC 17% – WACC 8% = +9% → 🟣 Elite → Rank 2
INTC: ROIC 11% – WACC 9% = +2% → 🟢 Positive → Rank 3
FSLY: ROIC 5% – WACC 10% = –5% → 🔴 Negative → Rank 4
🔹 Why It Matters
Buffett said: “The best businesses are those that can consistently generate returns on capital above their cost of capital.”
FRAC turns that into a visual + numeric rating system (1–4), making comparisons across peers simple and actionable.
🔹 Credit
FRAC was created by Hunter Hammond (Elite x FineFir), inspired by corporate finance models of Economic Profit and Economic Value Added (EVA).
⚠️ Disclaimer: FRAC is a research framework, not financial advice. Always pair with full due diligence.