FeroAlgoFeroAlgo is an advanced buy-sell signal algorithm that combines multi-trend filtering, Supertrend, SMA, and EMA for high-accuracy trade setups.
Main Features:
Supertrend-Based Signals → Detects short-term trend breakouts.
SMA Filter → Uses SMA11 to filter the short-term market direction.
EMA200 Trend Filter → Strengthens signals in the direction of the main trend.
Trend Ribbon & EMA Cloud → Visual trend tracking for better clarity.
RSI-Based Coloring → Highlights overbought/oversold zones via background and candle colors.
Multi-Timeframe Dashboard → Displays trend direction across multiple timeframes (3m, 5m, 15m, 1H, 4H, Daily, etc.).
Signal Types:
Trend Buy / Trend Sell → Strong signals aligned with the main trend.
Buy / Sell → Reversal signals against the main trend.
Usage Tips:
Trend Buy/Sell signals tend to provide more reliable entries in the trend’s direction.
Combine RSI background colors to identify overbought/oversold zones and reduce risk.
Use the dashboard to confirm trend direction across multiple timeframes before entering a trade.
Disclaimer: This script is for technical analysis purposes only. It is not financial advice.
Bantlar ve Kanallar
Previous Day High/Low & VWAPprevious day and high and low line help you resistance and support on day trading with vwap as center of the price
Trivium — Trend Bands (EMA/SMA) [SiDec]Trivium renders three layered moving-average “strata” — Fast, Mid, and Macro — as dynamic channels. Each band is formed by the min/max envelope of EMA and/or SMA over a user-defined length range, so you see a zone rather than a single line. The script also computes signal quality in real time via:
Compression (Squeeze) — how coiled price is, based on the percentile of average band width over a lookback window.
Alignment Score (0–100) — how cleanly Fast, Mid, and Macro are ordered and separated, normalised by ATR.
Opacity is adaptive, darkening when a band is historically tight (high signal quality) and lightening when wide.
Visual structure
Three stratified bands
Fast band — momentum and early trend shifts.
Mid band — core direction filter and pullback zone.
Macro band — structural trend & dynamic S/R.
Each band uses:
Lower edge = min(EMA, SMA) across the chosen length.
Upper edge = max(EMA, SMA) across the chosen length.
This “envelope of MAs” makes a dynamic channel that adapts to volatility and avoids the single-line whipsaw look.
Edge & fill behaviour
Edge Line Width (edgeW): set to 0 to hide edges
Fills: use a chosen colour per band, with opacity controlled by your selected mode (Fixed / ATR / Percentile).
Soft Gradient (optional): adds one inner layer per band for a modern, depthy look.
Transparency modes (how opacity is decided)
You choose how band opacity responds to market conditions:
1. Fixed
Uses the three fixed opacities (Fast/Mid/Macro Opacity (Fixed)).
2. ATR
Opacity = function of (band width ÷ ATR × Scale).
Tighter than ATR ⇒ darker, wider ⇒ lighter.
3. Percentile (Adaptive Theme) — default
Opacity = percentile rank of current band width vs its own last pctLen bars.
If today’s width is in the bottom 10% of the last N bars → dark, a potential squeeze.
Smart signal quality
Compression (Squeeze)
avgWidth = mean of (Fast width, Mid width, Macro width).
compPct = ta.percentrank(avgWidth, compLen) → 0..100%
Squeeze when compPct <= compThresh (e.g., lowest 20% widths over the lookback).
Optional alert: “Trivium: Squeeze”.
How to use: a squeeze often precedes expansion. Watch for breakouts from the Fast or Mid band after a squeeze, or for alignment improving while compPct stays low.
Alignment Score (0–100)
Checks ordering (Fast>Mid>Macro bullish or Fast70 suggests a structured trend; combine with pullbacks into the Mid band for continuation entries, or with squeezes for breakouts.
Trading workflows (practical)
Breakout from Squeeze
Look for Squeeze alert + opacity darkening (Percentile mode).
Wait for a decisive close through the Fast band and improving Alignment Score.
Plan stops beyond the opposite Fast edge or an ATR multiple.
Trend Continuation
Alignment Score ≥ threshold, proper ordering present.
Look for pullbacks into the Mid band; enter with trend.
Exit partials at the opposite Fast or Mid edge; trail via Mid midline.
Structural Reversal Attempts
Macro band gets tested/violated.
Score begins improving from low readings while Percentile opacity darkens.
Early entries near Fast; confirmation when Mid ordering flips.
Examples
💡 Note:
Trivium is best used with confluence — volume, price action, and market context. It is not a standalone signal generator.
RiffleFX MA Trend RibbonThe RiffleFX MA Trend Ribbon is a simple but powerful trend-following tool for all markets and timeframes.
Features:
• Dual Moving Averages (SMA or EMA, customizable)
• Trend-based background coloring (Green = Bullish, Red = Bearish)
• BUY/SELL arrows on MA crossovers
• Works with Forex, Crypto, Stocks, Indices, and Commodities
How to use:
• Green background + BUY arrow → Look for long trades
• Red background + SELL arrow → Look for short trades
• Best combined with support/resistance and price action for confirmation
RiffleFX MA Trend RibbonThe RiffleFX MA Trend Ribbon is a simple yet powerful trend-following tool.
It uses two customizable moving averages (SMA or EMA) to:
• Highlight bullish and bearish trends with colored backgrounds.
• Show BUY/SELL arrows on MA crossovers.
• Work on any market and timeframe, including XAUUSD & BTCUSD.
How to use:
• Green background + BUY arrow → look for long opportunities.
• Red background + SELL arrow → look for short opportunities.
• Works best when combined with support/resistance or price action.
RiffleFX MA Trend RibbonThe RiffleFX MA Trend Ribbon is a simple yet powerful trend-following tool.
It uses two customizable moving averages (SMA or EMA) to:
• Highlight bullish and bearish trends with colored backgrounds.
• Show BUY/SELL arrows on MA crossovers.
• Work on any market and timeframe, including XAUUSD & BTCUSD.
How to use:
• Green background + BUY arrow → look for long opportunities.
• Red background + SELL arrow → look for short opportunities.
• Works best when combined with support/resistance or price action.
Stoch Signals with EMA, Level Filter & Slope ThresholdDescription – "Stoch Signals with EMA, Level Filter & Slope Threshold"
This TradingView indicator generates buy and sell signals based on Stochastic oscillator crossovers with additional filtering for better accuracy.
Core Logic
Stochastic Oscillator Crossovers
Buy signal: %K line crosses above %D line
Sell signal: %K line crosses below %D line
EMA50 Trend Filter (optional)
If enabled, only buys when price is above the 50-period EMA, and only sells when below it.
Level Filter & Positive Slope Override
Normally, buys only trigger when %D is below 50 (oversold or mid-zone).
However, if %D’s slope is rising strongly (above your chosen threshold), buys can occur even if %D > 50.
Sells only trigger when %D is above 50 (overbought zone).
Bar Close Confirmation
Avoids repainting by confirming signals only after the bar closes (optional).
Plots
EMA50 on chart
Buy/Sell markers at signal bars
Optional %K and %D plots overlaid on the price chart
ABS NR — Fail-Safe Confirm (v4.2.2)
# ABS NR — Fail-Safe Confirm (v4.2.2)
## What it is (quick take)
**ABS NR FS** is a **non-repainting “arm → confirm” entry framework** for intraday and swing execution. It blends:
* **Regime** (EMA stack + 60-min slope),
* **Location** (Keltner basis/edges),
* **Stretch** (session-anchored **VWAP Z-score**),
* **Momentum gating** (TSI cross/slope),
* **Guards** (session window, minimum ATR%, gap filter, optional market alignment).
You’ll see a **small dot** when a setup is **armed** (candidate) and a **triangle** when that setup **confirms** within a user-defined number of bars. A **gray “X”** marks a timeout (candidate canceled).
> Tip: This entry tool works best when paired with a trend context filter and a dedicated exit tool.
---
## How to use it (operational workflow)
1. **Read the regime**
* **Bull trend**: fast > slow > long EMA **and** 60-min slope up.
* **Bear trend**: fast < slow < long EMA **and** 60-min slope down.
* **Range**: neither bull nor bear.
2. **Wait for a candidate (dot)**
Two families:
* **Reclaim (trend-following):** price crosses the **KC basis** with acceptable |Z| (not overstretched) and passes the TSI gate.
* **Fade (range-revert):** price **pokes a KC band**, prints a **reversal wick**, |Z| is stretched, and TSI gate agrees.
3. **Trade the confirmation (triangle)**
The confirm must occur **within N bars** and follow your chosen **Confirm mode** logic (see Inputs). If confirmation doesn’t arrive in time, an **X** cancels the candidate.
4. **Use guards to avoid junk**
Session windows (US focus), minimum ATR%, gap guard, and optional **market alignment** (e.g., SPY above EMA20 for longs).
5. **Manage the position**
* Entries: take **triangles** in the direction of your playbook (reclaims with trend; fades in clean ranges).
* Filters and exits: use your own process or pair with a trend/exit companion.
---
## Visual semantics & alerts
* **Candidate L / S (dot)** → a setup armed on this bar.
* **CONFIRM L / S (triangle)** → actionable signal that met confirm rules within your time window.
* **Cancel L / S (X)** → candidate expired without confirmation; ignore the dot.
**Alerts (stable names for automation):**
* **ABS FS — Confirmed** → fires on confirmed long or short.
* **ABS FS — Candidate Armed** → fires as a candidate arms.
---
## Non-repainting behavior (why signals don’t repaint)
* All HTF requests use **lookahead\_off**.
* With **Strict NR = true**, the 60-min slope uses the **prior completed** 60-min bar and arming/confirming only occurs on confirmed bars.
* Confirmation triangles finalize on bar close.
* If you disable strictness, signals may appear slightly earlier but with more intrabar sensitivity.
---
## Inputs reference (what each control does and the trade-offs)
### A) Behavior / Modes
**Mode** (`Turbo / Aggressive / Balanced / Conservative`)
Changes multiple internal thresholds:
* **Turbo** → most signals; relaxes prior-bar break & VWAP-side checks and time/vol/gap guards. Highest frequency, highest noise.
* **Aggressive** → more signals than Balanced, fewer than Turbo.
* **Balanced** → default; steady trade-off of frequency vs. quality.
* **Conservative** → tightens |Z| and other checks; fewest but cleanest signals.
**Strict NR (bar close + prior HTF 60m)**
* **true** = safer: uses prior 60-min slope; arms/confirms on confirmed bars → **fewer/cleaner** signals.
* **false** = earlier and more reactive; slightly noisier.
---
### B) Keltner Channel (location engine)
* **KC EMA Length (`kcLen`)**
Higher → smoother basis (fewer basis crosses). Lower → snappier basis (more crosses).
* **ATR Length (`atrLen`)**
Higher → steadier band width; Lower → more reactive band width.
* **KC ATR Mult (`kcMult`)**
Higher → wider bands (fewer edge pokes → fewer fades). Lower → narrower (more fades).
---
### C) Trend & HTF slope
* **Trend EMA Fast/Slow/Long (`emaFastLen / emaSlowLen / emaLongLen`)**
Larger = slower regime flips (fewer reclaims); smaller = faster flips (more reclaims).
* **HTF EMA Len (60m) (`htfLen`)**
Larger = steadier HTF slope (fewer signals); smaller = more sensitive (more signals).
---
### D) VWAP Z-Score (stretch / mean-revert logic)
* **VWAP Z-Length (`zLen`)**
Window for Z over session-anchored VWAP distance. Larger = smoother |Z| (fewer fades/re-entries). Smaller = more reactive (more).
* **Range Fade |Z| (base) (`zFadeBase`)**
Minimum |Z| to allow **fades** in ranges. Raise to demand more stretch (fewer fades). Lower to take more fades.
* **Max |Z| Trend Re-entry (base) (`maxZTrendBase`)**
Caps how stretched price can be and still permit **reclaims** with trend. Lower = stricter (avoid chases). Higher = will chase further.
---
### E) TSI Momentum Gate
* **TSI Long/Short/Signal (`tsiLong / tsiShort / tsiSig`)**
Larger = smoother/laggier momentum; smaller = snappier.
* **TSI gate (`CrossOnly / CrossOrSlope / Off`)**
* **CrossOnly**: require TSI cross of its signal (strict).
* **CrossOrSlope**: cross *or* favorable slope (balanced default).
* **Off**: no momentum gate (most signals, most noise).
---
### F) Guards (filters to avoid low-quality tape)
* **US focus 09:35–10:30 & 14:00–15:45 (base) (`useTimeBase`)**
`true` limits to high-quality windows. `false` trades all session.
* **Skip N bars after 09:30 ET (`skipFirst`)**
Skips the open scramble. Larger = skip longer.
* **Min volatility ATR% (base)** = `useVolMinBase` + `atrPctMinBase`
Requires `ATR(10)/Close*100 ≥ atrPctMinBase`. Raise threshold to avoid dead tape; lower to accept quieter sessions.
* **Gap guard (base)** = `gapGuardBase` + `gapMul`
Blocks signals when the opening gap exceeds `gapMul * ATR`. Increase `gapMul` to allow more gapped opens; decrease to be stricter.
---
### G) Visuals & Sides
* **Plot Keltner (`plotKC`)** → show/hide basis & bands.
* **Show Longs / Show Shorts** → enable/disable each side.
---
### H) Fail-Safe Confirmation
* **Confirm mode (`BreakHighOnly / BreakHigh+Hold / TwoBarImpulse`)**
* **BreakHighOnly**: confirm by taking out the armed bar’s extreme. Fastest, most frequent.
* **BreakHigh+Hold**: must **break**, have **body ≥ X·ATR**, **and** hold above/below the basis → higher quality, fewer signals.
* **TwoBarImpulse**: decisive follow-through vs. prior bar with **body ≥ X·ATR** → momentum-biased confirmations.
* **Confirm within N bars (`confirmBars`)**
Confirmation window size. Smaller = faster validation; larger = more patience (can be later).
* **Impulse body ≥ X·ATR (`impulseBodyATR`)**
Raise for stronger confirmations (fewer weak triangles). Lower to accept lighter pushes.
* **Require market alignment (`needMarket`) + `marketTicker`**
When enabled: Longs require **market > EMA20 (5m)**; Shorts require **market < EMA20 (5m)**.
* **Diagnostics: Show debug letters (`debug`)**
Tiny “B/C” audit marks for base/confirm while tuning.
---
## Tuning recipes (quick, practical)
* **If you’re getting chopped:**
* Set **Mode = Conservative**
* **Confirm mode = BreakHigh+Hold**
* Raise **impulseBodyATR** (e.g., 0.45)
* Keep **needMarket = true**
* Keep **Strict NR = true**
* **If you need more signals:**
* **Mode = Aggressive** (or Turbo if you accept more noise)
* **Confirm mode = BreakHighOnly**
* Lower **impulseBodyATR** (0.25–0.30)
* Increase **confirmBars** to 3
* **Range-day focus (fades):**
* Keep session guard on
* Raise **zFadeBase** to demand real stretch
* Keep **maxZTrendBase** moderate (don’t chase)
* **Trend-day focus (reclaims):**
* Slightly **lower `maxZTrendBase`** (avoid chasing excessive stretch)
* Use **CrossOrSlope** TSI gating
* Consider turning **needMarket** on
---
## Best practices & notes
* **Instrument specificity:** Tune Z, TSI, and guards per symbol and timeframe.
* **Session awareness:** Session filter uses **exchange-local** time; adjust for non-US markets.
* **Automation:** Use the two provided alert names; they’re stable.
* **Risk management:** Confirmation improves quality but doesn’t remove risk. Always pre-define stop/size logic.
---
## Suggested starting point (balanced profile)
* **Mode = balanced**
* **Strict NR = true**
* **Confirm mode = BreakHigh+Hold**
* **confirmBars = 2**
* **impulseBodyATR ≈ 0.35**
* **needMarket = off** (turn on for extra confluence)
* Leave Keltner/TSI defaults; then nudge `zFadeBase` and `maxZTrendBase` to match your symbol.
---
*This tool is a signal generator, not a broker or strategy. Validate on your markets/timeframes and integrate with your risk plan.*
Stoch Signals with EMA, Level Filter & Slope ThresholdDescription – "Stoch Signals with EMA, Level Filter & Slope Threshold"
This TradingView indicator generates buy and sell signals based on Stochastic oscillator crossovers with additional filtering for better accuracy.
Core Logic
Stochastic Oscillator Crossovers
Buy signal: %K line crosses above %D line
Sell signal: %K line crosses below %D line
EMA50 Trend Filter (optional)
If enabled, only buys when price is above the 50-period EMA, and only sells when below it.
Level Filter & Positive Slope Override
Normally, buys only trigger when %D is below 50 (oversold or mid-zone).
However, if %D’s slope is rising strongly (above your chosen threshold), buys can occur even if %D > 50.
Sells only trigger when %D is above 50 (overbought zone).
Bar Close Confirmation
Avoids repainting by confirming signals only after the bar closes (optional).
Plots
EMA50 on chart
Buy/Sell markers at signal bars
Optional %K and %D plots overlaid on the price chart
Tradebot Panel V78 Tradebot Panel V78: A Decision-Making Tool
Tradebot Panel V78 is a simple and effective tool designed to support your trading decisions. This indicator analyzes market data to provide you with clear signals like "BUY", "SELL", and "HOLD".
The signals are based on a specially designed evaluation system to filter out short-term fluctuations and produce more reliable results. A "FAST SELL" signal, in particular, has been added to help you exit a position quickly when a sudden sign of weakness appears in the market.
In short, the V78 panel simplifies market monitoring and provides you with a clear roadmap for making more informed trading decisions. Its purpose is to provide reliable and easy-to-understand information to enhance your trading strategy.
Trend Tabanlı Envelope Kanal + SinyallerTrend-Based Automatic Channel and Signal Indicator
This indicator offers a trend-based channel system developed based on the Envelope Channels logic. It dynamically determines the upper and lower bands of the trend in which the price is moving, and in the middle of the channel, there are supporting lines based on SMA, EMA, and ATR that follow the price step by step.
Key features:
Automatic color change based on trend direction (green = uptrend, red = downtrend)
Clearly identify trading opportunities with Buy/Sell signals
Avoid missing strong trend changes with automatic trend breakout detection
Minimalist design → Clean, focused appearance free from clutter
This indicator combines both trend tracking and channel breakout strategies into a single tool, providing a clear analysis experience.
Galti ProThis script is a trend-following strategy combining a custom Supertrend indicator based on Keltner Channels with an EMA crossover trend filter. It enters long positions when both Supertrend and EMA trends indicate bullishness, and enters short positions when both indicate bearishness. It visually highlights entries with chart labels and colors candles to reflect the current position.
The swapping of typical Supertrend colors (red for uptrend, green for downtrend) is unusual and probably intentional to match your preferences.
FiBB ATR Bands + Dual MAs (Fully Customizable)This script combines Fibonacci ATR deviation bands with two fully customizable moving averages for cross & fill visualization.
Features:
Two cross/fill lines — each can be SMA or EMA, independent source, length, color, and width.
Custom fill between MAs:
Single color or directional (up/down) fill modes.
Fibonacci ATR Bands:
Basis line can be SMA or EMA.
Option to use separate ATR length for band width calculations.
Three Fib ratios (×ATR) with independent on/off toggles for upper and lower lines (6 switches total).
Independent colors for each upper and lower deviation line.
Clean plotting — hides unused elements when toggled off, minimal visual clutter.
Intended use:
Track mean reversion & volatility levels with ATR-based Fib deviations.
Monitor MA crossovers visually with customizable fills.
Flexible enough for swing trading, intraday scalping, or higher timeframe trend analysis.
All-Time High/Low Levels with Dynamic Price Zones📈 All-Time High/Low Levels with Dynamic Price Zones — AlertBlake
🧠 Overview:
This powerful indicator automatically identifies and draws the All-Time High (AT.H) and All-Time Low (AT.L) on your chart, providing a clear visual framework for price action analysis. It also calculates and displays the Midpoint (50%), Upper Quartile (75%), and Lower Quartile (25%) levels, creating a dynamic grid that helps traders pinpoint key psychological levels, support/resistance zones, and potential breakout or reversal areas.
✨ Features:
Auto-Detection of All-Time High and Low:
Tracks the highest and lowest prices in the full visible historical range of the chart.
Automatically updates as new highs or lows are created.
Dynamic Level Calculation:
Midpoint (50%): Halfway between AT.H and AT.L.
25% Level: 25% between AT.L and AT.H.
75% Level: 75% between AT.L and AT.H.
Each level is clearly labeled with its corresponding value.
Labels are positioned to the right of the price for easy reading.
Color-Coded Lines (customizable)
[iQ]PRO ZigZag Structure+ PRO ZigZag Structure+
Overlay ‑ Trend & Structure Tool
• ATR-based ZigZag that filters noise without repainting past pivots
• Live Algorithmic Pivot labels at swing turns (toggle on/off)
• Optional regime filter to recolor labels for trend vs. range confluence
• Zero bloat—one indicator, two main inputs, instant visual clarity
What it does:
The script walks price action with an ATR volatility threshold, marking only the swings that exceed a user-defined multiple. Each confirmed specific algorithmic structured pivot is automatically tagged. Supply your own regime reading (-1, 0, 1) if you want bullish, bearish or neutral tinting; otherwise labels print in neutral gray.
Settings
ZigZag ATR Length – look-back period for volatility calculation
ZigZag ATR Multiplier – minimum distance (in ATRs) to qualify a swing
Label Swings – show/hide Pivot Label text
Show Structure – master switch for the entire overlay
Regime Consensus – external input for dynamic label coloring (optional)
Use cases
• Market-structure mapping at a glance
• Quick confluence checks for breakout or retracement entries
• Clean chart backdrop when combined with volume or momentum tools
Compatibility
• All intraday & daily time-frames
• Candles, Heikin-Ashi, Renko, etc.
• No external security calls → no delays
Here is the same tool with 3 settiings variations, and by using the step for change in setting as confluence made.
ADAM MMiQ
5MIN - MID,OUT,LOWEST
1MIN - MID, OUTER, MID
+!
Queso Heat IndexQueso Heat Index (QHI) — ATR-Adaptive Edge-Pressure Gauge
QHI measures how strongly price is pressing the edges of a rolling consolidation window. It heats up when price repeatedly pushes the window up , cools down when it pushes down , and drifts back toward neutral when price wanders in the middle. Everything is ATR-normalized so it adapts across symbols and timeframes.
Output: a signed score from −100 … +100
> 0 = bullish pressure (hot)
< 0 = bearish pressure (cold)
≈ 0 = neutral (no side dominating)
What you’ll see on the chart
Rolling “box” (Donchian window): top, bottom, and midline.
Optional compact-box shading when the window height is small relative to ATR.
Background “thermals”: tinted red when Heat > Hot threshold, blue when Heat < Cold threshold (intensity scales with the score).
Optional Heat line (−100..+100), optional 0/±80 thresholds, and optional push markers (PU/PD).
Optional table showing the current Heat score, placeable in any corner.
How it works (under the hood)
Consolidation window — Over lookback bars we track highest high (top), lowest low (bottom), and midpoint. The window is called “compact” when box height ≤ ATR × maxRangeATR .
ATR-based push detection — A bar is a push-up if high > prior window high + (epsATR × ATR + tick buffer) . A push-down if low < prior window low − (epsATR × ATR + tick buffer) . We also measure how many ATRs beyond the edge the bar traveled.
Heat gains (symmetric) — Each push adds/subtracts Heat:
base gain + streak bonus × consecutive pushes + magnitude bonus × ATRs beyond edge .
Decay toward neutral — Each bar, Heat decays by a percentage. Decay is:
– higher in the middle band of the box, and
– adaptive : the farther (in ATRs) from the relevant band (top when hot, bottom when cold), the faster it decays; hugging the band slows decay.
Midpoint bias (optional) — Gentle drift toward hot when trading above mid, toward cold when below mid, with a dead-zone near mid so tiny wobbles don’t matter.
Reset on regime flip (optional) — First valid push from the opposite side can snap Heat back to 0 before applying new gains.
How to read it
Rising hot with slow decay → strong upside pressure; pullbacks that hold near the top band often continue.
Flip to cold after being hot → regime change risk; tighten risk or consider the other side.
Compact window + rising hot (or cold) → squeeze-and-go conditions.
Neutral (≈ 0) → edges aren’t being pressured; expect mean-reversion inside the box.
Key inputs (what they do)
Window & ATR
lookback : size of the Donchian window (longer = smoother, slower).
atrLen : ATR period for all volatility-scaled thresholds.
maxRangeATR : defines “compact” windows for optional shading.
topBottomFrac : how thick the top/bottom bands are (used for decay/pressure logic).
Push detection (ATR-based)
epsATR : how many ATRs beyond the prior edge to count as a real push.
tickBuff : fixed extra ticks beyond the ATR epsilon (filters micro-breaches).
Heat gains
gainBase : main fuel per push.
gainPerStreak : rewards consecutive pushes.
gainPer1ATRBrk : adds more for stronger breakouts past the edge.
resetOppSide : snap back to 0 on the first opposite-side push.
Decay
decayPct : baseline % removed each bar.
decayAccelMid : multiplies decay when price is in the middle band.
adaptiveDecay , decayMinMult , decayPerATR , decayMaxMult : scale decay with ATR distance from the nearest “target” band (top if hot, bottom if cold).
Midpoint bias
useMidBias : enable/disable drift above/below midpoint.
midDeadFrac : width of neutral (no-drift) zone around mid.
midBiasPerBar : max drift per bar at the box edge.
Visuals (all default to OFF for a clean chart)
Plot Heat line + Show 0/±80 lines (only shows thresholds if Heat line is on).
Hot/Cold thresholds & transparency floors for background shading.
Push markers (PU/PD).
Heat score table : toggle on; choose any corner.
Tuning quick-starts
Daily trending equities : lookback 40–60; epsATR 0.10–0.25; gainBase 12–18; gainPerStreak 0.5–1.5; gainPer1ATRBrk 1–2; decayPct 3–6; adaptiveDecay ON (decayPerATR 0.5–0.8).
Intraday / noisy : raise epsATR and tickBuff to filter noise; keep decayPct modest so Heat can build.
Weekly swing : longer lookback/atrLen; slightly lower decayPct so regimes persist.
Alerts (included)
New window HIGH (push-up)
New window LOW (push-down)
Heat turned HOT (crosses above your Hot threshold)
Heat turned COLD (crosses below your Cold threshold)
Best practices & notes
Use QHI as a pressure gauge , not a standalone system—combine with your entry/exit plan and risk rules.
On thin symbols, increase epsATR and/or tickBuff to avoid spurious pushes.
Gap days can register large pushes; ATR scaling helps but consider context.
Want the Heat in a separate pane? Use the companion panel version; keep this overlay for background/box visuals.
Pine v6. Warm-up: values appear as soon as one bar of window history exists.
TL;DR
QHI quantifies how hard price is leaning on a consolidation edge.
It’s ATR-adaptive, streak- and magnitude-aware, and cools off intelligently when momentum fades.
Watch for thermals (background), the score (−100..+100), and fresh push alerts to time entries in the direction of pressure.
FiBB ATR Bands + Dual EMAs with cross fillFibonacci ATR bands with customisable colours and values for each regression + Dual EMA band would custome varaibles for each and custome colour fill on the crosses.
Spread Mean Reversion Strategy [SciQua]╭───────────────────────────────────────╮
Spread Mean Reversion Strategy
╰───────────────────────────────────────╯
This invite-only futures spread strategy applies a statistical mean reversion framework, executing limit orders exclusively at calculated Z-score thresholds for precise, rules-based entries and exits. It is designed for CME-style spreads and synthetic instruments with well-defined reversion tendencies.
╭────────────╮
Core Concept
╰────────────╯
The strategy calculates a rolling mean and standard deviation of a chosen spread or synthetic price series, then computes the Z-score to measure deviation from the mean in standard deviation units.
Long entries trigger when Z crosses upward through a negative entry threshold (`-devEnter`). A buy limit is placed exactly at the price corresponding to that Z-score, optionally offset by a configurable tick amount.
Short entries trigger when Z crosses downward through a positive entry threshold (`+devEnter`). A sell limit is placed at the corresponding threshold price, also with optional offset.
Exits use the same threshold method, with an independent `Close Limit Offset` to fine-tune exit placement.
╭────────────╮
Key Features
╰────────────╯
Persistence filter – Requires the Z-score to remain beyond threshold for a configurable number of bars before entry.
Cooldown after exits – Prevents immediate re-entry to reduce over-trading.
Daily and weekend flattening – Force-flattens positions via limit orders before exchange maintenance breaks and weekend closes.
Auto-rollover detection with persistence – Detects when the second contract month’s daily volume exceeds the first for a set number of days, then blocks new entries (optional).
Configurable tick offsets – Independently adjust entry and exit levels relative to threshold prices.
Minimum spread width filter – Blocks trades when long/short entry thresholds are too close together.
Contract multiplier override – Allows correct sizing for synthetic symbols where `syminfo.pointvalue` is incorrect or missing.
Limit-only execution – All entries, exits, and forced-flat actions are executed with limit orders for price control.
╭────────────────────╮
Entry Blocking Rules
╰────────────────────╯
New trades are blocked:
During daily maintenance break pre-windows
During weekend close pre-windows
After rollover triggers, if `Block After Roll` is enabled
╭────────────────────────╮
Intended Markets & Usage
╰────────────────────────╯
Built for futures spreads and synthetic instruments , including calendar spreads.
Performs best in markets with clear seasonal or statistical mean-reverting tendencies.
Not designed for strongly trending, non-reverting markets.
╭──────────────────────────╮
Risk Management & Defaults
╰──────────────────────────╯
Fixed default position size of 1 contract (qty calc function available for customization).
Realistic commission and slippage assumptions pre-set.
Pyramiding disabled by default.
Default Z-score levels: Entry at ±2.0, Exit at ±0.5.
Separate tick offset controls for entries and exits.
Note: This strategy is for research and backtesting purposes only. Past performance does not guarantee future results. All use is subject to explicit written permission from the author.
Weekly Trend (Daily EMA Waves)
Weekly Trend Daily timeframe fixed EMA wave
Daily 100 EMA
Daily 200 EMA
Buy/Sell Signal - RSI + EMA + VWAP + Engulfing Patterns V1.1added three more indicators
bullish, bearish engulfing and engulfing area..
Doble cruce de emas con STIdeal for moving average crossover strategies, marking the Asian and NY kill zones and a super trend to detect possible stop loss zones.