FAILED 9Define a time range, and the indicator will highlight it with a shaded area.
The indicator helps you see higher timeframe structure while trading on a lower timeframes
Candlestick analysis
Adaptive Heikin Ashi [CHE]Adaptive Heikin Ashi — volatility-aware HA with fewer fake flips
Summary
Adaptive Heikin Ashi is a volatility-aware reinterpretation of classic Heikin Ashi that continuously adjusts its internal smoothing based on the current ATR regime, which means that in quiet markets the indicator reacts more quickly to genuine directional changes, while in turbulent phases it deliberately increases its smoothing to suppress jitter and color whipsaws, thereby reducing “noise” and cutting down on fake flips without resorting to heavy fixed smoothing that would lag everywhere.
Motivation: why adapt at all?
Classic Heikin Ashi replaces raw OHLC candles with a smoothed construction that averages price and blends each new candle with the previous HA state, which typically cleans up trends and improves visual coherence, yet its fixed smoothing amount treats calm and violent markets the same, leading to the usual dilemma where a setting that looks crisp in a narrow range becomes too nervous in a spike, and a setting that tames high volatility feels unnecessarily sluggish as soon as conditions normalize; by allowing the smoothing weight to expand and contract with volatility, Adaptive HA aims to keep candles readable across shifting regimes without constant manual retuning.
What is different from normal Heikin Ashi?
Fixed vs. adaptive blend:
Classic HA implicitly uses a fixed 50/50 blend for the open update (`HA_open_t = 0.5 HA_open_{t-1} + 0.5 HA_close_{t-1}`), while this script replaces the constant 0.5 with a dynamic weight `w_t` that oscillates around 0.5 as a function of observed volatility, which turns the open update into an EMA-like filter whose “alpha” automatically changes with market conditions.
Volatility as the steering signal:
The script measures volatility via ATR and compares it to a rolling baseline (SMA of ATR over the same length), producing a normalized deviation that is scaled by sensitivity, clamped to ±1 for stability, and then mapped to a bounded weight interval ` `, so the adaptation is strong enough to matter but never runs away.
Outcome that matters to traders:
In high volatility, the weight shifts upward toward the prior HA open, which strengthens smoothing exactly where classic HA tends to “chatter,” while in low volatility the weight shifts downward toward the most recent HA close, which speeds up reaction so quiet trends do not feel artificially delayed; this is the practical mechanism by which noise and fake signals are reduced without accepting blanket lag.
How it works
1. HA close matches classic HA:
`HA_close_t = (Open_t + High_t + Low_t + Close_t) / 4`
2. Volatility normalization:
`ATR_t` is computed over `atr_length`, its baseline is `ATR_SMA_t = SMA(ATR, atr_length)`, and the raw deviation is `(ATR_t / ATR_SMA_t − 1)`, which is then scaled by `adapt_sensitivity` and clamped to ` ` to obtain `v_t`, ensuring that pathological spikes cannot destabilize the weighting.
3. Adaptive weight around 0.5:
`w_t = 0.5 + oscillation_range v_t`, giving `w_t ∈ `, so with a default `range = 0.20` the weight stays between 0.30 and 0.70, which is wide enough to matter but narrow enough to preserve HA identity.
4. EMA-like open update:
On the very first bar the open is seeded from a stable combination of the raw open and close, and thereafter the update is
`HA_open_t = w_t HA_open_{t−1} + (1 − w_t) HA_close_{t−1}`,
which is equivalent to an EMA where higher `w_t` means heavier inertia (more smoothing) and lower `w_t` means stronger pull to the latest price information (more responsiveness).
5. High and low follow classic HA composition:
`HA_high_t = max(High_t, max(HA_open_t, HA_close_t))`,
`HA_low_t = min(Low_t, min(HA_open_t, HA_close_t))`,
thereby keeping visual semantics consistent with standard HA so that your existing reading of bodies, wicks, and transitions still applies.
Why this reduces noise and fake signals in practice
Fake flips in HA typically occur when a fixed blending rule is forced to process candles during a volatility surge, producing rapid alternations around pivots or within wide intrabar ranges; by increasing smoothing exactly when ATR jumps relative to its baseline, the adaptive open stabilizes the candle body progression and suppresses transient color changes, while in the opposite scenario of compressed ranges, the reduced smoothing allows small but persistent directional pressure to reflect in candle color earlier, which reduces the tendency to enter late after multiple slow transitions.
Parameter guide (what each input really does)
ATR Length (default 14): controls both the ATR and its baseline window, where longer values dampen the adaptation by making the baseline slower and the deviation smaller, which is helpful for noisy lower timeframes, while shorter values make the regime detector more reactive.
Oscillation Range (default 0.20): sets the maximum distance from 0.5 that the weight may travel, so increasing it towards 0.25–0.30 yields stronger smoothing in turbulence and faster response in calm periods, whereas decreasing it to 0.10–0.15 keeps the behavior closer to classical HA and is useful if your strategy already includes heavy downstream smoothing.
Adapt Sensitivity (default 6.0): multiplies the normalized ATR deviation before clamping, such that higher sensitivity accelerates adaptation to regime shifts, while lower sensitivity produces gradual transitions; negative values intentionally invert the mapping (higher vol → less smoothing) and are generally not recommended unless you are testing a counter-intuitive hypothesis.
Reading the candles and the optional diagnostic
You interpret colors and bodies just like with normal HA, but you can additionally enable the Adaptive Weight diagnostic plot to see the regime in real time, where values drifting up toward the upper bound indicate a turbulent context that is being deliberately smoothed, and values gliding down toward the lower bound indicate a calm environment in which the indicator chooses to move faster, which can be valuable for discretionary confirmation when deciding whether a fresh color shift is likely to stick.
Practical workflows and combinations
Trend-following entries: use color continuity and body expansion as usual, but expect fewer spurious alternations around news spikes or into liquidity gaps; pairing with structure (swing highs/lows, breaks of internal ranges) keeps entries disciplined.
Exit management: when the diagnostic weight remains elevated for an extended period, you can be stricter with exit triggers because flips are less likely to be accidental noise; conversely, when the weight is depressed, consider earlier partials since the indicator is intentionally more nimble.
Multi-asset, multi-TF: the adaptation is especially helpful if you rotate instruments with very different vol profiles or hop across timeframes, since you will not need to retune a fixed smoothing parameter every time conditions change.
Behavior, constraints, and performance
The script does not repaint historical bars and uses only past information on closed candles, yet just like any candle-based visualization the current live bar will update until it closes, so you should avoid acting on mid-bar flips without a rule that accounts for bar close; there are no `security()` calls or higher-timeframe lookups, which keeps performance light and execution deterministic, and the clamping of the volatility signal ensures numerical stability even during extreme ATR spikes.
Sensible defaults and quick tuning
Start with the defaults (`ATR 14`, `Range 0.20`, `Sensitivity 6.0`) and observe the weight plot across a few volatile events; if you still see too many flips in turbulence, either raise `Range` to 0.25 or trim `Sensitivity` to 4–5 so that the weight can move high but does not overreact, and if the indicator feels too slow in quiet markets, lower `Range` toward 0.15 or raise `Sensitivity` to 7–8 to bias the weight a bit more aggressively downward when conditions compress.
What this indicator is—and is not
Adaptive Heikin Ashi is a context-aware visualization layer that improves the signal-to-noise ratio and reduces fake flips by modulating smoothing with volatility, but it is not a complete trading system, it does not predict the future, and it should be combined with structure, risk controls, and position management that fit your market and timeframe; always forward-test on your instruments, and remember that even adaptive smoothing can delay recognition at sharp turning points when volatility remains elevated.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Ch Enhanced Buy Sell Volume// ========================================
// 📊 HOW TO READ THIS INDICATOR 📊
// ========================================
//
// 🟢 GREEN BARS (Above Zero) = BUY VOLUME
// 🔴 RED BARS (Below Zero) = SELL VOLUME
//
// 💡 BAR COLORS MEANING:
// • DARK GREEN = Strong buyer dominance (high conviction buying)
// • LIGHT GREEN = Weak buyer dominance (low conviction)
// • DARK RED = Strong seller dominance (high conviction selling)
// • LIGHT RED = Weak seller dominance (low conviction)
//
// 🎯 TRADING SIGNALS:
// • Tall dark green bars = Strong bullish momentum
// • Tall dark red bars = Strong bearish momentum
// • Light colored bars = Weak conviction, potential reversal
// • Green bars > Red bars = Buyers winning
// • Red bars > Green bars = Sellers winning
//
// 📈 BULLISH SIGNALS:
// • Buy% > 70% = Strong buying interest
// • Dark green bars with high delta = Professional buying
// • Buy volume above yellow MA line = Above average buying
//
// 📉 BEARISH SIGNALS:
// • Sell% > 70% = Strong selling pressure
// • Dark red bars with high delta = Professional selling
// • Sell volume below yellow MA line = Above average selling
//
// ⚠️ WARNING SIGNALS:
// • Price up + Red dominance = Bearish divergence
// • Price down + Green dominance = Bullish divergence
// • Low delta (<10%) = Market indecision
//
// 📊 INFO TABLE (Top-Right):
// • Buy%: Percentage of volume that was buying
// • Sell%: Percentage of volume that was selling
// • Delta%: Strength of dominance (difference between buy/sell)
// • Dom: Which side is currently dominant (BUYERS/SELLERS)
//
// 🟡 YELLOW LINES = Volume Moving Average
// • Upper line: Reference for buy volume (green bars)
// • Lower line: Reference for sell volume (red bars)
// • Above yellow = Higher than average volume
// • Below yellow = Lower than average volume
AMHA + 4 EMAs + EMA50/200 Counter + Avg10CrossesDescription:
This script combines two types of Heikin-Ashi visualization with multiple Exponential Moving Averages (EMAs) and a counting function for EMA50/200 crossovers. The goal is to make trends more visible, measure recurring market cycles, and provide statistical context without generating trading signals.
Logic in Detail:
Adaptive Median Heikin-Ashi (AMHA):
Instead of the classic Heikin-Ashi calculation, this method uses the median of Open, High, Low, and Close. The result smooths out price movements, emphasizes trend direction, and reduces market noise.
Standard Heikin-Ashi Overlay:
Classic HA candles are also drawn in the background for comparison and transparency. Both HA types can be shifted below the chart’s price action using a customizable Offset (Ticks) parameter.
EMA Structure:
Five exponential moving averages (21, 50, 100, 200, 500) are included to highlight different trend horizons. EMA50 and EMA200 are emphasized, as their crossovers are widely monitored as potential trend signals. EMA21 and EMA100 serve as additional structure layers, while EMA500 represents the long-term trend.
EMA50/200 Counter:
The script counts how many bars have passed since the last EMA50/200 crossover. This makes it easy to see the age of the current trend phase. A colored label above the chart displays the current counter.
Average of the Last 10 Crossovers (Avg10Crosses):
The script stores the last 10 completed count phases and calculates their average length. This provides historical context and allows traders to compare the current cycle against typical past behavior.
Benefits for Analysis:
Clearer trend visualization through adaptive Heikin-Ashi calculation.
Multi-EMA setup for quick structural assessment.
Objective measurement of trend phase duration.
Statistical insight from the average cycle length of past EMA50/200 crosses.
Flexible visualization through adjustable offset positioning below the price chart.
Usage:
Add the indicator to your chart.
For a clean look, you may switch your chart type to “Line” or hide standard candlesticks.
Interpret visual signals:
White candles = bullish phases
Orange candles = bearish phases
EMAs = structural trend filters (e.g., EMA200 as a long-term boundary)
The counter label shows the current number of bars since the last cross, while Avg10 represents the historical mean.
Special Feature:
This script is not a trading system. It does not provide buy/sell recommendations. Instead, it serves as a visual and statistical tool for market structure analysis. The unique combination of Adaptive Median Heikin-Ashi, multi-EMA framework, and EMA50/200 crossover statistics makes it especially useful for trend-followers and swing traders who want to add cycle-length analysis to their toolkit.
55 ABR Currentcurrent bar range
abr
previous_bar ibs
当前K线范围 (Curr Bar Rng):显示当前正在形成的K线的价格幅度(最高价-最低价)
平均K线范围 (ABR):计算指定周期内(默认8根K线)的平均K线范围,这个数值可以帮助交易者了解市场的平均波动性
内部K线强度 (IBS):显示前一根已完成K线的内部强度百分比
This Pine Script indicator creates a real-time information panel in the top-right corner of TradingView charts, displaying three key trading metrics:Core Features:
Current Bar Range: Shows the price range (high - low) of the currently forming candlestick, providing immediate awareness of intraday volatility.
Average Bar Range (ABR): Calculates the mean candlestick range over a specified lookback period (default: 8 bars). This metric helps traders assess whether current market volatility is above or below recent norms.
Internal Bar Strength (IBS): Displays the previous completed bar's internal strength as a percentage,
ORB Storico + Box Multipli + Notifiche🚀 “London, New York, Asia — all your ORBs in one tool.”
ORB Historic + Multiple Boxes + Alerts is a powerful indicator designed for traders who want to take advantage of the Opening Range Breakout (ORB) strategy during the major market sessions: London, New York, and Asia.
With this tool you can:
✅ Instantly identify the initial range (high and low) of each session
✅ Display historical ORB boxes directly on your chart
✅ Receive real-time alerts when price breaks above the high or below the low
✅ Customize colors, choose which sessions to display, and manage alerts easily
🎯 Why use it?
The ORB is one of the most popular intraday trading strategies. The breakout of the initial session range often provides strong and directional signals.
With this indicator, you no longer need to draw boxes or lines manually — everything is handled automatically.
⚙️ Key Features:
Configurable sessions: London, New York, Asia
Customizable box colors for each session
Dynamic support and resistance lines at session highs and lows
Automatic breakout alerts (above HIGH or below LOW)
Works on all assets and timeframes
🚀 Who is it for?
Intraday traders looking for reliable session signals
Scalpers wanting to catch early breakouts
Anyone who wants to analyze historical ORB performance with ease
👉 Add this indicator to your charts, configure your favorite sessions, and let it handle the heavy lifting.
Focus on what matters most: catching the right move at the right time.
Multi-Timeframe Sweep IndicatorsLiquidity Sweeps: Identify when price sweeps stops above/below key levels
Breakout Confirmation: Confirm breakouts across multiple timeframes
Entry Timing: Use lower timeframe sweeps for precise entries
Risk Management: Higher timeframe sweeps may indicate stronger moves
The indicator works best when combined with other analysis techniques like support/resistance levels, volume analysis, and market structure.
CFR - Candle Formation RatioDescription
This indicator is designed to detect candles with small bodies and significant wick-to-body ratios, often useful for identifying doji-like structures and potential accumulation areas.
Features
Filter candles by maximum body size (% of the total candle range).
Require that wicks are at least X times larger than the body.
Define the position of the body within the candle (e.g., body must be between 40% and 60% of the candle height).
Visual output: a single arrow marker when conditions are met.
Fully customizable marker color and size.
⚠️ Note: The settings of this version are currently in Turkish. An English version of the settings will be released in the future.
Liquidity + FVG + OB Markings (Fixed v6)This indicator is built for price-action traders.
It automatically finds and plots three key structures on your chart:
Liquidity Levels – swing highs & lows that often get targeted by price.
Fair-Value Gaps (FVG) – inefficient price gaps between candles.
Order-Blocks (OB) – zones created by strong, high-volume impulsive candles.
It also provides alerts and a small information table so you can quickly gauge the current market context.
X VIBVolume Imbalance Zones
X VIB highlights price-levels where buying or selling pressure overwhelmed the opposing side within a single bar transition, leaving a void that the market often revisits. The script paints those voids as boxes so you can quickly see where liquidity may rest, where price may pause or react, and which imbalances persist across sessions.
What it plots
For each completed calculation bar (your chart’s timeframe or a higher timeframe you choose), the indicator draws a box that spans the prior bar’s close to the current bar’s open—only when that bar-to-bar transition exhibits a valid volume imbalance (VIB) by the selected rules. Boxes are time-anchored from the previous bar’s time to the current bar’s time close, and they are capped to a configurable count so the chart remains readable.
Two ways to define “Volume Imbalance”
X VIB calculates imbalances in two complementary ways. Both techniques isolate bar-to-bar displacement that reflects one-sided pressure, but they differ in strictness and how much confirmation they require.
Continuity VIB (Bar-to-Bar Displacement)
A strict definition that requires aligned progress and overlap between consecutive bars. In practical terms, a bullish continuity VIB demands that the new bar advances beyond the prior bar’s close, opens above it, and maintains upward progress without erasing the displacement; the bearish case mirrors this to the downside.
Use when: you want the cleanest, most structurally reliable voids that reflect decisive initiative flow.
Effect on boxes: typically fewer, higher-quality zones that mark locations of strong one-sided intent.
Gap-Qualified VIB (Displacement with Gap Confirmation)
A confirmatory definition that treats the bar-to-bar displacement as an imbalance only if the transition also observes a protective “gap-like” relationship with surrounding prices. This extra condition filters out many borderline transitions and emphasizes voids that were less likely to be traded through on their formation.
Use when: you want additional confirmation that the void had genuine follow-through pressure at birth.
Effect on boxes: often slightly fewer but “stickier” zones that can attract price on retests.
Both modes are drawn identically on the chart (as boxes spanning the displacement). Their difference is purely in the qualification of what counts as a VIB. You can display either set independently or together to compare how each mode surfaces structure.
Multi-Timeframe (MTF) logic
You can compute imbalances on a higher timeframe (e.g., 15-minute) while viewing a lower timeframe chart. When MTF is active, X VIB:
Samples open, high, low, close, time, and time_close from the selected HTF in a single, synchronized request (no gaps, no lookahead).
Only evaluates and draws boxes once per HTF bar close, ensuring clean, stable zones that don’t repaint intra-bar.
How traders use these zones
Reversion into voids: Price often returns to “fill” part of a void before deciding on continuation or reversal.
Context for entries/exits: VIB boxes provide precise, mechanically derived levels for limit entries, scale-outs, and invalidation points.
Confluence: Combine with session opens, HTF levels, or volatility bands to grade setups. Continuity VIBs can mark impulse anchors; Gap-Qualified VIBs often mark stickier pockets.
Inputs & controls
Calculate on higher timeframe? Toggle MTF computation; choose your Calc timeframe (e.g., 15).
Show VIBs: Master toggle for drawing imbalance boxes.
Color & Opacity: Pick the box fill and border intensity that suits your theme.
# Instances: Cap how many historical boxes remain on the chart to avoid clutter.
Notes & best practices
Signal density: Continuity VIBs tend to be more frequent on fast charts; Gap-Qualified VIBs are more selective. Try both and keep what aligns with your trade plan.
MTF discipline: When using a higher calc timeframe, analyze reactions primarily at that timeframe’s pace to avoid over-fitting to noise.
Lifecycle awareness: Not all voids fill. Track which boxes persist; durable voids often define the map of the session.
Strong Body Close Candle (90%)This indicator highlights Strong Body Close Candles, which are single bars where the real body makes up the vast majority of the total range and the close is positioned very close to the candle’s extreme. By default, the script looks for candles where the body is at least 90% of the full high-low range, and the close falls within the top 10% (for bullish) or bottom 10% (for bearish). These settings ensure that only very strong, conviction-driven candles are marked. The script plots labels above or below qualifying bars, colors the candle accordingly, and provides alert conditions so you can be notified in real time when such a candle forms.
Both percentages are fully adjustable so you can fine-tune the strictness of the definition. For example, if you change the body threshold to 85% and the close-to-extreme threshold to 15%, the script will highlight candles where the body makes up at least 85% of the total range and the close is within 15% of the high or low. This adjustment allows for a slightly looser definition, catching more frequent signals while still maintaining strength criteria. Built-in alerts let you choose between bullish and bearish signals separately (or both), ensuring you won’t miss setups even when you’re away from the chart.
This tool is flexible across timeframes and instruments. On lower timeframes, signals may appear more frequently, highlighting intraday momentum bursts, while on higher timeframes such as daily or weekly charts, these signals often represent periods of strong directional conviction. Traders can combine this indicator with additional filters such as trend direction, volume confirmation, VWAP, or moving averages to improve reliability and fit it into their broader strategy. Because the body and close thresholds are user-defined, you have control over whether the indicator is tuned to rare but powerful candles (stricter settings) or more frequent signals (looser settings).
The indicator is designed to be non-repainting since it only evaluates candles after they close. It can be used purely visually with chart labels and bar coloring or as part of an automated workflow with TradingView alerts. Alerts are triggered on bar close whenever a bullish or bearish strong body close candle is detected, allowing you to integrate them into your trading process via pop-ups, emails, mobile notifications, or webhooks. Whether you’re looking for sharp reversals, momentum continuation signals, or simply want to filter out weaker candles, this tool provides a clear and adjustable framework for identifying high-conviction bars.
RS GEE Candle Highlighter (vs SPY/QQQ) • 5mRS Candle Highlighter (vs SPY/QQQ) – 5m
This indicator highlights candles where a stock shows relative strength outperforming a benchmark index (SPY or QQQ).
Strong candles are colored.
Works in real time on the 5-minute chart.
Helps identify stocks that are outperforming the market.
👉 Ideal for day trading, scalping, and relative performance analysis.
JORGE v1 Calls Puts On CandleA multi-timeframe script built for SPX 500 options traders.
• 1m entries, 5m bias, 15m levels
• CALL signals in bright green, PUT signals in bright red
• Black arrows mark each trade idea directly on the candles
• Includes VWAP bands, EMA cloud bias, opening range, ATR targets/stops, and previous day levels
• Risk mapping with TP/SL zones based on ATR multiples
• Alerts ready for CALL, PUT, and Opening Range Breakouts
This script is designed to simplify intraday decision making, giving you fast visual signals plus context levels for discipline and consistency.
Enjoy trading! 🚀📉📈
EMA20 (Cur/1H/D) + 5m Bar CountPlots EMA20 for current TF, 1H, and Daily, plus a 5-minute bar counter starting from 09:30 NY time, showing every Nth bar (default 2).
ADAUSDT Profitalgo Day‑Trading IndicatorMeet the **ADAUSDT Profitalgo Day-Trading Indicator** — a fast, no-nonsense signal engine built for intraday action on a single coin.
It locks onto trend with a classic **9/21 EMA** backbone (with an optional higher-time-frame filter), then times entries using a nimble **RSI(7) midline cross**. When momentum flips **up** in trend, you get a clean **Long** triangle; when it snaps **down**, a **Short** triangle. Once you’re in, an **ATR-based trailing stop** ratchets behind price — tightening on strength, bailing on weakness — and prints crisp **Exit** markers the moment the move fades. A subtle green/red background heatmap keeps the bigger picture in view at a glance.
Why traders love it:
* **Aligned entries** only: RSI triggers are gated by EMA trend (and optional HTF trend) to cut the chop.
* **Self-managed exits:** ATR(14) × Multiplier trails automatically — no second guessing.
* **Fully tunable:** EMA/RSI lengths, midline, ATR settings, and higher-TF period are all adjustable.
* **Set-and-forget alerts:** Long/Short/Exit alerts fire in real time so you never miss the turn.
Add it to your chart, switch on alerts, and tune the inputs to your style. It’s everything you need to spot the push, ride the burst, and step aside when the edge is gone. *(Not financial advice; always test before going live.)*
EMA & HMA with ShadingA simple indicator you can use to shade the area between an EMA and HMA for easier visualization. Hope you find it useful in your trading.
RTH_Open_Futures_RWARTH NY Open — Session Anchor & Levels (Futures-aware)
What it does:
Anchors your intraday view to the New York RTH open (09:30 ET) and draws the core decision levels for U.S. stocks and CME equity-index futures. In Futures mode, it respects the CME RTH close at 16:15 ET (vs. 16:00 ET for cash equities).
Plots (toggle on/off):
RTH Open line from 09:30 ET to session end (label optional).
RTH Close at 16:15 ET in Futures mode (16:00 in Cash mode).
Session High/Low with optional midpoint and range fill.
Prior-day close + gap label/box at the open; optional “gap filled” color change.
Initial Balance (09:30–10:30) with optional extensions.
RTH-only VWAP with optional bands.
Session start/end markers and end-of-day range label.
Behavior & reliability:
Correct session windows: Futures 09:30–16:15 ET, Cash 09:30–16:00 ET.
Precise handling of the last RTH bar (no drift, no repaint).
DST-safe and multi-timeframe friendly (1–5m ideal; higher TFs supported).
Inputs:
Market Mode: Futures vs. Cash.
Per-element show/hide, line style/weight, label formatting.
Alerts: Touch/Break (Open, H/L, IB, VWAP), Gap Fill, New Session.
Use it for:
Fast bias framing around the open (reclaim/loss).
Gap management (targets/risk).
Range development via H/L and midpoint.
IB structure and clean RTH VWAP without Globex noise.
Notes:
PT equivalents: Futures 06:30–13:15 PT, Cash 06:30–13:00 PT.
Designed for standard U.S. RTH; extended hours intentionally excluded.
TL;DR:
A clean, futures-aware RTH scaffold: open, close, prior close, gap, IB, VWAP, and session H/L—precise, minimal, and alert-ready.
Opening ATR + High Momentum (10/30/60)this is a custom momentum indicator using atr
A fixed, compiling Pine v5 script is below with the three issues corrected: no plots in local scope, a ≤10-character shorttitle, and cleaned ternaries/formatting that remove the “end of line without line continuation” error.
Pattern Scanner — RealTime By joshPattern Scanner — Real-Time (Lines Only)
This study draws line outlines of popular price patterns in real time using swing pivots (no marketing claims, no signals).
It focuses on visual structure only—use it as an educational aid to spot potential areas of interest.
What it shows
Double Top / Double Bottom (neckline only, optional pullback check)
Head & Shoulders / Inverse H&S (neckline projection)
Wedges & Symmetrical Triangles (upper/lower guides from recent swings)
Flags / Parallel Channels (top & bottom rails if slopes are near-parallel)
Consolidation Range (simple recent high/low band)
Optional RSI Divergence filter (basic confirmation; off by default)
How it works (high level)
Builds swing points using left/right pivot lengths.
Draws straight guide lines between recent swing pairs.
Optional “equality tolerance” (in %) for double tops/bottoms.
Optional “pullback after break” rule to reduce first-touch breaks.
No labels, arrows, targets, or profits: only lines for study/visualization.
Inputs you can tune
Pivot lengths, equality tolerance, minimum touches & lookback window
Pullback rule and tolerance (% of range)
Line thickness for major/minor structures
Optional RSI divergence check (length & source)
Good to know
Real-time detection can update while bars are forming; confirmed pivots require the right-side length to complete.
This tool does not generate trade advice. Combine with your own risk management and additional analysis.
Results may vary across symbols/timeframes due to data and volatility.
License: Pine Script® v5. Educational use only.
UP MM BY JOSHUP MM BY JOSH — Educational Market Study Tool
This script is a technical study and visualization tool designed to help traders explore concepts of baseline, flow, ATR risk, and continuation conditions.
It combines multiple moving average frameworks (SMA, EMA, HMA, JMA, McGinley, etc.) with volatility analysis (ATR) and visual guidance (labels, colors, tables) to make chart reading easier.
Features
Baseline & Flow Visualization
Displays multi-type moving averages and channel structures to study trend direction and potential continuation areas.
ATR-based Risk Insights
Uses ATR percentile and custom thresholds to highlight relative volatility and potential risk zones.
Visual Labels & Alerts
Shows optional Buy/Sell labels, exit markers, and alert conditions to help identify crossover or continuation events.
Risk Table Overlay
Provides a quick snapshot of volatility percentile, ATR value, and entry distance to baseline.
How to Use
Apply the script on your chart and adjust parameters (baseline length, flow type, ATR multiplier, etc.) to suit your study.
Use visual labels and colors to observe market behavior, not as trading instructions.
Combine with other forms of technical analysis such as support/resistance, higher timeframe bias, or volume analysis.
Important Disclaimer
This script is intended for educational and research purposes only.
It does not provide financial advice or guarantee profitable outcomes.
All signals, labels, or alerts are visual markers for study — not buy/sell instructions.
Users are responsible for their own trading decisions and risk management.
SMC style josh )SMC style josh — FVG, OB, BOS/CHoCH, EQH/EQL, PD, HTF, Trendlines
What it does
A clean-room Smart-Money–style study that visualizes market structure and liquidity concepts:
Structure: BOS & CHoCH for swing and internal legs (width/style controls, preview of last pivots)
Order Blocks: internal & swing OBs with midline (50%), mitigated/invalid handling, optional auto Breaker creation
Fair Value Gaps (FVG): auto boxes with optional 50% line, ATR filter, extend length, and “after-CHoCH only” window
Equal High/Low (EQH/EQL): ATR-based proximity threshold
Liquidity Grabs: wick-through/close-back tags
Premium/Discount (PD) zones: live boxes + equilibrium line from latest swing range
HTF levels: previous Daily/Weekly/Monthly highs/lows with labels (PDH/PDL, PWH/PWL, PMH/PML)
Trendlines: auto swing-to-swing lines (liquidity)
Confluence Score: column plot summarizing recent events (+/− weighting)
Key options
Safety switch to pause all drawings
Per-module visibility, label sizes/colors, line styles/widths
ATR-based filters for impulses and gaps
Limits for lines/labels/boxes to avoid runtime errors
How to read
BOS = continuation break of the current leg; CHoCH = potential regime shift
OB mitigated when price returns into the block; invalid when price closes beyond; mitigated-then-invalid can form a Breaker
FVG is considered “filled” when price closes through the gap boundary (optional hide/gray-out)
Strong/Weak High/Low tags reflect the active swing bias (potential liquidity/targets)
Good practice
Combine with risk management, multiple timeframes, and your own rules. All drawings are for study/visualization; signals are not trade instructions.
Compliance / Disclaimer
This script is for educational and research purposes only. It is not financial advice or a solicitation to buy/sell any asset. Past performance does not guarantee future results. Always test and manage risk responsibly.
License / Credits
Built with Pine Script® v5. “SMC style josh” is an original, clean-room implementation and does not reuse third-party code.
RSI — Josh (Refined)RSI Buy/Sell Pro — Josh (Refined)
Overview
This study enhances the classic RSI (Relative Strength Index) by adding multiple visualization layers and research tools. It helps users see overbought/oversold conditions, divergence patterns, and momentum shifts more clearly — in a way that is visually intuitive.
⚠️ Disclaimer: This script is for educational and research purposes only. It does not provide financial advice or trading recommendations. Past signals are not indicative of future results. Users remain fully responsible for their own decisions and risk management.
Key Features
Custom RSI Signals
Flexible signal modes (Strict 30/70, Loose, Aggressive 50-cross)
Optional “BUY/SELL” visual text or compact labels
Adjustable cooldown between signals
RSI Divergence Detection
Classic bullish/bearish divergence with pivot confirmation
Real-time “Shadow Divergence” preview (may repaint, by design)
Visual waterline and shaded shadow effects
MA Cross on RSI
Overlay fast/slow moving averages directly on the RSI scale
Crossovers highlighted with markers and alerts
Bollinger Aura (Glow Effect)
Bollinger Bands applied to RSI with customizable color modes
Single color, Upper/Lower, or Zone-driven bull/bear tint
Optional soft fill between bands for clarity
Guidance Panel
On-chart panel summarizing RSI state (OB/OS/Neutral), real-time shadow status, and credits
Alerts Included
RSI BUY / SELL cross conditions
RSI MA cross up / down
Divergence signals (classic & real-time)
Usage Notes
Designed to visualize RSI dynamics and assist in technical research
The “BUY/SELL” markers are visual study tags only — not trade calls
For best practice, combine with higher timeframe context, support/resistance, or volume analysis
Always validate ideas in a demo environment before applying to live trading
Compliance & Credits
Built in Pine Script® v5 on TradingView
Indicator name and labels are for visualization only — not investment advice
Credits: Inspired by classic RSI concepts, refined with additional visualization methods
✅ This description keeps your script compliant:
No performance guarantees
No marketing language like “make profit fast”
Clear disclaimer & educational framing