Cointegration IndicationThis indicator is inspired by Nobel Prize–winning research (Engle & Granger, 1987). The core idea is simple but powerful: even if two markets look noisy on their own, their relationship can be surprisingly stable over the long run. When they drift apart, history suggests they often snap back together and that’s exactly where opportunities arise.
What this tool does is bring that theory into practice. It estimates a long-run equilibrium between two assets (Y ~ α + βX), calculates the residual spread (ε), and then evaluates whether that spread behaves in a mean-reverting way. The Z-Score tells you when the spread has moved far from its historical mean. The Error Correction Model (ECM) adds a second layer: it checks whether the spread tends to close again, and how strong that adjustment pressure is. If λ is negative and stable, the relationship is cointegrated and mean-reverting. If not, the pair is unstable — even if the Z-Score looks attractive.
Signals are summarized clearly:
– Strong Setup appears when we see both extreme divergence and a stable, negative λ.
– Weak Setup means only partial confirmation.
– Invalid means the relationship is breaking down.
Why this matters
Cointegration analysis is widely used by institutional desks, especially in pairs trading, statistical arbitrage, and risk management. Classic cases include equity index futures vs ETFs (Alexander, 2001), oil vs energy stocks (Chen & Huang, 2010), or swap spreads in fixed income (Tsay, 2010). In crypto, temporary cointegration has been observed between BTC and ETH in periods of high liquidity (Corbet et al., 2018). With this indicator, you can explore these relationships directly on TradingView, test asset pairs, and see when divergences become statistically significant.
Limitations to keep in mind
– Timeframe choice matters: Daily calculations are usually more stable; weekly or intraday often show unstable signals. To avoid confusion, you can fix the calculation timeframe in the settings.
– Cointegration is not permanent. Structural breaks (earnings, regulation, macro shifts) can destroy old relationships.
– Results are approximate. Rolling regressions, Z-Scores, and ECM estimates are sensitive to the length of the chosen windows.
– This is a research tool — not a ready-made trading system. It should be used as one piece in a broader framework.
References
Alexander, C. (2001). Market models: A guide to financial data analysis. Wiley.
Chen, S. S., & Huang, C. W. (2010). Long-run equilibrium and short-run dynamics in energy stock prices and oil prices. Energy Economics, 32(1), 19–26.
Corbet, S., Meegan, A., Larkin, C., Lucey, B., & Yarovaya, L. (2018). Exploring the dynamic relationships between cryptocurrencies and other financial assets. Economics Letters, 165, 28–34.
Engle, R. F., & Granger, C. W. J. (1987). Co-integration and error correction: Representation, estimation, and testing. Econometrica, 55(2), 251–276.
Tsay, R. S. (2010). Analysis of financial time series (3rd ed.). Wiley.
Analyse de la tendance
NY OPEN SIGNAL SCLAPER 📌 Indicator: US30 Scalper by TFE ALGOS
The US30 Scalper by TFE ALGOS is built for traders who want to capture fast and decisive moves on US30 during the New York session.
🔑 Key Features:
Clear Buy & Sell Signals with automatic plotting of trade levels.
Built-in Risk Management with stop loss and take profit levels, optimized at a 5:1 R:R.
Customizable Visuals – adjust colors, styles, and watermark display to fit your chart.
Alerts Included – stay updated when trade opportunities or key levels are reached.
Professional Branding – watermark logo keeps charts clean and consistent.
🎯 Designed For:
Scalpers and intraday traders who focus on US30.
Traders seeking a structured, professional charting tool.
⚠️ Disclaimer: This tool is for educational purposes only. Trading involves risk; always manage your capital wisely.
The Maker StrategyDESCRIPTION
The Maker Strategy is a trend-following system built around exponential moving averages (EMAs). By analyzing the alignment of multiple EMAs, the strategy identifies strong bullish or bearish momentum and generates precise entry signals. This method is designed to capture sustained trends while filtering out sideways or noisy market conditions.
USER INPUTS :
• EMA 1 Length (Default: 30)
• EMA 2 Length (Default: 35)
• EMA 3 Length (Default: 40)
• EMA 4 Length (Default: 45)
• EMA 5 Length (Default: 50)
• EMA 6 Length (Default: 60)
LONG CONDITION :
A long signal is triggered when all EMAs are perfectly aligned in ascending order:
EMA1 > EMA2 > EMA3 > EMA4 > EMA5 > EMA6
SHORT CONDITION :
A short signal is triggered when all EMAs are perfectly aligned in descending order:
EMA1 < EMA2 < EMA3 < EMA4 < EMA5 < EMA6
WHY IT IS UNIQUE:
Unlike traditional EMA crossover systems that rely on just 2 or 3 moving averages, The Maker Strategy uses 6 EMAs in sequence. This ensures that trades are only taken when there is clear and strong market momentum. The approach minimizes false signals in ranging markets and focuses on capturing trends with higher probability setups.
HOW USER CAN BENEFIT FROM IT :
• Clear entry alerts for both long and short positions.
• Visual confirmation through candle coloring and EMA band fills.
• Works on multiple timeframes and instruments (stocks, forex, crypto, indices).
• Helps traders stay on the right side of the trend while avoiding whipsaws.
• A simple yet effective tool for those who want a disciplined, rules-based strategy.
Support & ResistanceEnglish:
This indicator identifies support and resistance zones based on pivot points and high-volume areas.
It dynamically draws boxes to highlight key price levels where buying or selling pressure is concentrated.
Green zones = support (positive volume)
Red zones = resistance (negative volume)
Dashed boxes = breakout/failed support or resistance
Solid boxes = holding support or resistance
It also marks:
Resistance turning into support (R→S)
Support turning into resistance (S→R)
Breakout labels for quick recognition
This tool helps traders visually track volume-backed supply and demand zones to anticipate future price reactions.
中文 (Chinese):
本指标基于枢轴点与高成交量区域识别支撑与阻力。
它会动态绘制矩形框,标记价格在买卖力量集中的关键水平。
绿色区域 = 支撑(正成交量)
红色区域 = 阻力(负成交量)
虚线框 = 突破或失效的支撑/阻力
实线框 = 有效保持的支撑/阻力
同时标注:
阻力转为支撑 (R→S)
支撑转为阻力 (S→R)
突破标签,便于快速识别
该工具帮助交易者直观追踪成交量验证的供需区域,以便预判未来价格反应。
Adaptive Log Trend ChannelOne-line Summary / 一句话简介
EN: Adaptive log-scale trend channel using Pearson-optimized regression and deviation bands.
中文:基于皮尔逊优化回归的自适应对数趋势通道,带标准差波动带。
Full Description / 完整介绍
What it does / 功能
EN: This indicator fits a log-linear regression to price and builds a trend channel with ±k·σ deviation bands. It automatically selects the period with the highest Pearson correlation (R), ensuring the channel best matches the dominant market trend.
中文:该指标通过价格的对数线性回归拟合趋势,并在中线上下绘制 ±k·σ 偏差通道。它会自动选择皮尔逊相关系数 (R) 最高的周期,从而保证通道与主要趋势最贴合。
Why it’s useful / 适用价值
EN:
Naturally fits assets with multiplicative growth (crypto, tech stocks).
Adapts dynamically to different market regimes.
Provides CAGR estimates on Daily/Weekly charts for trend strength evaluation.
中文:
自然适用于呈现乘法增长的资产(如加密货币与科技股)。
可动态适应不同的市场阶段。
在日线/周线图上提供 趋势年化收益率 (CAGR),帮助评估趋势强度。
How it works / 工作原理
EN:
Computes log(price) → regression slope & intercept.
Draws a midline (log regression projection).
Upper & lower bands = ±k·σ in log space.
Info panel shows: Auto-Selected Period, Trend Strength (or Pearson’s R), and CAGR.
中文:
对价格取对数 → 计算回归斜率与截距。
绘制 中线(对数回归投影)。
上下轨 = 对数空间中的 ±k·σ。
信息面板显示:自动选择周期、趋势强度(或皮尔逊 R 值)、以及 CAGR 年化收益率。
Key Settings / 主要参数
EN:
Long-Term Mode: Uses extended periods (300–1200).
Deviation Multiplier (k): Controls channel width (default 2.0).
Styles: Colors, line type, and extension.
Panel Options: Toggle auto-period, Pearson’s R, and CAGR.
中文:
长期模式:采用更长周期 (300–1200)。
偏差倍数 (k):控制通道宽度(默认 2.0)。
样式:可设置颜色、线型、延长方式。
信息面板:可开关自动周期、皮尔逊 R、CAGR。
Notes / 注意事项
EN:
CAGR is only available on Daily/Weekly timeframes.
Regression-based tools may repaint as new bars form; treat it as context, not signals.
中文:
CAGR 仅在日线与周线周期可用。
回归类指标在新K线形成时可能重绘,仅用于趋势参考而非交易信号。
Multi EMA Pack (Full, Custom Multi-Cross)Exponential Moving Average (EMA) is a trend-following indicator that smooths price data by applying more weight to recent prices. It reacts faster to market changes than a Simple Moving Average (SMA). Traders often use multiple EMAs with different lengths to identify trend direction, spot crossovers as trade signals, and define dynamic support or resistance zones.
Nifty Trend vs Range (Final)This indicator is designed to help you quickly identify whether the Nifty market is trending, ranging, or preparing for a breakout by combining three volatility and trend-strength measures:
India VIX (Volatility Index)
ADX (Average Directional Index)
ATR (Average True Range)
It creates a Trend vs Range Decision Matrix that categorizes the market into actionable states such as Range – Quiet, Breakout Watch, Trend – Smooth, Trend – Confirmed, Trend – Volatile, or Choppy / Noisy.
🔑 How it Works
India VIX (Market Volatility)
Pulled directly from NSE:INDIAVIX (or your chosen symbol).
VIX thresholds are defined:
Below VIX Low → Calm market (often ranges).
Between VIX Low & High → Neutral/moderate volatility.
Above VIX High → High volatility (potential big moves or choppiness).
VIX can be scaled and plotted in the same pane with ADX/ATR, or shown separately with a companion script.
ADX (Trend Strength)
Custom calculation (Wilder’s smoothing, not built-in ta.adx), to ensure more consistent results.
Thresholds (auto-tuned by timeframe if enabled):
Low ADX → Weak/no trend, sideways.
High ADX → Strong directional trend.
ATR (Volatility Expansion)
ATR compared to a moving average of ATR detects whether volatility is rising or flat.
Used as confirmation for breakouts or fading moves.
🧠 Market State Logic
The script combines the three signals into an interpretable market state:
Range – Quiet → VIX low, ADX low, ATR flat
Trend – Smooth → VIX low, ADX high
Breakout Watch → VIX neutral, ADX low, ATR rising
Trend – Confirmed → VIX neutral, ADX high, ATR rising
Choppy / Noisy → VIX high, ADX low, ATR rising
Trend – Volatile → VIX high, ADX high, ATR rising
Neutral → fallback if conditions don’t match
Each state is color-coded with background shading and displayed as a persistent label with key metrics (VIX, ADX, ATR).
⚙️ Features
✅ Intraday Auto-Tuning
ADX/ATR thresholds automatically adjust depending on chart timeframe (5m, 15m, etc.).
✅ Scalable VIX Plotting
Option to overlay a scaled VIX line in the same pane or hide it if you use a separate VIX pane.
✅ Persistent State Label
Shows the current regime, timeframe, and key values. Updates every bar without stacking multiple labels.
✅ Alerts Ready
Alerts for each market regime can be set directly in TradingView.
✅ Background Coloring
Quick at-a-glance identification of current state.
🎯 How to Use
Ranging markets (low VIX, low ADX, flat ATR): Favor mean-reversion strategies like option selling, iron condors, or scalping.
Smooth trends (low VIX, high ADX): Favor directional trades with futures/options spreads.
Breakout Watch: Stay alert for possible trend initiation.
Confirmed trends (neutral VIX, high ADX, rising ATR): Ideal for momentum trading.
Volatile trends (high VIX, high ADX): Use caution, hedge positions, or trade with wider stops.
Choppy/Noisy (high VIX, low ADX): Avoid overtrading, expect false signals.
🕊️ Shemitah + Jubilee Cycle OverlayShemitah + Jubilee Cycle Overlay
This indicator overlays significant biblical cycle events—Shemitah and Jubilee years—onto your chart, providing a unique perspective on historical and potential future market cycles. The Shemitah cycle occurs every 7 years, while the Jubilee cycle spans 49 years, both starting from a user-defined year (defaulting to 1917). Key features include:
Highlight Shemitah Years: Shades the chart background in orange during Shemitah years, with customizable color and transparency.
Mark Jubilee Years: Draws bold blue vertical lines on the chart for Jubilee years, with optional labels.
Event Markers: Places vertical lines and labels (e.g., "Shemitah" or "Jubilee") on a specified month and day (defaulting to September 10th) for each cycle event.
Countdown Display: Shows the next upcoming Shemitah and Jubilee years on the chart for easy reference.
Customizable Inputs: Adjust the start year, cycle lengths, event date, colors, and visibility of highlights and labels to suit your analysis.
Ideal for traders and analysts exploring long-term economic or market patterns influenced by these traditional cycles, this overlay combines historical context with visual clarity. Use it on daily or higher timeframes for best results. The best markets to overlay this indicator on include major stock indices (e.g., S&P 500, Dow Jones), precious metals (e.g., Gold, Silver), cryptocurrencies (e.g., Bitcoin, Ethereum), and debt markets (e.g., U.S. Treasury Bonds, Corporate Bond ETFs), as these markets often reflect macroeconomic shifts, debt cycles, and speculative behavior that may correlate with Shemitah and Jubilee cycles.
Rationale for Including Debt Markets
U.S. Treasury Bonds:
Treasury securities (e.g., 10-year or 30-year bonds) are sensitive to interest rate changes and government debt levels. The Shemitah cycle (every 7 years) has been historically linked to debt-related economic adjustments, while the Jubilee cycle (every 49 years) aligns with broader debt forgiveness or restructuring concepts, making bonds a prime candidate.
Corporate Bond ETFs (e.g., LQD, HYG):
Corporate bond ETFs represent corporate debt and are influenced by credit cycles and economic resets. The indicator could highlight periods of potential default risk or yield shifts tied to Shemitah or Jubilee years.
Relevance to Biblical Context:
The Jubilee year, as described in the Bible (Leviticus 25), involves the release of debts and return of land, directly tying it to debt markets. The Shemitah year also includes a release of debts every seven years, making debt instruments a natural fit for this indicator’s thematic analysis.
Demand & Supply Smart Zones (Riz)A professional zone engine that detects, ranks, and maintains Supply and Demand areas across multiple timeframes. It combines swing structure, engulfing/imbalance logic, optional liquidity-sweep validation, and trend/volume filters. Zones are refined, merged, aged, and removed automatically, while a dashboard and mini-map summarize the state of the market at a glance.
How it works (why this isn’t a simple mashup)
⦁ Zone Detection (Auto/Manual/Hybrid):
⦁ Auto finds zones from three independent catalysts: swing turns, engulfing patterns, and imbalance candles.
⦁ Manual lets you define a zone precisely (top/bottom + type).
⦁ Hybrid adds your manual zones on top of the model’s detections.
⦁ Strength Model: Each zone receives a score using ATR-scaled size, relative volume (vs SMA), timeframe weight (higher TF = more authority), and session context (optional Killzone boost). This surfaces the most actionable areas rather than plotting everything.
⦁ Filters for Quality (Conservative/Aggressive):
⦁ Conservative can require trend alignment (EMA), volume validation, wide-body candles, structure context, and optional liquidity sweep checks.
⦁ Aggressive relaxes filters for faster, more frequent zones (e.g., scalping).
⦁ Refinement & Styling: Zones can be refined by wick, body, or hybrid logic to avoid over-sized regions. Visuals support solid/gradient/border styles, fresh/retest labels, and a heat-map emoji for strength.
⦁ Lifecycle Management: Zones can auto-delete on touch, delete on break, shrink on retests, expire after X bars, and cap retests. Old/merged zones are cleaned up to keep charts responsive.
⦁ Multi-Timeframe (MTF) Logic: Detects and optionally normalizes HTF zones (e.g., 60/240/D). Overlapping zones are merged across TFs with the higher TF taking precedence and receiving a small strength bonus. This prevents duplication and emphasizes institutional levels.
⦁ Proximity & Interaction Alerts: Alerts can fire on approach, first entry, and break, with separate Supply/Demand variants and per-TF options. An internal tracker avoids duplicate alert spam.
On-chart tools
⦁ Zones: Supply (red) / Demand (green), with “Fresh” or “R#” labels and strength heat-map.
⦁ Dashboard: Counts zones per TF, shows nearest supply/demand (in pips), trend state, and mode.
⦁ Mini-Map: A compact list of the 10 closest zones with TF, freshness, strength, and distance.
⦁ Trend Line (optional): EMA for directional context.
⦁ Killzone Background (optional): Session emphasis for timing.
Inputs & Key Options
⦁ Detection Mode: Auto · Manual · Hybrid
⦁ Strictness: Aggressive (more zones) · Conservative (fewer, higher quality)
⦁ Catalysts: Engulfing, Imbalance (ATR + volume threshold), Swing strength
⦁ Filters: Volume multiplier, wide-body %, trend EMA, structure checks, liquidity sweep lookback
⦁ MTF: Up to 3 higher TFs, with normalization to prevent oversized zones and priority stacking
⦁ Management: Auto-delete on touch, delete on break, dynamic shrinking, expiry bars, max retests
⦁ Merging: Overlap threshold and cross-TF consolidation
⦁ Alerts: Proximity (distance in pips), First Entry (fresh touch), Break, per-TF toggles
⦁ Display: Labels, size, heat-map, merging tags, dashboard position, mini-map
How to use
1. Choose Strictness
⦁ Conservative for swing/HTF traders who prefer cleaner, stronger zones.
⦁ Aggressive for scalpers who want earlier, more frequent levels.
2. Enable MTF and set HTF1/HTF2(/HTF3). Turn on Normalization to avoid giant HTF boxes.
3. Pick Catalysts & Filters. Start with Engulfing + Imbalance + Swing. Add volume/EMA/liquidity filters for quality.
4. Watch the Dashboard: It highlights mode, counts per TF, nearest zones (with distance), and overall trend.
5. Trade the Interaction:
⦁ Proximity alert → prepare;
⦁ First entry (fresh touch) → your confirmation rules;
⦁ Break → consider flips or invalidation.
6. Manual Zones (Hybrid): Add precise institutional levels and let the engine manage them (shrink, expire, merge).
Alerts (titles you’ll see)
⦁ Zone Proximity – approach within X pips
⦁ Zone Entry / Supply Zone Entry / Demand Zone Entry – first touch
⦁ Zone Break / Supply Zone Break / Demand Zone Break – clean break
⦁ Current TF / HTF1 / HTF2 Zone Alert – timeframe-specific triggers
⦁ Any Zone Alert – catch-all for any interaction
Notes & Tips
⦁ Fresh > Retested: First touches generally score better and are labeled accordingly.
⦁ Context Matters: Combining HTF zones with trend and volume filters significantly improves selectivity.
⦁ Performance: Zone limits and periodic cleanup are built in. If you plot many HTFs with Aggressive mode, consider raising strictness or lowering max zones.
Disclaimer
This tool is for educational and analytical purposes only. It does not constitute financial advice, nor does it guarantee outcomes. Trading involves risk; use proper risk management and your own judgment.
M2 + Fed Funds con anotaciones históricasThis TradingView indicator creates a separate panel that displays the historical evolution of M2 Money Stock (US) and the Federal Funds Rate, both normalized to a base of 100 for easier comparison. It highlights key historical events with annotations, including:
2000: Dotcom Bubble
2008: Global Financial Crisis
2020: COVID-19 Pandemic
The script allows users to visually analyze the relationship between monetary liquidity (M2) and interest rates, showing how changes in Fed policy correspond to major economic events and trends.
Previous OHLC D/W/M (Anchored - fixed)Open, close, high and low of previous month, week and day with right extension.
Bitcoin Cycles IndicatorTrack Bitcoin's cyclical price patterns across multiple timeframes with this cycle analysis tool. The indicator automatically identifies cycle lows and highs, marking them with clear visual labels that show cycle day counts and failed cycle detection.
Key Features:
Multi-Time frame Support - Optimized settings for Daily, Weekly, Monthly, and Custom time frames
Cycle Tracking - Identifies and labels cycle lows (green) and highs (red) with day counts
Failed Cycle Detection - Highlights when cycles break below previous lows
Customizable Settings - Adjust cycle lengths, colors, and display options for each timeframe
Info Box - Real-time cycle information display with current cycle day count
Projection Boxes - Visual cycle length projections for better analysis
Perfect for Bitcoin traders and analysts who want to understand market cycles and timing. Works best on Daily charts for short-term cycles and Weekly/Monthly charts for longer-term analysis.
SMC Mapping 2.0“This script is a Smart Money Concepts (SMC) indicator that helps traders identify market structure shifts such as Break of Structure (BOS) and Change of Character (ChoCH). It also highlights Supply & Demand zones, Internal/External Liquidity sweeps, and IDM levels.
The tool is designed for price action traders who want a clean and visual way to track BOS, ChoCH, and liquidity points directly on their chart. It is fully customizable with options to show/hide different elements, change colors, and adjust sensitivity.”
🔹 Script Overview
This script is based on Smart Money Concepts (SMC).
It automatically identifies Break of Structure (BOS), Change of Character (ChoCH), Supply & Demand zones, and IDM zones on the chart.
🔹 Features
Market Structure Detection → plots HH (Higher Highs) and LL (Lower Lows)
BOS & ChoCH → quickly identify trend shifts
Auto Supply & Demand Zones → highlights potential reversal areas
IDM Zones → marks imbalance/inefficiency
Clear color-coded visuals for bullish/bearish context
🔹 How It Works
The script evaluates recent swing highs and lows (20-bar lookback by default)
When price breaks above the recent high → Bullish BOS
When price breaks below the recent low → Bearish BOS
Based on this structure, the script automatically generates labels and zones
🔹 How To Use
Add the script to your chart (works well on 15m, 1H, 4H timeframes)
Use HH/LL labels to read the market structure
Supply & Demand zones help in identifying possible entry/exit points
IDM zones confirm imbalance areas for trade validation
🔹 Note
While this script uses classic concepts (HH, LL, Supply/Demand, IDM), the calculations, visuals, and styling are customized to provide a fresh and unique tool for traders. It is designed to help traders clearly see market structure and plan trades accordingly.
PSDIGreen Zone → Potential Buy Area
Price is near support.
Red Zone → Potential Sell Area
Price is near resistance.
EMA Lines
Blue (EMA50) above Orange (EMA200): Trend up → favors buys.
Blue below Orange: Trend down → favors sells.
How to Use
Look at zones and trend.
Price near green + trend up → consider long.
Price near red + trend down → consider short.
NOTE: When in uptrend, only follow green zones. When in down trend only follow red zones.
MTF Supply and Demand Zones [MMT]Description
The MTF Supply and Demand Zones indicator is a powerful tool designed to identify and display supply and demand zones across multiple timeframes (MTF) on your TradingView chart. These zones highlight key areas where price is likely to react, based on significant price movements in higher timeframes. The indicator is highly customizable, allowing traders to adjust zone strength, timeframes, colors, and display settings to suit their trading style.
Key Features
Multi-Timeframe Analysis : Detects supply and demand zones from up to five user-defined timeframes (e.g., 30m, 1H, 4H, 1D, 1W).
Zone Strength Filter : Filters zones based on the strength of price movements, ensuring only significant zones are displayed.
Customizable Display : Toggle supply and demand zones on/off, adjust colors, border styles, and label settings for clarity.
Dynamic Zone Extension : Extends zones to the right of the chart for better visibility, with adjustable extension length.
Zone Cleanup : Automatically removes zones when price breaks through them, keeping the chart clean and relevant.
Labels : Displays timeframe labels on zones for easy identification, with customizable size, color, and alignment.
How It Works
Supply Zones : Identified when a strong bearish candle follows a bullish or neutral candle, indicating potential selling pressure.
Demand Zones : Identified when a strong bullish candle follows a bearish or neutral candle, indicating potential buying pressure.
Zones are drawn as boxes, with the top and bottom based on key price levels (e.g., highs/lows or open prices).
The indicator uses a strength filter to ensure only significant zones (based on candle size ratios) are plotted.
Zones are updated dynamically, extending to the right by a user-defined number of bars and removed when price breaks through them.
Settings
S&D Zones Settings
Zone Strength Filter : Adjust the minimum candle size ratio (default: 1.8) to filter weaker zones.
Show Supply/Demand : Enable or disable supply and/or demand zones.
Supply/Demand Colors : Customize the fill and border colors for supply (default: red) and demand (default: green) zones.
Timeframes : Enable up to five timeframes (e.g., 30m, 1H, 4H, 1D, 1W) to analyze zones. Only zones from timeframes higher than the chart’s timeframe are displayed.
Display Settings
Zone Extension : Set how far zones extend to the right (in bars, default: 15).
Show Label: Toggle timeframe labels on zones.
Label Style : Customize label color, size (tiny, small, normal, large, huge), and alignment (horizontal/vertical).
Usage Tips
Use higher timeframes (e.g., 4H, 1D) for stronger, more reliable zones.
Combine with other indicators (e.g., support/resistance, trendlines) to confirm trade setups.
Adjust the Zone Strength Filter to reduce noise in volatile markets.
Enable labels to quickly identify the timeframe of each zone.
Notes
The indicator is overlayed on the price chart and supports up to 500 zones.
Zones are removed when price breaks above (supply) or below (demand), ensuring only active zones remain.
Works best on markets with clear price action, such as futures, forex, stocks, or cryptocurrencies.
Happy trading! 🚀
ZigZag++ + 4 EMA89 Trend Candles + BUY/SELL LabelsThis script combines ZigZag patterns, EMA89 trend detection, and custom buy/sell scalp signals. It helps identify trend direction and potential entry points in trending markets.
Features:
- ZigZag structure points
- EMA89 as dynamic trend filter
- Buy/Sell scalp markers
- HL/HH swing labels
- Works best on 15m–4h timeframes
EITS - Market StructureThis script marks the Swing Lows and Highs of a chosen pair. H,HH,L,LL,HL,LH will be marked on chart. Have fun!!
ZigZag++ + 4 EMA89 Trend Candles + BUY/SELL LabelsThis script combines ZigZag patterns, EMA89 trend detection, and custom buy/sell scalp signals. It helps identify trend direction and potential entry points in trending markets.
Features:
- ZigZag structure points
- EMA89 as dynamic trend filter
- Buy/Sell scalp markers
- HL/HH swing labels
- Works best on 15m–4h timeframes
ZigZag+4 EMA89 Trend Candles + BUY/SELL SCALPThis script combines ZigZag patterns, EMA89 trend detection, and custom buy/sell scalp signals. It helps identify trend direction and potential entry points in trending markets.
Features:
- ZigZag structure points
- EMA89 as dynamic trend filter
- Buy/Sell scalp markers
- HL/HH swing labels
- Works best on 15m–4h timeframes
SP2L Pour Samadi Indicator [TradingFinder] Spike 2 Legs PA🔵 Introduction
The SP2L (Spike–2Leg) strategy, designed by Mohammad Ali Poursamadi, an international Iranian trader, is a simple yet powerful price action setup developed to identify precise entry points following sharp market movements.
A Spike refers to a sudden and rapid move in the market, usually triggered by a heavy flow of orders in one direction. This sharp movement creates an Imbalance between buyers and sellers. Since the market does not have time to trade evenly during such moves, it generates Inefficiency on the chart.
The direct result of a spike is usually the formation of a Fair Value Gap (FVG) — a space between candles indicating that trades were not distributed fairly. In simple terms, the spike is the cause, while Imbalance, Inefficiency, and FVG are its consequences.
🟣 How is a Spike formed?
Big Movement : A spike begins with a sharp and powerful move caused by heavy order flow in one direction.
Imbalance : This move disrupts the balance between buyers and sellers.
Inefficiency : Due to the speed of the move, the market fails to trade efficiently, leaving inefficiency on the chart.
Fair Value Gap (FVG) : The final outcome is a price gap between candles, highlighting unfair distribution of trades.
In SP2L, entries occur right after a spike. The entry logic is based on the structure of each candle’s Higher Lows (HLs) or Lower Highs (LHs).
When a spike occurs and candles consecutively form higher lows or lower highs :
In bullish conditions, each previous low becomes a potential Buy Entry.
In bearish conditions, each previous high becomes a potential Sell Entry.
🔵 How to Use
In the SP2L strategy, entries occur directly within the ongoing strong movement (the spike). A spike forms when heavy order flow pushes the market strongly in one direction, creating several large candles in sequence. This disrupts balance and leaves patterns such as Imbalance and FVG on the chart.
During such moves, the market does not necessarily retrace; instead, it continues strongly in the direction of the spike. The key principle in SP2L is that candles begin forming Higher Lows (HLs) in a bullish spike or Lower Highs (LHs) in a bearish spike. Each HL or LH acts as a potential entry level, but the actual entry only triggers once price returns to retest that level. This allows the trader to enter within a powerful wave while keeping stop-losses clear and risk controlled.
🟣 Bullish SP2L
When a bullish spike occurs, candles consecutively form Higher Lows. Each HL marks a potential entry. The entry is activated when price returns to that HL.
Stop-Loss (SL) : Placed below the candle where the spike originated, usually the lowest point before the sharp move.
Take-Profit (TP) : Defined based on classic risk-to-reward ratios, commonly TP1 = 1:1 and TP2 = 1:2. Stronger trends may allow extended targets.
🟣 Bearish SP2L
When a bearish spike occurs, candles consecutively form Lower Highs. Each LH marks a potential sell entry. The entry is triggered when price returns to retest that LH.
Stop-Loss (SL) : Placed above the candle where the bearish spike started, usually the highest point before the sharp drop.
Take-Profit (TP) : Similar to bullish setups, typically TP1 = 1:1 and TP2 = 1:2, with extended targets possible if bearish momentum continues.
🔵 Settings
🟣 Spike Filter | Movement
Minimum Spike Bars : Defines the minimum number of consecutive candles required for a valid spike.
Movement Power : Enables or disables the momentum-based spike filter.
Movement Power Level : Sets the strength threshold; higher values filter out weaker moves and only detect strong spikes.
🟣 Spike Filter | Gap
Gap Filter : Enables or disables the gap filter.
Gap Type : Selects which type of gap should be detected (All Gaps, Significant, Structural, Major).
🟣 Spike Filter | Doji
Doji Tolerance : Defines whether doji candles are allowed within a spike.
Max Doji Body Ratio : Maximum ratio of body-to-total candle size for classifying a candle as a doji.
Max Doji in Spike Ratio : Maximum percentage of doji candles allowed within a spike.
🟣 Trend Detection
Trend Detection : Enables or disables the trend detection module using dojis.
Max Doji Body Ratio : Maximum body-to-candle ratio used to classify a doji in trend calculations.
Candle Lookback : Number of candles used to calculate doji percentage for trend evaluation.
Max Doji in Trend Ratio : Maximum percentage of doji candles allowed within the lookback window for the trend to be valid.
🟣 Position Management
Stop-Loss Threshold : Enables or disables the stop-loss threshold feature.
Stop-Loss Threshold Value : Defines the value of the stop-loss threshold for risk management.
Risk-Reward Ratio : Sets the desired risk-to-reward ratio (e.g., 1:1 or 1:2).
Include SL Threshold in R:R : Determines whether the stop-loss threshold is included in risk-to-reward calculations.
🟣 Display Settings
Display Mode : Chooses between Setup (showing setups) or Signal (showing trade signals).
Only Display the Last Position : Displays only the most recent position on the chart when enabled.
🔵 Conclusion
The SP2L (Spike–2Leg) strategy, designed by Mohammad Ali Poursamadi, offers a simple yet effective framework for trading strong market flows. Built on the logic of spikes and candle structures (HLs and LHs), it identifies precise entry points directly within the main movement of the market, where risk is clear and reward is logical.
With transparent rules, defined stop-loss placement, and flexible risk management, SP2L proves especially effective in volatile markets such as forex, gold, and indices. Its simplicity makes it practical for both beginner traders and seasoned professionals.
In summary, SP2L helps traders avoid unnecessary complexity by focusing on spikes and consecutive HL/LH formations to capture accurate, low-risk entries.
MTF QFG (Quarter Fib Grid)The MTF QFG (Quarter Fib Grid) calculates quarter Fibonacci levels based on the previous daily, weekly, or monthly high/low. These levels act as potential support and resistance zones. Suitable for scalping, swing trading, or identifying key price reactions.
Money Maverick Jeffrey LineMoney Maverick Jeffrey Line - Release Notes
Version 1.0 (Initial Release) - September 14, 2025
Overview
Welcome to the Money Maverick Jeffrey Line (MMJL), a custom TradingView indicator designed for trend-following in volatile markets like cryptocurrencies (e.g., Bitcoin), tech stocks, and commodities. It's built in Pine Script v5 and focuses on providing clear signals: GOLD (strong uptrend - buy/hold longs), BLUE (strong downtrend - sell/exit), and GRAY (neutral - stay out).
The goal? Help you trade like a "money maverick" – disciplined, low-effort, and risk-aware – without the emotional rollercoaster. Backtested on TSLA, it shows solid win rates (~80%) with lower drawdowns than buy-and-hold.
Key Features
• Trend Signals: Uses multiple Exponential Moving Averages (EMAs) for consistency checks, outputting one of three states to guide entries/exits.
• Filters for Accuracy:
o ADX (Average Directional Index) to confirm strong trends (threshold: 25 by default).
o Optional volume confirmation to ensure signals align with above-average market activity (default: off).
• Visual Enhancements:
o Colored lines and fills for EMAs.
o Full-chart background shading based on state (Gold, Blue, Gray) – default fully transparent for a clean look.
o On-chart table showing current state (e.g., "GOLD (Buy)").
o ATR-based trailing stop lines for risk management hints (default: shown, with "Line with Breaks" style to avoid clutter in neutral zones).
• Alerts: Built-in alerts for state changes – set them up in TradingView for notifications.
• Customization: User inputs for MA lengths, colors, ADX threshold, volume filter, ATR multiplier, fill/BG transparency, and trailing stops toggle. Tweak for your assets!
• Low Lag Design: EMAs for quicker trend detection while keeping smoothness.
How to Install and Use
1. Add to TradingView:
o Open TradingView > Pine Editor > Paste the script code > Save as "Money Maverick Jeffrey Line" > Add to Chart.
2. Customize Settings:
o In the indicator settings (gear icon), adjust lengths (e.g., Fast MA: 15), enable/disable volume filter or trailing stops, or change colors/transparency (default fill: 50, BG: 100).
3. Trading Rules (Suggested):
o GOLD: Enter/scale into longs if not in position; use red trailing stop as exit hint.
o BLUE: Exit longs (or enter shorts if aggressive); use green trailing stop as exit hint.
o GRAY: Hold if positioned; avoid new entries.
o Use on higher timeframes (4H, Daily, Weekly) for best results.
o Combine with your own fundamental analysis – this is a tool, not financial advice!
4. Backtesting: Test in TradingView's Strategy Tester or external tools. On TSLA (2010-2025 daily), it achieved +15,000% return with 80% win rate and -25% max drawdown (vs. HODL's +24,900% but -85% drawdown). Why Use It? Even though total returns are lower than HODL, MMJL prioritizes risk management with significantly reduced drawdowns, better risk-adjusted performance (e.g., higher Sharpe Ratio), and smoother equity curves. It excels in diverse market conditions by exiting during downtrends, providing psychological discipline through rule-based signals, and serving as a portfolio diversifier with low correlation to traditional holdings. Ideal for traders seeking sustainability over maximum upside in volatile assets.
5. Alerts Setup: In TradingView, go to the indicator > Alerts > Create Alert based on conditions like "Money Maverick Jeffrey Line: GOLD".
Known Issues/Limitations
• Lagging in Nature: Still a trend-follower, so it may enter late in new trends or exit early in pullbacks.
• No Dashed Lines: TradingView v5 uses "Line with Breaks" for trailing stops to show segments only in trends.
• Volume Data: Relies on TradingView's volume; may vary by exchange/feed.
• Not for All Markets: Best for trending assets; underperforms in prolonged ranges.
• No Guarantees: Past performance isn't indicative of future results. Trading involves risk of capital loss – use at your own discretion.
Credits and Disclaimers
• Inspired By: CTO Larsson's original Larsson Line (free version on TradingView: VaY7PmRo).
• Developed With: Enhancements by Grok (xAI) based on user feedback.
• Testing Invitation: Share this with your friends! Feedback on performance, bugs, or ideas? Comment on TradingView or discuss in communities.
• Disclaimer: This is not financial advice. Always do your own research (DYOR). No warranties – use responsibly.
If you encounter issues or want updates (e.g., adding more features like auto-trailing stops), let me know. Happy trading, Mavericks! 🚀