Support and Resistance [Jamshid]📌 Support & Resistance
This indicator automatically identifies high-quality Support and Resistance zones using volume-weighted pivot levels. It visualizes price structure with adaptive volume boxes, breakout & retest signals, higher timeframe confirmation, and optional volume profile.
✅ Core Features
🔹 1. Smart Support & Resistance Zones (Volume-Based)
Detects pivot highs/lows with strong volume.
Boxes expand dynamically using ATR.
Zones display actual volume value.
Color intensity reflects volume strength.
🔹 2. Breakouts & Retests
“Break Sup / Break Res” labels on structure breaks.
Detects when old resistance becomes support (R→S).
Detects when old support becomes resistance (S→R).
Retest labels and diamond markers for holds.
🔹 3. Volume Profile (Optional)
Shows mini horizontal volume bars at each zone.
Separate bullish/bearish volume distribution.
Adjustable rows and lookback.
🔹 4. Higher Timeframe Confluence (Optional)
Check if current S/R aligns with HTF levels:
5m, 15m, 30m, 1H, 4H, Daily
Modes:
✅ Show All + HTF Labels
✅ Filter Only HTF Confirmed Levels
HTF confirmations shown directly on zone labels.
Tolerance setting for price matching.
🔹 5. Breaker Blocks (Failed S/R Reversal Zones)
Identifies bullish/bearish breaker zones.
Highlights breaker blocks on chart.
Optional labels and zone coloring.
🎯 Visual Alerts & Signals
✅ Breakouts (Support & Resistance)
✅ Retests (Hold without breakout)
✅ Role Reversal (R→S and S→R)
✅ Potential Bullish / Bearish Breakers
✅ Diamonds for hold/retest structure
✅ Labels with volume + timeframe confirmations
Every signal also has a built-in alertcondition so you can automate notifications.
⚙️ Customizable Settings
🟢 Main
Lookback period
Volume filter length
Box width multiplier
🎨 Visual
Show or hide labels, diamonds, retest labels
Label size
🟦 Breaker Blocks
Enable/disable breaker blocks
Show zones & labels
Custom colors
📊 Volume Profile
Enable/disable
Rows, lookback length
Bull/Bear color
⏳ Higher Timeframe Filtering
Turn HTF logic on/off
Select which timeframes to compare
Filter mode or label mode
Price matching tolerance (%)
✅ Why this indicator is unique
✔ Combines price structure + volume + HTF confluence
✔ Automatically adapts S/R strength using volume data
✔ Shows role reversal and breaker logic
✔ Smart visual alerts & automation support
✔ Highly customizable for any strategy or timeframe
💡 How to Use
Add the indicator to any chart or timeframe.
Look for high-volume S/R zones (darker colors = stronger).
Watch for:
Breakouts (trend continuation or reversal)
Retests (strong confirmations)
HTF confluence (higher probability)
Breaker blocks (failed level reversal)
Optionally enable alerts for automation or notifications.
******************************************************************
⚠️ Dangers of Trading
1️⃣ You can lose money very fast
Markets move quickly, and leverage makes losses even faster. Even experienced traders go through drawdowns.
2️⃣ Emotional decisions ruin accounts
Fear (selling too early) and greed (holding too long or overtrading) cause most losses. Trading is more psychological than technical.
3️⃣ Overconfidence after small wins
Many traders win at the beginning and believe they “mastered” the market, then take big risks and blow the account.
4️⃣ No system = gambling
If you trade without clear rules and risk management, you’re not trading—you’re gambling.
5️⃣ Market is not fair
Smart money, institutions, HFT algorithms, and stop-hunts exist. Retail traders are often the liquidity for bigger players.
6️⃣ News/Unexpected events
Unpredictable events (CPI, FOMC, war, tweets, etc.) can instantly move the market against your position.
✅ Advice for Safer & Smarter Trading
✅ 1. Protect your capital first
Your number one job is to survive.
Never risk more than 1–2% per trade.
✅ 2. Have a written trading plan
Define:
When to enter
When to exit
How much to risk
What conditions must be present
If your plan is not written, you don’t have a plan.
✅ 3. Use Stop Loss always
No stop loss = account suicide.
Even professional traders are wrong sometimes.
✅ 4. Focus on one strategy (mastery > trying everything)
Jumping from one strategy to another causes confusion. One good strategy with discipline beats five strategies with no consistency.
✅ 5. Trade with the trend and higher timeframe direction
Trading against HTF structure is fighting the market.
✅ 6. Control emotions like a machine
Biggest trader enemies:
Overtrading
Revenge trading
Fear of missing out (FOMO)
When emotions are strong → stop trading.
✅ 7. Be patient (best skill of a trader)
Sometimes the best trade is no trade.
Professional traders wait for high-probability setups.
✅ 8. Backtest and demo before using real money
If it doesn’t make money in backtesting or demo, it won’t magically work live.
✅ 9. Accept losses (they are part of the game)
Even the best traders lose. The key is small losses, big wins.
✅ 10. Keep learning forever
Market changes. What works today may not work tomorrow. Study price action, volume, psychology, risk management.
🧠 Final Truths:
✅ Trading is a business, not easy money
✅ Winning rate doesn’t matter—risk/reward matters
✅ Consistency > luck
✅ Discipline > knowledge
✅ Survival > profit
Indicatori e strategie
VWAP HMA Trend Execution SystemVWAP Trend Execution System
🧭 Purpose
Most traders don’t fail from bad charts — they fail from bad timing.
Jumping in too early, bailing too soon, or freezing when the real move begins.
The VWAP Trend Execution System cuts through that chaos.
It visually syncs Trend, VWAP, and Confidence — giving you instant clarity to trade with calm precision.
⚙️ The Three Core Gauges:
1. 📈 Trend Green for up, Red for down (Trend: Confirms direction)
2. 💰 VWAP Price vs. Volume Weighted Average Price. Institutional Fair Value. (Bull or Bear)
3. 🎯 Confidence Agreement between trend & VWAP. Dont fight the trend.
Bonus Feature: Confidence Turns 🟢 Confident when aligned, 🟡 Cautious when mixed.
Bonus 2: This version has the cross / confirmed direction arrow in the table.
Together, these create a clean, visual readout of the market’s health.
🧩 How to Use
Watch the Color Flow:
🟢 Green Cloud → Buyers in control.
🔴 Red Cloud → Sellers in control.
Check VWAP (Orange Line):
Price above VWAP → bullish strength.
Price below VWAP → bearish control.
Hovering at VWAP → indecision. Wait.
---
Act With Discipline:
Trade only when all gauges agree.
Add size only in Confident conditions.
Trim or tighten stops when it shifts to Cautious.
⚡ Quick Reference:
🟢 Green cloud + above VWAP + Confident | Uptrend continuation | Favor long bias
🔴 Red cloud + below VWAP + Confident | Downtrend continuation | Favor short bias
Mixed colors or Cautious: Wait or scale back
Cloud flips color: Possible shift. Reassess bias next bar
🧠 Best Practices
Works best on liquid symbols (SPY, QQQ, BTC, GOLD).
Ideal timeframes: 5m to 1h.
Use at bar close for confirmation, but enjoy live responsiveness for awareness.
Combine with your existing risk management — VTES is a timing enhancer, not a signal generator.
Designed for clarity on both light and dark themes (optimized for dark).
💡 Mindset
This isn’t a prediction tool — it’s a discipline tool. Wait for agreement.
Execute when the picture is clear. Protect capital when it’s not.
🧘 Clarity over clutter. Timing over guessing.
⚖️ Disclaimer: Educational and informational use only. Not financial advice. Always use independent judgment and position sizing.
VWAP HMA Trends
It visually syncs Trend, VWAP, and Confidence — giving you instant clarity to trade with calm precision.
⚙️ The Three Core Gauges:
1. 📈 Trend Green for up, Red for down (Trend: Confirms direction)
2. 💰 VWAP Price vs. Volume Weighted Average Price. Institutional Fair Value. (Bull or Bear)
3. 🎯 Confidence Agreement between trend & VWAP. Dont fight the trend.
Bonus Feature: Confidence Turns 🟢 Confident when aligned, 🟡 Cautious when mixed.
Together, these create a clean, visual readout of the market’s health.
🧩 How to Use
Watch the Color Flow:
🟢 Green Cloud → Buyers in control.
🔴 Red Cloud → Sellers in control.
Check VWAP (Orange Line):
Price above VWAP → bullish strength.
Price below VWAP → bearish control.
Hovering at VWAP → indecision. Wait.
---
Act With Discipline:
Trade only when all gauges agree.
Add size only in Confident conditions.
Trim or tighten stops when it shifts to Cautious.
⚡ Quick Reference:
🟢 Green cloud + above VWAP + Confident | Uptrend continuation | Favor long bias
🔴 Red cloud + below VWAP + Confident | Downtrend continuation | Favor short bias
Mixed colors or Cautious: Wait or scale back
Cloud flips color: Possible shift. Reassess bias next bar
⚖️ Disclaimer: Educational and informational use only. Not financial advice. Always use independent judgment and position sizing.
3-6-9 Times v3.2 (rdt)3-6-9 Times v3.1 Indicator Overview
Core Concept
This indicator identifies specific times/dates where the digital root (sum of digits reduced to a single number) equals 3, 6, or 9, which are considered significant in numerology and certain trading methodologies.
How It Calculates Roots:
For Intraday Timeframes (minutes, hours):
Formula: Hour + First Minute Digit + Last Minute Digit → Reduce to single digit
For Daily/Weekly/Monthly Timeframes:
Uses Month + Day calculations with similar digit reduction logic.
Key Features:
1. Break Filter (Default: ON)
Only displays labels after a swing high/low is broken
Prevents clutter by filtering out times that don't coincide with price action
Configurable pivot length (default: 2 bars)
Optional directional filter: green candles must break highs, red candles must break lows
2. Root Selection
Toggle individual roots (3, 6, or 9) on/off
Each root has customizable color
Default colors: Blue (3), Green (6), Red (9)
3. Display Options
Marking Style: Labels, Vertical Lines, or Both
Label Text Format:
Root Only (default) - shows just "3", "6", or "9"
Time/Date Only - shows the actual time/date
Root + Time/Date (separate lines) - shows both
Label Background: Toggle colored box behind text (default: OFF)
Chart Background: Toggle colored background highlight (default: OFF)
Text Color: Customizable (default: black)
4. Session Filter:
Set specific hours/minutes for when to display signals
Default: 00:00 to 23:59 (all day)
Useful for focusing on specific trading sessions
5. Hour Offset
Manual adjustment for timezone/DST issues
Range: -12 to +12 hours
Helps align calculations with your preferred timezone
6. Label Placement
Green candles: Label appears above the bar
Red candles: Label appears below the bar
7. Alerts
Four alert conditions available:
Any 3-6-9 root hit
Specific Root 3 hit
Specific Root 6 hit
Specific Root 9 hit
Typical Use Case
Traders use this to identify potential reversal or continuation points when:
A 3/6/9 time occurs
Price breaks a recent swing high/low
Combining this timing signal with other technical analysis
The indicator helps identify "energetic" time windows that may correlate with increased volatility or directional moves.
3-6-9 Times v3.1 (rdt)3-6-9 Times v3.1 Indicator Overview
Core Concept
This indicator identifies specific times/dates where the digital root (sum of digits reduced to a single number) equals 3, 6, or 9, which are considered significant in numerology and certain trading methodologies.
How It Calculates Roots:
For Intraday Timeframes (minutes, hours):
Formula: Hour + First Minute Digit + Last Minute Digit → Reduce to single digit
For Daily/Weekly/Monthly Timeframes:
Uses Month + Day calculations with similar digit reduction logic.
Key Features:
1. Break Filter (Default: ON)
Only displays labels after a swing high/low is broken
Prevents clutter by filtering out times that don't coincide with price action
Configurable pivot length (default: 2 bars)
Optional directional filter: green candles must break highs, red candles must break lows
2. Root Selection
Toggle individual roots (3, 6, or 9) on/off
Each root has customizable color
Default colors: Blue (3), Green (6), Red (9)
3. Display Options
Marking Style: Labels, Vertical Lines, or Both
Label Text Format:
Root Only (default) - shows just "3", "6", or "9"
Time/Date Only - shows the actual time/date
Root + Time/Date (separate lines) - shows both
Label Background: Toggle colored box behind text (default: OFF)
Chart Background: Toggle colored background highlight (default: OFF)
Text Color: Customizable (default: black)
4. Session Filter:
Set specific hours/minutes for when to display signals
Default: 00:00 to 23:59 (all day)
Useful for focusing on specific trading sessions
5. Hour Offset
Manual adjustment for timezone/DST issues
Range: -12 to +12 hours
Helps align calculations with your preferred timezone
6. Label Placement
Green candles: Label appears above the bar
Red candles: Label appears below the bar
7. Alerts
Four alert conditions available:
Any 3-6-9 root hit
Specific Root 3 hit
Specific Root 6 hit
Specific Root 9 hit
Typical Use Case
Traders use this to identify potential reversal or continuation points when:
A 3/6/9 time occurs
Price breaks a recent swing high/low
Combining this timing signal with other technical analysis
The indicator helps identify "energetic" time windows that may correlate with increased volatility or directional moves.
Current & Previous-Day VWAPThe “Current & Previous‑Day VWAP” indicator plots two important volume‑weighted price references on intraday charts:
Current Session VWAP (solid line): The VWAP is the volume‑weighted average price of the current trading session. TradingView’s built‑in ta.vwap() function automatically resets its calculation at the start of each new intraday session
offline-pixel.github.io
, so the line accurately follows today’s price action. You can set the color of this line via the indicator’s input (defaults to blue).
Previous‑Day VWAP (dotted lines): At the final bar of each session, the indicator stores the current session’s VWAP value. On the first bar of the following session, it draws a horizontal dotted line at that stored value and extends it across the entire day. This uses TradingView’s session detection functions—session.islastbar to capture the closing VWAP and session.isfirstbar to start the new line
tradingview.com
. An array holds each line and its y‑value so that multiple previous‑day VWAPs remain visible for comparison. The color of these dotted lines is also user‑configurable.
This design lets you see both where the current price is relative to today’s VWAP and how it stands against the closing VWAP levels of previous sessions, all at a glance.
Event Marking [zidaniee]This is not a technical analysis indicator, but a visual tool designed to mark important global events using vertical lines on your chart.
By placing a single marker at the exact time an event occurred, you can compare how different assets reacted to that global event — before, during, and after it happened.
In the example provided, the marking corresponds to the moment when U.S. President Donald Trump announced a 100% tariff on goods from China, which was immediately reflected in market reactions worldwide.
The indicator includes full customization features for:
• Event label text
• Label size and position
• Line color, style, and width
Enjoy
4h Top & BottomDraws a line at the top of the first 4h candle as well as the bottom. Colors the background green for possible long entries after reclaiming the bottom and red for short entries after rejecting the top.
Cycle KROUFR Multi-Timeframejo wast eh, a boa zyklen über einander daun kennst die eh scho aus heast.
[NBK] Cover Buy Sell Cover Buy Sell — Engulfing Reversals with EMA/ATR Trend & Quality Filters
What it does
This indicator flags high-quality bullish/bearish reversal candles only when they align with a short-term trend and pass several objective quality filters. It is not a simple mashup: each component serves a distinct role and they work together to keep early/low-quality signals out.
How it works (components & interaction)
Pattern engine (entry candidates)
Bullish side (Cover Buy):
Body Engulf: current green body fully covers the prior red body, or
Piercing (relaxed): prior red → current green closes above the prior body’s midpoint (not beyond prior open).
Bearish side (Cover Sell):
Full-candle Engulf: current red candle (body + wicks) covers the entire prior candle, or
Body Engulf: current red body fully covers the prior body, or
Dark-Cloud (relaxed): prior green → current red closes below the prior body’s midpoint.
Short-term trend gate (non-repainting)
Trend is defined by the EMA slope between bar-1 and bar-2, scaled by ATR to require minimum strength.
Slope < 0 → only bullish candidates pass. Slope > 0 → only bearish candidates pass.
Body-size filter (noise control)
Rejects tiny candles: each body is compared with the lookback average body size.
For bearish candidates an additional ratio check requires current body ≥ a fraction of the prior body (to avoid weak top-ticks).
Peak filters for bearish signals (late, cleaner tops)
Distance above EMA: the high must be at least X × ATR above EMA (avoids mid-range noise).
Near local high: the high of the current bar (or bar-1) must be close to the highest high in a recent window.
Break confirmation: close must break low by at least Y × ATR (filters shallow dark-clouds).
Only when a candidate satisfies the pattern ➝ trend ➝ size ➝ peak sequence is a signal printed/alerted.
Inputs (key parameters)
EMA length, Min EMA slope vs ATR, ATR length: trend strength.
Lookback for average body, Min body vs average, Bear body ratio: body-quality filters.
High distance above EMA (×ATR), Local high lookback, Tolerance to local high (×ATR), Min break of low (×ATR): bearish peak confirmation.
Alerts
Built-in alerts fire on bar close for both Cover Buy and Cover Sell.
How to use
Increase High distance above EMA / Local high lookback / Min break of low to reduce early Cover Sell in ranges.
If you miss good tops, ease those thresholds slightly.
Works across symbols/timeframes; evaluated on bar close; no repaint from the trend gate.
Notes
This tool is a signal screener, not financial advice. For best results, combine with your structure/SR zones, risk management, and execution rules.
Stochastic %K Colored by VolumeDescription:
"Stochastic %K Colored by Volume is a technical indicator that combines the traditional Stochastic %K oscillator with volume-based coloring. It highlights periods of high, low, and neutral trading volume by changing the color of the %K line. Additionally, it identifies bullish and bearish divergences between price and the %K oscillator, helping traders spot potential reversals and trend changes. The indicator also includes key levels for overbought, oversold, and extreme zones to guide trading decisions."
Session Volume Profile-1This indicator used to show volume profile, you can not change the code. You can suggest the changes
3-6-9 Times v3.0.4Showing the 3-6-9 times on charts to show possible reversals and SMR in price. Work on all time frames. Uses simple logic of add HR to MM, then reducing to one root number of 3, 6 or 9.
Smart Money Concepts with Multi-Timeframe AnalysisSCRIPT PURPOSE:
This indicator combines multiple analytical approaches to identify smart money activity
and market structure changes across different timeframes.
KEY COMPONENTS AND THEIR SYNERGY:
1. SMART MONEY CONCEPTS:
- Identifies market structure breaks (BOS) and change of character (CHoCH)
- Detects order blocks where institutional traders likely entered positions
- Maps fair value gaps (FVG) for potential price inefficiencies
2. FIBONACCI STRUCTURE ANALYSIS:
- Applies custom Fibonacci levels to current market structure
- Provides specific trading levels (SL, TP1-5, Entry zones)
- Helps identify potential reversal and continuation zones
3. HALFTREND MOMENTUM:
- Uses ATR-based trend detection with channel visualization
- Provides clear buy/sell signals with trend confirmation
- Works as a filter for smart money signals
4. MULTI-TIMEFRAME DASHBOARD:
- Shows trend alignment across 10 different timeframes
- Helps identify confluence for higher probability setups
HOW COMPONENTS WORK TOGETHER:
- Smart Money concepts identify WHERE institutions are active
- Fibonacci levels determine KEY PRICE ZONES for entries/exits
- HalfTrend confirms the CURRENT TREND DIRECTION
- Multi-timeframe analysis ensures ALIGNMENT across time horizons
CREDITS:
- Drawing utilities: LudoGH68/Drawings_public/1
- Smart Money Concepts methodology
- Fibonacci price analysis techniques
- HalfTrend algorithm for trend detection
Volume x Close in CroresThis indicator provides a clear visualization of the monetary volume activity for each candle by calculating the product of trading volume and closing price and converting it into crores for easier readability.
Grandoc's MTF SeparatorsOverviewThis indicator, known as Grandoc's MTF Separators, draws vertical lines to mark key period boundaries across multiple timeframes (MTF—standing for "Multi-Timeframe," which allows visualization of higher-timeframe structures like daily or weekly pivots directly on lower-timeframe charts, such as 15-minute views). It helps traders align intraday decisions with broader market cycles. Additionally, it includes optional session open/close lines and closing price ranges for major forex sessions (Sydney, Tokyo, Frankfurt, London, New York). By combining customizable timeframe separators with session-specific visuals, it provides a comprehensive tool for multi-timeframe analysis without cluttering the chart. The script is optimized for efficiency, using arrays to manage drawings and respect TradingView's limits.© grandoc
Created: October 12, 2025
Last Modified: October 12, 2025
Version: 1.4 (Improved: Added Frankfurt session with independent toggles for open/close lines and closing range)Key FeaturesMulti-Timeframe (MTF) Separators: Configurable lines for up to four timeframes (e.g., daily, weekly, monthly), plotted as vertical lines extending across the chart. Supports periods from seconds to years—ideal for spotting MTF confluences, like a weekly open aligning with a London session start.
Session Management: Independent toggles for open/close lines and 30-minute closing ranges for five major sessions. Opens use dotted lines by default; closes use solid lines. Frankfurt session added for European traders.
Customization: Select reference points (session start or midnight day start), timezones, colors, line styles, and lookback limits to control visibility and performance.
Efficiency: Arrays limit drawings to user-defined lookback periods, preventing overload on historical data.
Originality and UsefulnessThis script extends standard timeframe detection by integrating session visuals with granular controls, including the new Frankfurt session for better European market coverage. Unlike generic separators, it uses a modular drawSeparator() function for consistent rendering across MTF and sessions, reducing code redundancy. Closing ranges highlight volatility in the final 30 minutes of each session, serving as dynamic support/resistance—unique for session-based strategies.Ideal for forex traders on instruments like EURUSD futures, where aligning intraday trades with higher-timeframe pivots and session transitions reduces noise. For instance, on a 15-minute EURUSD futures chart, daily separators mark session-aligned opens, while London closing ranges flag potential reversal zones before New York handover. The MTF aspect shines here: A weekly separator (orange solid line) crossing a NY open (blue dotted) signals a high-probability setup.How It WorksMulti-Timeframe SeparatorsDetection: Uses ta.change(time(tf, sess, tzz)) to identify period starts, where tf is the timeframe string (e.g., "1D"), sess is "0000-0000" for day-midnight or empty for session-start, and tzz is the timezone.
Drawing: On change, drawSeparator() creates a vertical line via line.new(x1=x_time, x2=x_time, y1=open, y2=open + syminfo.mintick, extend=extend.both). The mintick offset ensures it's a line, not a point. Lines extend both ways for full visibility.
Management: Pushed to dedicated arrays (e.g., sepArray1); excess trimmed with array.shift() and line.delete() based on lookback.
Visibility: Only plots if higher timeframe (timeframe.in_seconds(tf) > timeframe.in_seconds()).
Session Open and Close LinesDetection: For each session (e.g., Sydney: "2200-0700:1234567"), inSession = not na(time(timeframe.period, sessionStr, sessionTz)). Opens trigger on inSession and not inSession ; closes on not inSession and inSession .
Drawing Opens: Calls drawSeparator(true, sessionColor, sessionOpenWidth, sessionOpenStyle, sessionLookback, sessLinesArray) at time (bar open time). Uses global dotted style/width by default for easy identification of new sessions.
Drawing Closes: Similar call, but at time_close (previous bar close) for precise end-time alignment. Uses global solid style/width. All shared in one sessLinesArray for unified trimming.
Navigation Benefit: Dotted opens act as "entry gates" for session momentum; solid closes as "exit signals." Colors differentiate sessions (e.g., green for Sydney), enabling quick scans—e.g., spot Tokyo open overlaps on EURUSD futures for Asian bias.
Closing RangesDetection: For each closing window (e.g., London: "1630-1700:1234567"), inClose = not na(time(timeframe.period, closeStr, sessionTz)).
Tracking: On entry (inClose and not inClose ), initializes high/low at current bar's values and stores bar_index. During session, updates with math.max/min(nz(var, high/low), high/low).
Drawing: On exit (not inClose and inClose ), creates box.new(left=startBar, right=bar_index-1, top=high, bottom=low, border_color=sessionColor, bgcolor=color.new(sessionColor, 80)). 80% transparency for subtle shading; border matches session color.
Management: Pushed to rangeBoxesArray; trimmed like lines. Only draws if toggle enabled (defaults off to avoid clutter).
Navigation Benefit: Ranges visually encapsulate end-of-session volatility—e.g., on EURUSD futures, a tight NY range signals low-risk continuation, while wide ones warn of gaps. Ideal for range-break trades or as next-session S/R.
All session elements use the dedicated sessionTz for consistency, independent of separator timezone.Installation and UsageAdd via TradingView's Public Library (search "Grandoc's MTF Separators").
Settings Navigation: Separators (#1-4): Toggle/enable timeframes (e.g., D1 default); lookback hidden for simplicity.
Style: Per-separator colors/widths/styles (hidden widths); global open/close styles for sessions.
Preferences: "Session" vs. "Day" reference (tooltips explain EURUSD example); timezone (hidden, Day-only).
Session Settings: Unified timezone for all sessions.
Open Lines (g4): Per-session toggles (all on default).
Close Lines (g7): Per-session toggles (all on default).
Closing Ranges (g5): Per-session toggles (all off default—enable for S/R focus).
Session Times (g8): Edit strings (e.g., adjust for DST on EURUSD futures).
Colors & Lookback (g6): Session colors; shared lookback limits.
Apply to EURUSD futures (e.g., 15-min chart) with defaults: See green daily dots, orange weekly solids, session opens/closes in theme colors.
Pro Tip: On futures, set "Session" reference and exchange TZ for accurate rollover alignment; enable ranges for close-of-day liquidity plays. For MTF depth, layer #3 (monthly) over intraday for long-term bias.
LimitationsLines/ranges may cluster on low-timeframe charts; increase lookback or disable lower separators.
Session times are UTC defaults; manual DST tweaks needed for futures like EURUSD.
Time-based; avoid non-standard charts (e.g., Renko).
No built-in alerts—use TradingView's on line/box conditions.
Example Chart Open-source for community reuse (credit © grandoc). Published October 12, 2025. Questions? Comment below!
AnchorPulse RWAP Universal ScalperWhat it is
AnchorPulse Scalper is an intraday indicator that reads price in real time through three ideas working together.
A live pivot engine that detects the current micro leg.
An Anchored Range Weighted Average Price that starts at each new leg or session.
An adaptive rhythm score that communicates a simple bias: Buy, Sell, or Wait.
The goal is clarity. You get one anchor line, soft bands that show stretch, discrete Buy and Sell marks, and a plain-language dashboard that says Trend, Phase, Bias, Momentum, Volatility, Stretch, ETA to next turn, and Regime. No external dependencies and no lookahead. It is designed for standard chart types on one to five minute timeframes across liquid symbols such as major FX, index futures, large cap stocks, and mainstream crypto pairs.
What makes it original
Most scalpers either track a fixed moving average or draw from a session VWAP. AnchorPulse does neither. The anchor resets at every new micro leg detected by a real time pivot engine that measures distance in units of ATR rather than in fixed points. This produces a responsive anchor that updates only when the market proves a leg has turned. On top of that, the rhythm timer keeps an average of how long legs usually last, so the indicator can treat the start and the end of a leg differently. Early in a leg it favors continuation signals. Late in a leg it watches for mean reversion. This mix of an ATR-based leg detector, a leg-anchored RWAP, and a rhythm aware bias is the core originality.
Plain explanation of the calculations
Pivot engine. While price travels up, the script tracks the highest high reached since the last pivot. If price pulls back from that extreme by at least a user defined fraction of ATR, the leg flips down. The reverse applies to down legs. The distance threshold is adaptive because ATR changes with volatility. A short cooldown in bars can prevent double flips on violent bars.
Anchored Range Weighted Average Price. From the first bar of each new leg the script accumulates a weighted average of the typical price, where the weight is the true range of each bar. The anchor can also reset at the start of a session and can ignore the very first session bar to avoid overweighting the open gap.
Progress and phase. The script measures how far price traveled from the last pivot relative to the reversal threshold. That is progress. At the same time it maintains an exponential average of leg duration in bars. The current leg age divided by that average is the age ratio. An age ratio below an adaptive early threshold means Early. Above an adaptive late threshold means Late. The thresholds drift with recent variability in leg length so they match the rhythm of the market.
Wick pressure and intrabar skew. Lower wick minus upper wick, normalized by ATR and smoothed, acts as tape pressure. The sign of close minus open, smoothed, is intrabar skew. They are combined into a compact momentum read.
Bands and stretch. The script computes the deviation of typical price from the anchor and builds soft bands around the anchor. Standard deviation is capped by a multiple of mean absolute error to avoid inflated bands just after a pivot.
Regime filter. You may optionally gate continuation entries when the higher timeframe EMA disagrees, or gate reversals when ADX shows strong trend.
Adaptive edge score. Progress and momentum are turned into percentile scores using a normal CDF of their rolling z scores. This yields a familiar zero to one hundred scale that is easier to read than raw values. Early in an up leg adds a small bonus to long bias. Early in a down leg adds a small bonus to short bias.
Gap cap. Signals are rejected if price is too far from the anchor. The cap is expressed as a fraction of price, which scales across symbols.
What you see on the chart
One white anchor line. Two transparent bands. Subtle green or orange background when a bias is active. Buy marks below bars and Sell marks above bars. Small triangles at pivots. Bar tint softly aligned with momentum. A compact table in the corner that tells you the state in plain language. On alert, a single JSON line can be sent to your alert channel with ticker, timeframe, trend, phase, bias, edge score, stretch, ETA in bars, and regime note.
How to use it in practice
Choose a liquid symbol and a one to five minute timeframe.
Keep the mode on Hybrid until you learn the personality of the market. If you notice long directional pushes, try Continuation mode. If you see frequent fades near the end of legs, try Reversal mode.
Read the table. Trend shows Up or Down according to the current leg. Phase shows Early, Mid, or Late from the rhythm timer. Bias shows Buy, Sell, or Wait once the signal rules and the gap cap are satisfied. Momentum reads Strong Up, Neutral, or Strong Down from wick pressure and skew. Volatility shows Calm, Average, or Wild relative to an ATR baseline. Stretch vs anchor prints the distance between close and the anchor as a percent of price. ETA shows how many bars remain to the average leg length if such a read is meaningful. Regime reflects the optional gate: None, HTF Up, HTF Down, Strong, or Soft.
Focus on the anchor. Continuation longs are stronger when price holds above the anchor in the first part of an up leg with positive momentum and adequate progress. Continuation shorts are the mirror case below the anchor. Reversal longs are stronger when a down leg is late, price crosses the anchor, and momentum flips positive. Reversal shorts are the mirror case in late up legs.
Respect the gap cap. When price is stretched far away from the anchor, skip signals and wait for re-alignment or a fresh leg.
Keep the chart clean. The script is designed to work on its own. If you add other tools, make sure they do not paint multiple backgrounds or heavy drawings that obscure the anchor and the bands.
Inputs explained with practical defaults
The script ships with sensible defaults and all inputs provide tooltips inside the indicator. The description here is included so traders who do not read code can still understand how to tune it.
Signal mode. Continuation uses early leg logic. Reversal uses late leg logic at anchor crosses. Hybrid allows both and lets the edge score decide.
ATR length and Pivot reversal in ATR. These govern flips. Shorter ATR and smaller reversal multiples yield faster turns and more signals. Longer and larger do the opposite. A middle ground such as ATR 50 with reversal 0.75 often reads well across liquid markets.
Rhythm smoothing length and Freeze bars after flip. The first sets how quickly the average leg length adapts. The second prevents double flips on wide bars. Values around 20 and 1 to 3 bars work well for most symbols.
Session hours, Session reset, and Skip first session bar. These are optional. Day sessions in equities can benefit from a reset and from skipping the first bar so the anchor is not dragged by the open gap. Round the session to your venue.
Wick pressure length and Intrabar skew length. They control how quickly the micro momentum reacts. Values between 6 and 12 for wick pressure and 4 to 10 for skew are common.
Early and Late thresholds and the Adaptive option. If you turn adaptation on, the thresholds drift with leg variability. The adaptiveness setting controls the strength of that drift.
Minimum progress and Maximum stretch vs anchor. The first ensures that continuation signals only occur once the leg moved a minimum distance from the last pivot. The second prevents chasing far from the anchor. As a rule, raise minimum progress when the market chops and reduce it on trend days. Keep stretch around one to two percent for many symbols, then adjust by product.
Regime filter. Higher timeframe EMA supports trend alignment. ADX supports a simple read on the strength of trend. Use one at a time or none, depending on your preference.
Adaptive scoring lookback. The percentile logic needs a modest window. Values near one hundred twenty bars tend to give stable ranks without lagging too much.
Band settings. Band length and width control the look of the soft channel around the anchor. The cap versus mean absolute error is there to keep the bands realistic just after flips.
Visual controls. Pick labels, triangles, or circles, and choose to mark only state changes if you prefer a very clean chart.
Why the dashboard uses plain language
Many traders prefer to reason in simple terms rather than in raw values. The table abstracts the math into natural categories such as Early versus Late, Calm versus Wild, or Strong Up versus Strong Down. The only numeric reads are Stretch and Edge score because these help in threshold decisions. Stretch is a percent of price so it scales across markets. Edge is a normalized score from zero to one hundred that reflects the combined progress, momentum, and phase. The table is intended to be the only element you need to glance at during a fast session once you learn the anchor and the band cues.
Design choices and integrity
No repaint. The script uses bar closes and standard Pine semantics with lookahead off in security calls. There are no offset tricks that move plotted values after the fact.
One background painter. Background tint is created by a single call to avoid vertical stripes.
Reset logic is explicit. The anchor resets at a pivot or at session start if that option is enabled. This is written to be transparent so you know why the anchor restarted.
Conservative defaults. Out of the box, the script is not tuned to over trade. It communicates bias rather than forcing entries.
Clean chart guidance. The tool is meant to be used on standard bars or candles. It is not intended for synthetic chart types such as Heikin Ashi, Renko, Kagi, Point and Figure, or Range for the purpose of signal generation.
How to read a few common situations
Breakout with strong follow through. Trend reads Up. Phase reads Early. Momentum reads Strong Up. Stretch sits inside the band. Bias shows Buy. This is the typical continuation long.
Extended push into exhaustion. Trend reads Up. Phase reads Late. Momentum cools. Stretch prints a high positive percent of price. Bias flips to Wait, sometimes to Sell after an anchor cross. This is the potential reversal short.
Mean reverting chop. Trend flips often. Phase hangs around Mid. Momentum flips sign frequently. Stretch hovers near zero. Bias often prints Wait. In this case you let the market speak and only act when the leg matures or when stretch spikes away from the anchor.
Trend day with strength. ADX filter reads Strong. Continuation is allowed. Reversal attempts are blocked. Bias favors the dominant direction.
Session open. If you selected a session reset and chose to skip the first bar, the anchor starts at the second bar and the first prints do not dominate the anchor.
Limits and realistic expectations
This indicator measures leg structure and micro pressure to suggest a bias. It is not a self-contained trading system. It does not size positions, pick stops, or set take profits. It does not promise accuracy or profits. In violent markets the pivot detector can flip and then flip back. Cooldown reduces this effect but cannot remove it. During news and illiquid hours the anchor can move very quickly. Wide slippage and spread can make any intraday approach impractical. These are standard realities of intraday trading and they also apply here.
Suggested workflows
Discretionary scalper. Keep the chart clean. Use the table to decide whether to engage, then work entries at the anchor or inside the band. Focus on position risk and a predefined stop level independent of the script.
Session specialist. If you trade a venue with strong sessions such as US equities or major FX sessions, enable the session reset. Many traders find the tool shines in the first two hours and the last hour of an active session.
Multi timeframe monitor. Keep AnchorPulse on one to five minutes and a simple higher timeframe EMA on a separate chart. If you prefer a single chart, switch the regime filter to HTF Trend and let the indicator handle it.
Alert driven workflow. Create alerts on Buy or Sell. The payload contains the essential context so you can log and review. Use the payload fields to build a small notebook of cases you like to take.
Why it is published as protected
The script contains original logic that relies on a compact set of calculations not commonly seen together. Publishing as protected keeps the logic intact while still giving the community full access through the Public Library.
Frequently asked questions
Does it repaint
No. The pivot flips on confirmed bars using ATR distance. The anchor, bands, and dashboard read from that state and do not shift after the bar closes.
What settings should I change first
Try the reversal distance in ATR and the minimum progress. These two govern how active or selective the tool becomes. If you see too many flips, raise the ATR multiple or the freeze bars. If you want faster action, lower them slightly.
What is a reasonable stretch cap
One to two percent of price is a useful starting point for many symbols. Thin products may need a larger cap. Extremely liquid products can often work with a smaller cap.
Should I use the regime filter
On days with persistent trend, the higher timeframe EMA filter or the ADX filter can help keep you with the flow. On rotational days, consider turning the filter off to allow more two sided action.
Can I use it on higher timeframes
The logic works on any timeframe, but the design and defaults target one to five minutes. If you go higher, adjust the ATR length, reversal distance, and rank lookback accordingly.
Can I combine it with volume
Yes. A simple volume filter that marks above average volume near the anchor can help you time entries. Keep the chart readable.
Risk notice and user responsibility
This indicator is a tool for research and education. It does not give investment advice, trade recommendations, or any guarantee of outcomes. All trading carries risk including the loss of capital. Past performance is not a reliable guide to future results. You are solely responsible for your trading decisions, for verifying that the indicator behaves as you expect on your data and platform settings, and for selecting appropriate risk controls such as position sizing, stops, and loss limits.
Summary
AnchorPulse Scalper is a concise way to read the market’s current leg, its anchor, and its rhythm. The pivot engine tells you direction. The leg-anchored RWAP shows where value sits for this micro move. The adaptive score simplifies momentum and progress into a familiar scale. The dashboard translates complex calculations into the plain words that scalpers actually use. If you prefer simple signals, enable alerts and let them flow into your log. If you prefer context, watch the anchor and bands as the leg evolves and let the rhythm guide your timing. Use it respectfully on a clean chart, stay realistic, and keep your own rules for risk.
Markov Chain Regime & Next‑Bar Probability Forecast✨ What it is
A regime-aware, math-driven panel that forecasts the odds for the very next candle. It shows:
• P(next r > 0)
• P(next r > +θ)
• P(next r < −θ)
• A 4-bucket split of next-bar outcomes (>+θ | 0..+θ | −θ..0 | <−θ)
• Next-regime probabilities: Calm | Neutral | Volatile
🧠 Why the math is strong
• Markov regimes: Markets cluster in volatility “moods.” We learn a 3-state regime S∈{Calm, Neutral, Volatile} with a transition matrix A, where A = P(Sₜ₊₁=j | Sₜ=i).
• Condition on the future state: We estimate event odds given the next regime j—
q_pos(j)=P(rₜ₊₁>0 | Sₜ₊₁=j), q_gt(j)=P(rₜ₊₁>+θ | Sₜ₊₁=j), q_lt(j)=P(rₜ₊₁<−θ | Sₜ₊₁=j)—
and mix them with transitions from the current (or frozen) state sNow:
P(event) = Σⱼ A · q(event | j).
This mixture-of-regimes view (HMM-style one-step prediction) ties next-bar outcomes to where volatility is likely headed.
• Statistical hygiene: Laplace/Beta smoothing, minimum-sample gating, and unconditional fallbacks keep estimates stable. Heavy computations run on confirmed bars; “Freeze at close” avoids intrabar flicker.
📊 What each value means
• Regime label & background: 🟩 Calm, 🟧 Neutral, 🟥 Volatile — quick read of market context.
• P(next r > 0): Directional tilt for the very next bar.
• P(next r > +θ): Odds of an outsized positive move beyond θ.
• P(next r < −θ): Odds of an outsized negative move beyond −θ.
• Partition row: Distributes next-bar probability across four intuitive buckets; they ≈ sum to 100%.
• Next Regime Probs: Likelihood of switching to Calm/Neutral/Volatile on the next bar (row of A for the current/frozen state).
• Samples row: How many next-bar samples support each next-state estimate (a confidence cue).
• Smoothing α: The Laplace prior used to stabilize binary event rates.
⚙️ Inputs you control
• Returns: Log (default) or %
• Include Volume (z-score) + lookback
• Include Range (HL/PrevClose)
• Rolling window N (transitions & estimates)
• θ as percent (e.g., 0.5%)
• Freeze forecast at last close (recommended)
• Display toggles (plots, partition, samples)
🎯 How to use it
• Volatility awareness & sizing: Rising P(next regime = Volatile) → consider smaller size, wider stops, or skipping marginal entries.
• Breakout preparation: Elevated P(next r > +θ) highlights environments where range expansion is more likely; pair with your setup/trigger.
• Defense for mean-reversion: If P(next r < −θ) lifts while you’re late long (or P(next r > +θ) lifts while late short), tighten risk or wait for better context.
• Calibration tip: Start θ near your market’s typical bar size; adjust until “>+θ” flags truly meaningful moves for your timeframe.
📝 Method notes & limits
Activity features (|r|, volume z, range) are standardized; only positive z’s feed the composite activity score. Estimates adapt to instrument/timeframe; rare regimes or small windows increase variance (hence smoothing, sample gating, fallbacks). This is a context/forecast tool, not a standalone signal—combine with your entry/exit rules and risk management.
🧩 Strategies too
We also develop full strategy versions that use these probabilities for entries, filters, and position sizing. Like this publication if you’d like us to release the strategy edition next.
⚠️ Disclaimer
Educational use only. Not financial advice. Markets involve risk. Past performance does not guarantee future results.
Volume Profile and Indicator by Daniel KatzensteinAfter 10 years of trading, I decided to make an indicator that suits me better for market analysis.
BTS by Ichan Aristain• Breakout Trading System
Adaptive buy/sell engine tuned for crypto that blends EMAs, Ichimoku cloud context, breakout/consolidation filters, momentum checks, and volume validation. It auto-detects symbol
class (BTC, majors, alts, DeFi, small caps) and adjusts the logic accordingly. On the chart you see clean BUY/SELL tags, optional TP ideas, and peak/floor markers; support/resistance
price-action dots keep the view tidy.
Breakout helpers, consolidation and momentum pings, peak/floor updates, and TP suggestions all drive alert hooks so you can automate entries, exits, or take-profit workflows. A
bottom-right dashboard tracks buy/sell win counts (TP hits) and overall hit rate so you always know how the strategy is performing. Toggle the visual layers you need via the “Trade
Visuals” inputs to match your workflow—from scalping to higher-timeframe swing trading.