Average Directional Index with DI SpreadThis indicator converts conventional triple lined ADX, DI+ and DI- into two lines. First line is the
original ADX line and second line is obtained by subtracting DI- from DI+ which named DI Spread(DIS)
If ADX is greater than 20 there is a trend and if greater than 40 there is a strong trend but ADX does not tell
the trend direction
To determine trend direction, DIS can be used with ADX; Sımply; If DIS is greater than 0, it is an uptrend and If DIS
is less than 0, it is a downtrend.
To sum up;
If ADX is greater than 20 and especially greater than 40 with positive DIS value, this implies an uptrend.
If ADX is greater than 20 and especially greater than 40 with negative DIS value, this implies a downtrend.
*Because of coloration and reference levels used, this indicator is really simple and efficient to analyze trend direction.
Pesquisar nos scripts por "20年美元汇率"
MFI Multi-TimeframeThe Money Flow Index (MFI) is an oscillating momentum and market strength indicator that was developed by Gene Quong and Avrum Soudack. It is also a leading indicator, which means it tends to lead price action, and is similar in calculation as J. Welles Wilder's Relative Strength Index (RSI) with the significant difference being that the MFI uses both price and volume. Like the RSI, the MFI is a range-bound oscillator that oscillates between zero and 100 and is interpreted in a similar way as the RSI. The ultimate aim of the MFI is to determine whether money is flowing in or out of a security over a specified look-back period.
HOW IS IT USED ?
The MFI oscillates between 0 and 100 and a security is considered overbought when its MFI rises above 80 and oversold when its MFI falls below 20. These levels are the suggested overbought and oversold levels as suggested by Quong and Soudack, though they do not suggest these levels as entry signals. Instead, these caution levels warn that the price action and the current trend have reached extremes that may be unsustainable. Quong and Soudack also recommend using the 90 and 10 lines as truly overbought and truly oversold levels respectively. MFI movements above 90 and below 10 are rare and indicate a higher level of unsustainability.
Finally, failure swings from the 20 or 80 levels can also be used to identify potential price reversals and trade entries. A failure swing occurs when the MFI moves over the overbought or oversold level but reverses back before reaching the opposite level. Thus, when the MFI crosses up over the 20 (oversold) level but reverses before it reaches the 80 (overbought) level, it indicates that the uptrend is weak and that it may reverse soon. This signals that you should cover any long positions or go short. Similarly, when the MFI crosses down over the 80 (overbought) level but reverses before it reaches the 20 (oversold) level, it indicates a weakness in the down trend and the probability that the trend will reverse. This would be a signal to close of any short positions; or a signal to long buy.
I added the possibility to add on the chart a 2nd timeframe for confirmation.
If you found this script useful, a tip is always welcome... :)
Exponential Moving Average (Set of 3) [Krypt] + 13/34 EMAsI took Krypt's script and essentially added on to it.
the 20/50/100/200 EMAs should be used together as support and resistance as normal.
Wait for price to break 200 EMA
Wait for 50 EMA to cross 200 EMA
Wait for pullback to 50 EMA to open position
20 and 100 EMAs are for extra information about moving support and resistance
and 13/34 EMAs should be used in conjunction
When 13 EMA crosses 34 EMA, open position
When price gets far from 13/34, close position (because price will attempt to revert back to mean)
This is better for scalping and swing trades than the 20/50/100/200 setup.
Twitter: @AzorAhai06
Gap Gain Test V1.0 by @overratedtraderOddball indicators for entertainment purposes only. This is best used on daily chart.
Look at the 20 ALMA to gauge likelihood of stock following its up or down gap.
- if above the 20 ALMA , follow the gap direction
- if below the 20 ALMA , take counter trend trade
If stock gaps up AND closes higher than it opens, that gain % (close/open) is colored green and if stock gaps down and closes lower than it opens, that gain % (close/open) is colored green
Conversely if the stock gaps up BUT closes lower than it opens, red and if a stop gaps down but closes higher than it opens, red.
Enjoy and follow me on twitter @overratedtrader for more nonsensical and out-of-the-box ideas.
Adaptive Donchian ChannelThis indicator adds a level of adaptivity to the simple Donchian Channel by adjusting the sensitivity (lookback periods) of the channel's upper and lower bounds based on the amount of time that has elapsed since the price has hit/expanded the channel boundaries. Comparing the results of this indicator to the standard Donchian Channel, the readier level of responsiveness may prove self-evident.
METHODOLOGY:
Specifically, the more recently the channel was expanded in one direction, the longer the lookback period grows in that direction. Conversely, if the channel has not been expanded in a given direction, the lookback period will contract so as to allow for a tighter channel.
For example, let the initial lookback period be 20 bars and let the factor argument be 0.1 (or 2 bars to start, as 20*0.1 = 2). Now say the current bar sets a new 20-period high. Then the lookback period for the upper bound is expanded by 2 bars to 22, and the lookback period for the lower bound is contracted by 2 bars to 18, thereby making it simultaneously harder to set new highs and easier to set new lows (and vice versa for hitting new lows). If neither a new high nor a new low is formed, both periods contract by the given factor.
TonyUX EMA Scalper - Buy / SellThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA.
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
EMA_ConvergenceFirst I have to give kudos to my son who I asked to take a shot at creating this little indicator. Nice work son!
While trading, one of the things I look for is when price or certain EMA's approach another EMA. The example that I use on this 1 minute SPY chart is an 8 EMA and 20 EMA. I am looking for when the 8 and 20 are within' 3 cents of each other. Many times when they are getting close, price is approaching a top or bottom. I am looking for a candlestick reversal around that area. You may want to know when PRICE is near the 50 EMA: Use EMA 1 and 50 for that. Having it light up on top of the page, or elsewhere, makes it easier to look for the convergence when it occurs. If it lights up for a long period, price may be going sideways. I don't enter into a trade until the EMA starts separating, usually with another candlestick formation.
You are able to change the distance for convergence and two EMA's. Unfortunately you will have to adjust the convergence number up as you increase in time frames. This is designed to see when they are close, not when they cross.
The bars on top of this example are lit up purple due to the 8 and 20 EMA are within' 3 cents of each other.
If you want to overlay the price bars, instead of having it separate, just change overlay to "true"
Enjoy.
Multiple Moving Averages [JopAlgo]Multiple Moving Averages — read trend, timing, and strength at a glance
What it does:
Mark up to 5 moving averages (you pick type + length + color). Watch how they stack, slope, braid, and fan out to judge trend direction, pullback timing, and breakout quality on any timeframe.
Read it in 5 seconds
Stack order:
Bullish: fast MAs on top of slow MAs.
Bearish: fast MAs below slow MAs.
Slope: up = trend has a tailwind; down = headwind.
Spacing: wide = strong trend; tight/braided = balance/chop.
If you remember only one rule: trade with the stack and slope, enter at levels.
High-probability plays (simple and repeatable)
Trend pullback (with level)
Stack is bullish, slopes up.
Price pulls back to the MA cluster (or AVWAP/VAL), holds, fast MAs curl back up.
Long. Stop: below structure/slowest MA. Target: POC/HVNs or next swing.
(Mirror for shorts in a bearish stack.)
Reclaim + recurl
After a down phase, price closes above fast MAs (MA1–MA2), they turn up, and you’re at a real level (AVWAP/VA edge).
Take the first higher-low with the stack starting to flip.
Squeeze → expansion
MAs braid tight = energy building.
Break at a level, then the lines fan out in your direction.
Enter on the first retest that holds.
Skip trades when the lines are braided mid-range and you’re not at a level.
Timeframe guide (what usually works)
1–5m (scalps): EMA heavy (e.g., 5/9/21/34/55). Expect more signals; filter with levels + CVD.
15m–1H (intraday): 9/21/34/50/200 (mix EMA for fast, SMA for slow).
2H–4H (swing): 10/20/50/100/200 or 8/21/34/55/89 (smoother read).
1D+ (position): 20/50/100/200 (bias) and enter on lower TF.
Tip: Don’t set all five to the same length—stagger them so the stack tells a story.
Settings that matter (and what they mean)
MA types (pick the feel you like):
EMA – fastest response (great for timing).
SMA – smoother backbone (great for bias).
WMA / LWMA – responsive but less twitchy than EMA.
VWMA – weights price by volume (good on assets with uneven volume).
SMMA – very smooth (reduces whips).
DEMA – extra fast (can be noisy).
HEMA – in this script behaves like a double-EMA style response (fast).
RVIMA – not implemented here (will plot nothing if chosen).
Length:
Shorter = earlier turns, more noise.
Longer = slower, cleaner bias.
Keep a sensible spread (e.g., 1:2:3… or Fib-style 9/21/34/55/89).
Colors:
Use consistent colors (e.g., warm = fast, cool = slow) so you can read the stack instantly.
Best combos with other tools
Volume Profile v3.2: take signals at VAH/VAL/LVNs; use POC/HVNs for targets.
Anchored VWAP: reclaims/rejections + MA recurl = clean timing.
CVDv1: execute with flow (Alignment OK, strong Imbalance, no Absorption against you).
Common mistakes this prevents
Shorting into a bullish stack (or buying into a bearish one).
Chasing far from the fast MAs; better to wait for a pullback.
Trading every wiggle in chop—braids tell you to do less.
Quick FAQs
Cluttered chart? Hide 1–2 lines (keep fast, middle, slow) or thin the linewidth.
Which one is “right”? None. Pick a set that fits your tempo and stick to it.
RVIMA option? Not implemented in this version—choose another type.
Starter presets (copy these, then adjust)
Intraday: MA1 EMA9, MA2 EMA21, MA3 SMA34, MA4 SMA50, MA5 SMA200
Swing: MA1 EMA10, MA2 SMA20, MA3 SMA50, MA4 SMA100, MA5 SMA200
Scalp: MA1 EMA5, MA2 EMA9, MA3 EMA21, MA4 EMA34, MA5 EMA55
Mini-disclaimer
Educational tool, not financial advice. Always anchor trades to levels, flow, and risk—this indicator keeps your bias and timing honest; the plan is still yours.
Multi MA Cross [JopAlgo]Multi MA Cross — simple, flexible trend + timing
What it does:
Plots two moving averages (you pick the types and lengths) and marks their crossovers. Use it to read trend direction and time pullbacks/breakouts. Works on any timeframe.
What you’ll see
Short MA (orange)
Long MA (lime)
Cross mark (aqua ✚) when they cross
Green/lime above orange = bullish bias (short MA above long).
Orange above lime = bearish bias.
How to use it (simple playbook)
Trade with the bias
Longs only when short MA > long MA.
Shorts only when short MA < long MA.
Enter at a real level
Use Volume Profile v3.2 (VAH/VAL/POC/LVNs) or Anchored VWAP .
Crosses at or just after a level hold are higher quality.
Quality check (optional, strong)
CVDv1 : take trades when Alignment = OK, Imbalance strong, Absorption ≠ red.
Manage risk
Stop goes beyond the level/structure, not on an MA wiggle.
Trim into POC/HVNs or next structure.
Good entries you’ll recognize
Pullback-to-long MA (trend):
Bias up, price pulls to long MA (or AVWAP/VAL), short MA curls back up → enter long.
Reclaim + cross:
Price reclaims AVWAP/VA edge, then short MA crosses over long → confirmation to join.
Squeeze → break:
MAs converge (tight), then expand after a level break. Enter on retest that holds.
Skip crosses in the middle of nowhere. Cross + location + flow beats cross alone.
Timeframe guidance
1–5m (scalps): EMA/EMA or EMA/WMA. Expect more crosses. Use VP/AVWAP and CVD filters.
15m–1H (intraday): EMA(9) vs SMA(21) is a solid default.
2H–4H (swing): SMA(20–34) vs SMA(50) or EMA(21) vs EMA(55).
1D+ (position): SMA(50) vs SMA(200) for broad bias; entries on lower TF.
Settings that matter (and what they mean)
Short/Long MA Type:
EMA = fast, good for timing.
SMA = smooth, good for bias.
WMA/LWMA = in-between (responsive).
VWMA = weights by volume.
SMMA = very smooth (reduces whips).
HEMA/DEMA = extra responsive.
VWAP = daily session VWAP (anchor), ignores length in practice.
Short/Long Length:
Short = timing sensitivity.
Long = trend backbone.
Keep a ratio ~ 1:2 to 1:3 (e.g., 9/21, 10/30, 20/50).
Note on VWAP option: The script fetches a daily VWAP anchor. It acts like a fair-value line, not a rolling MA. Your Length won’t affect VWAP.
Filters that boost win rate
Slope check: Only take longs when both MAs slope up; shorts when both slope down.
Distance check: Don’t chase if price is far from the short MA; wait for a pullback.
HTF agreement: On 15m, glance at 1H/4H bias; on 4H, glance at 1D. Trade with the higher-TF wind.
Combos that work
Volume Profile v3.2: Use VAH/VAL/POC/LVNs for entries/targets. Cross at those references is meaningful.
Anchored VWAP: Reclaims/rejections first, MA cross second = cleaner timing.
CVDv1: Only act when flow agrees (ALIGN OK, no Absorption against you).
Common mistakes this avoids
Shorting into an up-bias (or vice versa).
Chasing a cross far from value (wait for the pullback).
Trading every cross in chop (use levels + CVD to filter).
Defaults to start with
Short MA: EMA 9
Long MA: SMA 21
Timeframes: 15m–4H
Process: Bias → Level → Cross/Retest → CVD check → Execute
Quick disclaimer
Educational tool, not financial advice. Test first, size sensibly, and always anchor your trades to levels, flow, and risk.
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.
Elliott Wave Oscillator [JopAlgo]Elliott Wave Oscillator — a simple impulse meter that tells you when the move has “real push”
If price is the story, impulse is the emotion behind each chapter. The Elliott Wave Oscillator (EWO) is a clean way to see that emotion: it’s just the difference between a fast and a slow moving average. When the fast MA pulls away from the slow MA, the histogram grows; when they come back together, it shrinks. Above zero = bullish impulse; below zero = bearish impulse.
EWO keeps the math honest and the read effortless:
Choose SMA, EMA, or a volume-weighted average for each side (the “VWAP” option here uses a rolling VWMA over the chosen length).
A zero line anchors the read (bull vs bear).
Bars color by slope: rising = building momentum, falling = momentum fading.
(For screenshots: image #1 label the zero line, rising/falling bars, and a zero cross. Image #2 show a strong impulse leg hugging one side of zero, then fading into a pullback.)
What you’re seeing (and how it’s built)
Short MA (default 5) and Long MA (default 35) are computed using your selected MA Type (SMA, EMA, or rolling volume-weighted).
EWO = Short MA − Long MA.
EWO > 0: fast MA above slow → bullish impulse.
EWO < 0: fast MA below slow → bearish impulse.
Histogram colors:
Green bar: EWO increasing vs previous bar (momentum building).
Red bar: EWO decreasing (momentum waning).
Alerts: fire when EWO crosses the zero line (bullish or bearish “trend shift” heads-up).
New to this? Think of EWO as a throttle: above zero the engine is pushing forward; below zero it’s pushing backward. The height shows how hard it’s pushing; the color shows if that push is growing or fading right now.
How to use EWO on any timeframe
Same framework everywhere—what changes is your location and targets (from your other tools).
Scalping (1–5m)
Breakout confirmation: Only chase a micro-break if EWO flips above zero and grows green as price leaves a level (VAL/LVN/AVWAP). If it flips then immediately shrinks red, that’s your “don’t chase” warning.
Pullback timing: In a quick trend, wait for EWO to dip but stay above zero, then turn green again. That flip is often your pullback end.
Intraday (15m–1H)
Continuation filter: After a level break, ride as long as EWO stays on your side of zero. The first red bar while still above zero is a cue to partial or tighten stops.
Failed break tell: A poke through VAH/VAL with EWO still near zero (no expansion) is often a trap. Prefer retest/reclaim trades.
Swing (2H–4H)
Impulse leg ID: Strong trends show an EWO “bulge” (wide, mostly green bars above zero for longs). When that bulge shrinks back toward zero, look for mean-reversion to AVWAP/POC before the next leg.
Divergence (lightweight): Price makes a higher high, but EWO tops at a lower peak → impulse is weaker; plan for retrace to value.
Position (1D–1W)
Regime bias: Weeks where EWO lives above zero are net constructive; below zero are net distributive. Use that as a backdrop for adds/reductions at your higher-TF levels (Weekly AVWAP, composite VAL/VAH).
Entries, exits, and risk (simple rules)
Entry: At your level (from VP/AVWAP), take the side where EWO is on the correct side of zero and turning green (for longs) or red→green below zero for shorts? Careful—below zero, red means waning bear impulse. For shorts, you want EWO < 0 and increasing in magnitude (i.e., more negative) which still paints red in this script? Here’s the practical translation:
Longs: EWO > 0 and rising (green bar).
Shorts: EWO < 0 and falling (more negative vs prior bar). In this script, that also paints red—which is correct for building bearish impulse.
Manage: If your long was driven by EWO above zero, consider reducing when bars turn red repeatedly or EWO rolls back toward zero at your target node.
Invalidation: A zero cross against you after entry is a hard warning—tighten or exit unless higher-TF context strongly favors holding.
Stops: Place beyond the price level/structure you used, not on an EWO flip alone.
Settings that actually matter (and how to tune them)
MA Type (SMA / EMA / VWAP):
EMA: most responsive; great for scalping/fast intraday.
SMA: smoother; better for swings where you want fewer false wiggles.
VWAP (rolling VWMA): weights price by volume over your length—nice on pairs where volume behavior matters. (Note: this is a rolling VWMA, not an anchored session VWAP.)
Short/Long Lengths (default 5/35):
Shorter/faster (e.g., 4/20) → earlier flips, more noise.
Longer/slower (e.g., 8/50) → fewer but stronger signals.
Keep the ratio—something like 1:4 to 1:6—so the “bulge” is meaningful.
Zero-cross alerts: leave them on but treat as heads-up, not entries in isolation. You still want location + flow.
What to look for (pattern cheatsheet)
Impulse bulge: Wide, consecutive bars above zero (mostly green) → trend leg in progress. Expect shallow pullbacks only.
Pullback reset: After a leg, EWO shrinks but stays above zero, then flips green again → pullback likely done.
No-juice breakout: Price pokes the level but EWO stays near zero / flips red quickly → skip the chase; look for reclaim setups.
Divergence at extremes: New price high with lower EWO peak → risk of fade to value (POC/AVWAP).
Combining EWO with other tools
Cumulative Volume Delta v1 (CVDv1):
Use EWO for impulse, CVDv1 for quality. Best trades line up as:
EWO > 0 and increasing + CVDv1 ALIGN = OK + Imbalance strong + Absorption ≠ red → take the breakout/retest.
If EWO says “go” but CVDv1 flags Absorption, don’t chase.
Volume Profile v3.2:
Use VAH/VAL/LVNs/POC as where. EWO tells you if the push has fuel to leave/enter value.
Example: VAL retest with EWO turning up → rotate to POC/HVN.
Anchored VWAP:
Reclaims are higher quality when EWO flips above zero on the reclaim bar and holds green on the first pullback.
(Optional mention in screenshots: show a VAH break where EWO bulges and CVDv1 shows Alignment OK—clean continuation.)
Common pitfalls EWO helps you avoid
Buying a break with no impulse: Zero-line hugs and shrinking bars tell you the fast MA isn’t pulling away—skip.
Fading a real leg: Wide, persistent bars on one side of zero = don’t fight; use pullbacks to value instead.
Confusing volume-weighted vs anchored VWAP: The “VWAP” choice here is a rolling VWMA over the lookback, not a session/event AVWAP. Use Anchored VWAP when you need the true event-anchored line.
Practical defaults to start with
MA Type: EMA
Short/Long: 5 / 35
Timeframes: works out of the box on 15m–4H; for 1–5m try 4/20; for daily swings try 8/50.
Keep zero-cross alerts on as an attention ping; still require location + flow.
Alerts (what they mean)
Bullish EWO Signal: EWO crossed above zero → bullish impulse engaged. Look for a retest at your level with CVDv1 quality before entry.
Bearish EWO Signal: EWO crossed below zero → bearish impulse.
Open source & disclaimer
This indicator is published open source so traders can study it, tweak it, and build rules they trust. Tools inform decisions, but risk management decides outcomes.
Disclaimer — Not Financial Advice.
The “Elliott Wave Oscillator ” 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 EWO to judge when there’s real push, Volume Profile v3.2 and Anchored VWAP for where to act, and CVDv1 to verify who’s actually pushing. That trio keeps you selective on any timeframe.
Cycle Momentum Filter [JopAlgo]Cycle Momentum Filter (CMF) — spot “when” to engage the market, on any timeframe
Markets breathe in cycles (expansion → contraction) while momentum and trend decide which moves actually travel. CMF is a compact filter that blends those ideas so you can answer two questions before you click:
Is this a good moment to take a trade? (cycle position)
If I take it, is there enough force behind the move to carry it? (momentum + trend)
CMF does not replace your levels—use it with your location tools (e.g., Volume Profile v3.2 and Anchored VWAP). It simply keeps you out of entries taken at the wrong part of the swing or against weak momentum.
(When you add screenshots: image #1 should label each sub-line and the green/yellow/red background; image #2 can show CMF turning green at VAL + AVWAP before a rotation back to POC.)
What you’re seeing (and how to read it at a glance)
CMF draws five sub-lines around a zero line, plus a background color:
Cycle Oscillator (blue): where you are in the swing. Above zero ≈ cycle crest side; below zero ≈ trough side.
ROC % (purple): short-term price acceleration. Above zero = positive momentum; below zero = negative.
MACD Histogram (orange): classic impulse measure (fast–slow EMA gap). Above zero = bullish impulse.
EWO (cyan): Elliott Wave Oscillator (EMA fast – EMA slow). Above zero = trend tilt up.
RSI-MA (gray, plotted as RSI−50): smoothed RSI relative to 50. Above zero = buyers have the relative strength.
Background color = the filter result:
Green → bullish window: cycle favors longs and momentum/trend/RS confirm.
Red → bearish window: mirror logic.
Yellow → neutral: at least one piece disagrees—do less, or wait for alignment.
For new traders: Every sub-line crossing above/below zero is a yes/no vote. Green happens only when all bullish checks are true; red when all bearish checks are true.
How CMF is built (plain-English version)
Cycle (DPO-style): CMF subtracts a displaced SMA from price to remove trend and expose the swing. Below 0 = you’re on the dip side of the cycle; above 0 = rally side.
Momentum (ROC): percent change over roc_length bars; tells you if price is actually accelerating.
Impulse (MACD hist): measures push from fast vs slow EMAs.
Trend tilt (EWO): broader drift via two EMAs (fast/slow).
Participation bias (RSI-MA): smoothed RSI relative to 50 (plotted as RSI−50 so its zero line matches the others).
The signal rules are strict AND conditions:
Bullish = cycle < 0 and ROC > 0 and MACD hist > 0 and EWO > 0 and RSI-MA > 0.
Bearish = cycle > 0 and ROC < 0 and MACD hist < 0 and EWO < 0 and RSI-MA < 0.
Otherwise Neutral.
This strictness is deliberate: it cuts a lot of low-quality entries.
Using CMF on any timeframe
The framework is the same—only your anchors/targets change as you zoom.
Scalping (1–5m)
Where: VP v3.2 VAL/VAH/LVNs or Session AVWAP.
When: take longs when CMF turns green on/after a dip to your level; shorts when it turns red on/after a pop into resistance.
Skip: yellow reads in the middle of the range; that’s chop.
Tip: on very fast pairs, require two consecutive green/red bars before entry.
Intraday (15m–1H)
Use CMF green to time pullbacks to AVWAP or VA edges in the trend direction.
In balance days, wait for CMF color + level alignment to fade back to POC.
If CMF flips yellow after entry, tighten risk; if it flips against you, consider exiting early.
Swing (2H–4H)
Treat first green after a higher-timeframe pullback to Weekly AVWAP or composite VAL as your A-setup.
If CMF stays green through the first pullback, consider adding; the opposite for red in downtrends.
Position (1D–1W)
Fewer, bigger decisions: CMF green at Monthly/Quarterly AVWAP or at composite VAL suggests rotation toward POC/HVNs; CMF red at VAH suggests mean-reversion lower.
If CMF can’t turn green/red at key retests, that’s valuable: the level likely won’t hold.
Entries, exits, and risk (simple rules)
Entry: trade at a level when CMF just flips to your side (green for longs / red for shorts).
Invalidation: if CMF reverts to yellow immediately, it’s a warning; if it flips to the opposite color, that’s your soft stop condition—tighten or exit unless higher-timeframe context argues otherwise.
Targets: use Volume Profile v3.2 (POC/HVNs) and AVWAP (mean) for logical destinations.
Don’t use CMF alone for stops; place them beyond the level or structure.
Settings that actually matter (and how to tune them)
Cycle Length (default 20): swing detection.
Shorter (10–14): quicker flips, better for scalps.
Longer (30–40): steadier cycle for swings/position.
ROC Length (default 10): momentum lookback.
Shorter: earlier yes/no, more noise.
Longer: slower, more selective.
MACD Fast/Slow (5/13) & EWO Fast/Slow (5/35): impulse and drift.
Increase slow values to calm false flips; decrease fast to react sooner.
RSI Length (14) & Smoothing (5): participation tilt.
Reduce smoothing for faster confirmation; increase to avoid whips.
Background on/off: keep it on while learning; once you’re comfortable, you can hide the background and read the lines against zero.
Tuning tip: If you trade only a few coins, optimize Cycle and ROC first; leave MACD/EWO defaults. Then decide how strict you want RSI (try RSI smoothing = 3 for faster reads).
What to look for (pattern cheatsheet)
Green at a dip-level (VAL/AVWAP) → rotate toward POC/HVN.
Red at a pop-level (VAH/AVWAP) → rotate down toward POC/HVN.
Color holds through the retest → continuation is more likely.
Color flips against the breakout → watch for failed break and reclaim.
Only one line disagrees (e.g., ROC < 0 while others > 0) → expect slower follow-through; consider waiting one bar.
Combining CMF with other tools
Volume Profile v3.2 :
Use VAH/VAL/POC/LVNs for where. CMF answers when.
Green at VAL → mean-reversion long to POC.
Red at VAH → fade to POC.
LVN breaks with green often travel quickly to the next HVN.
Anchored VWAP :
Reclaim of AVWAP + CMF turns green → higher-quality long; rejection + red → cleaner short.
Weekly AVWAP + CMF color is a reliable swing compass.
Cumulative Volume Delta v1 (CVDv1):
CMF says “now”, CVDv1 says “how good”.
Prefer CMF green when CVDv1 Alignment = OK, Imbalance strong, Absorption ≠ red.
If CMF flips green but CVDv1 shows Absorption (red), do not chase; look for a reclaim instead.
Common pitfalls CMF helps you avoid
Buying high in the cycle: CMF keeps longs to when the cycle is on the dip side and momentum/trend agree.
Forcing trades on yellow: yellow is your do-less mode—wait for alignment.
Ignoring flow at levels: CMF gives the window, but quality still matters; confirm with CVDv1.
Practical defaults to start with
Cycle 20 | ROC 10 | MACD 5/13 | EWO 5/35 | RSI 14 (smooth 5)
Works out of the box on 15m–4H.
For scalps, try Cycle 14 / ROC 7–9 / RSI smooth 3.
For daily swings, Cycle 30–34 / ROC 12–14.
Alerts (what they tell you)
Bullish Signal: CMF turned green (all bullish checks passed). Use it as a heads-up; still anchor the entry to VP/AVWAP.
Bearish Signal: CMF turned red. Same rule: wait for the level.
Open source & disclaimer
This indicator is published open source so traders can learn, tweak, and build rules they trust. Tools guide decisions; risk management decides outcomes.
Disclaimer — Not Financial Advice.
The “Cycle Momentum Filter ” 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.
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.
Keltner Channels v1 [JopAlgo]Keltner Channels v1 — a clean volatility envelope for timing pullbacks, breakouts, and risk
Keltner Channels are a moving-average centerline with volatility-based bands above and below. They give you a live “speed limit” for price: when the market is calm, bands are tight (expect mean reversion); when volatility expands, bands widen (trend moves can breathe). KC v1 keeps the classic idea but adds a small twist that traders appreciate in crypto: an adaptive centerline that switches between EMA and SMA based on trendiness, plus a choice of how you measure volatility for the bands.
This makes KC v1 useful for any timeframe—from fast scalps to multi-day swings—because it answers three practical questions on every chart:
Where’s the “middle” of price right now? (the centerline)
How far is “far” for current volatility? (the bands)
Should I fade back to the middle or ride with the expansion? (context from band width + slope)
If you attach screenshots to your script page, show one image labeling Upper / Middle / Lower bands with a classic pullback-to-middle entry, and another showing a band expansion where price hugs the outer band in trend.
What you’re seeing (and how it’s computed)
Middle band (MA):
KC v5 computes both an EMA and an SMA of your source (default close) with the same length, then auto-selects the middle band:
If ATR > SMA(ATR) over length, KC marks the market as trending and uses the EMA (faster, responsive).
Otherwise, it uses the SMA (steadier) in balance.
Result: you get a centerline that’s calm in chop and snappier in trend, without touching settings.
Upper / Lower bands:
upper = middle + (mult × volatility)
lower = middle - (mult × volatility)
You choose the volatility measure via Bands Style:
Average True Range (default): smooth, robust; uses ATR(atrlength). Best all-around choice.
True Range: raw TR each bar (more jumpy; reacts to gaps and spikes quickly).
Range: RMA of (high - low) over length (gentler; good for tight mean-reversion regimes).
Colors & fill:
Upper = red, Lower = green, Middle = white, with muted fill between bands so you can still read candles.
How to use Keltner Channels on any timeframe
Same framework everywhere: trade with the envelope when expanding, fade back to the middle when contracting—but only at objective locations and with healthy flow.
Scalping (1–5m)
Pullback-to-middle entry: In a micro-trend, wait for price to retrace to the middle band and print a hold. Enter with the trend, stop just beyond the opposite side of the middle or below minor structure; first target is the near band.
Band tap fades (only in contraction): When bands are tightening and the middle is flat, quick fades from upper → middle or lower → middle are high-probability if your volume/flow read doesn’t show aggressive pressure against you.
Avoid: Fading when bands expand and middle slopes—expect continuation instead.
Intraday (15m–1H)
Continuation rides: When bands open up (volatility expansion) and the middle slopes, price often walks the outer band. Enter on minor pullbacks that hold above the middle (for longs) and trail using the middle band or a structure stop.
Squeeze to break: A period of narrowing bands often precedes a move. Let price close outside the channel with good flow, then buy the retest toward the middle that holds.
Swing (2H–4H)
Trend participation: In established trends, treat pullbacks to the middle band as your primary entry. The upper/lower band is not a take-profit by itself—use it with Volume Profile targets (POC/HVNs) or key swing levels.
Mean reversion in balance: When the middle is flat and bands are tight over many bars, fade outer band → middle at Volume Profile edges, provided your flow read isn’t showing absorption against your idea.
Position (1D–1W)
Context: Use KC to judge regime (wide bands + slope = trend; tight/flat = balance). Position entries come from pullbacks to middle that coincide with Weekly AVWAP / VP value edges.
Entries, exits, and risk (simple rules)
Trend entry (with expansion):
Wait for band expansion + sloping middle in your direction. Enter on the first clean pullback to middle (or shallow pullback that can’t even tag middle).
Stop: below the middle band or just beyond local swing.
Trail: by the middle band in trend, or step-trail under pivots.
Targets: next Volume Profile HVN/POC or structural levels; the far Keltner band is a context line, not a hard TP.
Mean-reversion entry (in contraction):
Bands tight + flat middle → fade outer band back to middle at a Volume Profile VA edge.
Stop: just beyond the band.
Target: middle band (first), opposite band if flow remains weak.
Breakout confirmation:
A strong close outside the band by itself can be a trap. Treat it as signal only when your flow read confirms (see “Combining with other tools”).
Settings that actually matter (and how to tune them)
MA Length (default 20): controls both middle smoothness and the trending test (ATR vs SMA(ATR)).
Shorter (10–14) reacts faster, more whips in chop.
Longer (30–50) steadier middle, better for swings/position.
Multiplier (default 2.0): scales band distance.
Crypto majors: 1.8–2.2 is a good starting range on 15m–4H.
Volatile alts: 2.2–2.6 to avoid over-triggering.
If you keep getting faked out on fades: increase the multiplier.
If the channel rarely contains price for long stretches: decrease slightly.
Bands Style:
ATR for most use cases;
TR when you want maximum responsiveness to spikes;
Range for calmer envelopes in slow, balanced markets.
ATR Length (default 10): only applies if you choose ATR for band style.
Shorter = quicker band changes, good for scalps;
Longer = steadier bands for swings.
Note: KC v1 auto-selects EMA vs SMA for the middle band using the ATR trend test. That’s intentional, so you don’t have to toggle it manually.
What to look for (pattern cheatsheet)
Walk-the-band: In expansion, price hugs the outer band and barely returns to the middle—ride, don’t fade.
First touch of middle in trend: Often the cleanest add or first entry after a breakout.
Band pinch (“squeeze”): A long, narrow channel with flat middle sets up a breakout. Wait for acceptance (close outside + hold on retest).
False break tell: Price pokes outside band but closes back inside quickly—watch for reversion to middle, especially if your flow read shows Absorption against the poke.
Combining KC v1 with other tools
like the Cumulative Volume Delta v1 (CVDv1):
Do not chase an outside-band move if CVDv1 shows Absorption—that’s a classic failed break.
Prefer pullbacks to the middle band when Alignment = OK and Imbalance % is strong in your direction.
Reclaim setups: after a poke outside the band, a CVD divergence on the return through the middle often precedes a mean-reversion run.
Volume Profile v3.2 :
Use VAH/VAL/LVNs for location. A pullback-to-middle that coincides with VA boundary is A-tier.
Breakouts through LVNs with expanding bands tend to travel fast toward the next HVN/POC—good for continuation targets.
(A great screenshot: KC middle kiss at VAL with CVDv1 Efficient, then a move to POC.)
Common pitfalls KC v1 helps you avoid
Fading expansion: Trying to short the upper band when bands are widening and middle slopes up is how you get steamrolled. KC tells you it’s not that kind of day.
Chasing inside contraction: Buying every tiny outside poke while bands are pinched leads to whips. Let acceptance form; buy the retest to middle that holds.
Stops too tight: In trend, volatility is elevated; stops need to live beyond the middle or behind structure, not right at the band.
Practical defaults to start with
Length: 20
Multiplier: 2.0 (adjust ±0.2–0.4 per asset)
Bands Style: ATR
ATR Length: 10
Timeframes: works out of the box on 15m–4H; for 1–5m scalps, consider length=14; for daily swings, length=30.
Open source & disclaimer
This indicator is provided open source so traders can study, test, and adapt it to their workflow. No tool guarantees outcomes; risk management is essential.
Disclaimer — Not Financial Advice.
The “Keltner Channels v1 ” 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.
DTM 444 BANDS 🚀DTM 444 BANDS 🚀:
The DTM 444 BANDS 🚀 is a powerful, multi-purpose trading indicator combining Supertrend, Dynamic Band Levels, Breakout Signals, and Volume Confirmation to help traders identify high-probability trade setups across different timeframes.
🔧 Key Features
✅ Multi-Timeframe Support
Analyze price action across any timeframe using the Timeframe input.
All band calculations (High, Low, Midline, and Supertrend) are pulled from a higher timeframe for clearer context.
✅ Dynamic Bands Based on Supertrend
High Band: Rolling highest of Supertrend over hiLen period.
Low Band: Rolling lowest of Supertrend over loLen period.
Midline: Midpoint of the above.
Acts like dynamic support/resistance, ideal for trend-following and breakout strategies.
✅ Dual Signal System
Breakout Signals (Buy and Sell): Triggered when price breaks the bands with volume confirmation.
Supertrend Crossover Signals (Buy1 and Sell1): Classic momentum entries with a confirmation twist.
Exit Signals: Optional take-profit/neutral indicators when price reverses.
✅ Volume Confirmation Filter (Optional)
Only triggers signals if the volume exceeds its 20-period SMA.
Helps filter out false breakouts and weak trends in low-liquidity periods.
✅ Visual Enhancements
Color-coded candles based on band positioning (e.g., red = weak, green = strong, etc.)
On-chart labels for each signal for quick reference.
Real-time Signal Dashboard using Pine Script tables showing:
Current signal
Volume filter status
Live volume vs volume SMA
🧪 Practical Use Cases
Trend Traders: Use the Supertrend cross and band breakouts to ride trends early.
Breakout Traders: Catch high-probability moves outside established ranges.
Swing Traders: Time entries and exits using color-coded bars and exit labels.
Volume-Sensitive Traders: Focus on trades with strong volume backing.
📊 Backtest Snapshot
Based on the example chart for Reliance Industries (RELIANCE.NS) on the weekly timeframe:
Several profitable buy and breakout signals during uptrends.
Timely exits and breakdown alerts before reversals.
Volume filter keeps trades clean and avoids noise.
⚙️ Customizable Parameters
High Length and Low Length (default: 19)
Supertrend Multiplier and ATR Length
Volume Filter: Toggle ON/OFF
Volume SMA Length: Default 20
Custom Timeframe: Choose any higher timeframe for multi-timeframe analysis
📢 Alerts Ready
Fully integrated with TradingView alerts:
Breakout & Breakdown
Supertrend crossovers
All alerts respect the volume filter setting
🏁 Final Thoughts
DTM 444 BANDS 🚀 is a versatile and adaptive trading system that blends trend analysis, volatility bands, and volume validation. Whether you're a trend trader, breakout hunter, or swing trader — this tool gives you a structured edge with clear visual cues and real-time alerts.
3SMA (1H only) by tophengzkyThis script plots three Simple Moving Averages (SMA 10, 20, 50), but they are only visible when the chart timeframe is set to 1 hour (1H).
It helps traders focus on higher timeframe trend direction without cluttering charts on other timeframes.
SMA1 = 10 (white)
SMA2 = 20 (yellow)
SMA3 = 200 (red)
Works only on 1H timeframe
Useful for swing traders and intraday traders who rely on hourly trend confirmation.
why 1 hr only? the only purpose of this is just to know the bias of the market weather it will reverse or it will continue the trend. As long as the price action did not cross this 3 SMA's the trend will continue.
as a trend trader it is very useful this strategy.. make it simple!
💎DrFX Diamond Algo 💎Diamond Algo - Multi-Feature Trading System
Advanced trading system combining Supertrend signals with multiple confirmation filters, risk management tools, and a comprehensive market analysis dashboard.
═══ CORE FEATURES ═══
• Smart Buy/Sell signals using modified Supertrend algorithm
• Multi-timeframe trend analysis (M1 to D1)
• Support & Resistance zone detection
• Risk management with automatic TP/SL levels (1:1, 2:1, 3:1)
• Real-time market dashboard with key metrics
• Multiple trend cloud overlays for visual confirmation
═══ SIGNAL GENERATION ═══
BUY Signal:
• Supertrend bullish crossover
• Price above SMA filter
• Optional smart signals (EMA 200 confirmation)
SELL Signal:
• Supertrend bearish crossunder
• Price below SMA filter
• Optional smart signals (EMA 200 confirmation)
═══ DASHBOARD COMPONENTS ═══
• Multi-timeframe trend status (8 timeframes)
• Current position indicator
• Market state analysis (Trending/Ranging/No trend)
• Volatility percentage
• Institutional activity monitor
• Trading session tracker (NY/London/Tokyo/Sydney)
• Trend pressure indicator
═══ VISUAL OVERLAYS ═══
• Trend Cloud: Long-term trend visualization
• Trend Follower: Adaptive trend line
• Comulus Cloud: Dual ALMA-based trend zones
• Cirrus Cloud: Short-term trend bands
• Smart Trail: Fibonacci-based trailing stop
• Dynamic trend lines with breakout alerts
═══ RISK MANAGEMENT ═══
• Automatic Stop-Loss placement (ATR-based)
• Three Take-Profit levels with Risk:Reward ratios
• Entry price labeling
• Optional distance and decimal customization
• Visual lines connecting entry to targets
═══ INPUT PARAMETERS ═══
Sensitivity (1-20): Controls signal frequency
Smart Signals Only: Filters for high-probability setups
Bar Coloring: Trend-based or gradient coloring
Dashboard Location/Size: Customizable placement
Multiple overlay toggles for clean charts
═══ BEST PRACTICES ═══
• Lower sensitivity (1-5) for swing trading
• Higher sensitivity (10-20) for scalping
• Enable Smart Signals for conservative approach
• Use dashboard to confirm multi-timeframe alignment
• Monitor volatility % before entering trades
═══ ALERT CONDITIONS ═══
• Buy Alert: Triggered on bullish signal
• Sell Alert: Triggered on bearish signal
• Trend line breakout alerts (automated)
═══ VERSION INFO ═══
Pine Script: v5
Max Labels: 500
Repainting: Minimal (uses confirmed bars for signals)
```
Liquidity Spectrum Visualizer [BigBeluga] [Optimized]This version of Liquidity Spectrum Visualizer (© BigBeluga) has been optimized to improve execution speed and reduce script load times without altering the visual output or analytical logic of the original indicator. The key improvements focus on reducing computational complexity, eliminating redundant calculations, and minimizing expensive function calls within loops.
Core Optimization Changes
Single-Pass Volume Binning (O(N) instead of O(N×M))
Original: For each bin (100) the script iterated through every bar (lookback), resulting in ~20,000 operations.
Optimized: Each bar is processed once to directly calculate its bin index. This reduces the loop complexity from O(N×M) to O(N), where N = lookback.
Precomputed Min/Max Values
Original: array.min() and array.max() were repeatedly called inside loops, re-scanning arrays hundreds of times.
Optimized: Min and max are computed once before all calculations and reused, reducing computational overhead.
Reduced Label Creation
Original: Labels were created in every iteration, potentially hundreds of times per update — a very expensive operation in Pine.
Optimized: Only two labels are created for significant high and low levels, cutting down label calls by ~99%.
Efficient Resource Management
All boxes and lines are cleared once before re-rendering instead of being deleted individually inside nested loops.
Optional gradient rendering and POC drawing remain, but only after binning is complete.
Performance Evaluation
The most important change is the reduction of loop complexity — instead of performing around 20,000 iterations per update, the optimized version now processes only about 200. This reduces execution time and makes the indicator much lighter.
Function calls such as min() and max() are now calculated only once instead of hundreds of times, which removes unnecessary overhead. Likewise, label creation has been reduced from hundreds of labels per refresh to just two, further improving performance.
As a result, the average loading time of the indicator dropped from roughly 1.5–3 seconds to about 0.05–0.2 seconds on typical datasets.
自定义均线(多色 & 分级线宽)Title: Multi-Color Moving Average Suite (MA5…MA4320) — Pine v6
Summary (1–2 lines):
An overlay indicator that plots a full ladder of SMA lines from MA5 up to MA4320. Each MA has a unique color, and line width scales with period (short = thin, mid = medium, long = thick) to make trend structure easy to read at a glance.
What it does
• Plots 16 simple moving averages: 5, 10, 20, 30, 60, 120, 160, 240, 480, 720, 960, 1440, 1750, 2880, 4320.
• Distinct colors for every MA to avoid confusion when lines cluster.
• Period-based thickness:
• Short-term (<60) = thin,
• Mid-term (60–160) = medium,
• Long-term (≥240) = thick (capped; no unlimited growth).
• Designed for quick trend reading across intraday to multi-year cycles (especially useful for 24/7 markets like crypto).
How to use
1. Add the indicator to any chart (works on all symbols/timeframes).
2. Use the thin/medium/thick visual hierarchy to identify short-/mid-/long-term bias and crossovers.
3. On very low timeframes, consider hiding some ultra-long MAs if your chart has insufficient history.
Notes
• Built with Pine Script v6; uses ta.sma(close, length) only (no repainting).
• Very long MAs (e.g., 2880/4320) require enough bars; they will display na until sufficient history loads.
• No inputs/alerts by default—kept intentionally simple for clarity. (Easy to extend with toggles, custom colors, EMA/WMA options, alerts, etc.)
Credits
Author: TraderFinsher (customized multi-MA visualization with color and thickness hierarchy).
⸻
标题: 多色均线系统(MA5…MA4320)— Pine v6
摘要(1–2 句):
这是一个叠加在价格上的 SMA 均线组,从 MA5 到 MA4320。为每条均线设置了 独立颜色,并按 周期长度分级线宽(短=细、中=中等、长=较粗),让趋势结构一眼可读。
功能说明
• 绘制 16 条简单移动平均线:5、10、20、30、60、120、160、240、480、720、960、1440、1750、2880、4320。
• 全部不同颜色,避免密集时混淆。
• 线宽随周期分级:
• 短期(<60)= 细,
• 中期(60–160)= 中等,
• 长期(≥240)= 粗(封顶,不再无限加粗)。
• 适合从日内到多年周期的 趋势快速判读(对加密等 24/7 市场尤为友好)。
使用建议
1. 将指标添加到任意品种/周期。
2. 结合细/中/粗的视觉层级,判断短/中/长趋势与均线交叉。
3. 在较低周期下,如果历史数据不足,可隐藏部分超长均线。
注意事项
• 使用 Pine v6,仅调用 ta.sma(close, length),不重绘。
• 超长均线需要足够历史数据,未满足前会显示 na。
• 默认不含参数和告警,追求简洁清晰(后续可扩展开关、自定义颜色/线宽、EMA/WMA 选项与告警等)。
致谢
作者:TraderFinsher(基于颜色与线宽层级的多均线可视化)。
Atlantean Sideways / Range Regime DetectorPurpose
When using trend based indicators, you can skip the false signals when there is a sideways action, protecting you from the false signals.
Flags likely sideways/range phases using three checks:
Weak trend (ADX from DMI)
Price compression (Bollinger Band Width, normalized)
Low volatility (NATR = ATR/Price%)
Logic
isSideways = (ADX < adxThresh) AND (bbNorm < 0.25) AND (NATR < natrMax)
When true: bars + background turn teal and a provisional Range High/Low (rolling rangeWin) is drawn.
Key Inputs
DMI: diLen(22)
Optimized for 15 mins Bitcoin, could change it to 14 for more general approach
ADX: adxSmooth(14), adxThresh(18)
Volatility: lenATR(14), natrMax(1.8)
Visuals: rangeWin(20), bar/range toggles
Quick Tuning
More signals: raise adxThresh to 20–25, raise natrMax to 2.5–4.0, increase BB cutoff by editing bbNorm < 0.25 --> 0.35–0.50.
Smoother range lines: increase rangeWin to 30–40.
Use Cases
Mean reversion inside teal ranges.
Breakout prep when price closes outside the drawn range after teal ends. Could be used as a signal although not suggested.
Filter trend systems: skip trades when sidewaysCond is true. This is the main purpose, for it to be combined with trend based indicators, like Supertrend.
Alert
“Sideways Detected” triggers when isSideways is true.
Script could be expanded upon your requests.
Mongoose Oscillator Lab — Pro v4 (weighted RSI/Stoch/MFI, div.Description (short)
Weighted composite oscillator that blends RSI, Stoch%K, and MFI into a single –100…+100 line with zero-center area fill, signal line, momentum histogram, BB-inside-Keltner squeeze, optional bull/bear divergence, MTF confirmation and a compact value/weight dashboard.
How to use
Trade in the direction of the regime strip; use green/red dots to time entries.
Prefer divergences that agree with the regime and (optionally) a higher-TF gate.
In compression (yellow dots), wait for squeeze release.
Method
Each input (RSI/Stoch/MFI) is normalized (0–100), blended by weights, then mapped to –100…+100.
Signals use EMA smoothing + band thresholds (±60 default).
Divergence is pivot-based (L/R = 5/5 by default).
Squeeze = BB width < Keltner width on 20 bars.
Suggested defaults
Lengths: RSI 14, Stoch 14, MFI 14, Smooth 9, Signal 18, MomZ 20
Weights: 1 / 1 / 1 (set any to 0 to exclude)
Bands: ±60 (tight) or ±70/80 (stricter)
MTF Gate: blank (off) or W to require osc > 0 for longs, < 0 for shorts
Notes
Indicator only (no orders). Educational use; not financial advice.
Mongoose Compass v2 — Regime & Position SizingWhat it does
Mongoose Compass v2 is a regime‐detection dashboard and optional price-chart ribbon. It combines four market “pillars” into a 0–4 score and a suggested equity beta/position size. It is scale-independent and works on any host symbol.
Pillars (green = expansion supportive):
RS IWM/SPY – small-cap relative strength vs large caps
Credit HYG/LQD – high-yield vs investment-grade credit
Growth Cu/Au – copper vs gold (cyclical demand vs safety)
Participation – uses the first available of:
Breadth (% > 200-DMA) if you provide a symbol, else
Cboe S&P 500 Dispersion (DSPX), else
RSP/SPY equal-weight proxy
Score (0–4):
≥ 3 = Expansion
2 = Neutral
≤ 1 = Contraction
A panel shows each pillar’s normalized value (0–100), bias, total score, and a suggested size (default mapping: 0/30/60/90/100% for scores 0–4). The companion “Ribbon” script paints the price chart background by regime and displays the suggested size.
How to use
Timeframes
Weekly for regime calls (recommended anchor).
Daily for execution within the active regime (adds, trims, hedges).
Playbook
Expansion (score ≥ 3): increase risk/beta; favor cyclicals, small caps, EM; reduce hedges.
Neutral (score = 2): keep moderate beta; use relative value (e.g., quality/mega vs small caps) until RS or Cu/Au turns.
Contraction (score ≤ 1): de-risk; rotate to defensives/quality, gold/long duration; add hedges.
Alerts (included):
Expansion Regime (score ≥ 3) – risk-on trigger
Contraction Regime (score ≤ 1) – risk-off trigger
Methodology
Prices are pulled with request.security on the chosen timeframe.
Pillars are built from ratios then smoothed with an SMA (Smoothing Length, default 20).
For display/comparison, series are normalized to 0–100 within a rolling window (Normalization Length, default 60).
Bias rules:
RS / Credit / Growth: fast SMA( len ) vs slow SMA( len*2 ) of each ratio
Breadth: normalized value > 60
DSPX: normalized value < 40 (lower dispersion supports index coherence)
RSP/SPY proxy: fast > slow trend test
Score is the count of green pillars (0–4).
Suggested size is a deterministic mapping from score (editable in settings).
Notes:
Host chart scaling (log vs linear) does not affect calculations.
If a breadth series is unavailable, the script automatically falls back to DSPX, then to RSP/SPY.
Settings
Sources
Default inputs use liquid ETFs (BATS/AMEX). You may switch Copper/Gold to futures (e.g., COMEX_DL:HG1!, COMEX_DL:GC1!) if your data plan supports them.
Optional Breadth: paste a percent-above-MA series if you have one.
DSPX: uses CBOE:DSPX when breadth is blank.
If neither breadth nor DSPX resolve, the script uses RSP/SPY as a participation proxy.
Calculation
Smoothing Length (20) – higher = steadier regime, fewer flips; lower = faster reaction.
Normalization Length (60) – window for the 0–100 scaling; increase to reduce pinning at extremes.
Regime Timeframe (Ribbon only) – lock the ribbon to Weekly while viewing Daily charts.
Visual
Show/hide dashboard table, choose table position, dark/light theme, ribbon opacity.
Recommended usage
Anchor decisions on Weekly Compass; use Daily for timing.
For small-cap rotation, apply on IWM/RTY; for broad beta, use SPY/ES. Output is identical regardless of host symbol because inputs are fetched internally.
Limitations & disclaimer
This is a systematic information tool, not investment advice.
Signals can whipsaw in fast markets; confirm with your risk framework.
Data availability varies by plan (especially futures and DSPX). When a source is unavailable the scripted fallbacks apply automatically.
Swing Dashboard - Pro Trader Metrics with MTF & Enhanced VolumeDESCRIPTION:
A comprehensive real-time dashboard designed for swing traders and active investors trading US equities. Displays all critical metrics in one customizable panel overlay - no need to clutter your chart with multiple indicators.
KEY FEATURES:
📊 Relative Strength Analysis:
Stock vs Market (SPY/QQQ/IWM/DIA)
Stock vs Sector (automatic sector ETF detection)
Sector vs Market comparison
Customizable lookback period (5-60 days)
📈 Price & Range Metrics:
Daily range, change, and gap percentages
Distance from SMA20, SMA50, VWAP
52-week position percentage
ATR% and ADR% for volatility assessment
Range/ADR ratio for breakout detection
💪 Advanced Volume Analysis:
RVOL (full day volume vs 20-day average)
Volume Strength (bar-by-bar analysis)
Volume Trend (5-day vs 20-day momentum)
Customizable RVOL alert thresholds
Non-repainting volume calculations
⚙️ Multi-Timeframe (MTF) Mode:
View daily charts with 5-min or 15-min metric updates
Perfect for monitoring positions without switching timeframes
All calculations remain accurate across timeframes
🎨 Fully Customizable:
Choose which metrics to display
9 position options for the dashboard
Adjustable text size and colors
Toggle individual metrics on/off
Sector-specific ETF mapping for accurate RS calculations
TECHNICAL SPECIFICATIONS:
✅ Non-repainting - all calculations use confirmed bar data
✅ No lookahead bias or future data
✅ Optimized for US stocks with proper sector mapping
✅ Works on any timeframe (best on 5m-Daily)
✅ Pine Script v6 with best practices
✅ Handles edge cases and missing data gracefully
IDEAL FOR:
Swing traders monitoring multiple positions
Day traders needing quick metric overview
Investors tracking relative strength and momentum
Anyone who wants institutional-grade metrics in one place
SECTOR ETF MAPPING:
Automatically maps to correct sector ETFs: XLK, XLF, XLV, XLY, XLP, XLE, XLB, XLI, XLRE, XLC, XLU
HOW TO USE:
Green = Positive/Strong | Red = Negative/Weak | White = Neutral
RS > 0 = Outperforming benchmark/sector
RVOL > 1.5x = High volume day
VWAP% negative = Price below VWAP (mean reversion opportunity)
R/ADR > 100% = Extended range (potential exhaustion)
Perfect for traders who need professional-grade analysis without chart clutter.
TAGS:
dashboard, swing, relativestrengrh, sectoranalysis, volume, rvol, multitimeframe, mtf, tradingdashboard, metrics, daytrading, swingtrading, momentum, vwap, atr, volatility, volumeanalysis