Relative Valuation OscillatorThis is a Relative Valuation Oscillator (RVO) this is attempt of replication OTC Valuation - a sophisticated multi-asset comparison indicator designed to measure whether the current asset is overvalued or undervalued relative to up to three reference assets.
Overview
The RVO compares the current chart's asset against reference assets (default: 30-Year Treasury Bonds, Gold, and US Dollar Index) to determine relative strength and valuation extremes. It outputs normalized oscillator values ranging from -100 (undervalued) to +100 (overvalued).
Key Features
Multiple Calculation Methods
The indicator offers 5 different calculation approaches:
Simple Ratio - Normalized ratio deviation from average
Percentage Difference - Percentage change comparison
Ratio Z-Score - Standard deviation-based comparison
Rate of Change Comparison - Momentum differential analysis (default)
Normalized Ratio - Min-max normalized ratio
Configurable Reference Assets
Asset 1: Default ZB (30-Year Treasury Bond Futures) - tracks interest rate sensitivity
Asset 2: Default GC (Gold Futures) - tracks safe-haven and inflation dynamics
Asset 3: Default DXY (US Dollar Index) - tracks currency strength
Each asset can be enabled/disabled independently
Fully customizable symbols
Visual Components
Multiple oscillator lines - One for each active reference asset (color-coded)
Average line - Combined signal from all active assets
Overbought/Oversold zones - Configurable threshold levels (default: ±80)
Zero line - Neutral valuation reference
Background coloring - Visual zones for extreme conditions
Signal line - Optional smoothed average
Entry markers - Long/short signals at key reversals
Signal Generation
Crossover alerts - When crossing overbought/oversold levels
Entry signals - Reversals from extreme zones
Divergence detection - Bullish/bearish divergences between price and oscillator
Zero-line crosses - Trend strength changes
Customization Options
Lookback period (10-500): Controls statistical calculation window
Normalization period (50-1000): Determines scaling sensitivity
Smoothing toggle: Optional EMA/SMA smoothing with adjustable period
Visual customization: Colors, levels, and display options
Information Table
Real-time dashboard showing:
Average oscillator value
Current status (Overvalued/Undervalued/Neutral)
Current asset price
Individual values for each active reference asset
Use Cases
Mean reversion trading - Identify extreme relative valuations for reversal trades
Sector rotation - Compare assets within similar categories
Hedging strategies - Understand correlation dynamics
Multi-asset analysis - Simultaneously compare against bonds, commodities, and currencies
Divergence trading - Spot price/oscillator divergences
Trading Strategy Applications
Long signals: When oscillator crosses above oversold level (asset recovering from undervaluation)
Short signals: When oscillator crosses below overbought level (asset declining from overvaluation)
Confirmation: Use multiple reference assets for stronger signals
Risk management: Avoid trading when all assets show neutral readings
This indicator is particularly useful for traders who want to incorporate inter-market analysis and relative strength concepts into their trading decisions, especially in OTC (Over-The-Counter) and futures markets.
チャートパターン
COT Index Indicator 1) One‑liner
My version of the OTC COT Index indicator: a 0–120 oscillator built from CFTC COT data that shows where Commercial, Noncommercial, and Nonreportable net positions sit relative to recent extremes.
2) Short paragraph
This is my version of the OTC COT Index indicator. It converts CFTC Commitments of Traders (COT) net positions into a normalized 0–120 oscillator for each trader group—Commercials, Noncommercials, and Nonreportables—so you can quickly see when positioning is near recent highs or lows. Data comes from TradingView’s official COT library and supports both “Futures Only” and “Futures and Options” reports.
3) Compact bullets
What: My version of the OTC COT Index indicator
Why: Quickly spot when trader groups are near positioning extremes
Data: CFTC COT via TradingView/LibraryCOT/2; Futures Only or Futures & Options
How: Index = 120 × (Current − Min) ÷ (Max − Min) over a configurable lookback
Plots: Commercials (blue), Noncommercials (orange), Nonreportables (red)
Lines: Overbought, Midline, Oversold, optional 0/100, upper/lower bounds
Note: Values are relative to the chosen window; not trading advice
4) Publication‑ready (sections)
Overview
My version of the OTC COT Index indicator. It turns CFTC COT positioning into a 0–120 oscillator per trader group (Commercials, Noncommercials, Nonreportables) to highlight relative extremes.
Data source
CFTC Commitments of Traders via TradingView’s official library (TradingView/LibraryCOT/2).
Supports “Futures Only” and “Futures and Options.”
Method
Net positions = Longs − Shorts.
Index = 120 × (Current Net − Min(Net, Lookback)) ÷ (Max(Net, Lookback) − Min(Net, Lookback)).
Inputs
Weeks Look Back (normalization window)
Weeks Look Back for Historical Hi/Los (longer reference)
Report Type selection
Visuals
Three indexes by trader group, plus reference levels (OB/OS, Midline, optional 0/100).
Notes
Some symbols map to specific CFTC codes for reliability.
If no relevant COT data exists for the symbol, the script reports it clearly.
If you want this adapted to a specific platform’s character limits (e.g., TradingView’s publish dialog), tell me the target length and I’ll trim it to fit.
Bollinger Band Spread (Dunk)Bollinger Band Width measures the distance between the upper and lower Bollinger Bands. It reflects market volatility—wider bands mean higher volatility, narrower bands mean lower volatility.
When the width contracts to low levels, it can signal price consolidation and potential breakouts. When the width expands, it indicates active markets or strong trends.
Traders use it to spot volatility squeezes, confirm breakouts, and compare relative volatility across assets or timeframes.
SC_Reversal Confirmation 30 minutes by Claude (Version 1)📉 When to Use
Use this setup when the stock is in a downtrend and a bullish reversal is anticipated.
🔍 Recommended Usage This model is designed for pullback phases, where the asset is declining and a reversal is expected. It helps filter out weak signals and waits for technical confirmation before triggering an entry.
✅ Entry Signal Green triangles appear only when all reversal conditions are fully met. Entry may occur slightly after the bottom, but with a reduced likelihood of false signals.
📊 Suggested Settings Apply on a 30-minute chart using a 100-period Exponential Moving Average (EMA) based on close. Recommended for Cobalt Chart 0.
--------------------------------------------------------------------------------------
Dow Jones Trading System with PivotsThis TradingView indicator, tailored for the 30-minute Dow Jones (^DJI) chart, supports DIA options trading with a trend-following approach. It features a 30-period SMA (blue) and a 60-period SMA (red), with an optional 90-period SMA (orange) drawn from rauItrades' Dow SMA outfit. A bullish crossover (30 SMA > 60 SMA) displays a green "BUY" triangle below the bar for potential DIA longs, while a bearish crossunder (30 SMA < 60 SMA) shows a red "SELL" triangle above for shorts or exits. The background turns green (bullish) or red (bearish) to indicate trend bias. Pivot points highlight recent highs (orange circles) and lows (purple circles) for support/resistance, using a 5-bar lookback. Alerts notify for crossovers.
F & W SMC Alerthis script is a custom TradingView indicator designed to combine elements of a trend‑following VWAP approach (inspired by the “Fabio” strategy) with a smart‑money‑concepts framework (inspired by Waqar Asim). Here’s what it does:
* **Directional bias:** It calculates a 15‑minute VWAP and compares the current 15‑minute close to it. When price is above the 15‑minute VWAP, the script assumes a long bias; when below, a short bias. This reflects the trend‑following aspect of the Fabio strategy.
* **Liquidity sweeps:** Using recent pivot highs and lows on the current timeframe, it identifies when price takes out a recent high (for potential longs) or low (for potential shorts). This represents a “liquidity sweep” — a fake breakout that collects stops and signals a possible reversal or continuation.
* **Break of structure (BOS):** After a sweep, the script confirms that price is breaking away from the swept level (i.e., higher than recent highs for longs or lower than recent lows for shorts). This BOS confirmation helps avoid false signals.
* **Entry filters:** For a long setup, the bias must be long, there must be a liquidity sweep followed by a BOS, and price must reclaim the current‑timeframe VWAP. For a short setup, the opposite conditions apply (short bias, sweep + BOS to the downside, and price rejecting the VWAP).
* **Alerts and plot:** It provides two alert conditions (“Fabio‑Waqar Long Setup” and “Fabio‑Waqar Short Setup”) that you can attach to notifications. It also plots the intraday VWAP on your chart for visual reference.
In short, this script watches for a confluence of trend direction, liquidity sweeps, structural shifts, and VWAP reclaim/rejection, and then notifies you when those conditions align. You can use it as an alerting tool to identify high‑probability setups based on these combined strategies.
Fabio + Waqar SMC AlertThis script is a custom TradingView indicator designed to combine elements of a trend‑following VWAP approach (inspired by the “Fabio” strategy) with a smart‑money‑concepts framework (inspired by Waqar Asim). Here’s what it does:
* **Directional bias:** It calculates a 15‑minute VWAP and compares the current 15‑minute close to it. When price is above the 15‑minute VWAP, the script assumes a long bias; when below, a short bias. This reflects the trend‑following aspect of the Fabio strategy.
* **Liquidity sweeps:** Using recent pivot highs and lows on the current timeframe, it identifies when price takes out a recent high (for potential longs) or low (for potential shorts). This represents a “liquidity sweep” — a fake breakout that collects stops and signals a possible reversal or continuation.
* **Break of structure (BOS):** After a sweep, the script confirms that price is breaking away from the swept level (i.e., higher than recent highs for longs or lower than recent lows for shorts). This BOS confirmation helps avoid false signals.
* **Entry filters:** For a long setup, the bias must be long, there must be a liquidity sweep followed by a BOS, and price must reclaim the current‑timeframe VWAP. For a short setup, the opposite conditions apply (short bias, sweep + BOS to the downside, and price rejecting the VWAP).
* **Alerts and plot:** It provides two alert conditions (“Fabio‑Waqar Long Setup” and “Fabio‑Waqar Short Setup”) that you can attach to notifications. It also plots the intraday VWAP on your chart for visual reference.
In short, this script watches for a confluence of trend direction, liquidity sweeps, structural shifts, and VWAP reclaim/rejection, and then notifies you when those conditions align. You can use it as an alerting tool to identify high‑probability setups based on these combined strategies.
Custom MA & VWAP Crossover SignalsCrossover logic:
Buy = MA1 crosses above MA2.
Sell = MA1 crosses below MA2.
Labels show at the bar where crossover happens:
Green “Buy” label at bar high.
Red “Sell” label at bar low.
Empire OS Trading Fully Automated Prop Firm Ready💎 Prop-Firm-Ready Momentum System v3 — The Gold-Mine Algorithm 💎
Engineered for the same standards that top prop firms demand — minimal drawdown, consistent equity growth, and precision-based execution. This isn’t a basic indicator; it’s a refined momentum engine built for traders who scale capital and manage risk like professionals.
Performance Snapshot
• Profit Factor 2.26 • Win Rate 33 % • Max Drawdown 0.9 % • Total P/L + $447 • W/L Ratio 4.6 : 1
Stress-tested on Gold (XAUUSD) across live-market conditions, it stays composed under volatility and delivers structured, data-driven consistency.
⚡ See it. Test it. Scale it.
Built for prop-firm precision — from $10 K to $300 K and beyond.
EURUSD – pravděpodobnost dotyků LONDON range + body (UTC, H1)ukazuje statistiku kdy NY vybere London High ci Low. a ukazuje body na grafu
QQQ overlay over NQ/NDXThis enhanced version of the QQQ overlay script builds on the original by © PtGambler, adding smoothing via stepped ratios updated on candle close to eliminate oscillation, optimizing performance by reusing lines/labels, restricting visibility to relevant symbols (NDX, NQ1!, NAS100USD), and improving visuals with rounded levels, adjustable level counts (default 5 total), extended lines, and label styles matching "Key Levels" indicator for better readability (gray text, transparent background). Removed unnecessary table and floating labels for a cleaner chart. Thanks to © PtGambler for the foundational work!
BOX + 50% + 75% N CANDLES BACK (Freeze v2.7c)📦 BOX + 50% + 75% N CANDLES BACK (Freeze v2.7c)
Author: Eng. Vicente Budzinski
This indicator automatically draws a consolidation box based on the closing and opening prices of a specified number of bars behind the most recent one, helping traders visualize short-term balance zones and potential breakout areas.
🧭 Key Features
Dynamic Box Calculation:
The box is defined by the highest and lowest body prices (open/close) within a user-defined window of bars (Bars Back), extended into the future for projection.
Right-Side Filter (RightBar):
Allows you to ignore the most recent N bars (including the current one) when calculating the top and bottom, keeping the box anchored to slightly older structure and filtering out recent noise or spikes.
50% and 75% Levels:
Automatically plots 50% and 75% internal zones inside the consolidation box for refined reference levels.
Freeze Mode:
Lets you “lock in” the current box geometry, preventing it from being recalculated on new bars — perfect for marking static consolidation zones or backtesting breakouts.
Fully Customizable:
Choose to display internal guides, borders, labels, and extension distance into future bars.
⚙️ Typical Use Cases
Identifying price compression zones before breakouts.
Marking balance areas for pullback or breakout strategies.
Studying price behavior after consolidation (range expansion).
💡 Usage Tips
Increase Bars Back for broader consolidation zones.
Adjust RightBar to ignore the latest volatility or wick extensions.
Use Freeze to keep your box fixed for analysis or screenshots.
ASTER Key Levels & Alerts (Improved)TradingView Script Description
Title: ASTER Key Levels & Alerts (Improved)
Description:
Enhance your trading strategy with the "ASTER Key Levels & Alerts" indicator, designed for precision and decision-making on the Aster chart (e.g., ASTS). This Pine Script v6 tool overlays customizable key levels and zones to identify optimal entry, exit, and stop-loss points, complete with real-time alerts.Key Features:
Customizable Levels: Adjust add zones (Light & Main), breakout, stop, and take-profit (TP1-TP3
eFkolos Tech IndicatorMachine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend factor, this indicator:
Calculates multiple SuperTrends simultaneously (with factors from 1 to 5 by default, stepped at 0.5)
Tracks performance of each variant using exponential smoothing
Clusters them into 3 groups (Best/Average/Worst) using k-means algorithm
Adapts by selecting the average factor from your chosen cluster
Clever Technical Aspects
Performance Metric: Uses a smart approach where performance = EMA of (price_change × signal_direction), giving positive values when the SuperTrend correctly predicts direction.
K-means Implementation: Properly initializes centroids using quartiles and iterates until convergence - this is solid unsupervised learning.
Adaptive MA Layer: The perf_ama that adapts faster when the performance index is high (more confidence) and slower when low.
Memory Management: Uses UDTs (User Defined Types) efficiently with arrays to handle multiple SuperTrend instances.
eFkolos TechMachine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend factor, this indicator:
Calculates multiple SuperTrends simultaneously (with factors from 1 to 5 by default, stepped at 0.5)
Tracks performance of each variant using exponential smoothing
Clusters them into 3 groups (Best/Average/Worst) using k-means algorithm
Adapts by selecting the average factor from your chosen cluster
Clever Technical Aspects
Performance Metric: Uses a smart approach where performance = EMA of (price_change × signal_direction), giving positive values when the SuperTrend correctly predicts direction.
K-means Implementation: Properly initializes centroids using quartiles and iterates until convergence - this is solid unsupervised learning.
Adaptive MA Layer: The perf_ama that adapts faster when the performance index is high (more confidence) and slower when low.
Memory Management: Uses UDTs (User Defined Types) efficiently with arrays to handle multiple SuperTrend instances.
OG Signal Indicator - Single Line Plotshapethis signal help to identify strong buy and sell signal as price over bought and over sold. by sigma s lohar
Enhanced Price Direction Predictor📊 Core Mechanism: Rule-Based Scoring:
The indicator relies on a simplified scoring model where it checks for nine specific conditions on the bullish side and nine corresponding conditions on the bearish side.
Bullish/Bearish Score Calculation:The script initializes bullish_score and bearish_score to $0.0$.It then checks a predefined list of features (e.g., $5$-period Rate of Change, $5/20$ EMA crossover, RSI level, Order Flow direction) and adds a fixed point value (weight) to the appropriate score if the condition is met.
Overbought/Oversold Penalty:It includes a built-in risk-management element by applying a $-0.10$ penalty if the RSI is in extreme territory:RSI(14) $>$ 70 (Overbought) $\rightarrow$ Penalty to bullish_score.RSI(14) $<$ 30 (Oversold) $\rightarrow$ Penalty to bearish_score.
Probability Conversion:The probability_up is calculated by taking the ratio of the bullish_score to the total_score (sum of bullish and bearish scores):$$\text{Probability\_Up} = \frac{\text{Bullish\_Score}}{\text{Bullish\_Score} + \text{Bearish\_Score}}$ MIL:IF the total_score is zero (i.e., no strong conditions are met), the probability defaults to $0.5$ (neutral).
Advanced Order Blocks - Z-Score DetectionThis advanced Pine Script indicator identifies high-probability order blocks using statistical Z-score analysis combined with trend filtering.Key Features:
-Z-Score Detection: Identifies institutional order blocks by detecting abnormal price movements using statistical deviation analysis
-Smart Zone Mapping: Automatically draws and manages bullish/bearish order block zones with customizable colors and transparency
-EMA Trend Filter: 750-period EMA filter ensures signals align with the dominant trend (bullish signals above EMA, bearish below)
-Rejection Signals: Detects when price bounces off order block zones, indicating strong support/resistance
-Zone Management: Automatic zone extension, mitigation detection, and age-based expiration
-Overlap Prevention: Optional setting to avoid cluttered charts by preventing overlapping zones
-Fully Customizable: Adjustable Z-score threshold, lookback periods, colors, and rejection sensitivity
How It Works:
The indicator calculates the Z-score of price changes to identify impulse moves. When an abnormal move occurs (beyond the threshold), it marks the preceding consolidation zone as an order block where institutions likely placed their orders. The EMA filter ensures you only trade in the direction of the overall trend.Perfect for swing traders and institutional-style trading on any timeframe.
DK 27 ALERT RELIANCE EQ Buy | Manual JSON Input Version//@version=6
indicator("27 ALERT RELIANCE EQ Buy | Manual JSON Input Version", overlay=true)
//────────────────────────────────────────────
// 📦 USER INPUTS
//────────────────────────────────────────────
quantity = input.string("1", "Quantity")
exchange = input.string("NSE", "Exchange")
symbol_name = input.string("RELIANCE", "Equity Symbol")
tradeMode = input.string("Intraday", "Trade Mode", options= )
dhan_secret = input.string("hWMIU", "Dhan Webhook Secret")
// Directly entered webhook JSON scripts 👇
json_buy = input.string('{"secret":"hWMIU","alertType":"multi_leg_order","order_legs": }', "BUY JSON Script")
json_sell = input.string('{"secret":"hWMIU","alertType":"multi_leg_order","order_legs": }', "SELL JSON Script")
productType = tradeMode == "Intraday" ? "I" : "D"
//────────────────────────────────────────────
// 📊 SIMPLE TREND LOGIC (Heikin Ashi + MACD)
//────────────────────────────────────────────
ha_close = (open + high + low + close) / 4.0
var float ha_open = na
ha_open := na(ha_open ) ? (open + close) / 2.0 : (ha_open + ha_close ) / 2.0
isBull = ha_close > ha_open
isBear = ha_close < ha_open
= ta.macd(close, 12, 26, 9)
macdBull = macdLine > signalLine
macdBear = macdLine < signalLine
//───────────────────────────────────────────
// 🚀 ENTRY / EXIT (One-Candle Confirmation)
//────────────────────────────────────────────
var bool inTrade = false
var string lastEvent = "Waiting..."
buyCondition = isBull and macdBull and not inTrade
sellCondition = isBear and macdBear and inTrade
if buyCondition
inTrade := true
lastEvent := "BUY"
label.new(bar_index, low, "🟢 BUY " + symbol_name, style=label.style_label_up, color=color.new(color.green, 0))
alert(json_buy, alert.freq_once_per_bar_close)
if sellCondition
inTrade := false
lastEvent := "SELL"
label.new(bar_index, high, "🔴 SELL " + symbol_name, style=label.style_label_down, color=color.new(color.red, 0))
alert(json_sell, alert.freq_once_per_bar_close)
//────────────────────────────────────────────
// 🧭 DASHBOARD
//────────────────────────────────────────────
var table dash = table.new(position.top_right, 2, 5, border_width=1)
if barstate.islast
table.cell(dash, 0, 0, "📊 RELIANCE EQ", bgcolor=color.new(color.black, 60), text_color=color.white)
table.cell(dash, 0, 1, "Symbol")
table.cell(dash, 1, 1, symbol_name)
table.cell(dash, 0, 2, "Position")
table.cell(dash, 1, 2, inTrade ? "LONG" : "FLAT")
table.cell(dash, 0, 3, "Trend")
table.cell(dash, 1, 3, isBull ? "BULLISH" : isBear ? "BEARISH" : "NEUTRAL")
table.cell(dash, 0, 4, "Last Event")
table.cell(dash, 1, 4, lastEvent)
Impulse Wick ZONES (multi-bar waves, capped)Impulse Origin Zones (IOZ)
One-liner:
Marks the origin of new directional waves by anchoring a forward-projected zone to the first decisive wick. Use it to trade retests, rejections, or clean breaks with clear invalidation.
What it does
Automatically spots the start of a fresh move and drops a zone at the first wick that kicks it off.
Zones persist and extend until decisively invalidated, giving durable context for entries, stops, and targets.
Sizing adapts to instrument conditions to avoid zones that are too tiny in quiet markets or oversized in volatile ones.
Side filter: show bullish only, bearish only, or both.
How to read it
Green zone: bullish origin (up-wave).
Red zone: bearish origin (down-wave).
Price interaction with a zone can signal:
Rejection (fade the first touch),
Break & retest (enter on confirmation),
Clean break (momentum continuation).
Inputs (high-level)
Wave qualification: minimum strength/length to count as an impulse.
Zone thickness: volatility-aware, fixed, or proportional options.
Display mode: Both / Bullish only / Bearish only.
Max active zones: keeps the chart uncluttered.
Styling: colors, borders, labels, right-extension.
Playbook ideas
In trends, prioritize zones with the trend; use opposite-colored zones as targets.
Pair with a trigger (volume pop, momentum cross, footprint imbalance) for entries.
Invalidation: decisive close through the far edge of the zone.
Notes
IOZ highlights wave origins, not generic support/resistance.
On thin/news-driven markets, consider a larger invalidation buffer.
Wyckoff Spring Gold SystemSystematic Strategy for Trading Gold
This strategy is designed with maximum simplicity and robustness in mind:
Clear and objective entry and exit rules.
Solid, predefined risk management.
Fully automated execution directly from TradingView.
The strategy trades exclusively on the long side to capitalize on gold’s structural bullish bias and is specifically designed for the 4-hour timeframe.
The Edge
The system exploits a pure price-action pattern related to liquidity hunting: after a spring, the market often initiates a strong bullish impulse.
Since it does not rely on indicators or fragile parameters, it remains consistent and stable across different market conditions, minimizing the risk of overfitting.
The Pattern
The following is a representative example of the type of move the strategy aims to capture:
Results – Full Backtest
In this video , I introduce the strategy, explain its logic, and present the complete backtest results.
The strategy has been validated from 2005 to the present, covering multiple market cycles and volatility regimes.
Documentation Included
The system comes with a detailed technical document explaining everything you need to apply the strategy professionally.
It includes:
System logic and statistical validation.
Analysis of the seasonal filters.
Recommendations for trading with personal capital or funded accounts — special focus on Darwinex Zero and Axi Select.
Suggested automated ecosystem (TradingView + PineConnector).
Guidelines for monitoring future performance and system deactivation rules.
Full statistical profile of both versions using Quant Analyzer.
This guide offers a concise yet comprehensive view of how to build, validate, and maintain a profitable trading system over time.
Quant Analyzer – Equity Curve (Original Version)
Quant Analyzer – Equity Curve (Filtered Version)
→ Full strategy description & purchase available on the official website





















