Directional Indicator Crossovers [JopAlgo]Directional Indicator Crossovers — read trend intent at a glance, on any timeframe
Most traders ask two questions before they click: who’s in control right now and is control getting stronger or weaker?
The Directional Indicator (DI) answers the first one cleanly. +DI tracks upward directional movement; –DI tracks downward directional movement. When +DI crosses above –DI, buyers have the initiative; when –DI crosses above +DI, sellers do. DI Xover focuses on that simple, tradeable signal—the crossover—and keeps the pane uncluttered so you can layer it with your location/flow tools.
(If you add screenshots: image #1 can label +DI, –DI and a bullish crossover; image #2 can show a failed crossover in chop next to a successful one at a strong level.)
What you’re seeing (and how it’s built)
This indicator plots two lines in a separate pane:
+DI (green): smoothed positive directional movement.
–DI (red): smoothed negative directional movement.
Under the hood (length = 14 by default):
It measures how much today’s high exceeded yesterday’s high (up move) and how much today’s low fell below yesterday’s low (down move).
It keeps only the dominant side each bar (if up > down and up > 0 → up counts; vice-versa for down).
It normalizes by True Range (so moves are scaled by volatility) and smooths with RMA (so you don’t get jitter).
It raises alerts when +DI crosses above –DI (bullish) or –DI crosses above +DI (bearish).
How to read it, fast:
Cross up = buyers just took initiative.
Cross down = sellers just took initiative.
Wider distance between the lines = stronger control.
Lines braided/tight = balance/chop → expect more fake crosses.
DI is about directional control. It doesn’t tell you where to trade—that’s your location (e.g., Volume Profile, AVWAP). Use DI as a timing/confirmation layer, not as a standalone level generator.
Using DI Crossovers on any timeframe
The framework doesn’t change; only your expectations do as you zoom.
Scalping (1–5m)
Treat crossovers as triggers at levels. If price is tagging VAL/VAH/LVN (from Volume Profile v3.2) or Anchored VWAP, a fresh +DI cross up is your green light for a quick long; –DI cross up flips that logic for shorts.
Avoid taking every crossover mid-range—wait for location first.
In fast tape, require the lines to separate for 1–2 bars after the cross before you click.
Intraday (15m–1H)
In trend days, the first pullback into your level (POC/VA boundary/AVWAP) that prints a fresh +DI cross up is often the cleanest add/entry.
In balance days, fade DI crosses at edges back to POC—only if your flow tool isn’t screaming absorption against you.
Swing (2H–4H)
Look for confluence: at Weekly AVWAP or composite VAL/VAH, a DI crossover that stays separated for several bars is a solid momentum confirmation.
Failed crossover (lines recross quickly) near a level is a useful fail signal—expect a move back into value.
Position (1D–1W)
Use fewer, bigger signals: a weekly DI cross at Monthly/Quarterly AVWAP or at composite value edges marks a regime change.
Add on pullbacks when the controlling DI stays dominant (distance holds or widens).
Entries, exits, and risk (simple rules)
Entry (with level): wait for price to reach your level (e.g., VAL/VAH or AVWAP), then take the trade with the DI cross in that direction.
Filter: skip crosses when the two lines are braided (tiny separation) unless you’re trading a tight scalp with strict risk.
Exit / reduce: if your trade was based on a bullish cross, consider reducing when –DI recaptures +DI or the lines flatten at your target HVN/POC.
Stops: put them beyond the level (not just on a DI recross), but treat a fast recross as a warning to tighten.
Settings that actually matter (and how to tune them)
DI Length (default 14):
Shorter (7–10) = faster signals, more noise (good for scalps with filters).
Longer (20–30) = fewer but stronger signals (good for swing/position).
If you often see flip-flops, lengthen the setting or take crosses only at VP/AVWAP levels.
Pro tip: Define a minimum separation rule for yourself (e.g., after a cross, require the gap between +DI and –DI to increase on the next bar). You don’t need extra code for this—just enforce it visually.
What to look for (pattern cheatsheet)
Cross + hold at a level: The lines cross at your level and keep separating → high-quality entry in that direction.
Sneaky fail: Cross, then immediate recross back → treat it as a fade signal back into value (especially near VAH/VAL).
Strength confirmation: After a breakout, +DI stays above –DI on pullbacks → trend is healthy; buy dips at AVWAP/POC.
Pre-move tell: DI lines unbraid and begin diverging before price leaves a range; wait for location + trigger.
Combining DI Xover with other tools
Cumulative Volume Delta v1 (CVDv1):
Use DI for direction, and CVDv1 for quality. A bullish DI cross with ALIGN OK + Imbalance strong + no Absorption is a far better long than DI alone.
If DI crosses up but CVDv1 flags Absorption (red), don’t chase—look for the fail/reclaim instead.
Volume Profile v3.2 :
Let VP choose the battleground (POC/VAH/VAL/LVNs). Take the DI crossover at those references.
Classic: bearish DI cross at VAH → fade toward POC; bullish DI cross at VAL → rotate to POC—assuming CVDv1 isn’t vetoing with Absorption.
Anchored VWAP :
Treat reclaims/rejections of AVWAP as the location and DI cross as the trigger.
Example: price reclaims Weekly AVWAP, then on the next pullback, a +DI cross up confirms the add.
Common pitfalls this helps you avoid
Trading crosses in the middle of nowhere. DI is a trigger, not a level; wait for VP/AVWAP.
Chasing every wiggle. When the lines are braided, you’re likely in balance—expect fake crosses.
Ignoring flow. A DI cross against CVDv1 Absorption is often a trap; quality > quantity.
Practical defaults to start with
Length: 14
Timeframes: Works out of the box on 15m–4H. For 1–5m scalps try 10–12; for daily/weekly swings try 20–30.
Process: Only act on crosses at levels (VP v3.2 / Anchored VWAP), and prefer those where CVDv1 says ALIGN OK and no Absorption.
Alerts (what they tell you)
Bullish DI Crossover: +DI crossed above –DI → buyers just took initiative. Look to your chart for location and CVDv1 quality before entering.
Bearish DI Crossover: –DI crossed above +DI → sellers took initiative. Same rule: confirm at a level with flow.
Open source & disclaimer
This indicator is published open source so traders can learn, adapt, and build rules they trust. No tool guarantees outcomes; risk management remains essential.
Disclaimer — Not Financial Advice.
The “Directional Indicator Crossovers ” indicator and this description are provided for educational purposes only and do not constitute financial or investment advice. Trading involves risk, including possible loss of capital. makes no warranties and assumes no responsibility for any trading decisions or outcomes resulting from the use of this script. Past performance is not indicative of future results.
Multitimeframe
Market Bias (CEREBR)Market Bias (CEREBR) — quick read of who’s in control
What it does, in one line:
It builds a clean, smoothed Heikin-Ashi view (optionally from a higher timeframe) and an oscillator that says: bullish, bearish, or cooling off. You use it to decide directional bias and to avoid trading against that bias.
What you see on the chart
Smoothed HA candles (optional): green = bullish bias, red = bearish bias.
A soft fill band around the HA body:
Brighter = bias is strengthening.
Faded = bias is weakening.
(In Data Window) “Bias High / Low / Average” = the smoothed HA range and midline.
If you only look at one thing: green means look for longs, red means look for shorts. Faded color = be picky or trim.
How to use it (simple playbook)
Pick your higher timeframe (HTF) for the bias.
On a 4H chart, try HTF = 12H or 1D.
Rule: HTF must be equal to or higher than your chart TF.
Trade with the bias at real levels.
Longs only when the bias is green.
Shorts only when the bias is red.
Take entries at location: Volume Profile v3.2 levels (VAH/VAL/POC/LVNs) or Anchored VWAP.
Quality check (optional but strong):
Before clicking, glance at CVDv1.
Green bias + CVD Alignment OK and no Absorption = better odds.
If CVD shows Absorption against you, skip or wait for a retest.
When to pass:
Color flips every other bar (chop) → do less.
Color is fading (weakening) into your entry → size down or wait.
Timeframe guidance
Scalps (1–5m): HTF = 15m/30m. Use bias to filter direction; enter on pullbacks at AVWAP/VA edges.
Intraday (15m–1H): HTF = 4H. Buy dips in green / sell pops in red at VP levels.
Swing (2H–4H): HTF = 12H/1D. First pullback after a fresh flip is usually the best.
Position (1D–1W): HTF = 1W. Hold while color stays consistent; reduce on weakening near HVNs.
Entries, exits, and stops
Entry with trend:
Bias green, price pulls back to AVWAP / VAL / prior HA mid, then holds.
Click the long. Reverse for shorts in red.
Exit / reduce:
When “Trend Weakens” alert fires, or color fades while hitting your POC/HVN target.
Hard exit on opposite flip (green→red or red→green) if your idea was pure trend-follow.
Stops:
Behind structure/level (not just on color).
If the next bar flips bias against you and CVD also disagrees, cut it early.
Inputs that matter (keep these simple)
Timeframe (HA Market Bias): your HTF. Must be ≥ chart TF.
Period (default 100): smoothing for the base OHLC. Higher = steadier.
Smoothing (default 100): extra smoothing for the HA feed. Higher = fewer flips.
Oscillator Period (default 7): affects how fast strengthening/weakening shows in the fill color. Lower = quicker.
Tip: If you see too many flips, raise Period/Smoothing or pick a higher HTF. If it feels slow, lower them one notch.
Alerts (plain meaning)
Bullish Trend Switch: bias turned bearish → bullish.
Bullish Trend Strengthens / Weakens: same direction, momentum building / cooling.
Bearish Trend Switch: bullish → bearish.
Bearish Trend Strengthens / Weakens: same idea for shorts.
Use “Switch” to prepare for new setups; use “Strengthens/Weakens” to add/trim or tighten risk.
How it works (one paragraph, no math)
The script smooths price, builds Heikin-Ashi values on your chosen HTF, smooths those again, and doesn’t repaint on closed bars. From the HA open/close difference it creates a simple bias oscillator: above zero = bullish, below zero = bearish. The fill brightness tells you if that bias is getting stronger or weaker right now.
Good combos (optional, but recommended)
Volume Profile v3.2 : use VAH/VAL/POC/LVNs as your battleground.
Anchored VWAP : use reclaims/rejections for timing.
CVDv1 : sanity-check flow quality before entry.
FAQ (quick)
Does it repaint?
No on closed bars. HTF values are requested with a safe offset.
Best starting setup?
4H chart, HTF = 1D, Period/Smoothing 100/100, Oscillator 7.
Can I hide the HA candles?
Yes—toggle “Show HA Candles.” Keep only the bias fill if you want a cleaner price chart.
Short disclaimer
Educational tool, not advice. Markets carry risk. Test first, size small, and trade with your plan.
MACD-V+ (ATR Normalized MACD)MACD-V+ is an ATR-normalized MACD tool that focuses on true turning points inside Overbought/Oversold zones. It marks a signal only when the MACD’s slope changes direction and shows real progress back toward the zero line, with an optional dwell (depth & time) filter so you don’t get faked out by shallow pokes into a zone. Clean visuals, “first-in-zone” gating, and configurable labeling make it practical for discretionary and systematic traders alike.
For best results, adjust Overbought and Oversold levels based on stock volatility. The default settings of 150 and -150 are for highly volatile tickers. Reduce for less volatile tickers.
Please help me improve the code for everyone.
High Time Frame (HTF) Swing PointsIdentify and display swing highs and lows across multiple higher timeframes on a chart, overlaying horizontal lines and customizable labels at these swing points.
Timeframes
Five user-defined higher timeframes (default settings: 5-minute, 15-minute, 1-hour, 4-hour, and daily)
Manually show/hide individual timeframes
When chart’s timeframe is set higher than one of the five configured, the indicator will automatically hide it. This helps to prevent clutter when navigating between timeframes on the chart
Swing Levels
Configure the line color, opacity, width and weather it’s solid/dotted/dashed
Once swing levels are identified, the indicator will look for the chart candle where the line starts
When price crosses the swing level, the line will be terminated
Tags
Customize the tag text for each individual timeframe, using blank if a tag is not desired for that timeframe
A tag text color can be set for all tags or base it on the line color
Set tag text size based on: Auto, Tiny, Small, Normal, Large
Choose how far to the right of the line the tag text should appear, as an integer representing the size of a candle
Choose to clear the tag or leave it in place after price crosses a swing level
Use Cases
Visualize key swing points from higher timeframes to identify potential reversal or breakout zones
Identify possible low resistance liquidity run (LRLR) areas
Use swing points for stop placement or as targets or draws on liquidity
FRAMA Channel [JopAlgo]FRAMA Channel — let the market tell you how fast to move
Most moving averages make you pick a speed and hope it fits every regime. FRAMA (Fractal Adaptive Moving Average, popularized by John Ehlers) does the opposite: it adapts its smoothing to market structure. When price action is “trendy” (more directional, less jagged), FRAMA speeds up; when it’s choppy (more fractal noise), FRAMA slows down and filters the rubble.
FRAMA Channel wraps that adaptive core with a volatility channel and clean color logic so you can read trend, mean-reversion windows, and breakouts in one glance—on any timeframe.
What you’re seeing (plain-English tour)
FRAMA midline (Filt): the adaptive average. It’s computed from a fractal dimension of price over Length (N).
Trendy tape → lower fractal dimension → FRAMA tracks price tighter.
Choppy tape → higher fractal dimension → FRAMA smooths harder.
Channel bands (Filt ± distance × volatility): the “breathing room.” Volatility here is a long lookback average of (high − low).
Upper band = potential resistance in down/neutral or trend-walk path in uptrends.
Lower band = mirror logic for shorts.
Color logic (simple and strict):
Green when price breaks above the upper band → bullish regime (momentum present).
Red when price breaks below the lower band → bearish regime.
White when price crosses the FRAMA midline → neutral/reset.
Optional candle coloring: toggle Color Candles to tint the chart itself with the regime color—handy for quick reads.
(When you add screenshots: image #1 should label FRAMA, bands, and the three colors in a small trend + pullback. Image #2 can show a “squeeze → expansion” sequence: channel tightens, then price breaks and walks the band.)
How it’s built (without the jargon)
The script measures three ranges over your Length (N): two half-windows and the full window.
It converts those into a fractal dimension (Dimen). That number says “how zig-zaggy” price is right now.
It turns Dimen into an alpha (smoothing factor): alpha = exp(−4.6 × (Dimen − 1)), clamped so it never explodes or flatlines.
It updates FRAMA each bar using that alpha.
It builds bands using a long average of (high − low) multiplied by your Bands Distance setting.
It changes color only on confirmed bar events:
hlc3 crosses above the upper band → green
hlc3 crosses below the lower band → red
close crosses the midline → white
Result: a channel that tightens in balance, widens in trend, and doesn’t flicker on partial bars.
How to use FRAMA Channel on any timeframe
Same framework everywhere. Your job is to choose where to act (objective levels) and let FRAMA tell you trend/mean-reversion context and breakout quality.
Scalping (1–5m)
Pullback-to-midline (trend): When color is green, buy pullbacks that hold at/above the midline; when red, short pullbacks that fail at/below it.
Invalidation: a white flip (midline cross back) right after entry → tighten or bail.
Squeeze → break: A narrowing channel often precedes a move. Only chase the break if color flips to green/red and the first pullback holds the band/midline.
Intraday (15m–1H)
Trend rides: In green/red, expect price to walk the outer band. Entries on midline kisses are cleaner than chasing the band itself.
Balance fades: In white (neutral) with a tight channel, fade outer band → midline—but only at a real level (see “Pairing” below).
Swing (2H–4H)
Regime compass: Color changes that stick (several bars) often mark swing regime shifts. Combine with Weekly/Event AVWAP and composite VP levels.
Add/Trim: In an uptrend, add on midline holds; trim as the channel widens and price spikes beyond the upper band into HVNs.
Position (1D–1W)
Context first: A persistent green weekly channel is constructive; a persistent red is distributive.
Patience: Wait for midline retests at higher-TF levels rather than chasing outer-band prints.
Entries, exits, and risk (keep it simple)
Continuation entry (trend):
Color already green/red.
Price pulls back to FRAMA midline (or shallowly toward it) and holds.
Take the trend side.
Stop: beyond the opposite side of the midline or behind local structure.
Targets: your Volume Profile HVN/POC or prior swing, not the band alone.
Breakout entry:
Channel had tightened; price breaks a key level.
Color flips green/red and the first retest holds.
Enter with the break.
Avoid: breaks that flip color but immediately white-flip on the next bar.
Mean-reversion entry (balance):
Color white and channel tight.
At a VP edge (VAL/VAH), fade outer band → midline.
Stop: just outside the band; Exit: at midline/POC.
Settings that actually matter (and how to tune them)
Length (N) — default 26
Controls how FRAMA “reads” structure.
Shorter (14–20): faster, more responsive (good for scalps/intraday), more flips in chop.
Longer (30–40): steadier (good for swings/position), slower to acknowledge new trends.
Bands Distance — default 1.5
Scales the channel width.
If you’re constantly tagging bands, increase slightly (1.7–2.0).
If nothing ever reaches the band, decrease (1.2–1.4) to make context meaningful.
Color Candles — on/off
Great for quick regime reads. If your chart feels too busy, leave bands colored and turn candle coloring off.
Warm-up note: FRAMA references N bars. Right after switching timeframes or symbols, give it N–2N bars to settle before you judge the current state.
(You may see an input named “Signals Data” in this version; it’s reserved for future enhancements.)
What to look for (pattern cheat sheet)
Walk-the-band: After a green/red flip, price hugs the outer band while the midline slopes. Ride pullbacks to the midline, don’t fade the band.
Squeeze → Expansion: Channel pinches, then color flips and bands widen—that’s the move. The first midline retest is your best entry.
False break tell: Brief color flip to green/red that immediately reverts to white on the next bar—skip chasing; plan for a reclaim.
Midline reclaims: In chop, repeated white↔green/white↔red flips say “mean reversion”; stay tactical and target the midline/POC.
Pairing FRAMA Channel with other tools
Cumulative Volume Delta v1 (CVDv1):
FRAMA tells you trend/mean-reversion context; CVDv1 tells you flow quality.
Breakout quality: FRAMA flips green and CVDv1 ALIGN = OK, Imbalance strong, Absorption ≠ red → higher odds the break sticks.
If Absorption is red on a FRAMA green flip, do not chase—wait for retest or look for a fail/reclaim.
Volume Profile v3.2:
Use VAH/VAL/LVNs/POC for where.
Green + VAL retest → rotate toward POC/HVN.
Red + VAH rejection → rotate back to POC.
LVN + green flip → expect fast travel toward the next HVN; set targets there.
Anchored VWAP :
Treat AVWAP as fair-value rails.
AVWAP reclaim + FRAMA green → excellent trend-resume entry.
AVWAP rejection + FRAMA red → high-quality short; use midline as your risk guide.
Common pitfalls this helps you avoid
Chasing every poke: FRAMA’s white → green/red state change helps you wait for confirmation (or a retest) instead of reacting to the first wick.
Fading a real trend: A sloped midline with price walking the band is telling you not to fight it.
Stops too tight: In expansion, give the trade room to the midline or local structure, not just inside the channel.
Practical defaults to start with
Length: 26
Bands Distance: 1.5
Color Candles: on (turn off if your chart is busy)
Timeframes: works out of the box on 15m–4H; for 1–5m try Length=20; for daily swings try Length=34–40.
Open source & disclaimer
This indicator is published open source so traders can learn, tweak, and build rules they trust. No tool guarantees outcomes; risk management is essential.
Disclaimer — Not Financial Advice.
The “FRAMA Channel ” indicator and this description are provided for educational purposes only and do not constitute financial or investment advice. Trading involves risk, including possible loss of capital. makes no warranties and assumes no responsibility for any trading decisions or outcomes resulting from the use of this script. Past performance is not indicative of future results.
Use FRAMA Channel for context (trend vs balance, squeeze vs expansion), Volume Profile v3.2 and Anchored VWAP for locations, and CVDv1 for flow quality. That trio keeps your trades selective and your rules consistent on any timeframe.
my_strategy_2.0Overview:
This is a high-speed scalping strategy optimized for volatile crypto assets (BTC, ETH, etc.) on timeframes 1m–5m. It combines trend-following SuperTrend with confirmations from MACD, RSI, Bollinger Bands, and volume spikes for precise entries. Focus on quick profits (1–3 ATR) with strict risk control: partial take-profits, stop-loss, and trailing breakeven after the first TP.
Key Signals:
Long: SuperTrend flip up + MACD crossover up + RSI >50 + BB Upper breakout + volume spike + volatility filter (ATR >0.5%).
Short: Similar but downward.
Exits and Risks:
TP: 33% at +1 ATR, 33% at +2 ATR, 34% at +3 ATR (customizable).
SL: Initial at -1 ATR, after TP1 — to breakeven with trailing on BB midline (optional).
Filters: Minimum ATR to avoid flat markets; realistic commissions in backtests.
Recommendations:
Test on 2020–2025 data (out-of-sample 2024+). Expected Win Rate ~55%, Profit Factor >1.8, Drawdown <10%. Ideal for 1–2% risk per trade. Not for beginners — use paper trading.
Disclaimer: Past results do not guarantee future performance. Trade at your own risk.
(Pine v6 code, ready for publication. Author: gopog777 with expert fixes.)
Mitigation Blocks — Lite (ICT) + Stats + Entry75Mitigation Blocks — Lite (ICT) + Stats + Entry75
What it does
This indicator finds recent Mitigation Blocks (ICT-style) and draws a single active bullish and bearish block on the chart.
It also plots the 75% entry level for each active block and shows a compact performance HUD (“Отработано / Worked”) so you can quickly judge how well blocks have been reacting on the current symbol and timeframe.
Logic (brief)
Structure impulse
A new block is created when price breaks the last swing (pivot-based) with an optional ATR body filter.
After an upswing break → search the most recent bearish candle within a lookback window → its body defines the bullish block (top/bottom = max/min of that candle’s open/close).
After a downswing break → search the most recent bullish candle → defines the bearish block.
Touch & mitigation
First time price touches a block, the block is marked mitigated (border becomes dashed).
Entry line for that block is removed (no history clutter to the left).
75% entry levels
Long (bullish block): entry = top − 0.75 × (top − bottom) (deeper inside from the top).
Short (bearish block): entry = bottom + 0.75 × (top − bottom) (deeper inside from the bottom).
Lines are drawn only to the right (history on the left is hidden).
Stats (HUD)
The HUD shows Worked% per side: percentage of first touches that reached a simple target in the check window.
Current version uses a conservative proxy: success if, within the next bars, price moved away from the block by at least ~1×ATR (internally calculated) without first invalidating the block’s opposite boundary.
Values are accumulated while the script runs on the loaded chart range.
Inputs
Structure
Swing length (pivot) — pivot size to detect last swing.
Require minimum impulse / Min body × ATR / ATR length — filter for strong displacement bars.
Search last opposite candle (bars back) — lookback to find the candle that defines the block.
Style
Fill & border colors for bullish/bearish blocks.
Mitigated border color (dashed on first touch).
Entry 75% lines
Show 75% entry lines (on/off)
Colors and line width.
Autoscale
Optional hidden anchor plots for better autoscaling.
On-chart elements
Active bullish/bearish block (rectangle, extended right).
Dashed border once the block is mitigated (first touch).
75% entry line for each non-mitigated block (drawn only to the right; removed on mitigation).
HUD (top-right):
LONG | Worked: XX.X% |
SHORT | Worked: XX.X% |
If there is no active (non-mitigated) block on a side, the entry cell shows “ожидаем” (“waiting”).
How to read it
Trade from block to block: use the 75% line as a reference entry inside the zone; stops are commonly placed beyond the opposite side of the block.
Worked% helps compare symbols/timeframes: higher with a decent sample typically means more reliable reactions.
The indicator shows only the latest valid block per side to keep the chart clean.
Notes & tips
This is a discretionary tool intended to support ICT-style execution; it is not a strategy and does not place trades.
Try different timeframes. Many users prefer M5–H1 for entries and H4–D1 for context.
You can turn off entry lines if you only want the zones.
Because stats are computed on the visible history while the script runs, switching symbols/TFs will reset the counters.
Inputs (defaults)
Pivot length: 5
ATR length: 14
Min body × ATR: 1.0 (enable/disable filter)
Opposite candle lookback: 5
Entry 75% lines: ON
Multi-Timeframe MACD with Color Mix (Nikko)Multi-Timeframe MACD with Color Mix (Nikko) Indicator
This documentation explains the benefits of the "Multi-Timeframe MACD with Color Mix (Nikko)" indicator for traders and provides easy-to-follow steps on how to use it. Written as of 05:06 AM +07 on Saturday, October 04, 2025, this guide focuses on helping you, as a trader, get the most out of this tool with clear, practical advice before diving into the technical details.
Benefits for Traders
1. Multi-Timeframe Insight
This indicator lets you see momentum trends across 15-minute, 1-hour, 1-day, and 1-week timeframes all on one chart. This big-picture view helps you catch both quick market moves and long-term trends without flipping between charts, saving you time and giving you a fuller understanding of the market.
2. Visual Momentum Representation
The background changes from red to green based on short-term (15m) momentum, giving you a quick, easy-to-see signal—red means bearish (prices might drop), and green means bullish (prices might rise). The histogram uses a mix of red, green, and blue colors to show the combined strength of the 1-hour, 1-day, and 1-week timeframes, helping you spot strong trends at a glance (e.g., a bright mix for strong momentum, darker for weaker).
3. Enhanced Decision-Making
The background and histogram colors work together to confirm trends across different timeframes, making it less likely you’ll act on a false signal. This helps you feel more confident when deciding when to buy, sell, or hold.
4. Proactive Alert System
You can set alerts to notify you when the percentage of bullish timeframes hits your chosen levels (e.g., below 10% for bearish, above 90% for bullish). This keeps you in the loop on big momentum shifts without needing to watch the chart all day—perfect for when you’re busy.
5. Flexibility and Efficiency
You can turn timeframes on or off, adjust settings like speed of the moving averages, and tweak transparency to fit your trading style—whether you’re a fast scalper or a patient swing trader. Everything is shown on one chart, saving you effort, and the colors make it simple to read, even if you’re new to trading.
How to Use It
Getting Started
Add the Indicator: Load the "Multi-Timeframe MACD with Color Mix (Nikko)" onto your TradingView chart using the Pine Script editor or indicator library.
Pick Your Timeframes: Turn on the timeframes that match your trading—use 15m and 1h for quick trades, or 1d and 1w for longer holds—using the enable_15m, enable_1h, enable_1d, enable_1w, and enable_background options.
Reading the Colors
Background Gradient: Watch for red to signal bearish 15m momentum and green for bullish momentum. Adjust the Background_transparency (default 75%, or 25% opacity) if the chart feels too busy—try lowering it to 50 for clearer candlesticks in fast markets.
Histogram and EMA Colors:
The histogram and its Exponential Moving Average (EMA) line show a mix of red (1-week), green (1-day), and blue (1-hour) based on how strong the momentum is in each timeframe.
Brighter colors mean stronger momentum—white (all bright) shows all timeframes are pushing up hard, while darker shades (like gray or black) mean weaker or mixed momentum.
Turn off a timeframe (e.g., enable_1h = false) to see how it changes the color mix and focus on what matters to you.
Setting Alerts
Set Your Levels: Choose a threshold_low (default 10%) and threshold_high (default 90%) based on your comfort zone or past market patterns to catch big turns.
Get Notifications: Use TradingView alerts to get pings when the market hits your set levels, so you can act without staring at the screen.
Practical Tips
Pair with Other Tools: Use it with support/resistance lines or the RSI to double-check your moves and build a solid plan.
Tweak Settings: Adjust fast_length, slow_length, and signal_smoothing to match your asset’s speed, and bump up the lookback (default 50) for steadier trends in wild markets.
Practice First: Test different timeframe combos on a demo account to find what works best for you.
Understanding the Colors (Simple Explanation)
How Colors Work
The histogram and its EMA line use a color mix based on a simple idea from color theory, like mixing paints with red, green, and blue (RGB):
Red comes from the 1-week timeframe, green from 1-day, and blue from 1-hour.
When all three timeframes show strong upward momentum, they blend into bright white—the brightest color, like a super-bright light telling you the market’s roaring up.
If some timeframes are weak or pulling down, the mix gets darker (like gray or black), warning you the momentum might not be solid.
Brighter is Better
Bright Colors = Strong Opportunity: The brighter the histogram and EMA (closer to white), the more all your chosen timeframes are in agreement that prices are rising. This is your signal to think about buying or holding, as it points to a powerful trend you can ride.
Dark Colors = Caution: A darker mix (toward black) means some timeframes are lagging or bearish, suggesting you might wait or consider selling. It’s like a dim light saying, “Hold on, check again.”
Benefit in Practice: Watching the brightness helps you jump on the best trades fast. For example, a bright white histogram on a green background is like a green traffic light—go for it! A dark gray on red is like a red light—pause and rethink. This quick color check can save you from bad moves and boost your profits when the trend is strong.
Why It Helps
These colors are your fast friend in trading. A bright histogram means all your timeframes are cheering for an uptrend, giving you the confidence to act. A dull one tells you to be careful, helping you avoid traps. It’s like having a color-coded guide to pick the hottest market moments!
Technical Details
Input Parameters
Fast Length (default: 12): Short-term moving average speed.
Slow Length (default: 26): Long-term moving average speed.
Source (default: close): Price data used.
Signal Smoothing (default: 9): Smooths the signal line.
MA Type (default: EMA): Choose EMA or SMA.
Timeframe and Scaling
Timeframes: 15m, 1h, 1d, 1w, with on/off switches.
Lookback Period (default: 50): Sets the data window for trends.
Background Transparency (default: 75%): Controls background see-through level.
MACD Calculation
Per Timeframe: Uses request.security():
MACD Line: ta.ema(src, fast_length) - ta.ema(src, slow_length).
Signal Line: ta.ema(MACD, signal_length).
Histogram: (macd - signal) / 3.0.
Background Gradient
15m Normalization: norm_value = (hist_15m - hist_15m_min) / max(hist_15m_range, 1e-10), limited to 0-1.
RGB Mix: Red drops from 255 to 0, green rises from 0 to 255, blue stays 0.
Apply: color.new(color.rgb(r_val, g_val, b_val), Background_transparency).
Histogram and EMA Colors
Color Assignment:
1h: Blue (#0000FF) if hist_1h >= 0, else black.
1d: Green (#00FF00) if hist_1d >= 0, else black.
1w: Red (#FF0000) if hist_1w >= 0, else black.
Final Color: final_color = color.rgb(min(r, 255), min(g, 255), min(b, 255)).
Plotting: Histogram and EMA use final_color; MACD (#2962FF), signal (#FF6D00).
Alerts
Bullish Percentage: bullish_pct = (bullish_count / bullish_total) * 100, counting hist >= 0.
Triggers: Below threshold_low or above threshold_high.
--------------------------------------------------------------------
Conclusion
The "Multi-Timeframe MACD with Color Mix (Nikko)" is your all-in-one tool to spot trends, confirm moves, and trade smarter with its bright, easy-to-read colors. By using it wisely, you can sharpen your market edge and trade with more confidence.
This README is tailored for traders and reflects the indicator's practical value as of 05:06 AM +07 on October 04, 2025.
Luxy Flexible Moving AveragesUltra-lightweight moving average suite supporting six calculation methods (EMA, SMA, WMA, VWMA, RMA, HMA).
Overview
Luxy Flexible Moving Averages is a performance-optimized indicator designed for traders who need clean, reliable moving average lines without the overhead of complex calculations or unnecessary features. This indicator prioritizes speed and visual clarity, making it ideal for traders who run multiple indicators simultaneously or work on lower-powered devices.
Unlike traditional moving average indicators that calculate all lines regardless of whether they are enabled, Luxy only processes the moving averages you actually need, resulting in near-instantaneous chart loading times.
What Makes This Different
The primary design philosophy behind Luxy Flexible Moving Averages is efficiency without compromise. The indicator includes four independently configurable moving average lines, each supporting six different calculation methods. Every calculation is conditionally executed, meaning that disabled lines consume zero processing power. This approach delivers exceptional performance even when paired with resource-intensive indicators like volume profiles, market structure tools, or custom scanners.
Features
The indicator provides four distinct moving average lines, each fully customizable:
Fast MA is typically used for short-term momentum and quick directional changes. Traders often configure this as an EMA with lengths between 5 and 20 bars, depending on their trading timeframe.
Medium MA serves as a middle-ground reference, often used to identify the intermediate trend or as a dynamic support and resistance level. This line commonly uses EMA or SMA calculations with lengths between 10 and 50bars.
Medium-Long MA acts as a visual bridge between short-term noise and long-term structure. Many traders disable this line entirely if they prefer a cleaner chart, but it can be useful for identifying larger trend phases. Typical configurations use SMA or RMA with lengths between 50 and one 150 bars.
Long MA represents the dominant trend or bias. This is often configured as a 200 period SMA, which is a widely-watched level across most markets and timeframes. Alternatively, traders may use RMA for a smoother visual appearance.
Each line supports six calculation methods:
EMA (Exponential Moving Average) applies exponentially decreasing weights to older prices, making it highly responsive to recent price action. This is the preferred method for momentum-based strategies and short-term trading.
SMA (Simple Moving Average ) treats all prices equally within the lookback period, resulting in a smoother line that is less reactive to sudden price spikes. This is commonly used for identifying long-term trends.
WMA (Weighted Moving Average) applies linearly decreasing weights, offering a middle ground between EMA and SMA. It responds faster than SMA but with less sensitivity than EMA.
VWMA (Volume-Weighted Moving Average) incorporates volume data into the calculation, giving more weight to bars with higher trading activity. This method is particularly useful in liquid markets where volume represents genuine participation.
RMA (Relative Moving Average, also known as Wilder's Smoothing) is a variant of EMA with a slower response curve. It is commonly used in oscillators like RSI and ADX, and provides very smooth trend lines on charts.
HMA (Hull Moving Average) is designed to reduce lag while maintaining smoothness. It is the most responsive option available in this indicator but can produce more false signals during choppy or sideways markets.
How It Works
The indicator operates on a conditional calculation model. When you load the indicator, it checks which moving average lines are enabled via the input settings. Only the enabled lines are calculated on each bar, and disabled lines are assigned a not-applicable value, preventing any processing overhead.
Each moving average is calculated using native TradingView functions, ensuring maximum compatibility and reliability across all asset classes and timeframes. The indicator does not use any security calls, loops, or external data requests, which are common sources of performance degradation in more complex indicators.
Recommended Configurations
The optimal moving average configuration depends on your trading style and timeframe. Below are general guidelines based on common trading approaches.
Scalping (1 minute to 5 minute charts)
Scalpers require fast-reacting moving averages that can identify micro-trends and momentum shifts within seconds. The recommended configuration prioritizes EMA or HMA for all lines, with very short lengths to capture quick moves.
For the Fast MA, use EMA with a length between 5 and 8. This line should react almost immediately to price changes and helps confirm entry timing during breakouts or pullbacks.
For the Medium MA , use EMA with a length between 10 and 15. This serves as your primary directional filter. When price is above this line, you look for long opportunities. When below, you look for shorts.
The Medium-Long MA is often disabled in scalping setups to reduce visual noise. If used, configure it as SMA between 40 and 80 to provide context on the broader 5-minute or 15-minute trend.
The Long MA can be set to SMA with a length between 100 and 150, or simply disabled. On very short timeframes, this line often provides more historical context than real-time utility.
Day Trading (5 minute to 1 hour charts)
Day traders benefit from a balanced approach that filters out noise while remaining responsive to intraday volatility. A common configuration combines EMA for short-term lines and SMA for long-term structure.
For the Fast MA , use EMA with a length between 8 and 12. This captures momentum without overreacting to every minor price swing.
For the Medium MA , use EMA with a length between 12 and 21. This is often used as a dynamic support or resistance level during trending sessions.
For the Medium-Long MA , configure SMA or RMA between 60 and one 120. This line helps identify whether the intraday trend aligns with the broader daily bias.
The Long MA is typically set to SMA with a length of 200. This is a critical level that many institutional traders watch, and price reactions around this line are often significant.
Swing Trading (4 hour to daily charts)
Swing traders operate on longer timeframes and need moving averages that filter out daily noise while highlighting multi-day or multi-week trends. SMA and RMA are commonly preferred for their smoothness, though EMA can be used for faster momentum entries.
For the Fast MA , use EMA or SMA with a length between 10 and 20. This line helps time entries during pullbacks within the larger trend.
For the Medium MA , use EMA or SMA with a length between 20 and 34. This often serves as a key decision point for whether a pullback is likely to reverse or continue.
For the Medium-Long MA , configure SMA between 100 and 180. This provides visual context on the broader weekly trend and can act as a significant support or resistance zone.
The Long MA should be SMA with a length of 200 or higher. On daily charts, the two-hundred-day moving average is one of the most widely-referenced indicators in global markets, and price behavior around this level is often predictable.
Using Moving Averages for Trend Identification
Moving averages are primarily used to determine trend direction and strength. The relationship between price and the moving average lines provides insight into market structure.
When price is trading above a moving average, the trend is generally considered bullish on that timeframe. When price is below, the trend is bearish. The steeper the slope of the moving average, the stronger the trend. A flat moving average indicates consolidation or a potential trend change.
Crossovers between moving averages are commonly used as trend confirmation signals. When a faster moving average crosses above a slower moving average, this suggests increasing bullish momentum. When the faster line crosses below, it suggests increasing bearish momentum. However, crossovers should not be used in isolation, as they can produce false signals during sideways markets.
Many traders use moving averages as dynamic support and resistance levels. During uptrends, price often pulls back to a key moving average before resuming higher. During downtrends, price often rallies to a moving average before resuming lower. These levels can be used to plan entries, exits, or stop-loss placement.
Daily High/Low/Mid (Prev Day Extended Split)Very usefull indicator to understand yesterday"s high low middle and next day"s high low middle in every chart, even in renko chart. try it...
Multi-Timeframe MA - TCMaster🧩 Overview
This indicator displays up to four moving averages from different timeframes on a single chart.
It’s designed for traders who want to track higher-timeframe trends while analyzing price action on lower timeframes — a key technique in multi-timeframe confluence trading.
You can freely customize the type, length, timeframe, and color for each moving average line.
⚙️ Features
4 configurable Moving Averages (each with its own type, length, and timeframe).
Supported types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Real-time values are fetched from higher timeframes using request.security() (no repaint).
Individual visibility toggle and line width for each MA.
Dynamic info label shows current distance between price and each MA.
Built with Pine Script v6, ensuring optimal performance and flexibility.
📊 Typical Use Cases
Identify trend direction across multiple timeframes.
Confirm entries/exits using higher timeframe trend alignment.
Spot potential reversal or continuation zones when short-term price interacts with long-term MAs.
Build confluence setups for swing, scalp, or intraday strategies.
🧠 Example Setup
MA Type Length Timeframe Purpose
MA #1 SMA 200 1m Micro trend
MA #2 EMA 200 5m Short-term trend
MA #3 EMA 200 15m Medium trend
MA #4 SMA 200 30m Macro trend
🔔 Tips
Combine with oscillators (e.g., RSI, Stoch, MACD) for stronger confluence.
Use color coding to distinguish short vs long timeframe trends.
Consider adding alerts when price crosses any MA (can be extended easily in code).
⚠️ Notes
All higher-timeframe data is handled safely using lookahead=barmerge.lookahead_off to prevent repainting.
Label updates only on the latest bar for efficiency.
VWMA, DEMA, TEMA, and HMA are computed via internal formulas for compatibility with Pine Script v6.
🏁 Summary
Multi-Timeframe MA is a powerful tool for traders who want to merge the clarity of moving averages with the precision of multi-timeframe analysis.
It helps you see the bigger picture without switching charts — perfect for intraday, swing, and trend-following strategies.
Anchored VWAP Bands v3.3 [JopAlgo]Anchored VWAP — a fair-value compass you can trust on any timeframe
If Volume Profile shows where business concentrated, Anchored VWAP (AVWAP) shows what the crowd has paid on average since a moment that matters. It’s a running average of price weighted by traded volume, reset at a point you choose (the “anchor”). That makes AVWAP a reliable fair-value line: above it, the average participant since the anchor is in profit; below it, they’re under water. Markets naturally react around that line.
This version focuses on the parts that make AVWAP practical for real trading:
Clear, event-anchored VWAP so you can ask “since this moment, where is fair value?”
Optional higher-timeframe anchors (e.g., Weekly AVWAP) to define regime
Simple visuals so newer traders can read it instantly, and advanced traders can layer multiple anchors without clutter
(When you add screenshots: image #1 should point to the main AVWAP line with a label “fair value since anchor”, and show a bounce/reject. Image #2 can show confluence: AVWAP kissing VAL/VAH from Volume Profile v3.2 or a clean reclaim through AVWAP.)
What you’re seeing (and why price cares)
The AVWAP line: the volume-weighted average price since your anchor time.
Price above AVWAP → average long (since anchor) is in profit → pullbacks to AVWAP tend to support.
Price below AVWAP → average long is losing → rallies to AVWAP tend to resist.
Multiple anchors (optional): you can plot more than one AVWAP (e.g., Weekly AVWAP and an Event AVWAP) to separate regime (weekly) from tactical timing (event/session).
AVWAP works because it ties “fair value” to time and participation, not just price. When price departs far from AVWAP and then returns, participants frequently defend the line. When price accepts on the other side (closes and holds), that’s often a regime change relative to the anchor.
Anchors: how to pick them (and what changes when you do)
An anchor is simply the timestamp where you start the calculation. Changing it changes both context and expectations:
Session anchors (intraday) — e.g., session open, London/NY open.
Use: scalps/intraday plays.
Behavior: frequent tests; strong for fade-to-mean trades and quick reclaims.
Event anchors — listing, major news, ETF approval, earnings, a swing high/low.
Use: track how price behaves since the catalyst.
Behavior: excellent for measured pullbacks and “is the market digesting this event yet?”
Weekly/Monthly anchors — the Weekly AVWAP is a regime line.
Use: swing/position bias.
Behavior: clean “reclaim” and “rejection” signals; great with Volume Profile’s VAH/VAL.
Rule of thumb:
Choose the slowest anchor that defines your bias (e.g., Weekly AVWAP for swings) and one faster anchor for timing (e.g., Session/Event AVWAP). Too many lines → hesitation.
How to use AVWAP on any timeframe
The framework doesn’t change—only your anchor choices and expectations do.
Scalping (1–5m charts)
Anchors: Session open, London/NY open, or the prior swing low/high.
Setup: If price trends away from the session AVWAP, fade back to AVWAP only when flow isn’t showing absorption against you (pair with CVDv1). If price reclaims AVWAP after a push below, look for inside-back retests at the line.
Intraday (15m–1H)
Anchors: Session open + important event AVWAP (FOMC-like news, ETF day, etc.).
Setup: Use pullbacks to AVWAP to join trend; require acceptance above/below (close and hold) before flipping bias. Confluence of AVWAP with VP v3.2’s VAH/VAL = high-quality location.
Swing (2H–4H)
Anchors: Weekly AVWAP for regime + event AVWAP for timing.
Setup: Reclaim of Weekly AVWAP → prefer longs on pullbacks to that line; rejection → fade rallies into Weekly AVWAP (target POC/HVNs from VP). The best entries are AVWAP + VP edge with CVDv1 not flashing Absorption.
Position (1D–1W)
Anchors: Monthly/Quarterly/Cycle AVWAP.
Setup: Treat the higher-timeframe AVWAP as the mean. Acceptance through it (and hold) often marks cycle transitions. Add on pullbacks to the line that hold.
Reading reclaims, rejections, and “acceptance”
Reclaim: price trades below AVWAP, then closes back above and holds on a retest → bullish signal since the anchor.
Rejection: price pops above AVWAP, prints rejection wick and closes back under → bearish.
Acceptance: multiple bars closing and holding beyond AVWAP, ideally with CVDv1 Alignment OK and no Absorption → higher odds the move persists.
With Volume Profile v3.2, treat AVWAP at VAL/VAH as A-tier locations:
VAL + AVWAP reclaim → mean-reversion long to POC is common.
VAH + AVWAP rejection → fade back to POC or to the next HVN.
Settings that matter (and simple defaults)
Names may vary by version, but these are the ideas you’ll see.
Anchor Time — pick a timestamp (session open, event, week start). Newer traders: start with Session AVWAP intraday; add Weekly AVWAP for swings.
Multiple anchors — if enabled, you can show Weekly AVWAP alongside your custom anchor. Keep it to two lines to stay decisive.
Smoothing / Display — most traders use raw AVWAP (no smoothing). Make sure the line is visible across zoom levels.
Theme & Colors — use distinct colors for each anchor (e.g., white for Weekly, aqua for Session/Event) so you don’t mix them up.
How AVWAP pairs with other tools
Cumulative Volume Delta v1 (CVDv1) — confirms flow quality at AVWAP.
Don’t chase a tag through AVWAP if CVD Absorption is red (typical failed break conditions).
Do prefer reclaims when Alignment = OK and Imbalance % is strong for your anchor.
Volume Profile v3.2 — gives you objective levels (POC/VAH/VAL/HVNs).
AVWAP + VAH/VAL confluence is where you plan trades.
Passing through an LVN toward AVWAP often travels fast; use that to manage risk.
(Add a screenshot that highlights AVWAP touching VAL with CVDv1 “Efficient” → clean bounce to POC.)
A simple, durable playbook
Pick one slow anchor (e.g., Weekly) for bias and one fast anchor (Session/Event) for timing.
Trade at the line, not mid-air: reclaims and rejections at AVWAP are your signals.
Require confirmation from flow: CVDv1 Alignment OK, Imbalance strong, Absorption ≠ red on the trigger bar.
Add Volume Profile v3.2 for targets (POC/HVNs) and edges (VAH/VAL).
If price accepts beyond AVWAP (closes and holds), stop fading and instead join pullbacks to the line.
Common mistakes AVWAP solves
“Mean keeps moving, my MA lies.” AVWAP weights actual traded volume, so fair value adapts to where business was done, not just where price wandered.
“It broke the line and reversed.” That’s no acceptance (or CVDv1 flagged Absorption). Wait for the retest/hold.
“Too many lines, can’t decide.” Keep two anchors max: one for bias, one for timing.
Practical defaults to start with
Intraday: Session AVWAP only. Add an Event AVWAP on special days.
Swing: Weekly AVWAP + one Event AVWAP (start of move or weekly open).
Colors: Distinct but readable (e.g., white for Weekly, aqua for Session/Event).
No smoothing. Let the line be honest—your eyes adjust quickly.
Open source & disclaimer
This indicator is provided open source so you can learn, test, and adapt it to your workflow. Trading involves risk; tools guide decisions but don’t remove uncertainty.
Disclaimer — Not Financial Advice.
The “Anchored VWAP ” indicator and this description are for educational purposes only and do not constitute financial or investment advice. Markets involve risk, including possible loss of capital. makes no warranties and assumes no responsibility for any trading decisions or outcomes resulting from the use of this script. Past performance is not indicative of future results.
Use Anchored VWAP for the where and when around fair value; let CVDv1 judge who’s pushing, and let Volume Profile v3.2 define targets and edges. That trio stays reliable across any timeframe.
Intraday Key OpensIntraday Key Opens plots the key session and cycle opening prices: 90-minute cycles opens, New York open, Asia open, and 9:30 US market open. Each line is labeled, color-coded, and can be toggled on/off independently. Designed for intraday traders to quickly identify important price levels and session pivots.
My VWAPThe script is a VWAP (Volume Weighted Average Price) indicator overlaying on the price chart.
Users can set the anchor period: Session, Week, Month, Year, Earnings, Dividends, Splits, etc.
VWAP is calculated using the chosen price source (default hlc3) and resets on a new anchor period.
Optional bands around VWAP can be based on standard deviation or percentage of VWAP.
A fast EMA (default 3-period) is plotted alongside VWAP for trend analysis.
The area between EMA and VWAP is colored green if EMA > VWAP, red if EMA < VWAP.
The script checks for volume data, as VWAP requires volume to function.
Buy/sell signals are generated when the EMA crosses above or below VWAP.
Corporate events (earnings, dividends, splits) can trigger a VWAP reset when used as anchors.
Bands plotting is coded but commented out, making the indicator customizable and visually intuitive.
Multi-Timeframe MA - TCMasterThis indicator displays up to four moving averages from different timeframes on a single chart.
It’s designed for traders who want to track higher-timeframe trends while analyzing price action on lower timeframes — a key technique in multi-timeframe confluence trading.
You can freely customize the type, length, timeframe, and color for each moving average line.
⚙️ Features
4 configurable Moving Averages (each with its own type, length, and timeframe).
Supported types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Real-time values are fetched from higher timeframes using request.security() (no repaint).
Individual visibility toggle and line width for each MA.
Dynamic info label shows current distance between price and each MA.
Built with Pine Script v6, ensuring optimal performance and flexibility.
📊 Typical Use Cases
Identify trend direction across multiple timeframes.
Confirm entries/exits using higher timeframe trend alignment.
Spot potential reversal or continuation zones when short-term price interacts with long-term MAs.
Build confluence setups for swing, scalp, or intraday strategies.
🧠 Example Setup
MA Type Length Timeframe Purpose
MA #1 SMA 200 1m Micro trend
MA #2 EMA 200 5m Short-term trend
MA #3 EMA 200 15m Medium trend
MA #4 SMA 200 30m Macro trend
🔔 Tips
Combine with oscillators (e.g., RSI, Stoch, MACD) for stronger confluence.
Use color coding to distinguish short vs long timeframe trends.
Consider adding alerts when price crosses any MA (can be extended easily in code).
⚠️ Notes
All higher-timeframe data is handled safely using lookahead=barmerge.lookahead_off to prevent repainting.
Label updates only on the latest bar for efficiency.
VWMA, DEMA, TEMA, and HMA are computed via internal formulas for compatibility with Pine Script v6.
🏁 Summary
Multi-Timeframe MA is a powerful tool for traders who want to merge the clarity of moving averages with the precision of multi-timeframe analysis.
It helps you see the bigger picture without switching charts — perfect for intraday, swing, and trend-following strategies.
New Candle Alert with Time WindowJust needed a way to specify a time window on a timeframe and get alerts for each new candle
5MA Color Shift + Dual Fills + Cross Marks + Angle (JA/EN)
Thank you for visiting this page ^^
In short, this indicator simultaneously displays five MAs and has the following features:
- Color shifts are possible when the MAs are pointing up or down. The color shift can be canceled.
- The 1-2 and 3-4 intervals can be filled in. This can also be canceled, and the transparency can be adjusted.
- All MAs can be selected from SMA, EMA, and WMA.
- The angle of any MA can be displayed. In addition, the display can be moved to a certain extent.
- Marking is possible when MAs cross, and this function can also be canceled.
- Alerts can be set when a candle crosses any MA.
- Japanese language is also displayed so that Japanese users can use it.
###Reference###
- MA1 and MA2 are the same color and color shifts depending on whether they are moving up or down.
- MA3 is always displayed in the same color.
- MA4 is not displayed, but the gap between MA3 and MA4 is filled in.
- MA5 is color shifted by the 200MA.
- Marking is performed when MAs cross. This may not be necessary. Many people may feel that color shift is enough.
-Displays angle. It may be better to move this to Top or Bottom.
-Displays RSI and Heikin Ashi simultaneously. I mostly trade with just these settings and it works well.
You may be confused by the number of features, but if you feel that way, I recommend removing some features.
If you have any requests, please leave a comment ^^
MFx Radar (Money Flow x-Radar)Description:
MFx Radar is a precision-built multi-timeframe analysis tool designed to identify high-probability trend shifts and accumulation/distribution events using a combination of WaveTrend dynamics, normalized money flow, RSI, BBWP, and OBV-based trend biasing.
Multi-Timeframe Trend Scanner
Analyze trend direction across 5 customizable timeframes using WaveTrend logic to produce a clear trend consensus.
Smart Money Flow Detection
Adaptive hybrid money flow combines CMF and MFI, normalized across lookback periods, to pinpoint shifts in accumulation or distribution with high sensitivity.
Event-Based Labels & Alerts
Minimalist "Accum" and "Distr" text labels appear at key inflection points, based on hybrid flow flips — designed to highlight smart money moves without clutter.
Trigger & Pattern Recognition
Built-in logic detects anchor points, trigger confirmations, and rare "Snake Eye" formations directly on WaveTrend, enhancing trade timing accuracy.
Visual Dashboard Table
A real-time table provides score-based insight into signal quality, trend direction, and volume behavior, giving you a full picture at a glance.
MFx Radar helps streamline discretionary and system-based trading decisions by surfacing key confluences across price, volume, and momentum all while staying out of your way visually.
How to Use MFx Radar
MFx Radar is a multi-timeframe market intelligence tool designed to help you spot trend direction, momentum shifts, volume strength, and high-probability trade setups using confluence across price, flow, and timeframes.
Where to find settings To see the full visual setup:
After adding the script, open the Settings gear. Go to the Inputs tab and enable:
Show Trigger Diamonds
Show WT Cross Circles
Show Anchor/Trigger/Snake Eye Labels
Show Table
Show OBV Divergence
Show Multi-TF Confluence
Show Signal Score
Then, go to the Style tab to adjust colors and fills for the wave plots and hybrid money flow. (Use published chart as a reference.)
What the Waves and Colors Mean
Blue WaveTrend (WT1 / WT2). These are the main momentum waves.
WT1 > WT2 = bullish momentum
WT1 < WT2 = bearish momentum
Above zero = bullish bias
Below zero = bearish bias
When WT1 crosses above WT2, it often marks the beginning of a move — these are shown as green trigger diamonds.
VWAP-MACD Line
The yellow fill helps spot volume-based momentum.
Rising = trend acceleration
Use together with BBWP (bollinger band width percentile) and hybrid money flow for confirmation.
Hybrid Money Flow
Combines CMF and MFI, normalized and smoothed.
Green = accumulation
Red = distribution
Transitions are key — especially when price moves up, but money flow stays red (a divergence warning).
This is useful for spotting fakeouts or confirming smart money shifts.
Orange Vertical Highlights
Shows when price is rising, but money flow is still red.
Often a sign of hidden distribution or "exit pump" behavior.
Table Dashboard (Bottom-Right)
BBWP (Volatility Pulse)
When BBWP is low (<20), it signals consolidation — a breakout is likely to follow.
Use this with ADX and WaveTrend position to anticipate directional breakouts.
Trend by ADX
Shows whether the market is trending and in which direction.
Combined with money flow and RSI, this gives strong confirmation on breakouts.
OBV HTF Bias
Gives higher timeframe pressure (bullish/bearish/neutral).
Helps avoid taking counter-trend trades.
Pattern Labels (WT-Based)
A = Anchor Wave — WT hitting oversold
T = Trigger Wave — WT turning back up after anchor
👀 = Snake Eyes — Rare pattern, usually signaling strong reversal potential
These help in timing entries, especially when they align with other signals like BBWP breakouts, confluence, or smart money flow flips.
Multi-Timeframe (MTF) Consensus
The system checks WaveTrend on 5 different timeframes and gives:
Color-coded signals on each TF
A final score: “Mostly Up,” “Mostly Down,” or “Mixed”
When MTFs align with wave crosses, BBWP expansion, and hybrid money flow shifts, the probability of sustained move is higher.
Divergence Spotting (Advanced Tip)
Watch for:Price rising while money flow is red → Possible trap / early exit
Price dropping while money flow is green → Early accumulation
Combine this with anchor-trigger patterns and MTF trend support for spotting bottoms or tops early.
Final Tips
Use WT trigger crosses as initial signal. Confirm with money flow direction + color flip
Look at BBWP for breakout timing. Use table as your decision dashboard
Favor trades that align with MTF consensus
Custom Choppiness HistogramThe Custom Choppiness Histogram is a visually enhanced, multi-timeframe version of the traditional Choppiness Index , designed to make it easier to spot when the market is trending vs. ranging.
🔹 Key Features:
Histogram Visualization: Clear, color-coded bars for instant interpretation.
Two Coloring Modes:
1.Change Mode → Colors based on increase/decrease vs. previous CI value.
2.Absolute Levels → Uses common CI thresholds (e.g., >61.8 = choppy, <38.2 = trending).
Grey Bars / Neutral Zone: Bars turn grey when the market is neither strongly trending nor strongly choppy — signaling a neutral or indecisive market.
Multi-Timeframe Option: Analyze Choppiness from any higher timeframe while trading on a lower chart.
Custom Thresholds: Adjust high/low CI levels to fit your strategy.
🔹 How to Use:
Green bars → Market is becoming more trending.
Red bars → Market is becoming more choppy/ranging.
Grey bars → Market is in a neutral zone; use caution and combine with other signals.
Use the timeframe input to filter trades (e.g., check if the 1H is trending before entering on the 5M).
🔹 Best Practice:
Use as a context filter alongside your entry/exit strategy (e.g., MACD, ICT/Smart Money, Supply & Demand).
Helps reduce false entries by avoiding trades during sideways conditions.
⚠️ Disclaimer:
This script is provided for educational purposes only. It is not financial advice and should not be used as a sole basis for making trading decisions. Always do your own research and test thoroughly before applying to live markets. Trading carries risk, and you are solely responsible for your decisions.
Volume PivotOVERVIEW
Volume Pivot is a technical analysis tool for TradingView designed to identify key turning points in the market by focusing on volume rather than price. It detects peaks and troughs (pivots) in trading volume to pinpoint moments of maximum market interest or exhaustion.
This indicator performs its analysis on both the Current Timeframe (CTF) and a user-defined Higher Timeframe (HTF). This dual-perspective approach allows traders to simultaneously grasp short-term market reactions and long-term structural shifts, leading to more informed and high-conviction trading decisions.
FEATURES
Automatic Pivot Detection
Automatically identifies and plots Volume Pivot Highs (peaks) and Pivot Lows (troughs) based on a user-defined Lookback Length.
Dual Timeframe Display
- CTF Signals : Plotted as tiny circles directly above the corresponding volume bars for immediate, short-term context.
- HTF Signals : Plotted as slightly larger circles at the bottom of the indicator pane, making them easy to distinguish as signals of higher significance.
Flexible HTF Configuration
Customize which higher timeframe to use for analysis based on your current chart timeframe. For example, you can set the indicator to reference the 1-hour chart as the HTF when you are on the 5-minute chart, and the Daily chart as the HTF when you are on the 1-hour chart.
Intuitive Volume Bars
The volume bars are color-coded to show whether volume is increasing (bullish color) or decreasing (bearish color) compared to the previous bar, offering a quick visual gauge of market momentum.
Full Customization
Easily toggle the visibility of CTF and HTF signals and customize the colors for bullish and bearish pivots to match your charting preferences.
MK_OSFT-Momentum Confluence DetectorMOMENTUM CONFLUENCE DETECTOR - Trading Indicator Overview
What This Indicator Does
The Momentum Confluence Detector is a comprehensive Pine Script indicator designed to identify high-probability trading opportunities by detecting momentum bars that align with multiple confluence factors. It combines traditional technical analysis with advanced Smart Money Concepts to filter out noise and highlight the most significant price movements.
CORE FUNCTIONALITY
📊 Momentum Bar Detection Identifies unusual volume and bar size expansion using customizable multipliers
Detects bullish, bearish, and neutral momentum bars based on OHLC relationships
Uses moving averages to establish baseline volume and bar size thresholds
🔄 Multi-Filter Confluence System
The indicator employs up to 5 different filter types to validate momentum signals:
Level Concept Filter - Choose between:
- Support/Resistance Levels : Traditional pivot-based S/R zones with touch counting and break tracking
- Smart Money Concepts : Institutional order flow analysis including Order Blocks, Fair Value Gaps (FVGs), and market structure breaks
Trend Filter : EMA/SMA-based trend direction confirmation with alignment requirements
Breakout Filter : Detects price breakouts beyond recent highs/lows with percentage thresholds
Volatility Filter : ATR expansion confirmation to ensure signals occur during active market conditions
Market Session Filter : Filters signals to specific trading sessions (Tokyo, London, New York)
ADVANCED FEATURES
🎯 Smart Money Concepts Integration
Order Blocks : Identifies institutional supply/demand zones from major and minor structure breaks
Fair Value Gaps (FVGs) : Detects price imbalances and tracks their evolution through partial fills and inversions
Market Structure : Recognizes Break of Structure (BOS) and Change of Character (CHoCH) patterns
Retracement Patterns : Tracks HLH (Higher-Low-Higher) and LHL (Lower-High-Lower) institutional patterns
📈 Support/Resistance System
Multi-timeframe pivot detection (3, 5, 7-bar spans)
Volume-weighted strength calculation for level importance
Dynamic level merging and break tracking
Automatic level type classification (Support/Resistance/Flip zones)
⚙️ Intelligent Filtering Logic
ALL Mode : Requires all enabled filters to pass (high precision)
ANY Mode : Requires at least one filter to pass (higher frequency)
Real-time filter status tracking and visualization
Visual Features
Signal Markers : Clear triangular markers for qualified momentum bars
Unfiltered Signals : Optional display of raw momentum bars for comparison
Level Visualization : Dynamic S/R level boxes and lines with strength indicators
Structure Lines : BOS/CHoCH break visualization with major/minor classification
Fair Value Gaps : Color-coded boxes showing bullish/bearish FVGs with partial fill tracking and IFVG conversion
Order Blocks : Institutional supply/demand zones displayed as colored boxes with major/minor classification
Information Table : Real-time display of signal details and filter status
Session Boxes : Visual representation of active trading sessions
Practical Applications
✅ Swing Trading : Identify high-probability reversal and continuation setups
✅ Day Trading : Spot intraday momentum shifts with institutional backing
✅ Multi-Timeframe Analysis : Combine major and minor structure analysis
✅ Risk Management : Filter out low-quality setups using confluence requirements
✅ Educational : Understand market structure and institutional order flow
Customization Options
Adjustable momentum thresholds for different market conditions
Comprehensive filter settings with individual enable/disable controls
Visual customization for colors, sizes, and display preferences
Alert system with detailed signal information
Performance optimization settings for different chart timeframes
Who Should Use This Indicator
This indicator is suitable for traders who:
Want to combine multiple technical analysis approaches
Seek to understand institutional market behavior
Prefer confluence-based trading setups
Need customizable filtering for different market conditions
Value comprehensive signal validation over high-frequency alerts
The Momentum Confluence Detector transforms complex market analysis into clear, actionable signals by requiring multiple forms of confirmation before highlighting trading opportunities.
Time Range by exp3rtsTime Window highlights a custom time range directly on your chart, helping you focus on specific market sessions or trading hours.
Key Features:
Highlights a custom time range with a shaded background
Fully adjustable start and end time (hour & minute)
Supports multiple time zones (e.g., GMT, UTC, Europe/Berlin)
Optional market color shading inside the window (bull/bear neutral tone)
Use Cases:
Mark London Open, New York Session, or any session overlap
Focus on high-probability trading hours
Visualize your backtesting timeframe or algo activity window
Track premarket or after-hours activity for futures or indices
Customization:
Set the beginning and end time in your local or exchange time zone
Choose your timezone string (e.g., "GMT", "Etc/UTC", "America/New_York")
Automatically colors candles in the time window for easy visibility
Not Your Daddy's EMA CrossoverNot Your Daddy's EMA Crossover - Quick Guide
What It Does
This isn't your typical 50/200 EMA crossover. It uses academically-proven, optimized EMA periods specifically backtested for crypto markets. Instead of generic settings, it adapts to different trading styles with research-backed parameter combinations that have demonstrated real returns.
Core Logic
Enters when fast EMA crosses slow EMA in the trend direction (confirmed by 200 SMA filter)
Exits either on opposite EMA cross (trend-following) or at fixed profit targets (scalping)
Uses a 200 SMA to filter trades - only longs above it, only shorts below it
Key Settings & Toggles
1. Trading Style (Auto-adjusts EMA periods):
"15 Min Scalping": 9/21 EMA - Fast-paced, frequent signals
"1 Hour Swing": 13/48 EMA - For swing trading
"Daily Trend": 15/150 MA - Captured +97.87% in bull runs
2. Entry Method:
"Crossover Entry": Enters immediately on EMA cross
"Pullback to EMA Entry": Waits for first pullback to slow EMA (better risk/reward)
3. Exit Method:
"EMA Cross Exit": Trend-following, lets winners run until EMAs reverse
"Fixed % Target (Scalping)": Quick 0.5-1% profits with tight stops
4. Optional Features:
MACD Confirmation: Adds 6-15-1 MACD filter for higher-probability setups
Periodic Compounding: Compounds every 30 hours (research shows 1-30 hour compounding is optimal)
Recommended Timeframes
📊 Match your chart to your selection:
Select "15 Min Scalping" → Use 15-minute chart
Select "1 Hour Swing" → Use 1-hour chart
Select "Daily Trend" → Use daily chart
I personally like this on the daily, which coincidentally is printing a long signal today on Bitcoin.
Enjoy!