ADX Buy/Sell Markers (on ADX pane)This TradingView indicator is designed to help traders identify buy and sell opportunities using the Average Directional Index (ADX) combined with directional indicators (+DI and -DI). It works by plotting the ADX line and detecting when the +DI line crosses above or below the -DI line, signaling potential changes in market direction. The indicator only triggers a buy or sell signal if the ADX value is above a certain threshold, ensuring that signals are only generated during stronger trends. By combining these elements, the indicator helps traders filter out weaker signals and focus on higher-probability trading opportunities, making it an important tool for trend-following strategies CME_MINI:NQ1!
指标和策略
EMA 34-50-89chỉ báo xu hướng trên biểu đồ của chúng ta nhận biết xu hướng uptrend hoặc downtrend 1 cách dễ dàng
Binary Trading help 1.0**BNCS - Advanced Reversal Signals**
This indicator is engineered to identify high-probability reversal points by analyzing market momentum and structure. It is designed for traders who want to anticipate potential trend changes with a higher degree of confirmation.
**How It Works: The Core Logic**
The strength of this indicator lies in its multi-layered signal generation process, which combines two primary reversal detection techniques with powerful confirmation filters.
**1. Core Reversal Engine:**
* **Momentum Shift Analysis:** The algorithm detects rapid changes in market momentum by analyzing the slope of a short-term Exponential Moving Average (EMA). A sudden flip in the slope from negative to positive (or vice-versa) often precedes a price reversal.
* **Price-Momentum Divergence:** It uses a custom oscillator to spot classic bullish and bearish divergences. A signal is flagged when the price makes a new high/low, but the momentum oscillator fails to confirm it, indicating potential trend exhaustion.
**2. Confirmation Filters for Accuracy:**
* **Support/Resistance Zone Filter:** Signals are validated only when they occur near significant, automatically-drawn support (for buys) or resistance (for sells) levels. This ensures you are trading from key price zones, not in the middle of nowhere.
* **Dynamic Trend Ribbon:** A Super Smoother-based ribbon helps identify the current market state (Uptrend, Downtrend, or Ranging). You can configure the indicator to only take signals that align with the broader trend, or to specifically look for reversals during ranging conditions.
**Key Features:**
* **Clear BUY/SELL Signals:** Non-repainting signals based on the confluence of the core logic.
* **Automatic S/R Levels:** Key pivot-based support and resistance lines are plotted on the chart.
* **Real-Time Dashboard:** A compact panel provides an at-a-glance summary of the market trend and a unique **Signal Confidence Score**, which is calculated based on how many internal conditions are met for a given signal.
**How to Use:**
1. Look for BUY signals near a key support level and SELL signals near a key resistance level.
2. Check the Dashboard for a higher "Signal Confidence" score for more reliable trades.
3. Use the Trend Ribbon to understand the market context before entering a trade.
**Disclaimer:**
This is a trading tool, not financial advice. Always use proper risk management and use this indicator as a confirmation tool alongside your own analysis.
rakesh option buying strategybest option scalping strategy
this indicator10/20 point esly capture in option buying
manage proper risk reward and execute the trade
start with low quantity believe the indicator than increase your quantity......
BrahmastraThe Bharmastra Indicator is a powerful, custom-built trading tool designed to help traders identify precise entry points, target levels, and stop-loss (SL) zones with unmatched clarity. Inspired by the mythical weapon of ultimate precision, this indicator acts as your strategic edge in volatile markets.
Daily/Weekly EMAs on Lower TimeframesThis indicator allows traders to view Daily and Weekly EMAs (Exponential Moving Averages) directly on lower timeframes such as 1m, 5m, 15m, or 1h charts — providing a higher timeframe perspective without switching charts.
The script includes individual checkboxes for each EMA length — 5, 8, 9, 21, 50, and 200 — organized into two clear sections:
🟢 Daily EMAs
🔵 Weekly EMAs
You can selectively enable or disable any EMA to match your trading style and reduce chart clutter.
Each EMA is color-coded for clarity and consistency:
5 EMA: Green
8 EMA: Blue
9 EMA: Blue
21 EMA: Orange
50 EMA: Purple
200 EMA: Red
Weekly EMAs appear slightly transparent to distinguish them from daily ones.
This makes it easy to visualize higher timeframe trend direction, confluence zones, and dynamic support/resistance levels while trading intraday.
💡 Key Features
View Daily and Weekly EMAs on smaller timeframes.
Individual checkbox toggles for all 6 EMA lengths.
Separate sections for Daily and Weekly EMAs.
Color-coded lines for easy visual recognition.
Works seamlessly on any symbol or timeframe below Daily.
Compact RSI • MACD Hist • CCICombines the RSI, MACD, and CCI for a 3 way confirmation. Keep your Stop Losses tight and Protect your Capital!
TradeIQ Smart Market Direction [EN]TradeIQ Smart Market Direction
TradeIQ Smart Market Direction is an advanced market trend analyzer designed to help traders identify the dominant market direction, momentum strength, and potential reversal zones in real time.
This indicator converts complex technical data into a simple visual representation, making it easier for traders to interpret price behavior and market structure at a glance.
Core Concept
The system continuously analyzes multiple aspects of the market — trend, volatility, and momentum — to determine whether the market is trending or ranging.
It classifies market behavior into phases such as Initial Phase, Strong Phase, Neutral Phase, and Reversal Risk, helping traders understand the current position within the overall trend cycle.
Key Features
• Detects real-time market direction and trend phases
• Identifies early and late stages of trend development
• Adapts signal sensitivity based on volatility conditions
• Displays dynamic color zones and visual cues for clarity
• Generates text-based trading suggestions that interpret trend conditions automatically
• Fully customizable alerts and display settings
• Compatible with other trading tools or systems
Algorithm Overview
TradeIQ Smart Market Direction uses a hybrid analytical model combining trend-following and momentum-based components.
It evaluates the interaction between short- and mid-term moving averages, volatility filters, and momentum oscillators to assess strength and alignment of price movement.
The algorithm dynamically adjusts sensitivity based on recent volatility, filtering out minor price noise while preserving key trend signals.
When multiple conditions align, it confirms directional bias; when conflicting, it signals neutral or reversal risk.
This multi-layered approach allows the system to stay responsive during trend accelerations while avoiding false signals in ranging markets.
Smart Text Suggestion
The indicator includes an intelligent text suggestion engine.
It interprets the current trend direction and market phase to generate short, context-based messages that help traders quickly understand market conditions — e.g., whether the market is entering a strong uptrend, showing weakening momentum, or facing potential reversal risk.
This feature bridges the gap between raw technical analysis and actionable interpretation, reducing the need for manual signal analysis.
How It Works
1. Calculates directional bias using weighted moving averages
2. Measures momentum acceleration and deceleration across multiple lookback periods
3. Applies volatility filters to validate signal strength
4. Classifies the overall condition into one of several market phases
5. Generates real-time text guidance based on detected phase and trend strength
The result is a visual and textual framework that helps traders quickly interpret trend direction and potential turning points without lagging indicators or excessive noise.
Recommended Use
This indicator is intended as a market context and direction analyzer, not an automated trading system.
It can be used as a confirmation tool to align trade entries with the prevailing market environment or to identify high-risk reversal phases.
Multi-Language Note
This indicator is published in multiple languages as separate scripts due to platform token limitations.
Versions may include for English, for Thai, for Chinese, for Russian, etc.
Each version uses the same core algorithm but provides language-specific Text Suggestions for trader guidance.
Invite-Only Note (if applicable)
This is an invite-only script.
Traders interested in gaining access can contact the author directly through the provided link or message.
Disclaimer
This tool is provided for educational and analytical purposes only.
It is not intended to provide financial, investment, or trading advice.
Each trader should evaluate signals and analysis independently before making any trading decisions.
Past performance or behavior of technical indicators does not guarantee future results.
This script is part of the TradeIQ series, developed for traders who value clarity, precision, and real-time market awareness.
[NBK] Cover Buy Sell Cover Buy Sell — idea
Purpose
Detect high-quality engulfing turning points, but only when they align with a short-term trend.
Cover Buy = Bullish engulfing / piercing that appears in a short-term downtrend.
Cover Sell = Bearish engulfing (full-candle or body engulf / dark-cloud style) that appears in a short-term uptrend.
Signal logic
Bullish side
Body Engulf: current green body fully covers prior red body.
Piercing (relaxed): prior red → current green closes above prior body midpoint (≤ prior open).
Bearish side
Full Candle Engulf: current red candle (body+wicks) covers the entire prior candle.
Body Engulf: current red body covers prior body.
Dark Cloud (relaxed): prior green → current red closes below prior body midpoint.
Trend model (short-term, non-repainting)
EMA slope is measured between bar-1 and bar-2 and must exceed an ATR-scaled threshold:
Slope < 0 ⇒ downtrend (only Bull signals).
Slope > 0 ⇒ uptrend (only Bear signals).
Quality filters
Body filter: bodies must not be tiny. Compare each body to the average body over a lookback; for Bear signals an alternative check ensures current body ≥ a ratio of the prior body.
Peak filters (Bear only):
High must be far above EMA by a minimum fraction of ATR.
High must be near the local highest within a lookback (current or previous bar).
Close must break prior low by an ATR-scaled amount.
These remove premature “sell” flags in choppy ranges and keep the later, cleaner reversal.
Inputs to tune
lenTrend, slopeAtrPct, atrLen (trend strength)
lenBodyRef, minBodyPct, bearRatioMin (body size)
emaDistAtrMin, nearHighLen, nearHighTol, breakAtrMin (bearish peak confirmation)
Usage tips
To reduce early Cover Sell, raise emaDistAtrMin / nearHighLen / breakAtrMin.
If you miss good tops, nudge those down slightly.
Works on any symbol/TF; signals are evaluated on bar close; no repaint.
Includes alert conditions for both sides.
This is a screening tool, not financial advice. Combine with structure/levels and your risk plan.
Session First 15-Min High/LowHere's a professional description for your 15-minute indicator:
Session First 15-Min High/Low Marker
This indicator automatically identifies and marks the high and low price levels established during the first 15 minutes of major trading sessions, providing traders with broader opening range support and resistance zones for intraday analysis.
Key Features:
Tracks three major trading sessions in IST (Indian Standard Time):
Asian Session: 5:30 AM - 5:45 AM
London Session: 12:30 PM - 12:45 PM
New York Session: 5:30 PM - 5:45 PM
Draws horizontal lines at the highest and lowest prices reached during each session's opening 15-minute window
Color-coded for easy identification (Green for Asian, Blue for London, Red for New York)
Lines extend across the chart to help track price reactions throughout the day
Clean, minimal design with optional labels
Best Used For:
Identifying stronger intraday support and resistance levels with a wider opening range
Session breakout and reversal trading strategies
Understanding institutional order flow during market opens
Works on 1-minute timeframe for precise tracking (15 candles) or 5-minute timeframe (3 candles)
Why 15 Minutes vs 5 Minutes? The 15-minute opening range captures more price action and market participation, often providing more reliable support/resistance levels than the narrower 5-minute range. This makes it ideal for swing traders and those looking for higher-probability trade setups.
Customizable Settings:
Toggle line extensions on/off
Adjust line width (1-2)
Change colors for each session
Show/hide session labels
Perfect for day traders and position traders who want to identify high-probability support/resistance zones established during the critical opening 15 minutes of major trading sessions when liquidity and volatility are highest.
This description highlights the difference between the 5-minute and 15-minute versions and explains the practical benefits of the wider range.
Session First 5-Min High/LowHere's a professional description for your indicator:
Session First 5-Min High/Low Marker
This indicator automatically identifies and marks the high and low price levels established during the first 5 minutes of major trading sessions, helping traders identify key intraday support and resistance zones.
Key Features:
Tracks three major trading sessions in IST (Indian Standard Time):
Asian Session: 5:30 AM - 5:35 AM
London Session: 12:30 PM - 12:35 PM
New York Session: 5:30 PM - 5:35 PM
Draws horizontal lines at the highest and lowest prices reached during each session's opening 5-minute window
Color-coded for easy identification (Yellow for Asian, Blue for London, Red for New York)
Lines extend across the chart to help track price reactions throughout the day
Clean, minimal design with optional labels
Best Used For:
Identifying key intraday support and resistance levels
Session breakout trading strategies
Understanding institutional order flow at market opens
Works on 1-minute timeframe for precise tracking
Customizable Settings:
Toggle line extensions on/off
Adjust line width (1-5)
Change colors for each session
Show/hide session labels
Perfect for day traders and scalpers who trade around major session openings and want to identify high-probability support/resistance zones established during peak liquidity periods.
This description explains what the indicator does, its practical applications, and its key features in a way that's clear for TradingView users.RetryClaude can make mistakes. Please double-check responses.
GIFTY opening range breakoutHow to Use GIFTY Opening Range Breakout for NIFTY Trading:
This indicator marks the high and low of the first 3 hours (6:30 AM to 9:30 AM IST) of NIFTY trading. Once 9:30 AM hits, two horizontal lines extend until 3:30 PM showing the breakout levels.
Trading Guidelines:
Go LONG when price breaks above the green line (opening range high)
Go SHORT when price breaks below the red line (opening range low)
Or, play the reversal if the box is large
The shaded gray box shows the opening range period where you should wait and observe
Best used on 15-minute timeframe for NIFTY futures or options trading.
Futures Day Trading Key Levels by Dhawal Ranka
Hey everyone, thank you for using this script, let me know in the comments how you feel about it!
What this script does:
This indicator renders one consolidated map of intraday reference levels for futures (e.g., ES, NQ, GC, CL). It is session-aware and draws:
- Previous ETH day High/Low/Close
- Previous RTH High/Low/Close (built from your RTH session)
- Today’s developing RTH High/Low and Mid
- Overnight (ON) session High/Low
- Opening Range (first N minutes of RTH): OR High/Low
- VWAP (day-anchored) with optional ±σ bands
- Floor Pivots (PP/R1/S1/R2/S2) from prior ETH daily bar
- ADR projections (Up/Down) using a configurable lookback and anchor
- Settlement: prior official settlement and today’s projected settle (with manual override)
- Weekly/Monthly context: prior W/M High/Low/Close and current W/M Open
- Minimal right-edge text tags (instead of big boxes) that sit on the price scale line and auto-pack when levels coincide
All lines extend across the chart to make confluence obvious without clutter.
How it works (methods & calculations)
Sessions
The script exposes two user sessions and a time zone:
RTH (e.g., 09:30–16:00 America/New_York)
ON (e.g., 18:00–09:29 America/New_York)
Session membership is computed with time(timeframe, session, tz) != 0.
RTH H/L/C (prev) are aggregated intrabar: on RTH start we seed H/L; while inRTH we update; on RTH end we store the close.
Previous Day (ETH) levels
request.security(syminfo.tickerid, "D", high /low /close ) supplies PDH/PDL/PDC on the continuous ETH daily.
Opening Range
On RTH start we mark orStartTime.
While RTH is active and elapsed time < N minutes, we track the running high/low.
When elapsed ≥ N minutes, we freeze OR High/Low.
VWAP & ±σ bands (intraday)
Day-anchored VWAP uses ta.vwap(hlc3).
Bands: standard deviation of (close − vwap) from day start, accumulated inline:
stdev = sqrt( mean(dev^2) − mean(dev)^2 )
Bands = vwap ± k * stdev (user multiplier).
Floor Pivots (classic)
Using prior ETH daily H/L/C:
PP = (H + L + C) / 3
R1 = 2*PP − L, S1 = 2*PP − H
R2 = PP + (H − L), S2 = PP − (H − L).
ADR projections
Daily range series rng = request.security(..., "D", high - low).
ADR = SMA(rng, L) (default L=14).
Anchor is user-selectable: today’s open or yesterday’s close.
Projections: ADR Up = anchor + ADR/2, ADR Down = anchor − ADR/2.
Settlement
Prev Settle defaults to prior ETH daily close but can be overridden manually for markets where official settlement differs from feed close.
Today Projected Settle uses the current ETH daily close value.
Weekly / Monthly context
Prior W/M H/L/C from "W"/"M" with , plus current W/M Open.
Rendering & label logic (originality)
Lines are persistent: each named level owns one line object that is updated, not re-created—keeps resource use low and avoids “too many plots”.
Right-edge labels are text-only (no box) placed at x = bar_index + offset and yloc.price.
When multiple levels share (almost) the same price, labels are packed side-by-side using a small bucketing algorithm:
Prices are bucketed within ±½ tick.
Each label gets a position index inside its bucket; the final x-offset = baseOffset + index*step + priority.
Priorities nudge important tags (e.g., Settle/RTH levels) closer to the price scale so they remain readable.
Why this is published & what’s original
It’s not a simple mashup: the script’s utility is the session-aware aggregation, the OR timing logic, the intraday σ calculation around VWAP, the line-persistence manager, and the label packing with priorities that keeps the right edge readable even when many levels coincide.
The closed-source protection covers the packing/priority scheme and the persistent object management that make it practical on busy futures charts without hitting Pine limits.
How to use
Set your sessions & time zone
Choose RTH/ON session windows (the defaults match CME equity index futures) and the time zone of your charting workflow.
Toggle components
Enable only the layers you need (e.g., VWAP bands off if you want a cleaner chart).
Opening Range length (minutes) is adjustable.
Settlement
If your broker/feed’s daily close isn’t the official settlement, enter a manual settle value for the prior day.
Read the right edge
Labels sit on the price scale line. When two labels share the same price, they appear side-by-side rather than overlapping.
Timeframes & symbols
Designed for intraday futures on 1–30m. Works on other symbols/timeframes but intent is day trading.
Inputs (summary)
Sessions/TZ: RTH window, ON window, time zone
Today: RTH H/L/Mid, ON H/L, OR (minutes)
VWAP: on/off, ±σ bands, multiplier
Pivots: PP/R1/S1/R2/S2 (ETH)
ADR: lookback, anchor (open vs. prev close)
Settlement: show prev/proj, manual override
Weekly/Monthly: prior H/L/C + current open
Style: line transparency; right-edge tag size, base offset, and step; optional inline labels
Limitations & notes
“Prev Settle” equals the prior daily close unless overridden.
Session definitions matter: if your exchange hours differ, set your own RTH/ON windows.
No alerts are included to minimize plot count and keep performance high (you can add alert conditions on any level in a private copy).
Disclaimer
For educational purposes only; not financial advice. Futures trading involves significant risk.
Versioning
This script will be maintained under a single publication using Update (no minor forks). Major changes will be documented in the Change Log section of the script description.
CRT [TakingProphets] CRT
**Important:** This is **not financial advice** and **does not generate buy/sell signals**. It is an **informational overlay** with **alerts** to streamline ICT-style analysis. Use it to organize context, not to automate trading decisions.
---
Overview
**CRT (Candle Range Theory)** is an ICT-inspired tool that lets you:
- **Project higher-timeframe (HTF) candles** (1m → 1M) onto any lower-timeframe chart.
- **Detect Candle Range Theory (CRT) transitions** in real time (bullish/bearish).
- **Identify SMT (Smart Money) divergences** against a correlated instrument (e.g., NQ↔ES).
- **Project the live Open/High/Low/Close** of the current HTF candle as intrabar reference levels.
It consolidates HTF bias, CRT structure, and SMT divergence into a single, configurable overlay—useful mainly for **alerts** and **workflow prompts**.
---
Concepts (What It Is Looking For)
Candle Range Theory (CRT)
A 3-candle, higher-timeframe pattern suggesting a failed continuation:
- **Bearish CRT:** Candle 2 attempts higher but fails—**higher high, lower close** inside Candle 1’s range.
- **Bullish CRT:** Candle 2 attempts lower but fails—**lower low, higher close** inside Candle 1’s range.
**Operational definitions used in the script (HTF candles):**
- **Bearish CRT:**
`htf_h1 > htf_h2` (Candle 2 pushes above Candle 1 high) **AND**
`htf_c1 < htf_h2` (Candle 2 closes back inside Candle 1 range) **AND**
`htf_l1 > htf_l2` (Candle 2 does not break below Candle 1 low)
- **Bullish CRT:**
`htf_l1 < htf_l2` (Candle 2 pushes below Candle 1 low) **AND**
`htf_c1 > htf_l2` (Candle 2 closes back inside Candle 1 range) **AND**
`htf_h1 < htf_h2` (Candle 2 does not break above Candle 1 high)
*(Subscripts 0/1/2 refer to current / previous / two-bars-ago HTF candles.)*
SMT (Smart Money) Divergence
Compares your chart’s HTF swing progression to a **correlated** symbol (default `CME_MINI:ES1!`):
- **Bearish SMT:** One makes a **higher high** while the other **doesn’t** (or makes a lower high).
- **Bullish SMT:** One makes a **lower low** while the other **doesn’t** (or makes a higher low).
**Definitions used:**
- **Historical SMT (between HTF and HTF ):**
Bearish: `(htf_h1 > htf_h2) != (corr_htf_h1 > corr_htf_h2)`
Bullish: `(htf_l1 < htf_l2) != (corr_htf_l1 < corr_htf_l2)`
- **Real-time SMT (between HTF and HTF ):**
Bearish: `(htf_h0 > htf_h1) != (corr_htf_h0 > corr_htf_h1)`
Bullish: `(htf_l0 < htf_l1) != (corr_htf_l0 < corr_htf_l1)`
---
How It Works (How It Does It)
1) HTF Candle Projection Engine
- Uses `request.security()` to fetch **HTF OHLC/time** for the last **three** HTF candles.
- Renders each HTF candle as a **body box** + **upper/lower wicks**, **offset** to the right for clarity.
- **Time labels** auto-format: `HH:MM` for intraday, `MM/DD` for D/W/M.
- **Style controls:** width, transparency, colors, borders, wick color, label size.
2) CRT Detection & Labeling
- Evaluates the above 3-bar **HTF CRT conditions** each bar.
- If met, prints a **“BULLISH CRT”** or **“BEARISH CRT”** label centered under/over the HTF stack with your chosen color/size.
3) SMT Detection (Historical & Real-Time)
- Pulls the **correlated instrument’s** HTF highs/lows (same HTF).
- **Historical SMT**: evaluates HTF → HTF progression and draws a diagonal labeled line **between those two candles**:
- “**BEARISH SMT**” across highs, or “**BULLISH SMT**” across lows.
- **Real-time SMT**: evaluates HTF → HTF as the current HTF candle is **forming**, draws a labeled line across the latest pair.
- Optional **labels** (“BULLISH/BEARISH SMT”) positioned just beyond the line for visual clarity.
4) Live OHLC Projections (Current HTF Candle)
- Projects the current HTF **Open/High/Low/Close** as **horizontal lines** into the right-hand future.
- **Start anchors:**
- **Open:** first bar of the current HTF period.
- **High / Low:** earliest bar where **current HTF high/low** first printed.
- **Close:** current bar.
- Each level can show a **price label**; **style/width** are user-configurable.
---
Inputs & Customization (How To Use It)
Timeframe Settings
- **Timeframe (HTF):** pick any from **1m → 1M**. The script will fetch that HTF and draw its last **3 candles**.
Display Settings
- **Horizontal Offset:** space to the right of live bars for the HTF stack.
- **Candle Width / Transparency / Borders / Wicks / Label Size**.
- **Time Label On/Off** and **12h/24h** clock.
Visual Settings
- **Bullish/Bearish Colors**, **Border/Wick Colors**.
SMT Settings
- **Enable SMT**, **Correlated Symbol**, **Line Style/Width/Color**, **Show Labels**.
- **Enable SMT Alerts** for both historical and **real-time** divergence.
Projection Settings
- **Enable Projections**, **Left Extension (bars)**, **Line Style/Width**, **Show Price Labels**, per-level colors (**Open/High/Low/Close**).
---
Alerts (Primary Utility)
> **Intended use:** alerts as **workflow prompts**. They highlight context changes (CRT/SMT) you may want to inspect—**not** entries or signals.
Built-in alertconditions:
- **Bullish CRT / Bearish CRT** — detected on your chosen HTF.
- **Bullish SMT / Bearish SMT** — historical (HTF →HTF ).
- **Bullish Real-time SMT / Bearish Real-time SMT** — forming (HTF →HTF ).
**Suggested alert messages** (examples):
- “CRT: **Bullish CRT** confirmed on {{ticker}} / {{timeframe}}”
- “CRT: **Bearish SMT** (historical) detected on {{ticker}} / {{timeframe}}”
- “CRT: **Bullish SMT** (real-time) forming on {{ticker}} / {{timeframe}}”
---
Practical Workflow
1. **Pick your HTF** (e.g., 4H on a 5m execution chart).
2. **Enable CRT & SMT alerts.**
3. When an alert fires:
- **CRT** → potential **failed continuation** on HTF (bias context).
- **SMT** → **intermarket divergence** confirming/invalidating CRT context.
4. **Use live HTF OHLC lines** for bias/levels (support/resistance/targets).
5. Make decisions within your **own model & risk plan**. This overlay is **context only**.
---
Originality & Closed-Source Justification
- Integrated **multi-module HTF engine** (3-bar rendering with precise time/offset),
- **Formal CRT test** implemented on **fetched HTF candles** (not LTF approximations),
- Dual-mode **SMT (historical + real-time)** with drawn, labeled lines tied to exact HTF pairs,
- **Deterministic OHLC projection** logic (first/earliest occurrence anchoring for O/H/L + current close),
- A cohesive **alert framework** centered on CRT + SMT + projections for **workflow discipline**—no signals or automation.
---
Notes & Limitations
- HTF values are **intrabar** until the HTF candle closes; labels/lines can update as new data arrives.
- Divergence depends on your **correlated symbol** choice (relationships differ by market/regime).
- Weekends/illiquid sessions can distort extremes and time labels.
- **Educational tool only.** Not investment advice. No performance claims. Always combine with your narrative/risk management.
---
**License/Attribution:** ICT-inspired concepts (Candle Range Theory, intermarket SMT). Implementation and alert framework by **TakingProphets**.
Prophet Model [TakingProphets]The Prophet Model
**OVERVIEW**
Prophet Model is a **workflow assistant** for traders who practice ICT-style analysis. It does not issue buy/sell signals. Instead, it **discovers and organizes institutional context** in real time:
- Projects **HTF PD Arrays (FVGs)** onto your current chart.
- Validates **directional bias** using **Candle Range Theory (CRT)**.
- Detects **Liquidity Sweeps** (BSL/SSL).
- Confirms **Change in State of Delivery (CISD)** after a sweep.
- Refines entries with **EPE (Easiest Point of Entry)** if an internal imbalance appears.
- Generates **dynamic risk levels** (**TP/BE/SL**) from structural displacement rather than fixed distances.
- Keeps a **checklist** (PDA tap, CRT, Sweep, CISD) so you gate execution with rules.
This publication is **closed-source / invite-only** due to the integrated architecture (multi-module detection engine), nearest-PDA persistence logic, sweep→CISD sequencing, EPE refinement, dynamic risk math, and tables that maintain a consistent execution discipline.
---
**ARCHITECTURE AT A GLANCE**
- **Data sources**
- The script maps your current timeframe to a **higher timeframe** (HTF). Examples:
- 15S → M5, M1 → M15, M5 → H1, M15 → H4, H1 → D, H4 → W, D → M.
- HTF **O/H/L/C/time** are fetched using `request.security()` (with gaps handling).
- A **live HTF close** stream is kept (no lookahead), so structures update until the HTF candle closes.
- **Core modules**
- **HTF PD Arrays (FVGs)**: formation, visibility management, inverse-mitigation cleanup, nearest-PDA persistence.
- **CRT**: bias validation from a two-candle HTF pattern (bullish/bearish formulations).
- **Liquidity Sweeps**: BSL/SSL pivot tracking on HTF-derived levels.
- **CISD**: displacement confirmation through the **sequence open** following a sweep.
- **EPE**: optional refinement if an **internal FVG** forms right after CISD.
- **Dynamic TP/BE/SL**: derived from **measured swing** (not fixed pips).
- **Tables/Checklist**: execution discipline and TF relationship guidance.
---
**WHAT EACH MODULE DOES (WITH RULES AND EDGE CASES)**
- **HTF PD Arrays (FVGs)**
- **Bearish FVG condition (HTF):** `low > high ` (skips weekend gaps and micro gaps).
- **Bullish FVG condition (HTF):** `high < low ` (same filters).
- **Weekend-gap and tiny-gap filters:** prevent false PD arrays.
- **Inverse mitigation:** if price **invalidates** the box (e.g., trades clean through), the box is removed and the internal state resets (waiting flags for displacement cleared).
- **Nearest-PDA persistence:** when multiple FVGs exist, the script **keeps only the closest** to promote focus and reduce clutter.
- **Right extension:** each FVG box optionally **extends** X bars forward (input) to visualize lingering influence.
- **CRT (Candle Range Theory)**
- **Bullish CRT (HTF):**
- Candle2 **wicks below** Candle1 Low,
- Candle2 **closes back inside** Candle1 range, **below** Candle1 High,
- Candle2 **does not take** Candle1 High.
- **Bearish CRT (HTF):**
- Candle2 **wicks above** Candle1 High,
- Candle2 **closes back inside** Candle1 range, **above** Candle1 Low,
- Candle2 **does not take** Candle1 Low.
- **Role:** sets **directional conviction** and is paired to CISD when alignments match.
- **Liquidity Sweeps (BSL/SSL)**
- Tracks candidate **pivot highs/lows** as buy-side / sell-side liquidity.
- A **sweep** registers when price **takes** a tracked pivot.
- **Sweep + interaction with active HTF FVG** → **arm CISD watch** (we require context + response).
- **CISD (Change in State of Delivery)**
- **Sequence-finding:** locate the **open** of the impulsive leg (a run of same-color candles) starting at or right after the sweep.
- **Displacement confirmation:**
- After BSL sweep (seeking bearish shift): **close < sequence-open**.
- After SSL sweep (seeking bullish shift): **close > sequence-open**.
- On confirmation, the model **plots a CISD line**, marks **CISD present** on the checklist, and queues **dynamic risk** computation.
- **EPE (Easiest Point of Entry)**
- Immediately following CISD, scan **subsequent bars** for an **internal imbalance** (mini-FVG).
- If found, **move entry** from CISD level to the refined **EPE** level and **relabel** accordingly.
- EPE is optional; if none exists, CISD level remains as the default reference.
- **Dynamic Risk (TP / BE / SL)**
- Uses the **measured displacement** from swing extremes surrounding CISD:
- Example implementation in this build:
- `TP = swingStart − swingStop` **scaled** and **added/subtracted** based on side (≈2.25× stretch).
- `BE = swingStart − swingStop` (≈1× stretch).
- `SL` is aligned to **recent extremes** (contextual, not a fixed offset).
- These lines are **labeled** and can optionally **show price**; they can be shifted to follow real time.
- **Tables & Checklist**
- **Checklist** marks when each of the following is satisfied:
- **HTF PDA Tap**, **CRT**, **Liquidity Sweep**, **CISD**.
- **Flow State Relationships** table lists common **HTF PDA ↔ CISD** pairs (e.g., Weekly PDA ↔ H4 CISD).
- Both tables reinforce a **rules-first, confirmation-later** mindset.
---
**DETAILED LOGIC FLOW (SEQUENCE DIAGRAM STYLE)**
1) **Map TF → HTF** → fetch rolling HTF O/H/L/C/time + live HTF close.
2) **Detect new HTF candle** → re-run PD array, CRT, and cleanup steps.
3) **Create/extend FVGs** if valid; **remove** inverse-mitigated FVGs; keep **nearest** only.
4) **Check sweeps**: when a BSL/SSL pivot is taken, verify that price **engages the current HTF PDA**.
5) If engaged, **arm CISD** and start watching for **displacement through the sequence open**.
6) On displacement, **confirm CISD** → draw CISD level, compute **TP/BE/SL**.
7) Within the follow-up window, **scan for internal FVG** → if found, **promote EPE** (entry refinement).
8) **Checklist** updates; **Relationship table** highlights current TF pair.
9) **Cleanup**: old lines/labels/boxes are periodically removed to keep charts light and relevant.
---
**WHY THIS IS ORIGINAL**
- **Integrated engine**: HTF PDA maintenance + CRT gating + liquidity sweep → CISD confirmation → EPE refinement → **dynamic risk** (TP/BE/SL) across one coherent pipeline.
- **Nearest-FVG persistence** and **inverse-mitigation** rules focus the analyst on **the** active institutional area rather than crowding the chart.
- **Displacement-based risk math** avoids one-size-fits-all pip distances.
- **Execution discipline features** (checklist + relationships table) are designed to reduce discretionary errors and curb overtrading.
---
**INPUTS (FULL OVERVIEW)**
- **General**
- Extend HTF FVGs by X bars (right extension of boxes)
- **Fair Value Gaps**
- Show/Hide FVGs, optional borders
- Bullish/Bearish colors, label color, label size
- **CISD**
- Show/Hide CISD lines
- Line color, label color, label size
- **EPE**
- Show/Hide EPE lines
- Line color, label color, label size
- **Limits (TP/BE/SL)**
- Show/Hide each level independently
- Show prices on labels (on/off)
- TP/BE/SL colors
- **Info Box & Tables**
- Show info box (title, symbol, date) + text color
- Show Relationship table (TF pairing guidance)
- Show Strategy Checklist (PDA Tap, CRT, Sweep, CISD)
- Table text size and header colors
---
**HOW TO USE (PRACTICAL PLAYBOOK)**
- **Setup**
- Keep your normal trading timeframe; add the indicator.
- Let the tool auto-map HTF and draw **current PD arrays**.
- **Checklist sequence**
- Wait for **HTF PDA** engagement (tap/mitigation).
- Confirm **CRT** in the direction of interest.
- Observe a **Liquidity Sweep** (BSL for potential shorts, SSL for potential longs).
- Seek **CISD confirmation** through the **sequence open**.
- **Entry refinement**
- If CISD prints, look for **internal FVG** shortly after; if present, the model **promotes EPE** as a refined entry.
- If no internal FVG forms, CISD line remains the primary reference.
- **Risk planning**
- Use **dynamic TP/BE/SL** lines (derived from the displacement leg).
- You can toggle price labels and line colors to match your workspace.
- **Context management**
- Use the **Relationships** table to align typical PDA↔CISD pairs (e.g., Weekly PDA driving H4 CISD).
- Review **only the nearest FVG**—the model hides the rest to reduce noise.
---
**REPAINTING, TIMING, AND LIMITATIONS**
- `request.security()` is used **without lookahead**; HTF data **updates intrabar** until the HTF bar closes.
- **CISD/EPE** are **live**: conditions can **form and then invalidate** before the HTF bar close.
- Conservative users may choose to **act only on close** of the HTF bar that confirms CISD.
- **Weekend gaps / tiny gaps** are filtered; extremely thin sessions can reduce clarity.
- **Dynamic risk** references structural swings; it is **not** a guarantee or an optimized money-management model.
- This tool is **analytical** and **educational**. No performance claims.
---
**ALERTS**
*(This build focuses on drawings/tables. You can add alertconditions aligned with these events in your private version.)*
- **CISD Confirmed (Bullish / Bearish)**
- **EPE Set / Updated**
- **HTF PDA Tap (Bullish / Bearish box)**
- **CRT Detected (Bullish / Bearish)**
**Example alert text**
- “Prophet: CISD+ confirmed on {{ticker}} / {{interval}}”
- “Prophet: EPE refined (bullish) at {{close}} on {{time}}”
---
**NOTES & ATTRIBUTION**
- Aligned with **ICT concepts**: PD arrays (FVGs), CRT, liquidity sweeps, displacement/CISD, refined entries.
- **Closed-source & invite-only** due to the original **end-to-end architecture** and maintenance value.
- **Educational use only. Not financial advice.**
HTF Candles [TakingProphets]HTF Candles — Higher-Timeframe Structure, SMT Divergence, and Live OHLC Projections
**OVERVIEW**
HTF Candles projects higher-timeframe (HTF) structure directly onto your lower-timeframe chart, so you can align intraday decisions with institutional context. It combines three tools in one overlay:
- HTF candle visualization (up to 10 candles, offset to the right for clarity)
- Real-time and historical SMT divergence detection vs. a correlated asset (default: `CME_MINI:ES1!`)
- Live projections of the current HTF candle’s Open, High, Low, and Close
This is not a signal generator. It is an informational framework that consolidates HTF context into your workflow.
---
**WHAT IT DOES**
- Plot up to 10 HTF candles
- Draws HTF bodies and wicks on your LTF chart
- Offsets to the right to avoid cluttering price action
- HTF close timer
- Optional countdown showing when the active HTF candle will close
- SMT divergence detection
- Compares your chart vs. a correlated asset on the chosen HTF
- Detects and labels potential bearish (high-side) and bullish (low-side) SMTs
- Supports historical SMTs and developing real-time SMTs
- HTF OHLC projections
- Projects current HTF Open, High, Low, Close forward in real time
- Optional price labels and per-line styling for precision S/R reference
---
**HOW IT WORKS (TECHNICAL OUTLINE)**
- Timeframe mapping
- User selects a display TF (1m to 1M). Internally it maps to `request.security()` for O/H/L/C/time arrays.
- Up to `MAX_CANDLES = 10` are fetched and managed with arrays.
- Candle rendering
- For each HTF candle, the script computes a right-hand x-position using a user-set offset and spacing.
- Bodies are drawn with a box handle; wicks are drawn with lines.
- Colors, transparency, width, and borders are user-configurable.
- Smart time labeling
- Intraday frames display HH:MM (12h or 24h format).
- Daily+ frames display date labels.
- Label size is configurable.
- SMT divergence logic
- Uses HTF highs/lows of your chart and the correlated asset from `request.security()` at the same HTF.
- Historical SMT: compares the prior two completed HTF candles (indexes 2→1).
- Real-time SMT: compares the last completed candle and the developing candle (indexes 1→0).
- Bearish SMT (high-side): one makes a higher high vs. its previous high while the other does not.
- Bullish SMT (low-side): one makes a lower low vs. its previous low while the other does not.
- Lines and labels update as conditions form; optional labels can be toggled.
- OHLC projection engine
- Draws forward lines for current HTF Open, High, Low, Close.
- Start points are derived from the first occurrence of each level inside the current HTF period (or from the period start for Open/Close).
- Each projection has independent color, style, width, and optional price label.
- Alerts
- Four alert conditions: Bullish SMT, Bearish SMT, Bullish Real-time SMT, Bearish Real-time SMT.
- Fire on the bar where the condition first becomes true (edge detection).
---
**WHY IT’S ORIGINAL (INVITE-ONLY JUSTIFICATION)**
- Unified HTF overlay that merges candle rendering, real-time SMT detection, and dynamic OHLC projections into a single chart object.
- Historical and developing SMT logic implemented on true HTF series via arrayed `request.security()`
- Projection engine back-traces level origin inside the current HTF period and extends forward with optional labels for precise, persistent references.
- Immediate visual customization (colors, widths, transparency, offsets, label sizes) without redrawing the entire layout.
---
**HOW TO USE**
- Add the indicator to any instrument (e.g., NQ, ES).
- Choose the HTF you want to project (1m to 1M).
- Set how many HTF candles to show and adjust horizontal offset, spacing, candle width, and transparency.
- Optionally enable time labels and select 12h or 24h format.
- For SMT, enable the feature, choose a correlated asset (default: `CME_MINI:ES1!`), and pick line style/width/color.
- Enable OHLC projections and customize which lines to show and how they appear.
- Create alerts for any SMT condition you want to track.
- Use the overlay as HTF context only; combine with your own narrative and risk rules.
---
**INPUTS OVERVIEW**
- Timeframe Settings
- HTF selection (1m to 1M)
- Display Settings
- Number of candles (1–10), horizontal offset, candle width, transparency
- Time labels on/off, 12h/24h, label size
- HTF close timer on/off
- Visual Settings
- Bullish/bearish body colors, border color, wick color
- SMT Settings
- Enable SMT, correlated asset, line color/style/width, labels on/off
- SMT alerts on/off
- Projection Settings
- Enable projections, per-level toggles (Open, High, Low, Close)
- Colors, line style, width,
MultiStochasticThis script shows when 4 Stochastic %D values (9, 14, 30, and 60) are below 20 or above 80.
SSMT [TakingProphets]SSMT (Sequential SMT) — Multi-Cycle Intermarket Divergence with Quarterly Theory Timing
**OVERVIEW**
SSMT detects intermarket divergences (SMT) between your chart’s instrument and a correlated symbol (default: `CME_MINI:ES1!`). It compares current vs. previous highs/lows inside time-based “quarters” and plots lines + labels when the instruments disagree. The same logic runs across five cycles:
- Micro (granular intraday windows)
- 90-Minute (Asia, London, NY AM, NY PM)
- Daily (Q1…Q4)
- Weekly (calendar week)
- Monthly (calendar month)
Lines and labels persist beyond the period that created them so you can use historical SMTs for confluence.
---
**HOW IT WORKS**
- Time Partitioning (America/New_York)
- Daily quarters
- Q1 = 18:00–00:00
- Q2 = 00:00–06:00
- Q3 = 06:00–12:00
- Q4 = 12:00–18:00
- 90-Minute quarters: four 90m blocks inside each session
- Micro quarters: finer 20–22 minute blocks within each session
- Weekly/Monthly: tracked by calendar (Mon–Fri and 1st–4th full weeks)
- CME daily pause guard: 17:00–18:00 ET (prevents false transitions)
- High/Low State Tracking (per cycle)
- Tracks previous and current highs/lows
- Mirrors tracking for the correlated symbol using `request.security()`
- Divergence Condition (SMT)
- High-side: one instrument makes a higher high while the other does not → bearish divergence
- Low-side: one instrument makes a lower low while the other does not → bullish divergence
- Plots anchored lines + labels (e.g., `SSMT w/ES`)
- Persistence & Styling
- SMT drawings remain on chart after period ends
- Style inputs apply to historical drawings
- Weekly & Monthly Specifics
- Weekly IDs: `(year * 100 + weekofyear)`
- Monthly IDs: `(year * 12 + month)`
- Handles partial weeks & month transitions
- Alerts
- Two per cycle (High-side & Low-side)
- Fire on the bar where divergence first forms
---
**WHY IT’S ORIGINAL (INVITE-ONLY JUSTIFICATION)**
- Multi-cycle SMT engine (Micro, 90m, Daily, Weekly, Monthly)
- Quarter-aware persistence for SMT drawings
- CME pause handling and stable calendar IDs
- ICT-aligned timing for precise liquidity windows
- Not a wrapper of standard indicators; built on extremum sequencing and cross-instrument comparison
-There is nothing else like this on tradingview
---
**HOW TO USE**
- Add indicator to chart (e.g., NQ, ES,)
- Select a correlated symbol (default: `CME_MINI:ES1!`)
- Enable desired cycles
- Optional: enable quarter/session boxes for context
- Interpret SMTs:
- High-side (bearish): your chart makes HH while correlated does not
- Low-side (bullish): your chart makes LL while correlated does not
- Set alerts for SMT divergences
- Combine with your own HTF narrative
---
**INPUTS AND CUSTOMIZATION**
- Correlated Symbol
- Toggle cycles (Micro, 90m, Daily, Weekly, Monthly)
- Line/label styling (color, width, size, text)
- Session/quarter box toggles
- Alerts for divergence events
---
**REPAINTING & LIMITATIONS**
- No look-ahead (`request.security()` with `lookahead_off`)
- Intra-bar updates can form/resolve SMTs before close
- New York session timing assumed; thin markets may reduce signals
- Divergence quality depends on chosen benchmark
---
**ATTRIBUTION & NOTES**
- Inspired by ICT SMT + Quarterly Theory
- Closed-source & invite-only due to multi-cycle architecture, persistence engine, and calendar handling
- For educational use only. Not financial advice.
---
**RELEASE NOTES (v1.7)**
- Added Weekly & Monthly SMT cycles
- Added High/Low alerts per cycle
- Labels now include cycle ID (` `, ` `, ` `, ` `, ` `)
- Style changes propagate to historical drawings
- Fixed quarter transition & CME pause edge cases
1.493 Ratio Gold FlowThis script does the following:
Calculates gold’s movement based on a 1.493 ratio.
Creates an internal indicator called Ratio Flow that measures the relationship between price and that ratio.
Generates buy and sell signals whenever the price crosses its moving average based on this ratio.
You can also use alerts to get notified instantly when a signal appears.
Sniper Trade Fx Heat Map📊 Sniper Trade Fx Heat Map (v6)
The Sniper Trade Fx Heat Map is a custom oscillator built from a stack of 28 stochastic oscillators, arranged horizontally and vertically, creating a layered “heat map” view of market momentum.
Lower rows = short-term stochastics (faster, sensitive to quick moves).
Upper rows = long-term stochastics (slower, capture major swings).
Each stochastic value is interpreted and color-coded depending on strength.
The average of all 28 stochastics is calculated → this creates the Fast line.
The Fast line is then smoothed to create a Slow line for confirmation.
Optionally, the candle bars are colored to reflect the oscillator state.
This setup gives a multi-timeframe momentum map, showing when the market is overbought, oversold, or neutral at a glance.
🎨 Color Logic by Theme
🔹 Theme 1 (Classic)
High stochastic values (50–100) = Shades of Green → Overbought / bullish momentum.
Low stochastic values (0–50) = Shades of Red → Oversold / bearish momentum.
👉 This is the most traditional color scheme: Green = Up, Red = Down.
🔹 Theme 2 (Aqua / Purple)
High stochastic values (50–100) = Shades of Aqua / Teal → Overbought / bullish momentum.
Low stochastic values (0–50) = Shades of Purple / Violet → Oversold / bearish momentum.
👉 Useful if you prefer cooler tones to distinguish trend phases.
🔹 Theme 3 (Heat Spectrum)
High stochastic values (50–100) = Red → Yellow → Green gradient → Overbought / bullish momentum.
Deep Red = extremely overbought.
Yellow = mid-high.
Green = topping but stabilizing.
Low stochastic values (0–50) = Blue → Cyan gradient → Oversold / bearish momentum.
Dark Blue = extremely oversold.
Lighter Cyan = recovering.
👉 This theme gives a heat map feel, with red showing extreme highs and blue showing extreme lows.
📈 Trading Directions
Look at the Heat Map Layers
If most rows are the same color (all green, all aqua, or all red/yellow depending on theme), momentum is strongly aligned.
If colors are mixed (checkerboard), market is choppy → avoid trades.
Use Fast/Slow Oscillator Crossovers
Bullish Signal (Buy): Fast crosses above Slow while the heat map is showing oversold colors (Red in Theme 1, Purple in Theme 2, Blue in Theme 3).
Bearish Signal (Sell): Fast crosses below Slow while the heat map is showing overbought colors (Green in Theme 1, Aqua in Theme 2, Red/Yellow in Theme 3).
Bar Coloring for Entries
When enabled, candles will automatically reflect the dominant heat map color.
Enter trades when candle colors confirm the Fast/Slow crossover direction.
✅ Summary Rule of Thumb:
Theme 1: Green = overbought, Red = oversold.
Theme 2: Aqua = overbought, Purple = oversold.
Theme 3: Red/Yellow/Green = overbought, Blue/Cyan = oversold.
Pro Technical Suite - Clean✅ EMA labels (right side)Shows "EMA 8", "EMA 20", etc.✅ VWAP labelShows "VWAP"✅ Fib labelsShows "Fib 0.236", "Fib 0.382", etc.✅ ATR Trail labelShows "ATR Trail"✅ Info panel (top-right)RSI, MACD, ATR, VWAP, Trend✅ RSI background tintGreen when >55, red when <45