Options Trading Max Success_V1DISCLAIMER:
The information provided is NOT financial advice. I am not a financial adviser, accountant or the like. This information is purely from my own due diligence and an expression of my thoughts, my opinions based on my personal experiences, and the way I transact.
Utilize this indicator at your own risk..! The indicator creator is not liable for your loss due to untimely action / adverse consequences / server lags from Tradingview (if any).
======================================================
Welcome!
This is a 95-100% Success rate High Frequency Indicator exclusively for Binary Options Traders. It works on any time frames and pairs but is EXCLUSIVELY built for 1-minute candles for EUR/USD currency on "OANDA" forex chart. So, use it for same to get this indicator working at its best.
Use Martingale strategy (5 attempts max) for making profits / recover loss with some profits.
======================
Martingale Strategy For your knowledge with an example:
1) Lets say you are trading on binary options platform that gives 80% profit upon successful trade.
2) UP signal seen. You do the below from next candle:
a) 1st attempt = Rs.100.
- If Success, then profit = Rs.80. Cycle close and exit.
- If Loss, then do 2nd attempt.
b) 2nd attempt =Rs.200.
- If Success, then profit = Rs.160. (Rs. 100 recovery + Rs.60 Profit). Cycle close and exit.
- If Loss, then do 3rd attempt.
c) 3rd attempt = Rs. 400.
- If Success, then profit = Rs.320. (Rs. 300 recovery + Rs.20 Profit). Cycle close and exit.
- If Loss, then do 4th attempt.. and so on.
=======================
If you see any body less/Doji candle in between your attempts. Then do not continue further.
Hold this cycle for next similar stage. For example:
Select chart which promises: Success = 80% profit.
Then attempt the below on the next candle AFTER you see an UP signal.
Cycle 1: UP signal seen. 5 attempts from next candle:
Let's say:
1st attempt = Rs.100. Result = loss
2nd attempt =Rs.200. Result = loss
3rd attempt = Rs.400. Result = No profit/loss (due to Doji candle/candle without body).
Recommendation: Do not proceed further in current cycle. Hold on for next cycle/UP signal.
Park Rs.400 rupees attempt aside for a while.
Cycle 2: UP signal seen. 5 attempts from next candle:
Let's say:
1st attempt = Rs.100. Result = loss
2nd attempt =Rs.200. Result = Success
Cycle Completed. Wait for next cycle/Up signal
Cycle 3: UP signal seen. 5 attempts from next candle:
Let's say:
1st attempt = Rs.100. Result = loss
2nd attempt =Rs.200. Result = loss
3rd attempt = Now you can attempt with Rs. 800.
.
=====================
Recommendations:
- Keep a good discipline and make smart moves.
- You may add other supporting indicators of your choice along with this.
- You can keep your trading attempts low i.e. After you see an UP signal, let go the 1st one/two/three candles. If they turn out to be Red candles back to back, then good for you, as you can start entry of attempts from the 2nd/3rd/4th candle. Thereby evading one/two/three few failed attempts. If any candle gets green After Up signal and before your entry, then do not enter this cycle. Wait for next cycle.
Good luck.
================
Multitimeframe
Liquidity Sweep Pro (HTF + Confirmation) — patchedHow it works (in brief)
Bearish Sweep: High > (PDH/PWH + tolerance) and close < level, plus the selected confirmation.
Bullish Sweep: Low < (PDL/PWL − tolerance) and close > level, plus the selected confirmation.
Confirmation:
ATR: Candlestick range ≥ atrMult × ATR and candlestick direction matching.
MSS: Micro-structure shift: Bear → close below the most recent mini-low, Bull → close above the most recent mini-high.
ATR+MSS (default): both conditions must be met.
Optional session filter: Signals are only generated within the selected time period (exchange time period).
No repainting - no Lookahead: request.security(..., lookahead=barmerge.lookahead_off)
No repainting - no intrabar flutter: Signals only at candle close via barstate.isconfirmed (own _close signals for plot & alerts)
Use Previous Day High/Low
Activates PDH/PDL (previous day's high/low) as external liquidity levels.
These values come from the previous day's completed candlestick (no lookahead).
Use Previous Week High/Low
Activates PWH/PWL (previous week's high/low) as additional, "heavier" liquidity levels.
Also from the previous week's completed candlestick (no lookahead).
Sweep Tolerance (Ticks)
"Safety margin" in ticks around one level to filter out micro-wicks/spread noise.
Internal: tickSize = syminfo.mintick * tickTol.
Guidelines:
FX (majors, H1–H4): 1–5 ticks
Indices (M5–H1): 1–3 ticks
CFDs/volatile/smaller TFs: 5–10 ticks
Crypto: 5–50 ticks depending on the symbol
Larger = stricter (fewer, cleaner sweeps).
ATR Length
Period for ATR (volatility measure). The standard 14 is acceptable; 10–20 depends on the instrument.
Displacement Factor
Minimum "power" of the sweep candle relative to the current ATR.
Internal: rangeRatio = (High–Low)/ATR and we check rangeRatio > atrMult.
Guidelines:
0.6–0.8 → sensitive (more signals)
0.9–1.2 → stricter (only strong candles)
Micro-Structure Shift Lookback
Depth for the MSS check (structural break in the sweep direction):
Bear sweep: close < lowest(low, mssLen)
Bull sweep: close > highest(high, mssLen)
This ensures that we use the completed micro-structure as a reference (stable).
Guidelines: 3–8 (shorter = more, longer = stricter).
Confirmation Mode
None – only sweep at the level (wick back through the level + close).
ATR – sweep + candle must be "large enough" (rangeRatio > atrMult) and close appropriately (bearish/bullish).
MSS – Sweep + small structural break (MSS) in sweep direction.
ATR+MSS (recommended) – both conditions; very clean, but fewer signals.
Only trigger in session
Signals only within the specified session window.
Session Time (Exchange TZ)
Time window in the symbol's exchange time zone, not your local time.
FX/Indices: e.g., 8:00–17:00 (London/NY core time).
Crypto: often deactivated, as it operates 24/7.
Plot HTF Levels
Displays PDH/PDL/PWH/PWL as lines (for visual orientation).
Color Settings
PDH/PDL Color – Color of the daily levels.
PWH/PWL Color – Color of the weekly levels.
Bull/Bear Sweep Marker – Color of the sweep markers (shapes).
Best Practice Recommendations
Backtest setting: Alerts set to "Once per bar close" – your script will ultimately only generate bar close signals → 1:1 consistency.
Filter more strictly: Increase atrMult (e.g., 1.0–1.2) and mssLen 6–8.
More signals: atrMult 0.6–0.7, mssLen 3–4, but don't leave the tick tolerance too small (false sweeps!).
Instrument-specific:
FX H4/Session trading: Session on, tickTol 1–5, atrMult 0.8–1.0, mssLen 5–6.
Crypto: Session off, atrMult slightly higher (0.9–1.1), tickTol higher depending on the symbol.
Indices: Session on, tickTol 1–3, atrMult 0.8–1.0.
The additional filters
Min Body % / Max Wick %
filter out "pin candles" with a mini body and a large wick. These sweeps are often noise-oriented (stop clears without a real shift) → fewer false positives.
Min Close Distance from Level
requires that the closing price noticeably returns to the range. A close "close" to the level is often indecisive → even fewer false signals.
FUMO MA Cross Matrix 9/21/50/100/200 FUMO MA Cross Matrix is a flexible and advanced indicator designed for traders who rely on moving average crossovers as part of their strategy.
🔹 Key Features:
Supports 5 types of Moving Averages: EMA, SMA, SMMA (RMA), WMA, HMA.
Includes 5 standard MAs: 9, 21, 50, 100, 200 (toggle on/off individually).
Choose which MA crosses to monitor (9×21, 21×50, 50×100, 100×200, and 6 extended combinations).
On-chart signals (labels) when crosses occur.
Alerts system for every selected cross and also summary alerts (“Any Cross Up/Down”).
Option to trigger signals only on confirmed bars (no repaint).
Fully adjustable label visibility and signal style.
🔹 Use Cases:
Detect trend shifts (short-term vs long-term).
Build scalping, swing, or position trading strategies.
Combine with price action or volume analysis for stronger setups.
Quickly react to Golden Cross and Death Cross events.
🔹 How to Use:
Select your preferred MA type (EMA, SMA, etc.).
Enable the MAs (9, 21, 50, 100, 200) you want to plot.
Choose which crossovers to track in the settings.
Enable/disable on-chart labels for better visualization.
Set up alerts:
“CROSS UP/DOWN X>Y” for specific pairs.
“ANY CROSS UP/DOWN” for aggregated signals.
📌 Example Alerts
MA Cross UP 9>21 on BTCUSDT 15m @ 65432
Any selected MA cross DOWN on AAPL 1D @ 195.2
MTF Advanced Disparity Index (Oscillator)multi time frame disparity index indicator is good for intraday ,we can find buy sell signals by using it's overbought & oversold zone
Market Sessions [odnac]
This indicator highlights the three main global market sessions (USA, Europe, Asia) and their overlaps directly on the chart.
It helps traders quickly identify active trading periods and potential high-liquidity overlaps.
Features:
Customizable start and end times for each session
Optional daily dividers with weekday labels
Session markers displayed as circles above the candles
Overlap sessions displayed in distinct colors
Adjustable opacity for better chart visibility
Option to hide weekends
Sessions included:
USA Market Session (default 13:30–20:00 UTC)
Europe Market Session (default 07:00–16:00 UTC)
Asia Market Session (default 00:00–09:00 UTC)
Overlaps: USA + Europe, USA + Asia, Europe + Asia
This tool is designed for intraday timeframes (1m–60m) and can be useful for scalping, day trading, or session-based strategies.
EMA Oracle and RSIEMA Oracle
- “See the market’s structure through the eyes of exponential wisdom.”
combines classic EMA stacks with Pi-based logic to reveal high-probability buy/sell zones and trend bias across timeframes
Multi-EMA Trend & Pi Signal Indicator
This advanced indicator combines classic trend analysis with Pi-based signal logic to help traders identify optimal entry and exit zones across multiple timeframes.
Core Features
EMA Trend Structure: Displays EMAs 9, 13, 20, 50, and 200 to visualize short-term and long-term trend orientation. Bullish momentum is indicated when shorter EMAs are stacked above longer ones.
Pi-Based Signal Logic: Inspired by the Pi Indicator, it includes EMA111 and EMA700 (350×2) on the daily chart:
Buy Zone: When price is trading below EMA111, it signals potential accumulation for spot or low-leverage position trades.
Sell Zone: When price is above EMA700, it suggests potential distribution or exit zones.
Trend Cross Alerts: Detects EMA crossovers and crossunders to highlight shifts in market structure and generate buy/sell signals.
Multi-Timeframe Analysis: Evaluates trend direction across selected timeframes (e.g., 15m, 30m, 1h, 4h, 1D), offering a broader market perspective.
RSI Integration: Combines Relative Strength Index (RSI) readings with EMA positioning to assess momentum and overbought/oversold conditions.
Trend Table Display: A dynamic table summarizes the asset’s trend status per timeframe, showing:
RSI values
EMA alignment
Overall trend bias (bullish, bearish, neutral)
Time Based Range CandleThis indicator creates a visual candle representation from price action during a specified time period.
Key Features:
Configurable Sessions: Set any calculation period (when range is measured) and display period (when visualization appears)
Candle Visualization: Draws a large candle showing open, close, high, low with proper body coloring
Wick/Tail Analysis: Displays wicks and tails with quarter-level subdivisions based on candle type (bullish vs bearish)
End Marker: Vertical line marks exactly when the calculation period ends
Quarter Lines: Optional dotted/dashed lines showing 25%, 50%, 75% levels within body, wicks, and tails
Common Use Cases:
Overnight range analysis (18:00 - 6:00 ET) displayed during regular hours
Session-based range trading (Asian, London, NY sessions)
Custom time period analysis for any market
The indicator follows proper candle terminology where wicks and tails are measured differently for bullish vs bearish candles, making it useful for precise level analysis and range trading strategies.
RTH Levels: VWAP + PDH/PDL + ONH/ONL + IBAlgo Index — Levels Pro (ONH/ONL • PDH/PDL • VWAP±Bands • IB • Gaps)
Purpose. A session-aware, non-repainting levels tool for intraday decision-making. Designed for futures and indices, with clean visuals, alerts, and a one-click Minimal Mode for screenshot-ready charts.
What it plots
• PDH/PDL (RTH-only) – Prior Regular Trading Hours high/low, computed intraday and frozen at the RTH close (no 24h mix-ups, no repainting).
• ONH/ONL – Prior Overnight high/low, held throughout RTH.
• RTH VWAP with ±σ bands – Volume-weighted variance, reset each RTH.
• Initial Balance (IB) – First N minutes of RTH, plus 1.5× / 2.0× extensions after IB completes.
• Today’s RTH Open & Prior RTH Close – With gap detection and “gap filled” alert.
• Killzone shading – NY Open (09:30–10:30 ET) and Lunch (11:15–13:30 ET).
• Values panel (top-right) – Each level with live distance in points & ticks.
• Right-edge level tags – With anti-overlap (stagger + vertical jitter).
• Price-scale tags – Native trackprice markers that always “stick” to the axis.
⸻
New in v6.4
• Minimal Mode: one click for a clean look (thinner lines, VWAP bands/IB extensions hidden, on-chart right-edge labels off; price-scale tags remain).
• Theme presets: Dark Hi-Contrast / Light Minimal / Futures Classic / Muted Dark.
• Anti-overlap controls: horizontal staggering, vertical jitter, and baseline offset to keep tags readable even when levels cluster.
⸻
Quick start (2 minutes)
1. Add to chart → keep defaults.
2. Sessions (ET):
• RTH Session default: 09:30–16:00 (US equities cash hours).
• Overnight Session default: 18:00–09:29.
Adjust for your market if you use different “day” hours (e.g., many use 08:20–13:30 ET for COMEX Gold).
3. Theme & Minimal Mode: pick a Theme Preset; enable Minimal Mode for screenshots.
4. Visibility: toggle PD/ON/VWAP/IB/References/Panel to taste.
5. Right-edge labels: turn Show Right-Edge Labels on. If they crowd, tune:
• Anti-overlap: min separation (ticks)
• Horizontal offset per tag (bars)
• Vertical jitter per step (ticks)
• Right-edge baseline offset (bars)
6. Alerts: open Add alert → Condition: and pick the events you want.
⸻
How levels are computed (no repainting)
• PDH/PDL: Intraday H/L are accumulated only while in RTH and saved at RTH close for “yesterday’s” values.
• ONH/ONL: Accumulated across the defined Overnight window and then held during RTH.
• RTH VWAP & ±σ: Volume-weighted mean and standard deviation, reset at the RTH open.
• IB: First N minutes of RTH (default 60). Extensions (1.5×/2.0×) appear after IB completes.
• Gaps: Today’s RTH open vs prior RTH close; “Gap Filled” triggers when price trades back to prior close.
⸻
Practical playbooks (how to trade around the levels)
1) PDH/PDL interactions
• Rejection: Price taps PDH/PDL then closes back inside → mean-reversion toward VWAP/IB.
• Acceptance: Close/hold beyond PDH/PDL with momentum → continuation to next HTF/IB target.
• Alert: PD Touch/Break.
2) ONH/ONL “taken”
• Often one ON extreme is taken during RTH. ONH Taken / ONL Taken → check if it’s a clean break or sweep & reclaim.
• Sweep + reclaim near VWAP can fuel rotations through the ON range.
3) VWAP ±σ framework
• Balanced: First tag of ±1σ often reverts toward VWAP.
• Trend: Persistent trade beyond ±1σ + IB break → target ±2σ/±3σ.
• Alerts: VWAP Cross and VWAP Reject (cross then immediate fail back).
4) IB breaks
• After IB completes, a clean IB break commonly targets 1.5× and sometimes 2.0×.
• Quick return inside IB = possible fade back to the opposite IB edge/VWAP.
• Alerts: IB Break Up / Down.
5) Gaps
• Gap-and-go: Opening drive away from prior close + VWAP support → trend until IB completion.
• Gap-fill: Weak open and VWAP overhead/underfoot → trade toward prior close; manage on Gap Filled alert.
Pro tip: Stack confluences (e.g., ONL sweep + VWAP reclaim + IB hold) and respect your execution rules (e.g., require a 5-minute close in direction, or your order-flow confirmation).
⸻
Inputs you’ll actually touch
• Sessions (ET): Session Timezone, RTH Session, Overnight Session.
• Visibility: toggles for PD/ON/VWAP/IB/Ref/Panel.
• VWAP bands: set σ multipliers (±1/±2/±3).
• IB: duration (minutes) and extension multipliers (1.5× / 2.0×).
• Style & Theme: Theme Preset, Main Line Width, Trackprice, Minimal Mode, and anti-overlap controls.
⸻
Alerts included
• PD Touch/Break — High ≥ PDH or Low ≤ PDL
• ONH Taken / ONL Taken — First in-RTH take of ONH/ONL
• VWAP Cross — Close crosses VWAP
• VWAP Reject — Cross then immediate fail back
• IB Break Up / Down — Break of IB High/Low after IB completes
• Gap Filled — Price trades back to prior RTH close
Setup: Add alert → Condition: Algo Index — Levels Pro → choose event → message → Notify on app/email.
⸻
Panel guide
The top-right panel shows each level plus live distance from last price:
LevelValue (Δpoints | Δticks)
Coloring: green if level is below current price, red if above.
⸻
Styling & screenshot tips
• Use Theme Preset that matches your chart.
• For dark charts, “Dark Hi-Contrast” with Main Line Width = 3 works well.
• Enable Trackprice for crisp axis tags that always stick to the right edge.
• Turn on Minimal Mode for cleaner screenshots (no VWAP bands or IB extensions, on-chart tags off; price-scale tags remain).
• If tags crowd, increase min separation (ticks) to 30–60 and horizontal offset to 3–5; add vertical jitter (4–12 ticks) and/or push tags farther right with baseline offset (bars).
⸻
Behavior & limitations
• Levels are computed incrementally; tables refresh on the last bar for efficiency.
• Right-edge labels are placed at bar_index + offset and do not track extra right-margin scrolling (TradingView limitation). The price-scale tags (from trackprice) do track the axis.
• “RTH” is what you define in inputs. If your market uses different day hours, change the session strings so PDH/PDL reflect your definition of “yesterday’s session.”
⸻
FAQ
Q: My PDH/PDL don’t match the daily chart.
A: By design this uses RTH-only highs/lows, not 24h daily bars. Adjust sessions if you want a different definition.
Q: Right-edge tags overlap or don’t sit at the far right.
A: Increase min separation / horizontal offset / vertical jitter and/or push tags farther with baseline offset. If you want markers that always hug the axis, rely on Trackprice.
Q: Can I change killzones?
A: Yes—edit the session strings in settings or request a version with user inputs for custom windows.
⸻
Disclaimer
Educational use only. This is not financial advice. Always apply your own risk management and confirmation rules.
⸻
Enjoy it? Please ⭐ the script and share screenshots using Minimal Mode + a Theme Preset that fits your style.
RSI Dynamic Bands█ OVERVIEW
The "RSI Dynamic Bands" indicator is a variant of the Relative Strength Index (RSI) oscillator that brings its signals directly onto the price chart. It displays dynamic bands around the price, adjusted based on RSI levels, enabling easy identification of potential overbought or oversold conditions. The indicator also integrates a multi-timeframe RSI table, facilitating the analysis of trend strength across different timeframes.
█ CONCEPTS
The "RSI Dynamic Bands" indicator is designed to simplify the interpretation of price levels in the context of support and resistance zones, which can be correlated with other technical indicators and RSI values. Since the price itself does not display RSI values, a table showing RSI for four selected timeframes has been added, allowing traders to quickly assess trend strength across different time intervals. The most effective approach is to combine the indicator with other technical analysis tools, such as Fibonacci levels or pivot points, to confirm signals when the price approaches the bands and RSI values indicate a potential reversal.
Band Calculation
The bands are calculated based on the current closing price and RSI values, incorporating dynamic scaling to better adapt to market conditions. The formulas for the bands are as follows:
• Upper Band: close + (rsiUpper - rsi) * scaleFactor, where rsiUpper is the upper RSI level (default: 70), and scaleFactor accounts for market volatility.
• Lower Band: close + (rsiLower - rsi) * scaleFactor, where rsiLower is the lower RSI level (default: 30).
• Midline: The arithmetic average of the upper and lower bands: (upperBand + lowerBand) / 2.
Why Scaling? Without scaling, the bands would be chaotic and jagged, making them difficult to interpret. Scaling smooths the bands, making them wider during periods of high volatility and narrower during consolidation, better reflecting potential support and resistance levels.
Indicator Features
• Dynamic Price Bands: The bands adapt to market conditions, facilitating the identification of key price levels.
• Multi-Timeframe RSI Table: Displays RSI values for four selected timeframes (default: 15m, 1h, 4h, Daily), enabling comparison of trend strength across different perspectives.
• Style Customization: Users can adjust band colors, line thickness, and toggle the visibility of bands, fills, and the table.
How to Set Up the Indicator
1 — Add the "RSI Dynamic Bands" indicator to your TradingView chart.
2 — Configure parameters in the settings, such as RSI length, upper/lower levels, and scaling multiplier, to match your trading style.
3 — Enable or disable the display of bands, fills, or the RSI table based on your needs.
4 — Adjust band and table colors in the input section and line thickness in the "Style" section to better align the indicator with your chart.
█ OTHER SECTIONS
FEATURES
• RSI Length: The period for calculating RSI (default: 14).
• RSI Levels: Thresholds for overbought (default: 70) and oversold (default: 30).
• Scaling Multiplier: Adjusts bands based on market volatility (default: 0.15).
• Table Timeframes: Select four timeframes for the RSI table (default: 15m, 1h, 4h, Daily).
• Style Options: Customize band colors, fills, table, and line thickness.
HOW TO USE
Add the indicator to your chart, configure the parameters, and observe price interactions with the bands to identify potential entry and exit points. The RSI table allows you to compare RSI values across different timeframes, aiding in trading decisions. The most effective approach is to combine the indicator with other technical analysis tools, such as Fibonacci levels or pivot points, to confirm signals when the price approaches the bands and RSI values indicate a potential reversal.
Trading Strategies:
• Scalping: Use lower timeframes (e.g., 5m, 15m) in the RSI table to quickly identify short-term lows and highs. Wait for the price to approach the lower band in the RSI oversold zone, with RSI on lower timeframes starting to rise, and other tools, such as Fibonacci levels (e.g., 38.2%) or pivot points, confirming support.
• Medium-Term Trading: Focus on 1h and 4h timeframes. Look for confirmation of a low on a lower timeframe (e.g., 1h), where RSI indicates oversold conditions or starts rising, then check if RSI on a higher timeframe (e.g., 4h) confirms the trend. Confirmation from other tools, such as a Fibonacci level (e.g., 50%) or pivot point near the bands, strengthens the signal.
• Long-Term Trading: Use Daily and higher timeframes (e.g., Weekly). Wait for all relevant timeframes to confirm a low (e.g., RSI near oversold and price at the lower band), with lower timeframes (e.g., 4h) showing rising RSI. Other tools, such as Fibonacci levels (e.g., 61.8%) or pivot points near the bands, can further confirm a trend reversal signal.
Multi-TF Trend Table (Configurable)1) What this tool does (in one minute)
A compact, multi‑timeframe dashboard that stacks eight timeframes and tells you:
Trend (fast MA vs slow MA)
Where price sits relative to those MAs
How far price is from the fast MA in ATR terms
MA slope (rising, falling, flat)
Stochastic %K (with overbought/oversold heat)
MACD momentum (up or down)
A single score (0%–100%) per timeframe
Alignment tick when trend, structure, slope and momentum all agree
Use it to:
Frame bias top‑down (M→W→D→…→15m)
Time entries on your execution timeframe when the higher‑TF stack is aligned
Avoid counter‑trend traps when the table is mixed
2) Table anatomy (each column explained)
The table renders 9 columns × 8 rows (one row per timeframe label you define).
TF — The label you chose for that row (e.g., Month, Week, 4H). Cosmetic; helps you read the stack.
Trend — Arrow from fast MA vs slow MA: ↑ if fastMA > slowMA (up‑trend), ↓ otherwise (down‑trend). Cell is green for up, red for down.
Price Pos — One‑character structure cue:
🔼 if price is above both fast and slow MAs (bullish structure)
🔽 if price is below both (bearish structure)
– otherwise (between MAs / mixed)
MA Dist — Distance of price from the fast MA measured in ATR multiples:
XS < S < M < L < XL according to your thresholds (see §3.3). Useful for judging stretch/mean‑reversion risk and stop sizing.
MA Slope — The fast MA one‑bar slope:
↑ if fastMA - fastMA > 0
↓ if < 0
→ if = 0
Stoch %K — Rounded %K value (default 14‑1‑3). Background highlights when it aligns with the trend:
Green heat when trend up and %K ≤ oversold
Red heat when trend down and %K ≥ overbought Tooltip shows K and D values precisely.
Trend % — Composite score (0–100%), the dashboard’s confidence for that timeframe:
+20 if trendUp (fast>slow)
+20 if fast MA slope > 0
+20 if MACD up (signal definition in §2.8)
+20 if price above fast MA
+20 if price above slow MA
Background colours:
≥80 lime (strong alignment)
≥60 green (good)
≥40 orange (mixed)
<40 grey (weak/contrary)
MACD — 🟢 if EMA(12)−EMA(26) > its EMA(9), else 🔴. It’s a simple “momentum up/down” proxy.
Align — ✔ when everything is in gear for that trend direction:
For up: trendUp and price above both MAs and slope>0 and MACD up
For down: trendDown and price below both MAs and slope<0 and MACD down Tooltip spells this out.
3) Settings & how to tune them
3.1 Timeframes (TF1–TF8)
Inputs: TF1..TF8 hold the resolution strings used by request.security().
Defaults: M, W, D, 720, 480, 240, 60, 15 with display labels Month, Week, Day, 12H, 8H, 4H, 1H, 15m.
Tips
Keep a top‑down funnel (e.g., Month→Week→Day→H4→H1→M15) so you can cascade bias into entries.
If you scalp, consider D, 240, 120, 60, 30, 15, 5, 1.
Crypto weekends: consider 2D in place of W to reflect continuous trading.
3.2 Moving Average (MA) group
Type: EMA, SMA, WMA, RMA, HMA. Changes both fast & slow MA computations everywhere.
Fast Length: default 20. Shorten for snappier trend/slope & tighter “price above fast” signals.
Slow Length: default 200. Controls the structural trend and part of the score.
When to change
Swing FX/equities: EMA 20/200 is a solid baseline.
Mean‑reversion style: consider SMA 20/100 so trend flips slower.
Crypto/indices momentum: HMA 21 / EMA 200 will read slope more responsively.
3.3 ATR / Distance group
ATR Length: default 14; longer makes distance less jumpy.
XS/S/M/L thresholds: define the labels in column MA Dist. They are compared to |close − fastMA| / ATR.
Defaults: XS 0.25×, S 0.75×, M 1.5×, L 2.5×; anything ≥L is XL.
Usage
Entries late in a move often occur at L/XL; consider waiting for a pullback unless you are trading breakouts.
For stops, an initial SL around 0.75–1.5 ATR from fast MA often sits behind nearby noise; use your plan.
3.4 Stochastic group
%K Length / Smoothing / %D Smoothing: defaults 14 / 1 / 3.
Overbought / Oversold: defaults 70 / 30 (adjust to 80/20 for trendier assets).
Heat logic (column Stoch %K): highlights when a pullback aligns with the dominant trend (oversold in an uptrend, overbought in a downtrend).
3.5 View
Full Screen Table Mode: centers and enlarges the table (position.middle_center). Great for clean screenshots or multi‑monitor setups.
4) Signal logic (how each datapoint is computed)
Per‑TF data (via a single request.security()):
fastMA, slowMA → based on your MA Type and lengths
%K, %D → Stoch(High,Low,Close,kLen) smoothed by kSmooth, then %D smoothed by dSmooth
close, ATR(atrLen) → for structure and distance
MACD up → (EMA12−EMA26) > EMA9(EMA12−EMA26)
fastMA_prev → yesterday/previous‑bar fast MA for slope
TrendUp → fastMA > slowMA
Price Position → compares close to both MAs
MA Distance Label → thresholds on abs(close − fastMA)/ATR
Slope → fastMA − fastMA
Score (0–100) → sum of the five 20‑point checks listed in §2.7
Align tick → conjunction of trend, price vs both MAs, slope and MACD (see §2.9)
Important behaviour
HTF values are sampled at the execution chart’s bar close using Pine v6 defaults (no lookahead). So the daily row updates only when a daily bar actually closes.
5) How to trade with it (playbooks)
The table is a framework. Entries/exits still follow your plan (e.g., S/D zones, price action, risk rules). Use the table to know when to be aggressive vs patient.
Playbook A — Trend continuation (pullback entry)
Look for Align ✔ on your anchor TFs (e.g., Week+Day both ≥80 and green, Trend ↑, MACD 🟢).
On your execution TF (e.g., H1/H4), wait for Stoch heat with the trend (oversold in uptrend or overbought in downtrend), and MA Dist not at XL.
Enter on your trigger (break of pullback high/low, engulfing, retest of fast MA, or S/D first touch per your plan).
Risk: consider ATR‑based SL beyond structure; size so 0.25–0.5% account risk fits your rules.
Trail or scale at M/L distances or when score deteriorates (<60).
Playbook B — Breakout with confirmation
Mixed stack turns into broad green: Trend % jumps to ≥80 on Day and H4; MACD flips 🟢.
Price Pos shows 🔼 across H4/H1 (above both MAs). Slope arrows ↑.
Enter on the first clean base‑break with volume/impulse; avoid if MA Dist already XL.
Playbook C — Mean‑reversion fade (advanced)
Use only when higher TFs are not aligned and the row you trade shows XL distance against the higher‑TF context. Take quick targets back to fast MA. Lower win‑rate, faster management.
Playbook D — Top‑down filter for Supply/Demand strategy
Trade first retests only in the direction where anchor TFs (Week/Day) have Align ✔ and Trend % ≥60. Skip counter‑trend zones when the stack is red/green against you.
6) Reading examples
Strong bullish stack
Week: ↑, 🔼, S/M, slope ↑, %K=32 (green heat), Trend 100%, MACD 🟢, Align ✔
Day: ↑, 🔼, XS/S, slope ↑, %K=45, Trend 80%, MACD 🟢, Align ✔
Action: Look for H4/H1 pullback into demand or fast MA; buy continuation.
Late‑stage thrust
H1: ↑, 🔼, XL, slope ↑, %K=88
Day/H4: only 60–80%
Action: Likely overextended on H1; wait for mean reversion or multi‑TF alignment before chasing.
Bearish transition
Day flips from 60%→40%, Trend ↓, MACD turns 🔴, Price Pos “–” (between MAs)
Action: Stand aside for longs; watch for lower‑high + Align ✔ on H4/H1 to join shorts.
7) Practical tips & pitfalls
HTF closure: Don’t assume a daily row changed mid‑day; it won’t settle until the daily bar closes. For intraday anticipation, watch H4/H1 rows.
MA Type consistency: Changing MA Type changes slope/structure everywhere. If you compare screenshots, keep the same type.
ATR thresholds: Calibrate per asset class. FX may suit defaults; indices/crypto might need wider S/M/L.
Score ≠ signal: 100% does not mean “must buy now.” It means the environment is favourable. Still execute your trigger.
Mixed stacks: When rows disagree, reduce size or skip. The tool is telling you the market lacks consensus.
8) Customisation ideas
Timeframe presets: Save layouts (e.g., Swing, Intraday, Scalper) as indicator templates in TradingView.
Alternative momentum: Replace the MACD condition with RSI(>50/<50) if desired (would require code edit).
Alerts: You can add alert conditions for (a) Align ✔ changes, (b) Trend % crossing 60/80, (c) Stoch heat events. (Not shipped in this script, but easy to add.)
9) FAQ
Q: Why do I sometimes see a dash in Price Pos? A: Price is between fast and slow MAs. Structure is mixed; seek clarity before acting.
Q: Does it repaint? A: No, higher‑TF values update on the close of their own bars (standard request.security behaviour without lookahead). Intra‑bar they can fluctuate; decisions should be made at your bar close per your plan.
Q: Which columns matter most? A: For trend‑following: Trend, Price Pos, Slope, MACD, then Stoch heat for entries. The Score summarises, and Align enforces discipline.
Q: How do I integrate with ATR‑based risk? A: Use the MA Dist label to avoid chasing at extremes and to size stops in ATR terms (e.g., SL behind structure at ~1–1.5 ATR).
LevelsThis Indicator is meant to plot some of the most common levels that traders use.
The display of these levels is highly customizable, as you can choose the line type , color , thickness and whether it shows you no label, price only, reduced label or full label next to the line. All labels (except for "no Label") will show the price at this level.
Also You have the option to mark the start on each timeframe with either a individually colored background or a vertical line where you can choose the line style and color.
Full List of available Levels and Optional inputs to these levels:
Previous HTF Candle Levels:
• Previous HTF Candle Open
• Previous HTF Candle High
• Previous HTF Candle Low
• Previous HTF Candle Close
Optional:
• Choose any higher timeframe
• Mark start of new HTF candle
Session Levels:
• Session Open
• Session High
• Session Low
• Session Close
Optional:
• Choose any time as start and end of your session
• Mark start of session
• Mark full session
Daily Levels:
• Current Day Open
• Current Day High
• Current Day Low
• Previous Day Open
• Previous Day High
• Previous Day Low
• Previous Day Close
Optional:
• Choose start of day (standard, NY Midnight, custom start time)
• Mark start of day
Weekly Levels:
• Current Week Open
• Current Week High
• Current Week Low
• Previous Week Open
• Previous Week High
• Previous Week Low
• Previous Week Close
Optional:
• Mark start of Week
Monthly Levels:
• Current Month Open
• Current Month High
• Current MonthLow
• Previous Month Open
• Previous Month High
• Previous Month Low
• Previous Month Close
Optional:
• Mark start of Month
Kio IQ [TradingIQ]Introducing: “Kio IQ ”
Kio IQ is an all-in-one trading indicator that brings momentum, trend strength, multi-timeframe analysis, trend divergences, pullbacks, early trend shift signals, and trend exhaustion signals together in one clear view.
🔶 The Philosophy of Kio IQ
Markets move in trends—and capturing them reliably is the key to consistency in trading. Without a tool to see the bigger picture, it’s easy to mistake a pullback for a breakout, a fakeout for the real deal, or random market noise as a meaningful price move.
Kio IQ cuts through that random market noise—scanning multiple timeframes, analyzing short, medium, and long-term momentum, and telling you on the spot whether a move is strong, weak, a trap, or simply a small move within a larger trend.
With Kio IQ, price action reveals its next move.
You’ll instantly see:
Which way it’s pushing — up, down, or stuck in the middle.
How hard it’s pushing — from fading weakness to full-blown strength.
When the gears are shifting — early warnings, explosive moves, smart pullbacks, or signs it’s running out of steam.
🔶 Why This Matters
Markets move in phases—sometimes they’re powering in one direction, sometimes they’re slowing down, and sometimes they’re reversing.
Knowing which phase you’re in can help you:
Avoid chasing a move that’s about to run out of steam.
Jump on a move when it’s just getting started.
Spot pullbacks inside a bigger trend (good for entries).
See when different timeframes are all pointing the same way.
🔶 What Kio IQ Shows You
Simple color-coded phases: “Strong Up,” “Up,” “Weak Up,” “Weak Down,” “Down,” “Strong Down.”
Clear visual signals
Full Shift: Strong momentum in one direction.
Half Shift: Momentum is building but not full power yet.
Pullback Shift: A small move against the trend that may be ending.
Early Scout / Lookout: First hints of a possible shift.
Exhaustion: Momentum is very stretched and may slow down.
Divergences: When price moves one way but momentum moves the opposite way—often a warning of a change.
Multi-Timeframe Table: See the trend strength for multiple timeframes (5m, current, 30m, 4h, 1D, and optional 1W/1M) all in one place.
Trend Strength %: A single number that tells you how strong the trend is across all timeframes.
Optional meters: A “momentum bar” and “trend strength gauge” for quick checks.
🔶 How It Works Behind the Scenes
Kio IQ measures price movement in different “speeds”:
Slow view: Big picture trend.
Medium view: The main engine for detecting the current phase.
Fast view: Catches recent changes in momentum.
Super-fast view: Finds tiny pullbacks inside the bigger move.
It compares these views to decide whether the market is strong up, weak up, weak down, strong down, or in between. Then it blends data from multiple timeframes so you see the whole picture, not just the current chart.
🔶 What You’ll See on the Chart
🔷 Full Shift Oscillator (FSO)
The image above highlights the Full Shift Oscillator (FSO).
The FSO is the cornerstone of Kio IQ, delivering mid-term momentum analysis. Using a proprietary formula, it captures momentum on a smooth, balanced scale — responsive enough to avoid lag, yet stable enough to prevent excessive noise or false signals.
The Key Upside Level for the FSO is +20, while the Key Downside Level is -20.
The image above shows the FSO above +20 and below -20, and the corresponding price movement.
FSML above +20 confirms sustained upside momentum — the market is being driven by consistent, broad-based buying pressure, not just a price spike.
FSML below -20 confirms sustained downside momentum — sellers are firmly in control across the market.
We do not chase the first sudden price move. Entries are only considered when the market demonstrates persistence, not impulse.
🔷 Half Shift Oscillator (HSO)
The image above highlights the Half Shift Oscillator (HSO).
The HSO is the FSO’s wingman — faster, more reactive, and designed to catch the earliest signs of strength, weakness, or momentum shifts.
While HSO reacts first, it is not a standalone confirmation of a major momentum change or trade-worthy strength.
Using the same proprietary formula as the FSO but scaled down, the HSO delivers smooth, balanced short-term momentum analysis. It is more responsive than the FSO, serving as the scout that spots potential setups before the main signal confirms.
The Key Upside Level for the FSO is +4, while the Key Downside Level is -4.
🔷 PlayBook Strategy: Shift Sync
Shift Sync is a momentum alignment play that triggers when short-term and mid-term momentum lock into the same direction, signaling strong directional control.
🔹 UpShift Sync – Bullish Alignment
HSO > +4 – Short-term momentum is firmly bullish.
FSO > +20 – Mid-term momentum confirms the bullish bias.
When both thresholds are met, buyers are in control and price is primed for continuation higher.
🔹 DownShift Sync – Bearish Alignment
HSO < -4 – Short-term momentum is firmly bearish.
FSO < -20 – Mid-term momentum confirms the bearish bias.
When both thresholds are met, sellers dominate and price is primed for continuation lower.
Execution:
Look for an entry opportunity in the direction of the alignment when conditions are met.
Avoid choppy conditions where alignment is frequently lost.
Why It Works
Think of the market as a tug-of-war between traders on different timeframes. Short-term traders (captured by the HSO) are quick movers — scalpers, intraday players, and algos hunting immediate edge. Mid-term traders (captured by the FSO) are swing traders, funds, and institutions who move slower but carry more weight.
Most of the time, these groups pull in opposite directions, creating chop and fakeouts. But when they suddenly lean the same way, the rope gets yanked hard in one direction. That’s when momentum has the highest chance to drive price further with minimal resistance.
Shift Sync works because it isolates those rare moments when multiple market “tribes” agree on direction — and when they do, price doesn’t just move, it flies.
Best Market Conditions
Shift Sync works best when the higher timeframe trend (daily, weekly, or monthly) is moving in the same direction as the alignment. This higher timeframe confluence increases follow-through potential and reduces the likelihood of false moves.
The image above shows an example of an UpShift Sync signal where the momentum table shows that the 1D momentum is bullish.
The image above shows bonus confluence, where the 1M and 1W momentum are also bullish.
The image above shows an example of a DownShift Sync signal where the momentum table shows that the 1D momentum is bearish. Bonus confluence also exists, where the 1W and 1M chart are also bearish.
Common Mistakes
Chasing late signals – Avoid entering if the Shift Sync trigger has been active for a long time. Instead, wait for a Shift Sync Pullback to look for opportunities to join in the direction of the trend.
Ignoring higher timeframe bias – Taking Shift Sync setups against the daily, weekly, or monthly trend reduces follow-through potential and increases the risk of a failed move.
🔷 Micro Shift Oscillator (MSO)
The image above highlights the Micro Shift Oscillator (MSO)
The MSO is the finishing touch to the FSO and HSO — the fastest and most reactive of the three. It’s built to spot pullback opportunities when the FSO and HSO are aligned, helping traders join strong price moves at the right time.
The MSO may reveal the earliest signs of a momentum shift, but that’s not its primary role. Its purpose is to identify retracement and pullback opportunities within the overarching trend, allowing traders to join the move while momentum remains intact.
🔷 Playbook Strategy: Shift Sync Pullback
Key Levels:
MSO Upside Trigger: +3
MSO Downside Trigger: -3
🔹 UpShift Pullback
Momentum Confirmation:
FSO > +20 – Mid-term momentum is strongly bullish.
HSO > +4 – Short-term momentum confirms alignment with the FSO.
Pullback Trigger:
MSO ≤ -3 – Signals a short-term retracement within the ongoing bullish trend and marks the earliest re-entry opportunity.
Entry Zone:
The blue arrow on the top chart shows where momentum remains intact while price pulls back into a zone primed for a move higher.
Setup Validity: Both FSO and HSO must remain above their bullish thresholds during the pullback.
Invalid Example:
If either the FSO or HSO drop below their bullish thresholds, momentum alignment breaks. No trade is taken.
🔹 DownShift Pullback
Momentum Confirmation:
FSO < -20 – Mid-term momentum is strongly bearish.
HSO < -4 – Short-term momentum aligns with the FSO, confirming seller dominance.
Pullback Trigger:
MSO ≥ +3 – Indicates a short-term retracement against the bearish trend, pointing to possible short-entry opportunities.
Entry Zone:
The purple arrow on the top chart marks valid pullback conditions — all three oscillators meet their bearish thresholds, and price is positioned to continue lower.
Setup Validity: Both FSO and HSO must remain below their bearish thresholds during the pullback.
Invalid Example:
If either oscillator rises above the bearish threshold, momentum alignment is lost and the MSO signal is ignored.
Why It Works
Even in strong trends, price rarely moves in a straight line. Supply and demand dynamics naturally create retracements as traders take profits, bet on reversals, or hedge positions.
While many momentum traders fear these pullbacks, they’re often the fuel for the next leg of the move — offering a “second chance” to join the trend at a more favorable price.
The Shift Sync Pullback pinpoints moments when both short-term (HSO) and mid-term (FSO) momentum remain firmly aligned, even as price moves temporarily against the trend. This alignment suggests the retracement is a pause, not a reversal.
By entering during a controlled pullback, traders often secure better entries, tighter stops, and stronger follow-through potential when the trend resumes.
Best Market Conditions:
Works best when the higher timeframe (daily, weekly, or monthly) is trending in the same direction as the pullback setup.
Consistent momentum is ideal — avoid erratic, news-driven chop.
Following a recent breakout (Gate Breaker setup) when momentum is still fresh.
Common Mistakes
Ignoring threshold breaks – Entering when either HSO or FSO dips through their momentum threshold often leads to taking trades in weakening trends.
Trading against higher timeframe bias – A pullback against the daily or weekly trend is more likely to fail; use higher timeframe confluence as a filter.
🔷 Macro Shift Oscillator (MaSO)
The chart above shows the MaSO in isolation.
While the MaSO is not part of any active Kio IQ playbook strategies, it delivers the clearest view of the prevailing macro trend.
MaSO > 0 – Macro trend is bullish. Readings above +4 signal extreme bullish conditions.
MaSO < 0 – Macro trend is bearish. Readings below -4 signal extreme bearish conditions.
Use the MaSO for context, not entries — it frames the environment in which all other signals occur
🔷 Shift Gates – Kio IQ Momentum Barriers
The image above shows UpShift Gates.
UpShift Gates mark the highest price reached during periods when the FSO is above +20 — moments when mid-term momentum is firmly bullish and buyers are in control.
UpShift Gates are upside breakout levels — key swing highs formed before a pullback during periods of strong bullish momentum. When price reclaims an UpShift Gate with momentum confirmation, it signals a potential continuation of the uptrend.
The image above shows DownShift Gates.
DownShift Gates Mark The Lowest Price Reached During Periods When The FSO Is Below -20 — Moments When Mid-Term Momentum Is Firmly Bearish And Sellers Are In Control.
DownShift Gates are downside breakout levels — key swing lows formed before an upside pullback during periods of strong bearish momentum. When price reclaims a DownShift Gate with momentum confirmation, it signals a potential continuation of the downtrend.
🔷 Playbook Strategy: Gate Breakers
Core Rule:
Long signal when price decisively closes beyond an UpGate (for longs) or DownGate (for shorts). The breakout must show commitment — no wick-only tests.
🔹 UpGate Breaker (UpGate)
Trigger: Price closes above the UpShift Gate level.
Bonus Confluence: MaSO > 0 at the moment of the break — confirms that the macro trend bias is in favor of the breakout.
Invalidation: Avoid taking the signal if the gate level forms part of a DownShift Rift (bearish divergence) — this signals underlying weakness despite the break.
The chart above shows valid UpGate Breakers.
The chart above shows an invalidated UpGate Breaker setup.
🔹 DownGate Breaker (DownGate)
Trigger: Price closes below the DownShift Gate level.
Bonus Confluence: MaSO < 0 at the moment of the break — confirms that the macro trend bias is in favor of the breakdown.
Invalidation: Avoid taking the trade if the gate level forms part of an UpShift Rift (bullish divergence) — this signals underlying strength despite the break.
The chart above shows a valid DownGate Breaker.
Why It Works
Key swing levels like Shift Gates attract a high concentration of resting orders — stop losses from traders caught on the wrong side and breakout orders from momentum traders waiting for confirmation.
When price decisively clears a gate with a strong close, these orders trigger in quick succession, creating a burst of directional momentum.
Adding the MaSO filter ensures you’re breaking gates with the prevailing macro bias, improving the odds that the move will continue rather than stall.
The divergence-based invalidation rule (Rift filter) prevents entries when underlying momentum is moving in the opposite direction, helping avoid “fake breakouts” that trap traders.
Best Market Conditions:
Works best in markets with clear trend structure and visible Shift Gates (not during chop).
Strongest when higher timeframe (1D, 1W, 1M) momentum aligns with the breakout direction.
MaSO > 0 for bullish breakouts, MaSO < 0 for bearish breakouts
Most reliable after a period of consolidation near the gate, where pressure builds before the break.
Common Mistakes
Trading wick-only tests – A breakout without a decisive candle close beyond the gate often fails.
Ignoring MaSO bias – Taking a break in the opposite macro direction greatly reduces follow-through odds.
Skipping the Rift filter – Entering when the gate forms part of a divergence setup exposes you to higher reversal risk.
Chasing extended moves – If price is already far beyond the gate by the time you see it, risk/reward is poor; wait for the next setup or a retest.
🔷 Shift Rifts - Kio IQ Divergences
This chart shows an UpShift Rift — a bullish divergence where price action and momentum part ways, signaling a potential trend reversal or acceleration.
Setup:
Price Action: Price is marking lower lows, indicating short-term weakness.
FSO Reading: The Full Shift Oscillator (FSO) is marking higher lows over the same period, showing underlying momentum strengthening despite falling prices.
The rift between price and the FSO suggests selling pressure is losing force while buyers quietly regain control.
When confirmed by broader trend alignment in Kio IQ’s multi-timeframe momentum table, the UpShift Rift becomes a setup for a bullish move.
This chart shows a DownShift Rift — a bearish divergence where price action and momentum split, signaling a potential downside reversal.
Setup:
Price Action: Price is marking higher highs, suggesting continued strength on the surface.
FSO Reading: The Full Shift Oscillator (FSO) is marking lower highs over the same period, revealing weakening momentum beneath the price advance.
The rift between price and momentum signals that buying pressure is fading, even as price makes new highs. This disconnect often precedes a momentum shift in favor of sellers.
When aligned with multi-timeframe bearish signals in Kio IQ’s momentum table, the DownShift Rift becomes a strong setup for downside continuation or reversal.
🔷 Playbook Strategy: Rift Reversal
The Rift Reversal is a divergence-based reversal play that signals when momentum is fading and an trend reversal is likely. It’s designed to catch early turning points before the broader market catches on.
Trader’s Note:
This strategy is not intended for beginners — it requires confidence in reading divergence and trusting momentum shifts even when price action still appears weak. Best suited for traders experienced in managing reversals, as entries often occur before the broader market confirms the move.
🔹 UpRift Reversal
Core Setup:
Price Action – Forms a lower low.
Momentum Rift – The FSO forms a higher low, signaling bullish divergence and weakening selling pressure.
Trigger:
A confirmed UpRift Reversal signal is printed when:
Bullish Divergence is detected — price makes a new low, but the oscillator fails to confirm.
Momentum begins turning up from the divergence low (marked on chart as ⇝)
The image above shows a valid UpRift Reversal play.
🔹 DownRift Reversal
Core Setup:
Price Action – Forms a higher high.
Momentum Rift – The FSO forms a lower high, signaling bearish divergence and weakening buying pressure.
Trigger
A confirmed DownRift Reversal signal is printed when:
Bearish Divergence is detected — price makes a new high, but the oscillator fails to confirm.
Momentum begins turning down from the divergence high (marked on chart as ⇝).
Why It Works
Shift Rifts work because momentum often fades before a price reverses.
Price is the final scoreboard — it reflects what has already happened. Momentum, on the other hand, is a leading indicator of pressure. When the FSO begins to move in the opposite direction of price, it signals that the dominant side in the market is losing steam, even if the scoreboard hasn’t flipped yet.
In an UpShift Rift, sellers keep pushing price lower, but each push has less force — buyers are quietly building pressure under the surface.
In a DownShift Rift, buyers keep marking new highs, but they’re spending more effort for less result — sellers are starting to take control.
These disconnects happen because large participants often scale into or out of positions gradually, creating momentum shifts before price reflects it. Shift Rifts capture those turning points early.
Best Market Conditions:
Best in markets that have been trending strongly but are starting to show signs of exhaustion.
Works well after a prolonged move into key support/resistance, where large players may take profits or reverse positions.
Higher win potential when the Rift aligns with higher timeframe momentum bias in Kio IQ’s multi-timeframe table.
Common Mistakes
Forcing Rifts in choppy markets – In sideways chop, small oscillations can look like divergences but lack conviction.
Ignoring multi-timeframe bias – Trading an UpShift Rift when higher timeframes are strongly bearish (or vice versa) reduces follow-through odds.
Entering too early – Divergences can extend before reversing; wait for momentum to confirm a turn (⇝) before making a trading decision.
Confusing normal pullbacks with Rifts – Not every dip in momentum is a divergence; the Rift requires a clear and opposing trend between price and FSO.
🔷 Shift Count – Momentum Stage Tracker
Purpose:
Shift Count measures how far a bullish or bearish push has progressed, from its first spark to potential exhaustion.
It tracks momentum in defined steps so traders can instantly gauge whether a move is just starting, picking up steam, fully extended, or at risk of reversing.
How It Works
Bullish Momentum:
Start (1–2) → New momentum emerging, early entry window.
Acceleration (3–4) → Momentum in full swing, best for holding or adding to a position.
Extreme Bullish Momentum / Final Stages (5) → Watch for signs of reversal or take partial profits.
Exhaust – Can only occur after 5 is reached, signaling that the rally may be losing steam.
Bearish Momentum:
Start (-1 to -2) → New selling pressure emerging.
Acceleration (-3 to -4) → Bear trend accelerating.
Extreme Bearish Momentum / Final Stages (-5) → Watch for reversal or scale out.
Exhaust – Can only occur after -5 is reached, signaling that the sell-off may be running out of force.
The chart above shows a full 5-UpShift count.
The chart above shows a full 5-DownShift count.
Why It’s Useful
Markets often move in momentum “steps” before reversing or taking a breather.
Shift Count makes these steps visible, helping traders:
Spot the early stages of a potential move.
Identify when a move is picking up steam.
Identify when a move is mature and vulnerable to reversal.
Combine with other Kio IQ strategies for better-timed entries and exits.
Why This Works
It’s visually obvious where you are in the momentum cycle without overthinking.
You can build rules like:
Only enter in Start phase when higher timeframe agrees.
Manage positions aggressively once in Acceleration phase.
Be ready to exit or fade in Exhaust phase.
Best Market Conditions
Trending markets where pullbacks are shallow.
Works best when combined with Shift Sync Pullback or Gate Breaker triggers to confirm timing.
Higher timeframe direction confluence.
Common Mistakes
Treating Exhaust as always a reversal — sometimes strong markets push past 5/-5 multiple times.
Ignoring higher timeframe bias — a “Start” on a 1-minute chart against a strong daily trend is much riskier.
🔷 Playbook Strategy: Exhaust Flip
Core idea: When Shift Count reaches 5 (or -5) and then prints Exhaust, momentum has likely climaxed, whether temporarily or leading to a full reversal. We take the first qualified signal against the prior move.
Trader’s Note:
This strategy is not intended for beginners — it requires confidence in trusting momentum shifts even when price action still appears strong. Best suited for traders experienced in managing reversals, as entries often occur before the broader market confirms the move.
🔹 UpExhaust Flip (fade a bullish run)
Setup:
Shift Count hits 5, then an Exhaust print occurs.
Invalidation
The local high is broken to the upside.
The chart above explains the UpExhaust Flip strategy in greater detail.
🔹 DownExhaust Flip (fade a bearish run)
Setup:
Shift Count hits -5, then an Exhaust print occurs.
Invalidation
The local low is broken to the downside.
The chart above explains the DownExhaust Flip strategy in greater detail.
Bonus Confluence (optional, not required)
Rift assist: An UpShift Rift (for longs) or DownShift Rift (for shorts) near Exhaust strengthens the flip.
MaSO context: Neutral or opposite-leaning MaSO helps. Avoid flips straight against a strong MaSO bias unless you have a structure break.
Why It Works
Exhaust marks climax behavior: the prior side has pushed hard, then failed to extend after meeting significant pushback. Liquidity gets thin at the edges; aggressive profit-taking meets early contrarians. A small confirmation (micro structure break or HSO turn) is often enough to flip the tape for a snapback.
Best Market Conditions
After extended, one-sided runs (multiple Shift Count steps without meaningful pullbacks).
Near Shift Gates or obvious swing extremes where trapped orders cluster.
When higher-timeframe momentum is neutral or softening (you’re fading the last thrust of a decisive move, not a fresh trend).
Common Mistakes
Fading too early: Taking the trade at 5 without waiting for the Exhaust.
Fading freight trains: Fighting a fresh Shift Sync in the same direction right after Exhaust (often just a pause).
No structure reference: Entering without a clear micro swing to anchor risk.
🔷 MTF Shift Table
The MTF Shift Table table provides a compact, multi-timeframe view of market momentum shifts. Each cell represents the current shift count within a given timeframe, while the classification label indicates whether momentum is strong, weak, or normal.
The chart above further outlines the MTF Shift Table.
Why It Works
Markets rarely move in a perfectly linear fashion — momentum develops, stalls, and transitions at different speeds across different timeframes. This table allows you to:
See momentum alignment at a glance – If multiple higher and lower timeframes show a sustained shift count in the same direction, the move has greater structural support.
Spot divergences early – A shorter timeframe reversing against a longer-term sustained count can warn of potential pullbacks or trend exhaustion before price confirms.
Identify “momentum stacking” opportunities – When shift counts escalate across timeframes in sequence, it often signals a stronger and more durable move.
Avoid false enthusiasm – A single timeframe spike without agreement from other periods may be noise rather than genuine momentum.
The Trend Score provides a concise, at-a-glance evaluation of an asset’s directional strength across multiple timeframes. It distills complex momentum and Shift data into a single, easy-to-read metric, allowing traders to quickly determine whether the prevailing conditions favor bullish or bearish continuation. The Trend Scale scales from -100 to 100.
How to Use It in Practice
Trend Confirmation – Confirm that your intended trade direction is backed by multiple timeframes maintaining consistent momentum.
Risk Timing – Reduce position size or take partial profits when lower timeframes begin shifting against the dominant momentum classification.
Multi-timeframe Confluence – Combine with other system signals (e.g., FSO, HSO) for higher-probability entries.
This table effectively turns a complex multi-timeframe read into a single, glanceable heatmap of momentum structure, enabling quicker and more confident decision-making.
The MTF Shift Table is the confluence backbone of every playbook strategy for Kio IQ.
🔷 Momentum Meter
The Momentum Meter is a composite gauge built from three of Kio IQ’s core momentum engines:
HSO – Short-term momentum scout
FSO – Mid-term momentum backbone
MaSO – Macro trend context
By combining these three readings, the meter provides the most strict and lagging momentum classification in Kio IQ.
It only flips direction when a composite score of all three oscillators reach defined thresholds, filtering out short-lived counter-moves and false starts.
Why It Works
Many momentum tools flip too quickly — reacting to short-lived spikes that don’t represent real directional commitment. The Momentum Meter avoids this by requiring alignment across short, mid, and macro momentum engines before it shifts bias.
This triple-confirmation rule filters out noise, catching only those moments when traders of all speeds — scalpers, swing traders, and long-term participants — are leaning in the same direction. When that happens, price movement tends to be more sustained and less prone to immediate reversal.
In other words, the Momentum Meter doesn’t just tell you “momentum looks good” — it tells you momentum looks good to everyone who matters, across all horizons.
How It Works
Blue = All three engines align bullish.
Pink = All three engines align bearish.
The meter ignores smaller pullbacks or temporary oscillations that might flip the faster indicators — it waits for total alignment before changing state.
Because of this strict confirmation requirement, the Momentum Meter reacts slower but delivers higher-conviction shifts.
How to Interpret Readings
Blue (Bullish Alignment):
Sustained buying pressure across short, mid, and macro views. Often marks the “full confirmation” stage of a move.
Pink (Bearish Alignment):
Sustained selling pressure across all views. Confirms sellers are in control.
Practical Uses
Trend Followers – Use as a “stay-in” confirmation once a position is already open.
Swing Traders – Great for filtering out low-conviction setups; if the Momentum Meter disagrees with your intended direction, conditions aren’t fully aligned.
Confluence and Direction Filter – The Momentum Meter can be used as a form of confluence i.e. blue = longs only, pink = shorts only.
Limitations
Will always turn after the faster oscillators (HSO/MSO). This is intentional.
Works best in trending markets — in choppy conditions it may lag shifts significantly.
Should be used as a bias filter, not a standalone entry signal.
🔷 Trend Strength Meter
The Trend Strength Meter is a compact visual gauge that scores the current trend’s strength on a scale from -5 to +5:
+5 = Extremely strong bullish trend
0 = Neutral, no clear trend
-5 = Extremely strong bearish trend
This is an optional tool in Kio IQ — designed for quick reference rather than as a primary trading trigger.
Why it works
Single-indicator trend reads can be misleading — they might look strong on one metric while quietly weakening on another. The Trend Strength Meter solves this by blending multiple inputs (momentum alignment, structure persistence, and multi-timeframe data) into one composite score.
This matters because trend health isn’t just about direction — it’s about persistence. A +5 or -5 score means the market is not only trending but holding that trend with structural support across multiple timeframes.
By tracking both direction and staying power, the Trend Strength Meter flags when a move is at risk of fading before price action fully confirms it — giving you a head start on adjusting your position or taking profits.
How It Works
The Trend Strength Meter evaluates multiple market inputs — including momentum alignment, price structure, and persistence — to assign a numeric value representing how firmly the current move is holding.
The scoring logic:
Positive values indicate bullish conditions.
Negative values indicate bearish conditions.
Higher magnitude (closer to ±5) = stronger conviction in that direction.
Values near zero suggest the market is in a transition or range.
How to Interpret Readings
+4 to +5 (Strong Up) – Trend is well-established, often with multi-timeframe agreement.
+1 to +3 (Up) – Bullish bias present, but not at maximum conviction.
0 (Neutral) – No dominant trend; could be consolidation or pre-shift phase.
-1 to -3 (Down) – Bearish bias present but moderate.
-4 to -5 (Strong Down) – Trend is firmly bearish, with consistent downside momentum.
Why It Works
A single timeframe or momentum reading can give a false sense of trend health.
The Trend Strength Meter aggregates multiple layers of market data into one simplified score, making it easy to see whether a move has the underlying support to continue — or whether it’s more likely to stall.
Because the score considers both direction and persistence, it can flag when a move is losing strength even before price structure fully shifts.
🔷 Kio IQ – Supplemental Playbook Strategies
These phases are part of the Kio IQ Playbook—situational tools that can help you anticipate potential momentum changes.
While they can be useful for planning and tactical adjustments, they are not primary trade triggers and should be treated as early, lower-conviction cues.
🔹 1. Scouting Phase (Light Early Cue)
Purpose: Provide the earliest possible hint that momentum may be shifting.
Upshift Trigger: FSO crosses above the 0 line.
Downshift Trigger: FSO crosses below the 0 line.
Why It Works
The 0 line in the Full Shift Oscillator (FSO) acts as a neutral momentum boundary.
When the FSO moves above 0, it suggests that medium-term momentum has shifted to bullish territory.
When it moves below 0, it suggests that medium-term momentum has shifted to bearish territory.
This crossover is often the first measurable sign of a momentum reversal or acceleration, well before slower indicators confirm it.
Think of it as "momentum poking its head above water"—you’re spotting the change before it becomes obvious on price alone.
Best Use
Works best when confirmed later by Lookout Phase or other primary Kio IQ signals.
Ideal for scouting in anticipation of potential opportunities.
Helpful when monitoring multiple assets and you want a quick filter for shifts worth watching.
Can act as a trade trigger when the MTF Shift Table shows confluence (i.e., UpShift Scouting Signal + Bullish MTF Table + High Trend Strength Score).
Common Mistakes
Acting on Scouting Phase signals against the MTF Shift Table as a stand-alone trade trigger. Without higher timeframe alignment or additional confirmation, many Scouting Phase crossovers can fade quickly or reverse, leading to premature entries.
Ignoring market context
A bullish Scouting Phase in a strong downtrend can easily fail.
Always check higher timeframe trend alignment.
Overreacting to noise: On lower timeframes, small fluctuations can create false scouting signals.
Best Practices
Filter with trend: Only act on Scouting Phases that align with the dominant higher timeframe trend.
Watch volatility: In low-volatility conditions, false scouting triggers are more likely.
🔹 2. Lookout Phase (Early Momentum Alert)
Purpose:
The Lookout Phase signals an early alert that momentum is potentially strengthening in a given direction. It’s more meaningful than the Scouting Phase, but still considered a preliminary cue.
Triggers:
Upshift: FSO crosses above the HSO.
Downshift: FSO crosses below the HSO.
Why It Works:
The Lookout Phase is designed to identify moments when mid-term momentum (FSO) overtakes short-term momentum (HSO). Since the FSO is smoother and reacts more gradually, its crossover of the faster-reacting HSO can indicate a shift from short-lived fluctuations to a more sustained directional move.
This makes it a valuable early read on momentum transitions—especially when supported by higher-timeframe context.
Best Practices:
Always check the MTF Shift Table for higher-timeframe alignment before acting on a Lookout Phase signal.
Look for confluence with the Momentum Meter
Treat Lookout Phase entries as probing positions—small, exploratory trades that can be scaled into if follow-through develops.
Common Mistakes:
Treating Lookout Phase signals as a definitive trade trigger without context
Entering solely on a Lookout Phase crossover, without considering the MTF Shift Table or broader market structure, can result in chasing short-lived momentum bursts that fail to follow through.
Ignoring prevailing higher-timeframe momentum
Trading a Lookout Phase signal that is counter to the dominant trend or higher-timeframe bias increases the risk of whipsaws and false moves.
🔶 Summary
Kio IQ is an all-in-one trading indicator that combines momentum, trend strength, multi-timeframe analysis, divergences, pullbacks, and exhaustion alerts into a clear, structured view. It helps traders cut through market noise by showing whether a move is strong, weak, a trap, or simply part of a larger trend. With tools like the Full Shift Oscillator, Multi-Timeframe Shift Table, Shift Gates, and Rift Divergences, Kio IQ simplifies complex market behavior into easy-to-read signals. It’s designed to help traders spot early shifts, align with momentum, and recognize when trends are building or losing steam—all in one place.
SPX → NQ Levels ConverterSPX → NQ Levels Converter is a Pine Script indicator that projects key S&P 500 (SPX) levels onto the NASDAQ 100 (NQ) chart using a configurable conversion ratio.
• Dynamic ratio: calculates the live SPX/NQ ratio in real time.
• Static ratio: allows manual input of a fixed ratio.
• Supports up to 10 custom SPX levels, automatically converted into their equivalent NQ values.
• Each level is displayed with a line and label (SPX → NQ) with independent color settings.
• Advanced visualization controls:
• line extension (right, left, both, or fixed)
• line length & placement
• label side & offset.
• Lines and labels auto-update on every bar to stay accurate over time.
Use case: particularly useful for traders who track SPX option levels or support/resistance zones but execute trades on the NQ.
Xmoon – 3 Push Divergence – PremiumWhat the Xmoon Indicator Does and Why It’s Special
The Xmoon Indicator is an advanced and unique analytical tool, built on years of trading experience, research, and development. It is not merely a combination of a few simple indicators; it is a comprehensive, intelligent system that brings together the three main pillars of trading success—strategy, risk management, and trading psychology—into a single integrated tool.
Strategy
• Xmoon’s core algorithm is based on the 3 Push Divergence pattern in the RSI —a pattern not offered in other indicators. Most existing tools only detect divergence between two highs or two lows, whereas Xmoon can identify three consecutive highs or three consecutive lows with a momentum mismatch, which considerably increases the statistical likelihood of a trend reversal.
Risk Management
• Automatically calculates the size of each step entry based on per-step capital allocation, leverage, and entry/exit prices, using precise, weighted calculations.
• These multi-step calculations run in real time and are shown clearly in the Information Box for quick reading.
• A Liquidity Line (risk threshold) is computed for each setup and plotted on the chart so you can see at a glance where the position would be liquidated (futures) or where the analysis is invalidated (spot).
Psychology & Decision-Making
• From the moment a signal is generated, Xmoon plots all key levels— step entries, risk-free levels, targets, and the liquidity line —so the trader knows from the outset:
o where the profitable exit is if the market follows the analysis;
o where the break-even (risk-free) exit is if the market moves against the analysis.
• This approach significantly reduces stress and emotional decision-making, because both favorable and unfavorable scenarios are predefined.
Logic & Workflow of the Xmoon Indicator
1️⃣ Pivot Detection and Classification
Xmoon first detects price pivots on the chart and classifies them— based on the bar distance between consecutive pivot highs/lows—into four tiers: Super Minor, Minor, Mid-Major, and Major .
The greater the distance between pivots, the larger and more reliable the pivot becomes—though signals are generated less frequently.
2️⃣ Detecting the 3 Push Divergence Pattern
At this stage, Xmoon identifies 3 Push Divergence patterns. The pattern forms when price prints three consecutive pivots in the same direction, i.e.:
• Bullish: three successive higher highs
• Bearish: three successive lower lows
Meanwhile, at the corresponding points on the RSI , momentum moves the other way:
• Bullish case: RSI peaks step down each time — weakening buying pressure
• Bearish case: RSI troughs step up each time — weakening selling pressure
This repeated price–momentum disagreement three times in a row can significantly increase the likelihood of a trend reversal.
3️⃣ Plotting the Pattern and Key Levels
After the pattern is detected, Xmoon draws the divergence lines and plots the following levels on the chart:
• Step entry lines based on the user-defined number of steps and allocated capital.
• Risk-free (break-even) lines for exits without profit or loss.
• Target lines indicating minimum profit objectives.
• Liquidity level (risk threshold) marking where equity would be wiped out in futures.
These visuals let the trader see, at a glance, the full picture of the pattern, planned entries/exits, and the risk range.
4️⃣ Information Box
After the pattern is detected, Xmoon can display an on-chart Information Box alongside each detected pattern (when enabled in the settings). It includes:
• Pivot type: Super Minor, Minor, Mid-Major, or Major.
• Confirmation filters:
1. Higher-timeframe trend based on the 200-period moving average (MA200).
2. Higher-timeframe overbought/oversold status based on RSI.
• Suggested entry size: based on actual capital and leverage.
This box helps the trader quickly see the pattern quality, overall market context, and the suggested position size.
ℹ️ Explanation of Confirmation Filters
Using these filters can increase signal accuracy.
This information is built into the Xmoon indicator, so you don’t need to add any extra indicators or tools to the chart. Xmoon performs the comparisons in real time and displays the filter results in the Information Box .
• Higher-timeframe trend filter: If the higher-timeframe trend based on the 200-period moving average (MA200) is bullish, buy/long signals are stronger; if it’s bearish, sell/short signals are stronger.
• Higher-timeframe overbought/oversold filter: If RSI is in the overbought zone, the probability of success for sell/short signals is higher; in the oversold zone, the probability of success for buy/long signals is higher.
🧩 What are the components of the Xmoon indicator, and why are they combined?
• Core strategy: trend-reversal signals via a proprietary 3 Push Divergence algorithm.
• Multi-stage confirmation: higher-timeframe trend based on MA200 , plus higher-timeframe RSI overbought/oversold confirmation.
• Advanced position sizing: step-based sizing and weighted averaging .
• Structured exit management: risk-free levels, targets , and liquidity level.
• Supports fast decision-making: all vital information at a glance.
This combination turns Xmoon into a complete, practical system that has not been implemented in this integrated way in any similar tool on TradingView, and it is precisely the sum of these features in a single indicator that sets Xmoon apart from comparable tools.
How to Use the Xmoon Indicator
1️⃣ Add to chart: Add the indicator to the chart of your chosen symbol.
2️⃣ Configure parameters: In Settings , adjust the following to match your strategy:
• Number of Entry steps: 2 to 10 steps
• Pivot type: Super Minor / Minor / Mid-Major / Major
• Pattern direction: Bullish / Bearish
• Display options: show lines and the Information Box
• Capital per trade
• Higher-timeframe filters: timeframes for Trend and RSI
3️⃣ Enable alerts: Turn on alerts to receive immediate notifications when a 3 Push Divergence pattern is detected.
4️⃣ Review the Information Box: To assess pattern strength and alignment with the market after a signal appears, check:
• Pivot size: Super Minor / Minor / Mid-Major / Major (for gauging pattern strength)
• Confirmation filters:
1. Whether the detected pattern aligns with the higher-timeframe trend
2. Whether the detected pattern aligns with the higher-timeframe RSI overbought/oversold condition
These details help you decide whether to enter the trade.
5️⃣ Step Entries
After reviewing the conditions, open your first position at Step 1 . If price moves against you and reaches the Step 2 level, open a new position there, and continue opening additional positions at each subsequent step level.
Whenever price reverses from any of these levels and moves in the direction of your analysis, all open positions will move into profit .
In Xmoon, the number of entry steps is fully configurable ( 2 to 10 ). Set it according to your strategy—the system automatically calculates the size of each step based on the capital you allocate.
6️⃣ Exit Management
Depending on market conditions, you can choose one of the following:
• ⚖️ Exit at the risk-free level: when the market is uncertain and you prefer to close at break-even.
• 🎯 Exit at the target level: when price has followed your analysis and you want to realize profit.
⚠️ Liquidity Level
• Spot: analysis invalidation point.
• Futures: the price at which a leveraged position’s equity would be wiped out.
Why the Invite-Only Version of Xmoon Is Worth Getting
• Proprietary 3 Push Divergence detection and confirmation that isn’t available in the free version or generic indicators.
• Automatic, precise capital and step sizing, with visual plotting of key levels from the moment a signal is issued.
• Real-time market context and pattern quality shown in the Information Box—no need to switch timeframes or add extra indicators.
• Risk control and psychological support by outlining predefined scenarios from start to finish of the trade.
• Limited access to help prevent misuse and reduce users’ financial risk, with dedicated training before activation.
• Developed through extensive backtesting and live evaluation; outcomes depend on correct use and market conditions.
We sincerely hope you have successful and profitable trades.
📣 If you have any questions or need further guidance, we’ll be happy to hear from you.
It’s our pleasure to assist you anytime.
🔻🔻🔻 Persian Section – بخش فارسی 🔻🔻🔻
اندیکاتور ایکسمون چه کاری انجام میدهد و چرا خاص است
اندیکاتور ایکسمون یک ابزار تحلیلی پیشرفته و منحصربهفرد است که حاصل سالها تجربه ترید، تحقیق و توسعه است. این اندیکاتور صرفاً ترکیب چند اندیکاتور ساده نیست، بلکه یک سیستم جامع و هوشمند است که سه رکن اصلی موفقیت در معاملات یعنی استراتژی، مدیریت سرمایه و روانشناسی معاملهگری را در یک ابزار یکپارچه گردآورده است
در بخش استراتژی
* الگوریتم اصلی ایکسمون بر اساس الگوی سهپوش واگرایی (تری پوش دایورجنس) در آر-اِس-آی طراحی شده است؛ الگویی که در سایر اندیکاتور ها ارائه نشده است، بیشتر ابزارهای موجود تنها واگرایی بین دو قله یا دو کف را تشخیص میدهند، در حالی که ایکسمون توانایی شناسایی سه قله یا سه کف متوالی با تضاد مومنتوم را دارد که این موضوع از نظر آماری احتمال بازگشت روند را بهمراتب افزایش میدهد
در بخش مدیریت سرمایه
* محاسبه خودکار حجم هر پله، بر اساس سرمایه پله ای، لوریج و قیمتهای ورود/خروج بهصورت دقیق و وزنی انجام میشود
* این محاسبات پیچیده برای چندین پله به شکل لحظهای انجام شده و در باکس اطلاعات به سادهترین شکل نمایش داده میشود
* خط لیکوییدیتی (حد ریسک) برای هر الگو محاسبه و روی نمودار بصورت بصری رسم میشود تا کاربر در یک نگاه بداند سرمایهاش کجا صفر میشود (در فیوچرز) یا تحلیلش کجا باطل میشود (در اسپات)
در بخش روانشناسی و تصمیمگیری
* ایکسمون از همان لحظه صدور سیگنال، تمام خطوط کلیدی (ورودی پلهای، ریسکفری، تارگت، لیکوییدیتی) را رسم میکند تا معاملهگر از ابتدا بداند
* اگر بازار طبق تحلیل پیش برود، خروج سودآور کجاست
* اگر بازار بر خلاف تحلیل پیش برود، نقطه خروج بیضرر (ریسکفری) کجاست
* این رویکرد باعث کاهش شدید استرس و تصمیمگیری احساسی میشود، چون سناریوهای خوشبینانه و بدبینانه از پیش مشخص هستند
⚙️ منطق و روش کار اندیکاتور ایکسمون
1️⃣ شناسایی و طبقهبندی پیوتها
اندیکاتور ایکسمون ابتدا پیوتهای قیمتی را روی نمودار شناسایی کرده و بر اساس فاصلهی کندلی بین سقف یا کف ها، آنها را در چهار دسته طبقهبندی میکند : سوپر مینور، مینور، میدماژور و ماژور
هرچه فاصله بین پیوت ها بیشتر باشد، پیوت بزرگتر و معتبرتر است، اما سیگنالها کمتر تولید میشوند
2️⃣ تشخیص الگوی سهپوش واگرایی
اندیکاتور ایکسمون در این مرحله الگوهای سهپوش واگرایی را شناسایی میکند، این الگو زمانی شکل میگیرد که قیمت سه پیوت متوالی همجهت تشکیل دهد، یعنی
* حالت صعودی : سه سقف پیاپی بالاتر از قبلی
* حالت نزولی : سه کف پیاپی پایینتر از قبلی
و همزمان، در نقاط متناظر در آر-اِس-آی حرکت معکوس دیده شود، به این معنا که
* حالت صعودی، قلههای آر-اِس-آی هر بار پایینتر از قبلی قرار گیرند - کاهش قدرت خرید
* حالت نزولی، درههای آر-اِس-آی هر بار بالاتر از قبلی شکل گیرند - کاهش فشار فروش
این تضاد قیمت و مومنتوم، وقتی سه بار پیاپی رخ دهد، احتمال بازگشت روند را بهشدت افزایش میدهد
3️⃣ ترسیم الگو و نمایش سطوح کلیدی
پس از شناسایی الگو، ایکسمون خطوط واگرایی و همچنین خطوط و سطوح زیر را روی نمودار ترسیم میکند، این موارد شامل
* 📍 خطوط ورود پلهای بر اساس تعداد پله و سرمایه تنظیمشده توسط کاربر
* ⚖️ خطوط ریسکفری برای خروج بدون سود و زیان
* 🎯 خطوط تارگت به عنوان سطوح حداقل سود
* 🛡 سطح لیکوییدیتی (حد ریسک) برای مشخصکردن نقطه صفر شدن سرمایه در معاملات فیوچرز
این ترسیمات باعث میشود معاملهگر در یک نگاه تصویر کامل از الگو، سطوح ورود و خروج و محدوده ریسک داشته باشد
4️⃣ باکس اطلاعات
پس از شناسایی الگو، اندیکاتور ایکسمون یک باکس اطلاعات تکمیلی در کنار هر الگو نمایش میدهد، البته با فعالسازی گزینه مربوطه در تنظیمات، باکس اطلاعات در کنار الگو نمایش داده میشود و شامل موارد زیر میباشد
* 🏷 نوع پیوت : سوپر مینور، مینور، میدماژور یا ماژور
* 📋 فیلترهای تأییدی
یک - جهت روند در تایمفریم بالاتر بر اساس میانگین متحرک دویست
دو - وضعیت اشباع خرید/فروش در تایمفریم بالاتر بر اساس اندیکاتور آر-اِس-آی
* 📊 حجم پیشنهادی ورود : بر اساس سرمایه واقعی و لوریج
این باکس به معاملهگر کمک میکند در یک نگاه کیفیت الگو، شرایط کلی بازار و حجم پیشنهادی ورود را بداند
توضیح درباره فیلترهای تأییدی : استفاده از این فیلترها میتواند دقت سیگنالها را افزایش دهد. این اطلاعات در اندیکاتور ایکسمون موجود است و نیازی نیست اندیکاتور یا ابزار اضافه دیگری به چارت اضافه کنید. ایکسمون مقایسه ها را در لحظه انجام میدهد و نتیجه فیلترها را در باکس اطلاعات به شما نشان میدهد
* فیلتر جهت روند در تایمفریم بالاتر : اگر روند بالاتر بر اساس اِم-اِی-دویست صعودی باشد، سیگنالهای خرید/لانگ قویتر هستند و بالعکس
* فیلتر تشخیص نواحی اشباع خرید/فروش در تایمفریم بالاتر : اگر آر-اِس-آی در محدوده اُورباوت باشد، احتمال موفقیت فروش بیشتر است و در محدوده اُورسولد احتمال موفقیت خرید بالاتر میرود
🧩 اجزای اندیکاتور ایکسمون چه هستند و چرا این اجزا با هم ترکیب شدهاند
* استراتژی اصلی : سیگنال بازگشت روند با الگوریتم اختصاصی سهپوش واگرایی
* تأیید چندمرحلهای جهت روند در تایم فریم بالاتر بر اساس اِم-اِی-دویست و تایید وضعیت بیشینه خرید/فروش در تایم فریم بالاتر در اندیکاتور آر-اِس-آی
* مدیریت سرمایه پیشرفته : محاسبه حجم پلهای و میانگین وزنی
* مدیریت خروج ساختاریافته : سطوح ریسکفری، تارگت، لیکوییدیتی
* پشتیبانی از تصمیمگیری سریع : همه اطلاعات حیاتی در یک نگاه
این ترکیب، ایکسمون را به یک سیستم کامل و کاربردی تبدیل کرده که در هیچ ابزار مشابهی در تریدینگویو به این شکل یکپارچه پیادهسازی نشده است و دقیقاً مجموع این ویژگیها در یک اندیکاتور است که ایکسمون را از ابزارهای مشابه متمایز میکند
📖 نحوه استفاده از اندیکاتور ایکسمون
1️⃣ افزودن اندیکاتور به چارت : اندیکاتور را به نمودار نماد دلخواه اضافه کنید
2️⃣ تنظیم پارامترها : از بخش تنظیمات، موارد زیر را بر اساس استراتژی شخصی خودتان مشخص کنید
* تعداد پلههای ورود: از دو تا ده پله
* نوع پیوت ها: سوپر مینور/مینور/مید-ماژور/ماژور
* نوع الگوها: نزولی/صعودی
* نمایش خطوط و باکس اطلاعات
* تعیین سرمایه در هر معامله
* تایمفریمهای فیلتر اِم-اِی-دویست و آر-اِس-آی
3️⃣ فعالسازی هشدارها : برای اطلاع فوری از شناسایی الگوهای سهپوش واگرایی ، آلارمها را فعال کنید
4️⃣ بررسی باکس اطلاعات : برای سنجش قدرت الگو و همجهتی با بازار، پس از صدور سیگنال، اطلاعات زیر را در باکس مشکی اطلاعات بررسی کنید
* 🏷 نوع پیوت : بررسی میزان قدرت الگو - سوپر مینور، مینور، میدماژور یا ماژور
* 📋 فیلترهای تأییدی
یک - بررسی هم جهتی الگوی شناسایی شده با جهت روند در تایمفریم بالاتر
دو - بررسی هم جهتی الگوی شناسایی شده با وضعیت اشباع خرید یا فروش در اندیکاتور آر-اِس-آی در تایمفریم بالاتر
این اطلاعات به شما کمک میکند تصمیم بگیرید که آیا وارد معامله شوید یا خیر
5️⃣ ورود پلهای
اگر پس از بررسی شرایط تصمیم به ورود گرفتید، اولین پوزیشن را در پله اول باز کنید و در صورتی که بازار در خلاف جهت موردنظر شما حرکت کرد و به سطح پله دوم رسید، یک پوزیشن جدید در همان سطح باز کنید و با رسیدن به سطوح بعدی، پوزیشن های بعدی را باز می کنید
هر زمان که بازار از هر یک از این سطوح برگشت و در جهت تحلیل شما حرکت کرد، تمامی پوزیشنهای باز شده وارد سود میشوند
در اندیکاتور ایکسمون، تعداد پلههای ورودی کاملاً قابلتنظیم است (بین دو تا ده پله ) و شما میتوانید بر اساس استراتژی شخصی خود آن را تعیین کنید، سیستم بهطور خودکار حجم هر پله را بر اساس سرمایه واردشده محاسبه میکند
6️⃣ مدیریت خروج
بسته به شرایط بازار، میتوانید یکی از دو روش زیر را انتخاب کنید
* ⚖️ خروج در سطح ریسکفری : زمانی که بازار نامطمئن است و میخواهید بدون سود یا زیان از معامله خارج شوید
* 🎯 خروج در سطح تارگت : زمانی که قیمت طبق تحلیل شما حرکت کرده است و بدنبال کسب سود هستید
⚠️سطح لیکوییدیتی
* اسپات: نقطه ابطال تحلیل
* فیوچرز: نقطه صفر شدن سرمایه پوزیشن با لوریج
💎 چرا نسخه اینوایت اونلی ایکسمون ارزش تهیه دارد
* الگوریتم اختصاصی شناسایی و تأیید سهپوش واگرایی که در نسخه رایگان یا اندیکاتورهای عمومی وجود ندارد
* محاسبات سرمایه و حجم پلهای بهصورت خودکار و دقیق، همراه با رسم بصری سطوح کلیدی از لحظه صدور سیگنال
* نمایش آنی شرایط بازار و کیفیت الگو در باکس اطلاعات بدون نیاز به تغییر تایمفریم یا افزودن اندیکاتورهای اضافی
* کنترل ریسک و پشتیبانی روانی معاملهگر با ارائه سناریوهای مشخص از ابتدا تا انتهای معامله
* دسترسی محدود برای جلوگیری از استفاده نادرست و کاهش ریسک مالی کاربران، همراه با آموزش اختصاصی پیش از فعالسازی
* اثباتشده در تستها و معاملات واقعی با نتایج قابل اتکا، به شرط استفاده صحیح بر اساس آموزش
صمیمانه امیدواریم معاملات موفق و پرسودی داشته باشید
📣 اگر سوالی دارید یا نیاز به راهنمایی بیشتری دارید، خوشحال میشویم از ما بپرسید
با کمال میل در خدمتتان هستیم
Multi Moving Average System with MACDDetailed Description of "Multi Moving Average System with MACD" Indicator
This indicator is designed to help traders identify the direction and strength of market trends. It combines several technical tools that work together to provide a more complete picture of market conditions.
What are Moving Averages and how do they work?
Moving Averages (MA) are lines on a chart that show the average price over a specific period. They smooth out price fluctuations, making it easier to see the overall direction of price movement.
This indicator uses 5 moving averages with different periods:
- MA1 (9 periods) - the fastest line, reacts to short-term changes
- MA2 (18 periods) - slightly slower, shows short-term trend
- MA3 (50 periods) - medium-term moving average
- MA4 (72 periods) - shows medium-term trend
- MA5 (200 periods) - the slowest, shows long-term trend
When price is above these lines - it may indicate an uptrend, and when below - a downtrend.
What is MACD and how is it used?
MACD (Moving Average Convergence Divergence) is an oscillator that helps determine trend strength and direction, as well as potential reversal points.
In this indicator, MACD is used for:
- Determining trend strength (weak, medium, strong)
- Identifying potential trend changes (MACD line crossovers)
- Confirming signals from moving averages
How candle coloring works (important for understanding the trend)
One of the key features of this indicator is the color marking of candles, which helps visually determine the current market condition:
- **Strong uptrend (green)**: when the closing price is above both MA1 and MA2 simultaneously
- **Strong downtrend (red)**: when the closing price is below both MA1 and MA2 simultaneously
- **Bullish signal (light green)**: when price crosses MA1 from below upward (potential start of an uptrend)
- **Bearish signal (light red)**: when price crosses MA1 from above downward (potential start of a downtrend)
- **Neutral state (gray)**: when none of the other color conditions are met
**It's important to understand the coloring mechanism:**
- Already formed (closed) candles **do not change their color** - their coloring is permanently fixed
- The current (not closed) candle may change color as the price moves during the formation of the bar
- This is not "repainting" in the negative sense (when signals change retroactively), but a natural process of forming the current candle
- This approach does not mislead, as it shows only the current state relative to moving averages
What does the indicator display?
1. **Five colored lines on the chart** - these are moving averages with different periods. Their crossovers help determine the trend.
2. **Information panel**:
- "Trend" - shows current market condition (Max Bullish, Bullish, Weak Bullish, Weak Bearish, Bearish, Max Bearish) with corresponding color
- "RSI" - Relative Strength Index value, showing overbought/oversold conditions
- "ADX" - Average Directional Index value, showing trend strength
3. Support and resistance levels:
- MA4 and MA5 from higher timeframe (e.g., 4-hour chart when trading on 15-minute chart)
- Mirror levels, calculated mathematically using the formula. These are not subjective levels, but strict mathematical calculations based on market symmetry principle mentioned in John Murphy's book "Technical Analysis of Financial Markets". This approach helps identify potential reversal points where price may react to symmetrical reflection relative to a price level.
4. Signals on the chart:
- MACD and signal line crossovers (crosses)
- Signal line crossing zero level (triangles)
- **MACD line crossing zero level (circles)**:
* Green circles below candles - when MACD line crosses zero level from below upward
* Red circles above candles - when MACD line crosses zero level from above downward
How to interpret the signals?
- **Strong uptrend (Max Bullish)**: when price is above MA1 and MA2, MACD is above zero line and above signal line with sufficient histogram amplitude
- **Weak uptrend (Weak Bullish)**: when MACD is above signal line but below zero line (potential reversal)
- **Strong downtrend (Max Bearish)**: when price is below MA1 and MA2, MACD is below zero line and below signal line with sufficient histogram amplitude
- **Weak downtrend (Weak Bearish)**: when MACD is below signal line but above zero line (potential reversal)
Higher timeframe configuration
One of the unique features of this indicator is the flexible configuration of higher timeframe linkage:
- **Auto-detection (Auto)** - the indicator automatically selects the most appropriate higher timeframe based on the current working timeframe
- **Special profiles** - you can choose a preset for a specific market type:
* **Crypto** - optimized for cryptocurrencies (accounts for 24/7 trading mode)
* **Forex** - optimized for forex market (accounts for 24-hour trading with breaks)
* **Stocks** - optimized for stock market (accounts for exchange trading hours)
- **Manual configuration (Manual)** - complete flexibility: you can specify which higher timeframe to use for each specific current timeframe (from 1 minute to monthly)
This feature allows adapting the indicator to the characteristics of any market and any trading style, providing relevant analysis for both scalpers and position traders.
How to customize the indicator?
You can adjust:
- Types and periods of moving averages
- Colors for different signals and levels
- Display of additional elements (levels, mirrors, signals)
- Filters (volume, RSI, ADX)
- Connection to higher timeframes
Important!
This indicator follows standard technical analysis principles and contains no secret algorithms. It is provided exclusively for informational and educational purposes. Technical analysis does not guarantee future results, and before making trading decisions, it is recommended to use additional analysis methods and consider your risk tolerance.
samc's - Keltner OscillatorThe KELTNER CHANNEL is a widely used technical indicator developed in the 60's by Chester W. Keltner who described it in his 1960 book How To Make Money in Commodities.
so i took the logic, simplified the code and made into an oscillator.
to add a flavor of modern times you can choose among 10 different colorways themes in the settings. (so traders can adjust it for dark or light charts)
Although the initial idea was developed for stocks and commodities, I've carefully back tested this as an oscillator across FX MAJORS , MINORS and high liquidity stocks for the use case of scalping and Medium term trade ideas.
now, this indicator works successfully over all time frames, custom time frames and all assets.
This script builds on the same approach as my earlier session tool — keeping things clean, visual, and easy to read.
I intend to publish more of my work as i develop them from Beta ideas into stable scripts, and i welcome feedback.
samc's FX SESSIONS - on candles So, based on my 8 yrs of experience and over a 2 decade worth of back testing on FX majors pairs one thing i can univocally affirm to the fact that Timing is everything especially in the currency markets.
so i made this indicator to help reduce the noise and focus on signals which is coded by time,
now i made this as GMT+8 in focus but you can adjust based on your requirements.
I classified my indicator colors according to the inter-SESSION High Impact areas only as following :
Primary session colors:
ASIAN - YELLOW
EU - BLUE
US - Magenta (light)
and every first 10 mins of the hour (Great for scalping)
i marked them in a shade of grey.
secondary sessions i marked them as minor sessions.
PRE-EU 1hr of expected trend i marked in color green
and
after hours in a shade of color violet.
so i usually make my candles into light grey by default and remove the body and wicks to minimize the visual stimulus so that this indicator will work great with both dark and light themes and does not obstruct other indicators.
also i made an option to uncheck my naming scheme of session on the top right.
Multi-Timeframe 200 EMAMulti-Timeframe 200 EMA Indicator
This indicator plots five 200-period Exponential Moving Averages (EMAs) on your chart, each from a different timeframe: 1-hour, 2-hour, 4-hour, 8-hour, and 1-day.
What It Does:
Analyzes Higher Timeframes: It uses the request.security() function to fetch data from higher timeframes. This allows you to see significant long-term support and resistance levels from higher timeframes, all on your current chart.
Customizable: You can easily turn each EMA line on or off individually in the indicator's settings. By default, the 1-hour and 1-day EMAs are off, so you can focus on the intermediate timeframes right away.
Clean and Simple: The indicator is designed to be clean and easy to read, with different colors for each EMA line to help you quickly identify the different timeframes at a glance.
This is a powerful tool for trend analysis and identifying key price levels, helping you make more informed trading decisions.
CISD with deviationsChange in State Delivery (CISD) is a well-recognized concept and serves as a key signal for identifying market direction through the behavior of CISD levels. In this approach, CISD is applied as the core measure of market structure, removing the variability that comes from user-defined interpretations.
How does it works :
Identifies CISD levels as the market delivers price.
Track whether price respects or violates these levels.
A confirmed shift (change in state) signals a potential transition in trend
Provides a clean structure map to guide execution
How to use it :
1)Align CISD shifts with your higher timeframe bias and the deviation levels marked by the indicator which often serve as the area for retracement or continuations.
2) Use CISD confirmation as a filter for trade entries.
3) Combine with liquidity pools, FVGs, or session timing for added confluence.
Features covered :
1) Automatic Bearish and Bullish CISD plotting.
2) Anchored Fibonacci levels are plotted based on the confirmed CISD. The Fibonacci levels are fixed and cannot be modified by the user because these levels serve a purpose.
3) Alerts can be set up by the users for whenever a bearish/bullish CISD is confirmed.
4) Automatic invalidations are set so that when price invalidates a CISD or hits the -4 level of a CISD as full target level, the CISD is automatically removed.
5) Currently , the maximum CISDs visible are limited to 3 each (bullish and bearish) to avoid cluttering on the chart.
Elliott Wave Detector with FibonacciDetermines what timeframe (if any) the underlying asset displays congruence with Elliot Waves, validated by examining the congruence of the waves with fibonacci patterns. Like all backwards-looking indicators, any actual match will be a very pretty coincidence rather than any kind of indicator of potential future behaviour,
CNS - Multi-Timeframe Bollinger Band OscillatorMy hope is to optimize the settings for this indicator and reintroduce it as a "strategy" with suggested position entry and exit points shown in the price pane.
I’ve been having good results setting the “Bollinger Band MA Length” in the Input tab to between 5 and 10. You can use the standard 20 period, but your results will not be as granular.
This indicator has proven very good at finding local tops and bottoms by combining data from multiple timeframes. Use BB timeframes that are lower than the timeframe you are viewing in your price pane.
The default settings work best on the weekly timeframe, but can be adjusted for most timeframes including intraday.
Be cognizant that the indicator, like other oscillators, does occasionally produce divergences at tops and bottoms.
Any feedback is appreciated.
Overview
This indicator is an oscillator that measures the normalized position of the price relative to Bollinger Bands across multiple timeframes. It takes the price's position within the Bollinger Bands (calculated on different timeframes) and averages those positions to create a single value that oscillates between 0 and 1. This value is then plotted as the oscillator, with reference lines and colored regions to help interpret the price's relative strength or weakness.
How It Works
Bollinger Band Calculation:
The indicator uses a custom function f_getBBPosition() to calculate the position of the price within Bollinger Bands for a given timeframe.
Price Position Normalization:
For each timeframe, the function normalizes the price's position between the upper and lower Bollinger Bands.
It calculates three positions based on the high, low, and close prices of the requested timeframe:
pos_high = (High - Lower Band) / (Upper Band - Lower Band)
pos_low = (Low - Lower Band) / (Upper Band - Lower Band)
pos_close = (Close - Lower Band) / (Upper Band - Lower Band)
If the upper band is not greater than the lower band or if the data is invalid (e.g., na), it defaults to 0.5 (the midline).
The average of these three positions (avg_pos) represents the normalized position for that timeframe, ranging from 0 (at the lower band) to 1 (at the upper band).
Multi-Timeframe Averaging:
The indicator fetches Bollinger Band data from four customizable timeframes (default: 30min, 60min, 240min, daily) using request.security() with lookahead=barmerge.lookahead_on to get the latest available data.
It calculates the normalized position (pos1, pos2, pos3, pos4) for each timeframe using f_getBBPosition().
These four positions are then averaged to produce the final avg_position:avg_position = (pos1 + pos2 + pos3 + pos4) / 4
This average is the oscillator value, which is plotted and typically oscillates between 0 and 1.
Moving Averages:
Two optional moving averages (MA1 and MA2) of the avg_position can be enabled, calculated using simple moving averages (ta.sma) with customizable lengths (default: 5 and 10).
These can be potentially used for MA crossover strategies.
What Is Being Averaged?
The oscillator (avg_position) is the average of the normalized price positions within the Bollinger Bands across the four selected timeframes. Specifically:It averages the avg_pos values (pos1, pos2, pos3, pos4) calculated for each timeframe.
Each avg_pos is itself an average of the normalized positions of the high, low, and close prices relative to the Bollinger Bands for that timeframe.
This multi-timeframe averaging smooths out short-term fluctuations and provides a broader perspective on the price's position within the volatility bands.
Interpretation
0.0 The price is at or below the lower Bollinger Band across all timeframes (indicating potential oversold conditions).
0.15: A customizable level (green band) which can be used for exiting short positions or entering long positions.
0.5: The midline, where the price is at the average of the Bollinger Bands (neutral zone).
0.85: A customizable level (orange band) which can be used for exiting long positions or entering short positions.
1.0: The price is at or above the upper Bollinger Band across all timeframes (indicating potential overbought conditions).
The colored regions and moving averages (if enabled) help identify trends or crossovers for trading signals.
Example
If the 30min timeframe shows the close at the upper band (position = 1.0), the 60min at the midline (position = 0.5), the 240min at the lower band (position = 0.0), and the daily at the upper band (position = 1.0), the avg_position would be:(1.0 + 0.5 + 0.0 + 1.0) / 4 = 0.625
This value (0.625) would plot in the orange region (between 0.85 and 0.5), suggesting the price is relatively strong but not at an extreme.
Notes
The use of lookahead=barmerge.lookahead_on ensures the indicator uses the latest available data, making it more real-time, though its effectiveness depends on the chart timeframe and TradingView's data feed.
The indicator’s sensitivity can be adjusted by changing bb_length ("Bollinger Band MA Length" in the Input tab), bb_mult ("Bollinger Band Standard Deviation," also in the Input tab), or the selected timeframes.
Multi-Timeframe Bollinger BandsMy hope is to optimize the settings for this indicator and reintroduce it as a "strategy" with suggested position entry and exit points shown in the price pane.
I’ve been having good results setting the “Bollinger Band MA Length” in the Input tab to between 5 and 10. You can use the standard 20 period, but your results will not be as granular.
This indicator has proven very good at finding local tops and bottoms by combining data from multiple timeframes. Use timeframes that are lower than the timeframe you are viewing in your price pane. Be cognizant that the indicator, like other oscillators, does occasionally produce divergences at tops and bottoms.
Any feedback is appreciated.
Overview
This indicator is an oscillator that measures the normalized position of the price relative to Bollinger Bands across multiple timeframes. It takes the price's position within the Bollinger Bands (calculated on different timeframes) and averages those positions to create a single value that oscillates between 0 and 1. This value is then plotted as the oscillator, with reference lines and colored regions to help interpret the price's relative strength or weakness.
How It Works
Bollinger Band Calculation:
The indicator uses a custom function f_getBBPosition() to calculate the position of the price within Bollinger Bands for a given timeframe.
Price Position Normalization:
For each timeframe, the function normalizes the price's position between the upper and lower Bollinger Bands.
It calculates three positions based on the high, low, and close prices of the requested timeframe:
pos_high = (High - Lower Band) / (Upper Band - Lower Band)
pos_low = (Low - Lower Band) / (Upper Band - Lower Band)
pos_close = (Close - Lower Band) / (Upper Band - Lower Band)
If the upper band is not greater than the lower band or if the data is invalid (e.g., na), it defaults to 0.5 (the midline).
The average of these three positions (avg_pos) represents the normalized position for that timeframe, ranging from 0 (at the lower band) to 1 (at the upper band).
Multi-Timeframe Averaging:
The indicator fetches Bollinger Band data from four customizable timeframes (default: 30min, 60min, 240min, daily) using request.security() with lookahead=barmerge.lookahead_on to get the latest available data.
It calculates the normalized position (pos1, pos2, pos3, pos4) for each timeframe using f_getBBPosition().
These four positions are then averaged to produce the final avg_position:avg_position = (pos1 + pos2 + pos3 + pos4) / 4
This average is the oscillator value, which is plotted and typically oscillates between 0 and 1.
Moving Averages:
Two optional moving averages (MA1 and MA2) of the avg_position can be enabled, calculated using simple moving averages (ta.sma) with customizable lengths (default: 5 and 10).
These can be potentially used for MA crossover strategies.
What Is Being Averaged?
The oscillator (avg_position) is the average of the normalized price positions within the Bollinger Bands across the four selected timeframes. Specifically:It averages the avg_pos values (pos1, pos2, pos3, pos4) calculated for each timeframe.
Each avg_pos is itself an average of the normalized positions of the high, low, and close prices relative to the Bollinger Bands for that timeframe.
This multi-timeframe averaging smooths out short-term fluctuations and provides a broader perspective on the price's position within the volatility bands.
Interpretation
0.0 The price is at or below the lower Bollinger Band across all timeframes (indicating potential oversold conditions).
0.15: A customizable level (green band) which can be used for exiting short positions or entering long positions.
0.5: The midline, where the price is at the average of the Bollinger Bands (neutral zone).
0.85: A customizable level (orange band) which can be used for exiting long positions or entering short positions.
1.0: The price is at or above the upper Bollinger Band across all timeframes (indicating potential overbought conditions).
The colored regions and moving averages (if enabled) help identify trends or crossovers for trading signals.
Example
If the 30min timeframe shows the close at the upper band (position = 1.0), the 60min at the midline (position = 0.5), the 240min at the lower band (position = 0.0), and the daily at the upper band (position = 1.0), the avg_position would be:(1.0 + 0.5 + 0.0 + 1.0) / 4 = 0.625
This value (0.625) would plot in the orange region (between 0.85 and 0.5), suggesting the price is relatively strong but not at an extreme.
Notes
The use of lookahead=barmerge.lookahead_on ensures the indicator uses the latest available data, making it more real-time, though its effectiveness depends on the chart timeframe and TradingView's data feed.
The indicator’s sensitivity can be adjusted by changing bb_length ("Bollinger Band MA Length" in the Input tab), bb_mult ("Bollinger Band Standard Deviation," also in the Input tab), or the selected timeframes.