Pattern ScannerUltimate Pattern Scanner — multi-timeframe candlestick discovery tool (educational use only).
Purpose: This script scans user-selected timeframes for classical candlestick patterns (for example: engulfing, morning/evening stars, hammers, dojis, tasuki gaps, three soldiers/crows, tweezers, marubozu, and others) and reports pattern name, detection price, directional signal (Bull / Bear / Neutral), and a simple volume participation metric. It is intended as an idea-generation and training tool to help traders learn pattern mechanics, not as an automated trading system.
Main modules and rationale: 1) Pattern engine — applies classical candle structure rules to detect formations; 2) SMA trend filter (configurable length) — provides a directional bias to favor trade-with-trend setups; 3) Volume heuristic — approximates participation by separating candles into buy-like and sell-like volume and comparing total volume to a moving average; 4) Multi-timeframe aggregator — collects and presents pattern results from multiple timeframes; 5) Alerts — optional alerts list detected patterns and TFs. Combining these modules is intentional: patterns provide structure, SMA provides context, and volume supplies participation confirmation. Together they improve the educational value and practical relevance of each detected pattern.
How to use: Choose timeframes and SMA length that match your trading horizon. Use the scanner to locate pattern candidates, then confirm with higher-timeframe agreement and volume ratio before considering trade entry. Use structural stops (recent swing highs/lows or ATR-based stops) and define risk:reward rules. For learning, replay alerted bars and record outcomes over fixed horizons to build empirical statistics.
Limitations: Volume classification (close>open) is a heuristic and not a true bid/ask tape. SMA is a lagging trend proxy. Multi-timeframe agreement reduces but does not eliminate false signals, especially around news or in low-liquidity instruments. Use demo accounts and backtesting before live trading.
Inputs you can adjust: timeframe list, SMA length, volume MA length, which patterns to enable/disable, display options.
Compliance notes: This description explains why modules are combined and what the script does without exposing source code logic; it is non-promotional and contains no contact links. Remove any trademark symbols unless registration details are provided.
Risk Disclaimer: This tool is provided for education and analysis only. It is not financial advice and does not guarantee returns. Users assume all risk for trades made based on this script. Backtest thoroughly and use proper risk management.
Индикаторы и стратегии
KRQ Sessions Asia, Frankfurt, London, NY Open, NY Trap, MM1, MM2Every important timeframe.
1. Asia
2. Frankfurt
3. London
4. NY Open
5. NY Trap
6. MM1
7. MM2
Trade Status in Dollarsthis shows the value of a trade as it progresses in an easy to read huge font at the bottom of the last candle.
Futures Position Size CalculatorIt will calculate and display how many contracts you can take based on your account balance, risk %, stop size, and instrument.
Alpha Trend IndicatorThe Alpha Trend Indicator is a custom-built trend-following tool designed to help traders identify market direction, trend strength, and potential reversal points with high accuracy. It combines multiple technical concepts—ATR (Average True Range), CCI (Commodity Channel Index), and either MFI (Money Flow Index) or RSI (Relative Strength Index)—to create a dynamic trend detection system.
🔑 Key Features:
Adaptive Trend Line – Uses ATR and CCI logic (similar to Trend Magic) to plot an Alpha Trend line that adjusts to volatility.
MFI / RSI Flexibility – Option to switch between MFI (volume-based momentum) or RSI (price-based momentum) for more tailored analysis.
Alpha Trend Offset – Plots a 2-bar shifted reference line to detect changes in price momentum.
Buy & Sell Signals – Automatically detects bullish and bearish crossovers between Alpha Trend and its offset line, marking potential entries and exits.
Visual Trend Zones – Fills the space between Alpha Trend and its offset with green (bullish) or red (bearish) highlights, making trend direction easy to see at a glance.
Alerts – Built-in alert conditions for Buy and Sell signals so traders never miss an opportunity.
📊 How It Works:
Trend Detection –
When CCI > 0, the Alpha Trend line is set below recent lows minus volatility (ATR).
When CCI < 0, it shifts above recent highs plus volatility.
Momentum Confirmation –
MFI/RSI adds an extra confirmation layer to avoid false signals.
Trading Signals –
Buy Signal: When Alpha Trend crosses above its offset line.
Sell Signal: When Alpha Trend crosses below its offset line.
⚡ Best Use:
Works on all timeframes (scalping, swing trading, long-term analysis).
Suitable for Forex, Crypto, Stocks, and Commodities.
Can be combined with support/resistance or volume analysis for even stronger setups.
ICT GMMA Vegas 更新ICT GMMA Vegas
ICT GMMA Vegas combines GMMA trend visualization, Vegas tunnels, ICT-style market structure tools (MSS/BOS, OB, Liquidity, FVG/BPR), killzone shading, and a rules-based Vegas Touch entry module. It’s designed for discretionary traders who want structured confluence while keeping signals confirmed on bar close (optional).
What it shows
1) GMMA Bands
Short: EMA 3/5/8/10/12/15 (green)
Mid: EMA 30/35/40/45/50/60 (red)
Long: EMA 100/120/150/175/200/250 (blue)
2) Vegas Tunnels
Short tunnel: EMA 144 & 169 (orange)
Base tunnel: EMA 576 & 676 (fuchsia)
Extra guides: EMA 288 & 388 (pink)
3) ICT Market Structure Suite
MSS/BOS labels and lines (toggleable “Present/Historical” display)
Order Blocks (bullish/bearish, body/wick logic, last N shown, breaker state)
Liquidity zones (buy-side/sell-side sweeps with live extension)
Fair Value Gaps (FVG or IFVG) with auto tracking and BPR detection
Volume Imbalance (VI) markers
Weekly/ Daily Open Gap: NWOG/NDOG
Optional Fibonacci overlay between the most recent FVG/BPR/OB/Liq/VI/NWOG pair
Killzones backgrounds: New York, London Open/Close, Asia
Displacement markers for large body candles
4) Slope EMAs
EMA60 & EMA200 with color-coded slope (lime when rising vs k bars ago, red when falling)
Signals & logic
A) GMMA “All-in” Flip (simple visual cue)
Counts how many of the 18 GMMA EMAs price closes above/below.
Buy arrow when countAbove ≥ 17 and trend wasn’t already long.
Sell arrow when countBelow ≥ 17 and trend wasn’t already short.
This is a regime flip hint—not an auto-entry.
B) Vegas Touch Entry (rules-based, optional alerts)
A confluence module that attempts to time touches/pulls into Vegas with trend alignment and candle confirmation.
Distance to line (touch)
Choose ATR or Percent threshold to consider a “touch” of the relevant Vegas boundary.
Which boundary to use
Internally uses EMA12 to decide:
Longs: if EMA12 > EMA169 → use Tunnel (144/169); else use Base (576/676).
Shorts: if EMA12 < EMA169 → use Tunnel; else use Base.
“Hard lock” prevents longs when EMA12 ≪ 676 (and vice versa for shorts).
Directional filter (Vegas state)
Long‐OK only if 144>576 & 169>676 and close is outside the upper boundary used.
Short‐OK only if 144<576 & 169<676 and close is outside the lower boundary used.
Candle confirmation
Longs: Bullish Pin (≥40% lower wick) or Bullish Engulf (current body ≥60% of previous body).
Shorts: Bearish Pin (≥40% upper wick) or Bearish Engulf (≥60%).
Execution controls
Optional bar-close confirmation (to reduce repainting).
Cooldown bars to prevent rapid repeat signals.
Triangles plotted (below for LONG, above for SHORT).
Alerts: “VegasTouch LONG/SHORT” + instant alert() on bar close (if enabled).
Debug flags show which gate (Trend/Touch/Pattern) is passing.
Inputs (high level)
GMMA display: toggle short/mid/long groups.
Market Structures: MSS/BOS on/off, colors, length.
FVG/BPR: show type (FVG/IFVG), visible count, break styling.
Order Blocks: lookback length, body vs wick, how many to show, breaker coloring.
Liquidity / VI / NWOG / NDOG: on/off, counts, colors.
Killzones: select sessions to shade.
Fibonacci: choose source pair (FVG/BPR/OB/Liq/VI/NWOG) and whether to extend.
Vegas Touch: ATR/Percent mode, thresholds, bar-close confirm, cooldown, alerts, debug.
Slope EMAs: lengths and comparison offset k.
How to use (suggested workflow)
Top-down: Identify HTF bias and key pools (liquidity, OBs, FVG/BPR).
Vegas state: Prefer longs when 144/169 above 576/676; shorts when below.
Timing: Look for Vegas Touch triangles that also align with MSS/BOS, FVG/OB, and killzones.
Risk: Use recent swing/liquidity sweep as invalidation; consider partials at FVG mid/OB edges.
Notes
“Bar-close confirmation” in the Vegas Touch module reduces repainting of entries.
This is an indicator, not a strategy—no automated orders.
All visuals are configurable; keep only what you need to avoid clutter.
TURT Donchian Ladder v3.13How to trade TURT+ with the v3.13 script
1) Pick the system & arm the entry
• In the script, choose System = S1 (20D) or S2 (55D).
The HUD always shows both rails for reference, but the ladder (Entry/+Adds) uses the system you pick.
• Your Entry is shown as Pivot + 0.1×N (rounded).
• Place a stop-limit “parent” order at that Entry price. (Classic Turtle uses an entry stop; I suggest a tight limit offset so you don’t chase a blow-through.)
• Initial stop = N2 = Entry − 2×N (rounded). Put that in immediately.
If you like only confirming on a bar close, leave confirmClose = true and place the parent after the close that breaks out. If you want intrabar fills, set confirmClose = false and keep the stop-limit active intraday.
2) Size it the way you planned
• Set acctEquity / riskCapPct / posCapUSD / entryFrac / entryRiskFrac / sizingMode.
• HUD gives Rec Entry Qty (when flat) and, once in, it shows:
• Next Rung (price)
• Suggested AddShares (honors RiskCap & PosCap)
• Proj Stop if Add (ratcheted N2)
• A limiter note (RiskCap or PosCap) if you’re constrained.
3) After entry fills, stage the ADDs (only at fixed +N steps)
• Adds are NOT “every Donchian break.” You add only at:
• Add-1 = Entry + 0.5×N
• Add-2 = Entry + 1.0×N
• Add-3 = Entry + 1.5×N (optional)
• Use the HUD’s Suggested AddShares for each rung (it respects your RiskCap/PosCap).
• Place stop-limit orders for each add (either immediately as a contingent OTO chain that arms only after Entry fills, or you arm each add when price approaches—your choice).
• On each add fill, ratchet the catastrophic stop for the entire position to Last-Add − 2×N (the script and HUD show Proj Stop if Add so you know where it will land). Never move it lower.
Pro tip: If your broker supports OTO/OTOCO:
• OTO parent = Entry stop-limit.
• On fill, fire an OCO with the N2 stop (no target), and also stage child stop-limits for Add-1 / Add-2 / Add-3 with the correct sizes. If your broker can’t chain that deep, just use the script’s alerts (Entry/Add-1/Add-2/Add-3/Exits) to place/adjust orders quickly.
4) Exits (two layers)
• Catastrophic (always on): the N2 stop you’re ratcheting (Last-Add − 2×N).
• Trend exits (runner):
• S1: 10-low close (HUD shows it).
• S2: 20-low close (HUD shows it).
• Profit-taking (optional): sell ~50% at +2.5R to +3R vs current N2; let the runner trail with 10-low/20-low. You can keep N2 as a hard backstop.
5) Should you pre-set everything or buy live?
Both work; pick the style that fits you:
Preset (Turtle-pure, rules-based)
• ✅ You won’t miss the breakout; minimal discretion.
• ✅ Broker handles fills even if you’re away.
• ⚠️ You may get the occasional intraday “poke” (use confirmClose + place after close if you want fewer).
Buy on break manually
• ✅ Lets you check tape/volume or any extra gates before clicking.
• ⚠️ Higher chance of slippage or of simply missing the trigger.
A nice hybrid: place the Entry order, then arm Add-1/2/3 when price is nearing each rung and the HUD shows Suggested AddShares > 0 (green risk read).
⸻
6) Quick checklist per trade
1. System: S1 or S2?
2. Levels: Entry / Add-1 / Add-2 / Add-3 / 10-low / 20-low / N2 (rounded).
3. Sizing: confirm RiskCap/PosCap; HUD shows Suggested AddShares and limiter.
4. Orders:
• Parent Entry stop-limit.
• N2 stop (rounded).
• Stage adds (stop-limits) with sizes from HUD.
5. On fill: ratchet stop to Last-Add − 2×N; adjust remaining adds and sizes.
⸻
7) Example with your MU position (pattern)
• You’re already in: set entryQty and entryPman in the inputs to match your fill.
• HUD now focuses on Next Rung, Suggested AddShares, and Proj Stop if Add.
• If Suggested AddShares = 0 and limiter says RiskCap or PosCap, you’ll still see the next rung price and Proj Stop if Add so you can decide whether to override.
⸻
Bottom line
• Entry: buy the Donchian breakout + 0.1N with a stop-limit (Turtle style).
• Adds: only at +0.5N steps, sized by HUD; not on every future Donchian break.
• Stops: keep (and ratchet) the N2 catastrophic; trail runner on 10-low / 20-low.
If you want, tell me your broker/platform and I’ll map this to exact order ticket types (stop-limit/OTO/OCO) and a tiny checklist you can keep next to your screen.
Pin Bar (Body in Half Candle)Pine Script: Relaxed PIN Bar Detection
This indicator highlights PIN Bars with slightly relaxed conditions, designed for better usability in real-market intraday trend and pullback scenarios.
Detection Criteria:
Body ≤ 38% of total candle size
→ Standard is ~33%; relaxed to 38% to include more usable patterns.
Wick ≥ 1.7 × body size
→ Standard is 2.0×; relaxed to 1.7× to capture slightly imperfect but meaningful rejection candles.
Candle Time Remaining -oxelongcandle timer visible above current candle changes color as it counts down
LP Sweep / Reclaim & Breakout Grading: Long-onlySignals
1) LP Sweep & Reclaim (mean-reversion entry)
Compute LP bounds from prior-bar window extremes:
lpLL_prev = lowest low of the last N bars (offset 1).
lpHH_prev = highest high of the last N bars (offset 1).
Sweep long trigger: current low dips below lpLL_prev and closes back above it.
Real-time quality grading (A/B/C) for sweep:
Trend filter & slope via EMA(88).
BOS bonus: close > last confirmed swing high.
Body size vs ATR, location above a long EMA, headroom to swing high (penalty if too close), and multi-sweep count bonus.
Sum → score → grade A/B/C; A or B required for sweep entry.
2) Trend Breakout (momentum entry)
Core trigger: close > previous Donchian high (length boLen) + ATR buffer.
Optional filter: close must be above the default EMA.
Breakout grading (A/B/C) in real time combining:
Trend up (price > EMA and EMA rising),
Body/ATR, Gap above breakout level (in ATR),
Volume vs MA,
Upper-wick penalty,
Position-in-Score: headroom to last swing high (penalty if too near) + EMA slope bonus.
Sum → score → A or B required if grading enabled.
APC – Anti-Analysis-Paralysis Kompass APC – Anti-Analysis-Paralysis Compass (Pine v5).
Research/education indicator that compresses trend from 5 timeframes into one compass with Direction, Score, and Coherence (TF agreement). Non-repainting with a high-contrast breakdown table and in-chart help. No financial advice.
What it is
APC is a research/education tool that condenses trend information from five timeframes into a single compass. It shows Direction (↑/↓/→), a weighted Score, and Coherence (how strongly timeframes agree). The script is non-repainting (security(..., lookahead=off)) and includes a readable breakdown panel and example alerts.
How it works
• For each timeframe APC fits a linear regression to price, measures the slope change over k bars, optionally normalizes by ATR%, then maps it to +1 / 0 / −1 using a Deadzone (small slopes → neutral).
• A (weighted) sum of the five signs forms the Score.
• Coherence = |Score| / maxScore (0–100%), i.e., degree of TF alignment.
Quick start (suggested defaults)
• Timeframes: 15m · 1h · 4h · 1D · 1W • Weights: 1, 1, 1, 1.5, 2
• LinReg length: 100 • Slope Δ window: 10
• ATR normalization: ON • Deadzone: 0.03–0.05
• Coherence lock (for example alerts): 60%
Example research filters (non-advisory)
Many users test: Bullish bias when Score ≥ +3 and Coherence ≥ 60%; bearish bias when Score ≤ −3 and Coherence ≥ 60%. These are illustrative defaults only—configure and test your own thresholds.
Optional: pair with Kagi
Use APC for bias/conviction and Kagi turns for timing. Typical Kagi (swing): base 15m–1h, reversal ATR(14) × 1.5–2.5 or 1–3%.
Notes
Raise Deadzone in choppy markets; lower it for earlier flips. On very illiquid or young symbols, lengthen lenLR.
Disclaimer
APC is a research & educational indicator. It does not provide financial advice or recommendations. Use at your own risk. License: MIT.
ICT Daily 50% RangeThis indicator marks out the 50% daily range, ideal as Support & Resistance and for ICT Trading.
Normalized Volume Z-Score
The Normalized Volume Z-Score indicator measures how unusual the current trading volume is compared to its recent history.
It calculates the z-score of volume over a user-defined lookback period (default: 50 bars), optionally using log-volume normalization.
A z-score tells you how many standard deviations today’s volume is away from its mean:
Z = 0 → volume is at its average.
Z > 0 → volume is higher than average.
Z < 0 → volume is lower than average.
Threshold lines (±2 by default) highlight extreme deviations, which often signal unusual market activity.
How to Trade with It
High positive Z-score (> +2):
Indicates abnormally high volume. This often happens during breakouts, strong trend continuations, or capitulation events.
→ Traders may look for confirmation from price action (e.g., breakout candle, strong trend bar) before entering a trade.
High negative Z-score (< –2):
Indicates unusually low volume. This may signal lack of interest, consolidation, or exhaustion.
→ Traders may avoid entering new positions during these periods or expect potential reversals once volume returns.
Cross back inside thresholds:
When z-score returns inside ±2 after an extreme spike, it may suggest that the abnormal activity has cooled down.
Tips
Works best when combined with price structure (support/resistance, demand/supply zones).
Can be applied to crypto, stocks, forex, futures – anywhere volume is meaningful.
Log normalization helps reduce distortion when some days have extremely large volumes.
Комбинированный сигнал: MA10/MA40 + RSI50 + ЧайкинFriends, I share with you my indicator by strategy: crossing MA10/MA40 + RSI50 + Chaikin (above/below 0).
Indicator when the signal appears shows the entrance to the long/ short
The indicator works well on the trend. There may be false signals in the sidewall.
RSI MA Cross + Divergence Signal (fixed)🔹 Core Logic
RSI + Moving Average
The script calculates a standard RSI (default 14).
It then overlays a moving average (SMA/EMA/WMA, default 9).
When RSI crosses above its MA → bullish momentum.
When RSI crosses below its MA → bearish momentum.
Divergence Filter
Signals are only valid if there’s confirmed divergence:
Bullish divergence: Price makes a lower low, RSI makes a higher low.
Bearish divergence: Price makes a higher high, RSI makes a lower high.
Overbought / Oversold Filter
Optional extra:
Bullish signals only valid if RSI ≤ 30 (oversold).
Bearish signals only valid if RSI ≥ 70 (overbought).
This ensures signals happen in “stretched” conditions.
Risk & Trade Management
Entries taken only when all conditions align.
Exits can be managed with ATR stops, partial take-profits, breakeven moves, and trailing stops (we coded these in the strategy version).
Cooldown, session filters, and daily loss guard to keep risk tight.
🔹 Strengths
✅ High selectivity: Combining RSI cross + divergence + OB/OS means signals are rare but higher quality.
✅ Great at catching reversals: Divergence highlights where price may be running out of steam.
✅ Risk management baked in: ATR stops + partial exits smooth out equity curve.
✅ Works across markets: ES, FX, crypto — anywhere RSI divergences are respected.
✅ Flexible: You can loosen/tighten filters depending on aggressiveness.
🔹 Weaknesses
❌ Lag from pivots: Divergence only confirms after a few bars → you enter late sometimes.
❌ Choppy in ranges: In sideways markets, RSI divergences appear often and whipsaw.
❌ Filters reduce signals: With all filters ON (divergence + OB/OS + trend + session), signals can be very rare — may under-trade.
❌ Not standalone: Needs higher-timeframe context (trend, liquidity pools) to avoid counter-trend entries.
🔹 Best Ways to Trade It
Use Higher Timeframe Bias
Run the strategy on 15m/1H, but only trade in direction of higher timeframe trend (e.g., 4H EMA).
Example: If daily is bullish → only take bullish divergences.
Pair With Structure
Look for signals at key zones: HTF support/resistance, VWAP, or FVGs.
Divergence + RSI cross inside an FVG is a strong entry trigger.
Adjust OB/OS for Volatility
For crypto/FX: use 35/65 instead of 30/70 (markets trend harder).
For ES/S&P: 30/70 works fine.
Risk Management Is King
Use partial exits: take profit at 1R, trail rest.
Size by % of equity (we coded this into the strategy).
Avoid News Spikes
Divergences break down around CPI, NFP, Fed announcements — stay flat.
🔹 When It Shines
Trending markets that make extended pushes → clean divergences.
Reversal zones (oversold → bullish bounce, overbought → bearish fade).
Swing trading (15m–4H) — less noise than 1m/5m scalping.
🔹 When to Avoid
Low volatility chop → lots of false divergences.
During high-impact news → RSI swings wildly.
In strong one-way trends without pullbacks — divergence keeps calling tops/bottoms too early.
✅ Summary:
This is a reversal-focused RSI divergence strategy with strict filters. It’s powerful when combined with higher-timeframe bias + structure confluence, but weak if traded blindly in choppy or news-driven conditions. Best to treat it as a precision entry trigger, not a full system — layer it on top of your FVG/ORB framework for maximum edge.
Squeeze Momentum CV [Divergencias]RAFAEL CEPEDA Strategy es parte del mejor, una estrategia super facil
Current Candle Sizeprints the size of the candle below so you can identify if it's too large to take a position using the 9/20 strategy
Rolling Range Bands by tvigRolling Range Bands
Plots two dynamic price envelopes that track the highest and lowest prices over a Short and Long lookback. Use them to see near-term vs. broader market structure, evolving support/resistance, and volatility changes at a glance.
What it shows
• Short Bands: recent trading range (fast, more reactive).
• Long Bands: broader range (slow, structural).
• Optional step-line style and shaded zones for clarity.
• Option to use completed bar values to avoid intrabar jitter (no repaint).
How to read
• Price pressing the short high while the long band rises → short-term momentum in a larger uptrend.
• Price riding the short low inside a falling long band → weakness with trend alignment.
• Band squeeze (narrowing) → compression; watch for breakout.
• Band expansion (widening) → rising volatility; expect larger swings.
• Repeated touches/rejections of long bands → potential areas of support/resistance.
Inputs
• Short Window, Long Window (bars)
• Use Close only (vs. High/Low)
• Use completed bar values (stability)
• Step-line style and Band shading
Tips
• Works on any symbol/timeframe; tune windows to your market.
• For consistent scaling, pin the indicator to the same right price scale as the chart.
Not financial advice; combine with trend/volume/RSI or your system for entries/exits.
session H/L with PDH/PDLjust a simple session high/low indicator to give S&R confluence support also includes PDH/PDL
Smart Money Concepts - v2 (confirmed + ATR + MTF + smoothing)Maps market structure with confirmed pivots and quantifies SMC events (CHoCH/SMS/BMS) as real-time probabilities. Includes ATR swing-size filter, HTF MA bias gate, and label throttling to cut noise. Shows Premium/Discount/Mid zones and a compact table with Wins/Losses, Profitability, Laplace-smoothed rate, and Wilson confidence band. Optional alerts output ticker, timeframe, and the current probability summary. Designed to be confirmation-based (reduced repaint) and adaptable to any symbol/timeframe.
SPX Gamma Pin DetectorUnlock the power of gamma pinning in the S&P 500 (SPX) with this essential overlay indicator, designed for day traders and options enthusiasts. The SPX Gamma Pin Detector highlights key gamma strike levels where market makers and large positions create "sticky" price action, often leading to mean reversion and intraday pins. Based on advanced options flow insights (like those from SpotGamma transcripts), it plots critical support/resistance zones to help you anticipate reversals around high-gamma strikes—such as the 99th percentile levels that stabilize or propel SPX moves.
Key Features:
Visual Gamma Levels: Automatically plots the primary pin strike (e.g., 6475), upper gamma target (e.g., 6550), and lower risk-off support (e.g., 6400). These are customizable via inputs for real-time adaptation to market conditions.
Pin Alert Zone: A dynamic background highlight (yellow) activates when SPX is within 0.1% of the pin strike, signaling potential mean reversion opportunities—perfect for entering 0DTE call flies or put hedges pre-NFP or OPEX.
Buy Dip Alert: Generates TradingView alerts on crossovers above the lower tolerance (e.g., 0.5% below pin), with a message like "SPX near gamma pin - Enter fly!" to catch dip-buying flows from zero-DTE algos.
Vol Crush Filter (Beta): Includes a basic VIX threshold input (default <15) to boost signal strength during low-IV environments, where realized vol contracts and upside is cheap.
How It Works:
This Pine Script v5 indicator overlays horizontal lines and conditional backgrounds on your SPX (or ES1! futures) chart. It uses simple math tolerances to detect proximity to gamma hotspots, mimicking the "sticky gamma" dynamics from options positioning data. For example:
If SPX drifts toward the pin level post-data release (e.g., ADP/NFP), the alert fires to prompt bullish structures like the 6525/6550/6575 call fly (net debit ~$2.25 for $25 max profit).
Negative gamma voids below support warn of slippage risks, aligning with charm effects that support closes near 6465-6475.
Backtest it against historical pins (e.g., Tuesday's 6400 reversal with 5B delta buy) to see 70-80% hit rates in stable regimes. Ideal for our GrokPHDTrading day trading show—pair with transcript parses for edge in low-vol setups (VIX ~15, ATM IV 10-11%).
Usage Tips for Traders:
Setup: Add to a 1-min or 5-min SPX chart. Adjust strikes based on daily gamma maps (e.g., from SpotGamma or our tools).
Entry Signals: Alert triggers? Scale into mean-reversion plays—buy the dip if holds support, target pin for 3-5x ROI.
Risk Management: Stop below risk-off level; hedge with OTM put flies (~$0.30 debit) for tail risks like VIX spikes to 19+.
Customization: Tweak tolerances for ES or SPY equivalents (e.g., SPY 645 for SPX 6465). Add VIX plot for vol confirmation.
Training Integration: Use in our Phase 2: Setup Execution modules—simulates gamma edges for 80% win-rate drills.
Disclaimer: This indicator is for educational and informational purposes only. It draws from public options analysis but does not provide financial advice. Always backtest, use proper risk management, and consult a professional. Past performance isn't indicative of future results. Not affiliated with SpotGamma—purely inspired by their methodologies for our AI-driven trading tools at GrokPHDTrading.com.
Invite to Community: Love gamma trading? Subscribe to our show for live NFP breakdowns and affiliate links to premium flow tools. Questions? Drop in the comments or join our Discord for Pine tweaks!
RSI Momentum Trend MM with Risk Per Trade [MTF]This is a comprehensive and highly customizable trend-following strategy based on RSI momentum. The core logic identifies strong directional moves when the RSI crosses user-defined thresholds, combined with an EMA trend confirmation. It is designed for traders who want granular control over their strategy's parameters, from signal generation to risk management and exit logic.
This script evolves a simple concept into a powerful backtesting tool, allowing you to test various money management and trade management theories across different timeframes.
Key Features
- RSI Momentum Signals: Uses RSI crosses above a "Positive" level or below a "Negative" level to generate trend signals. An EMA filter ensures entries align with the immediate trend.
- Multi-Timeframe (MTF) Analysis: The core RSI and EMA signals can be calculated on a higher timeframe (e.g., using 4H signals to trade on a 1H chart) to align trades with the larger trend. This feature helps to reduce noise and improve signal quality.
Advanced Money Management
- Risk per Trade %: Calculate position size based on a fixed percentage of equity you want to risk per trade.
- Full Equity: A more aggressive option to open each position with 100% of the available strategy equity.
Flexible Exit Logic: Choose from three distinct exit strategies to match your trading style
- Percentage (%) Based: Set a fixed Stop Loss and Take Profit as a percentage of the entry price.
- ATR Multiplier: Base your Stop Loss and Take Profit on the Average True Range (ATR), making your exits adaptive to market volatility.
- Trend Reversal: A true trend-following mode. A long position is held until an opposite "Negative" signal appears, and a short position is held until a "Positive" signal appears. This allows you to "let your winners run."
Backtest Date Range Filter: Easily configure a start and end date to backtest the strategy's performance during specific market periods (e.g., bull markets, bear markets, or high-volatility periods).
How to Use
RSI Settings
- Higher Timeframe: Set the timeframe for signal calculation. This must be higher than your chart's timeframe.
- RSI Length, Positive above, Negative below: Configure the core parameters for the RSI signals.
Money Management
Position Sizing Mode
- Choose "Risk per Trade" to use the Risk per Trade (%) input for precise risk control.
- Choose "Full Equity" to use 100% of your capital for each trade.
- Risk per Trade (%): Define the percentage of your equity to risk on a single trade (only works with the corresponding sizing mode).
SL/TP Calculation Mode
Select your preferred exit method from the dropdown. The strategy will automatically use the relevant inputs (e.g., % values, ATR Multiplier values, or the trend reversal logic).
Backtest Period Settings
Use the Start Date and End Date inputs to isolate a specific period for your backtest analysis.
License & Disclaimer
© waranyu.trkm — MIT License.
This script is for educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always conduct your own research and risk assessment before making any trading decisions.