Positive Volatility Ratio (Vol+ / Vol-)
Positive Volatility Ratio (Vol+ / Vol-)
This indicator measures whether an asset’s volatility is driven mainly
by upward or downward price movements over a given time window.
How it works:
- Daily returns are calculated.
- Positive and negative returns are separated.
- The standard deviation of each group is computed.
- The Vol+ / Vol- ratio compares how much volatility comes from
upward moves versus downward moves.
Interpretation:
- Ratio > 1 → volatility dominated by upside moves (cleaner momentum).
- Ratio ≈ 1 → symmetric movement / noise.
- Ratio < 1 → volatility dominated by downside moves (not ideal for momentum).
Recommended use:
- Use as a pre-filter for the trading universe.
- Do not use as an entry or exit signal.
- Always combine with trend and liquidity filters.
Notes:
- This is not a standard or predictive indicator.
- It does not replace risk management or stop-loss rules.
- Longer lookback windows (60–120 days) tend to be more robust.
*/
Indicators and strategies
Webhook Candle Sender (OHLCV)This indicator sends OHLCV (Open, High, Low, Close, Volume) candle data via webhook on every confirmed bar close.
It is designed to integrate TradingView with an external trading or analytics system (e.g. a local Flask server, paper trading engine, or algorithmic agent).
Features:
• Sends data only on bar close (no repainting)
• Works on any symbol (stocks, crypto, forex)
• Works on any timeframe
• Outputs structured JSON suitable for APIs and bots
• Uses TradingView alert() function for webhook delivery
Typical use cases:
• Algorithmic trading research
• Paper trading systems
• Backtesting external strategies
• Educational and learning purposes
This script does NOT place trades, manage risk, or provide trading signals.
It only transmits candle data.
No financial advice is provided.
MTF EMA50/200 // ADX (Auto TF Pairing) with SL/TP // v6Strategy overview (EMA50/EMA200 + ADX, multi-timeframe):
This system trades only in the direction of the higher-timeframe trend and uses the current chart timeframe for precise entries.
Trend filter (Higher TF):
Bull trend: EMA50 > EMA200 and ADX ≥ threshold → only LONGs allowed
Bear trend: EMA50 < EMA200 and ADX ≥ threshold → only SHORTs allowed
If ADX is below the “no-trend” threshold, the market is considered choppy and trades are avoided.
Entry (Lower TF / chart TF):
Enter only when the chart timeframe confirms momentum in the HTF direction using one of:
Touch: price pulls back to EMA50 and closes back on the trend side
Rejection: stricter “touch + reject” near EMA50
Cross: close crosses EMA50 in the trend direction
Stop Loss (structure + volatility):
LONG: below the safer of last swing low or EMA50, minus an ATR buffer
SHORT: above the safer of last swing high or EMA50, plus an ATR buffer
Take Profit (risk-based):
Targets are set as multiples of risk (R) from entry:
TP1 = 2R (default)
TP2 = 3R (optional)
The indicator plots only the latest trade’s Entry (black line), Stop (red dashed), and TP (green dashed), and it auto-pairs the chart timeframe with a “next level up” higher timeframe for the trend filter.
MTF MomentumThis script identifies momentum for the following three timeframes: 1 minute, 5 minutes, and 15 minutes.
Institutional Bias [Lite] - Visual SuiteThe ultimate discretionary toolkit. Visualizes Institutional Value (VP), Trend (AVWAP), and Structure (Fibs). For automated signals, see the Pro Strategy."
Buy & Hold Compounded ValueBuy & Hold Compounded Value
This indicator calculates the cumulative compounded value of a buy-and-hold investment from the instrument’s inception. Starting from a user-defined initial investment (default $1000), it compounds returns using monthly price changes and displays the current portfolio value in the TradingView status line only.
Designed for use on monthly charts, it provides a clean, clutter-free way to evaluate long-term performance without adding any visuals to the chart.
TG Capital Trident (Strict + Debug) v6 - plotshape fixedthe tg capital 30m timeframe kill zone chart check thing
Decoy Long / Decoy ShortThis indicator plots a decoy bar. A Decoy bar can be a 'decoy long' or a 'decoy short' bar. A 'decoy long' is a bar that creates a higher high and higher low but ends up as a red bar. A 'decoy short' is a bar that creates a lower high and lower low but still ends up as a green bar.
Half Closing CandleHalf Closing Candle
This indicator identifies candles whose closing price falls within the upper or lower half of the candle range, measured from the midpoint relative to the candle’s open. It helps traders quickly spot candles that close toward the open or high/low extremes, providing insight into momentum, indecision, or potential reversal areas.
The script highlights these candles with a subtle, non-intrusive overlay directly on the chart, without altering candle wicks or overall price representation, ensuring visual clarity and professional presentation.
ADX + DI **ADX + DI (Final)** is a clean trend-strength and direction tool built on the classic Wilder **Average Directional Index (ADX)** with optional **+DI / -DI** lines.
* Plots **ADX (red)** to show *trend strength* (not direction).
* Optionally plots **+DI (green)** and **-DI (blue)** to show *directional bias* (bullish when +DI > -DI, bearish when -DI > +DI).
* Includes toggleable horizontal reference levels at **20** and **25** to quickly spot range vs trend regimes.
* Optional background highlighting when **ADX exceeds a user-defined threshold** (default 25) to visually mark “strong trend” conditions.
* Includes alert conditions for:
* **+DI crossing above -DI** (bullish directional shift)
* **-DI crossing above +DI** (bearish directional shift)
* Both crosses **with ADX above the trend threshold** (higher-confidence signals)
**Best use:** filter trades by regime—avoid trend strategies when ADX is low (chop), and focus on pullbacks/breakouts when ADX is rising and above your threshold.
Sessions by nolimitCustom Trading Sessions Indicator (6 Sessions)
This indicator allows you to display up to 6 customizable trading sessions on your chart with full control over timing, colors, and timezone settings.
Features:
- 6 independent trading sessions that can be enabled/disabled individually
- Flexible time range settings for each session
- Individual color selection for each session background
- Timezone selection (UTC-12 to UTC+12) that applies to all sessions
- Clean, organized settings grouped by session
Smart Money Signals - Minimal v5 (No VWAP, Manual CMF) - RajeevSmart Money Signals - Minimal v5 (No VWAP, Manual CMF) - Rajeev
NY Session Bar Counter & Bar painterThe NY Session Bar Counter is a high-visibility technical utility that provides an automated, sequential count of every candle during the New York session (09:30 to 16:00 EST). Unlike standard session highlighters, this tool numbers each bar starting from the market open, allowing traders to identify specific "time-of-day" windows with surgical precision.
This script is specifically engineered for traders who follow setups based on specific bar numbers (e.g., the Bar 17 reversal, the Bar 36 lunch-power-hour, or the final EOD flush).
🚀 Key Features
Precision Timing: Automatically resets every day at 09:30 AM New York time, regardless of your local timezone settings.
Multi-Timeframe Logic: Optimized to work seamlessly on 1m, 5m, 15m, and 30m charts without breaking the daily count.
Historical & Replay Compatibility: Unlike many session tools, this script is fully compatible with Bar Replay and displays historical data across several days (up to 500 labels).
Special Bar Highlighting: Includes a "Paint Bar" feature that allows you to choose a specific bar number (e.g., Bar 17) and automatically color the candle body for instant visual recognition.
Customizable Display: Filter for Odd/Even numbers to reduce chart clutter and adjust font size, color, and position (Above/Below bar).
💡 Why It Is Useful
In the modern trading environment, the market moves in cycles of liquidity and volatility that are often tied to specific times. This script is useful because:
Standardization: It provides a common language for traders. Instead of saying "the 10:50 AM candle," traders can refer to "Bar 17" (on a 5m chart), which is faster and more consistent.
Backtesting Accuracy: When reviewing past days or using Bar Replay, you can easily identify if your strategy triggers at the same relative time every day.
Visual Discipline: By highlighting a "Target Bar," you can train your eyes to wait for specific time windows before looking for a setup, helping to prevent overtrading during low-probability hours.
Operational Efficiency: It removes the manual work of counting bars from the open, allowing you to focus entirely on price action and order flow.
How to Use
Install the script on any intraday timeframe (best on 5m or 15m).
Adjust Lookback: Use the settings to determine how many historical days you want to view.
Identify Patterns: Use the "Special Bar Highlight" to mark the bar where your strategy most frequently triggers.
Williams %R Smoothed (EMA colour & bar toggle)From TradingView's description:
Williams %R (%R) is a momentum-based oscillator used in technical analysis, primarily to identify overbought and oversold conditions. The %R is based on a comparison between the current close and the highest high for a user defined look back period. %R Oscillates between 0 and -100 (note the negative values) with readings closer to zero indicating more overbought conditions and readings closer to -100 indicating oversold. Typically %R can generate set ups based on overbought and oversold conditions as well overall changes in momentum.
What's special?
This indicator adds two additional EMA lines to the original Williams %R indicator. Default EMA lengths are 5 and 13. The result is 2 smoother average lines, which are easier to read.
This indicator includes:
- signals for EMA crosses. EMA crosses can help indicate confirmed trend changes. Default colors are green and red
- signals for trend reversals on the faster EMA line. Default colors are blue and orange
Alerts available for bullish/bearish crossovers and reversals.
E9 MTF Candle Array E9 MTF Candle Array plots up to six selectable higher-timeframe candle sets (e.g., H1/H4/D1/W1) as “mini candles” stacked to the right of your chart for fast multi-TF context. For each HTF, it also draws a shaded High–Low range box on the main chart that spans the candle’s time window and updates in real time as the current HTF candle forms, then “locks” the prior box when a new HTF candle opens. Optional features include HTF labels and countdown timers, Open/Close/High/Low trace lines with price labels, day/interval markers, and imbalance highlighting (FVG/VI) on the displayed HTF candle array.
*Work in progress.
PA SystemPA System
短简介 Short Description(放在最上面)
中文:
PA System 是一套以 AL Brooks 价格行为为核心的策略(Strategy),将 结构(HH/HL/LH/LL)→ 回调(H1/L1)→ 二次入场(H2/L2 微平台突破) 串成完整可回测流程,并可选叠加 BoS/CHoCH 结构突破过滤 与 Liquidity Sweep(扫流动性)确认。内置风险管理:定风险仓位、部分止盈、保本、移动止损、时间止损、冷却期。
English:
PA System is an AL Brooks–inspired Price Action strategy that chains Market Structure (HH/HL/LH/LL) → Pullback (H1/L1) → Second Entry (H2/L2 via Micro Range Breakout) into a complete backtestable workflow, with optional BoS/CHoCH structure-break filtering and Liquidity Sweep confirmation. Built-in risk management includes risk-based sizing, partial exits, breakeven, trailing stops, time stop, and cooldown.
⸻
1) 核心理念 Core Idea
中文:
这不是“指标堆叠”,而是一条清晰的价格行为决策链:
结构确认 → 回调出现 → 小平台突破(二次入场)→ 风控出场。
策略把 Brooks 常见的“二次入场”思路程序化,同时用可选的结构突破与扫流动性模块提升信号质量、减少震荡误入。
English:
This is not an “indicator soup.” It’s a clear price-action decision chain:
Confirmed structure → Pullback → Micro-range breakout (second entry) → Risk-managed exits.
The system programmatically implements the Brooks-style “second entry” concept, and optionally adds structure-break and liquidity-sweep context to reduce chop and improve trade quality.
⸻
2) 主要模块 Main Modules
A. 结构识别 Market Structure (HH/HL/LH/LL)
中文:
使用 pivot 摆动点确认结构,标记 HH/HL/LH/LL,并可显示最近一组摆动水平线,方便对照结构位置。
English:
Uses confirmed pivot swings to label HH/HL/LH/LL and optionally plots the most recent swing levels for clean structure context.
B. 状态机 Market Regime (State Machine + “Always In”)
中文:
基于趋势K强度、EMA关系与波动范围,识别市场环境(Breakout/Channel/Range)以及 Always-In 方向,用于过滤不合适的交易环境。
English:
A lightweight regime engine detects Breakout/Channel/Range and an “Always In” directional bias using momentum and EMA/range context to avoid low-quality conditions.
C. 二次入场 Second Entry Engine (H1→H2 / L1→L2)
中文:
• H1/L1:回调到结构附近并出现反转迹象
• H2/L2:在 H1/L1 后等待最小 bars,然后触发 Micro Range Breakout(小平台突破)并要求信号K收盘强度达标
这一段是策略的“主发动机”。
English:
• H1/L1: Pullback into structure with reversal intent
• H2/L2: After a minimum wait, triggers on Micro Range Breakout plus a configurable close-strength filter
This is the main “entry engine.”
D. 可选过滤器 Optional Filters (Quality Boost)
BoS/CHoCH(结构突破过滤)
中文: 可识别 BoS / CHoCH,并可要求“入场前最近 N bars 必须有同向 break”。
English: Detects BoS/CHoCH and can require a recent same-direction break within N bars.
Liquidity Sweeps(扫流动性确认)
中文: 画出 pivot 高/低的流动性水平线,检测“刺破后收回”的 sweep,并可要求入场前出现同向 sweep。
English: Tracks pivot-based liquidity levels, confirms sweeps (pierce-and-reclaim), and can require a recent sweep before entry.
E. FVG 可视化 FVG Visualization
中文: 提供 FVG 区域盒子与管理模式(仅保留未回补 / 仅保留最近N),主要用于区域理解与复盘,不作为强制入场条件(可自行扩展)。
English: Displays FVG boxes with retention modes (unfilled-only or last-N). Primarily for context/analysis; not required for entries (you can extend it as a filter/target).
⸻
3) 风险管理 Risk Management (Built-In)
中文:
• 定风险仓位:按账户权益百分比计算仓位
• SL/TP:基于结构 + ATR 缓冲,且限制最大止损 ATR 倍
• 部分止盈:到达指定 R 后减仓
• 保本:到达指定 R 后推到 BE
• 移动止损:到达指定 R 后开始跟随
• 时间止损:持仓太久不动则退出
• 冷却期:出场后等待 N bars 再允许新单
English:
• Risk-based sizing: position size from equity risk %
• SL/TP: structure + ATR buffer with max ATR risk cap
• Partial exits at an R threshold
• Breakeven at an R threshold
• Trailing stop activation at an R threshold
• Time stop to reduce chop damage
• Cooldown after exit to avoid rapid re-entries
⸻
4) 推荐使用方式 Recommended Usage
中文:
• 推荐从 5m / 15m / 1H 开始测试
• 想更稳:开启 EMA Filter + Break Filter + Sweep Filter,并提高 Close Strength
• 想更多信号:关闭 Break/Sweep 过滤或降低 Swing Length / Close Strength
• 回测时务必设置合理的手续费与滑点,尤其是期货/指数
English:
• Start testing on 5m / 15m / 1H
• For higher quality: enable EMA Filter + Break Filter + Sweep Filter and increase Close Strength
• For more signals: disable Break/Sweep filters or reduce Swing Length / Close Strength
• Use realistic commissions/slippage in backtests (especially for futures/indices)
⸻
5) 重要说明 Notes
中文:
结构 pivot 需要右侧确认 bars,因此结构点存在天然滞后(确认后不会再变)。策略逻辑尽量避免不必要的对象堆叠,并对数组/对象做了稳定管理,适合长期运行与复盘。
English:
Pivot-based structure requires right-side confirmation (inherent lag; once confirmed it won’t change). The script is designed for stability and resource-safe object management, suitable for long sessions and review.
⸻
免责声明 Disclaimer(建议原样保留)
中文:
本脚本仅用于教育与研究目的,不构成任何投资建议。策略回测结果受市场条件、手续费、滑点、交易时段、数据质量等影响显著。使用者需自行验证并承担全部风险。过往表现不代表未来结果。
English:
This script is for educational and research purposes only and does not constitute financial advice. Backtest results are highly sensitive to market conditions, fees, slippage, session settings, and data quality. Use at your own risk. Past performance is not indicative of future results.
MES ORB Bulletproof + PSAR + SMA200 + BB(21) by PantelisMES ORB Bulletproof + PSAR + SMA200 + BB(21) by Pantelis
Ocean Master [JOAT]Ocean Master QE - Advanced Oceanic Market Analysis with Quantum Flow Dynamics
Overview
Ocean Master QE is an open-source overlay indicator that combines multiple analytical techniques into a unified market analysis framework. It uses ATR-based dynamic channels, volume-weighted order flow analysis, multi-timeframe correlation (quantum entanglement concept), and harmonic oscillator calculations to provide traders with a comprehensive view of market conditions.
What This Indicator Does
The indicator calculates and displays several key components:
Dynamic Price Channels - ATR-adjusted upper, middle, and lower channels that adapt to current volatility conditions
Order Flow Analysis - Separates buying and selling volume pressure to calculate a directional delta
Smart Money Index - Volume-weighted order flow metric that highlights potential institutional activity
Harmonic Oscillator - Weighted combination of 10 Fibonacci-period EMAs (5, 8, 13, 21, 34, 55, 89, 144, 233, 377) to identify trend direction
Multi-Timeframe Correlation - Measures price correlation across 1H, 4H, and Daily timeframes
Wave Function Analysis - Momentum-based state detection that identifies when price action becomes decisive
How It Works
The core channel calculation uses ATR with a configurable quantum sensitivity factor:
float atr = ta.atr(i_atrLength)
float quantumFactor = 1.0 + (i_quantumSensitivity * 0.1)
float quantumATR = atr * quantumFactor
upperChannel := ta.highest(high, i_length) - (quantumATR * 0.5)
lowerChannel := ta.lowest(low, i_length) + (quantumATR * 0.5)
midChannel := (upperChannel + lowerChannel) * 0.5
Order flow is calculated by separating volume into buy and sell components based on candle direction:
The harmonic oscillator weights shorter EMAs more heavily using inverse weighting (1/1, 1/2, 1/3... 1/10), creating a responsive yet smooth trend indicator.
Signal Generation
Confluence signals require multiple conditions to align:
Bullish: Harmonic oscillator crosses above zero + positive Smart Money Index + positive Order Flow Delta
Bearish: Harmonic oscillator crosses below zero + negative Smart Money Index + negative Order Flow Delta
Dashboard Panel (Top-Right)
Bias - Current market direction based on price vs mid-channel
Entanglement - Multi-timeframe correlation score (0-100%)
Wave State - COLLAPSED (decisive) or SUPERPOSITION (uncertain)
Volume - Current volume relative to 20-period average
Volatility - ATR as percentage of price
Smart Money - Volume-weighted order flow reading
Visual Elements
Ocean Depth Layers - Gradient fills between channel levels representing different price zones
Channel Lines - Upper (surface), middle, and lower (seabed) dynamic levels
Divergence Markers - Triangle shapes when harmonic oscillator crosses zero
Confluence Labels - BULL/BEAR labels when multiple factors align
Suggested Use Cases
Identify trend direction using the harmonic oscillator and channel position
Monitor order flow for potential institutional activity
Use multi-timeframe correlation to confirm trade direction across timeframes
Watch for confluence signals where multiple factors align
Input Parameters
Length (default: 14) - Base period for channel and indicator calculations
ATR Length (default: 14) - Period for ATR calculation
Quantum Depth (default: 3) - Complexity factor for calculations
Quantum Sensitivity (default: 1.5) - Channel width multiplier
Timeframe Recommendations
Works on all timeframes. Higher timeframes (4H, Daily) provide smoother signals; lower timeframes require faster reaction times and may produce more noise.
Limitations
Multi-timeframe requests add processing overhead
Order flow estimation is based on candle direction, not actual order book data
Correlation calculations require sufficient historical data
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and conduct your own analysis before trading.
- Made with passion by officialjackofalltrades






















