RS of long term KSTDescription
Relative Strength of KST (Know Sure Thing) momentum between a stock and a reference index (e.g., Intesa San Paolo vs. FTSEMIB).
This indicator computes the KST oscillator separately for the chart symbol and the comparative symbol, then plots the difference (stock KST minus index KST). A positive or rising value indicates the stock has stronger momentum than the benchmark.
Best used on weekly timeframes.
Features:
- Fully configurable KST parameters (ROC lengths, SMA smoothing, weights).
- Signal line (SMA of the RS of KST) for potential crossover signals.
- Zero line for reference.
Rising values or crossings above the signal line may suggest improving relative momentum.
What the Script Does
This indicator calculates the Relative Strength of the KST momentum oscillator between the current chart symbol (e.g., a stock) and a comparative symbol (default: FTSEMIB).
KST Calculation (Know Sure Thing oscillator, originally developed by Martin Pring), computes four Rate-of-Change (ROC) values with different lengths (10, 13, 15, 20 by default). Each ROC is smoothed with its own SMA. The four smoothed ROCs are weighted (weights 1, 2, 3, 4 by default) and summed to create the final KST value.
This is done separately for: The chart symbol → kst
The comparative symbol → kstSymbol
Relative Strength of KST res = kst - kstSymbol
This is a subtraction-based relative strength (difference) of the two KST values, not a ratio, as to avoid singularity (division by zero).
A rising line or value above zero means the stock’s momentum (KST) is stronger than the index’s momentum.
Plotting Plots the RS of KST as a blue line.
Overlays a gray SMA (default length 10) with cross style (acts as a signal line).
Horizontal line at zero for reference.
This is best used on weekly charts (as KST is typically a longer-term momentum indicator).
Indicateurs et stratégies
Bull/Bear vs Base vs Index (% Change Spread)Visualizes the performance gap ("Beta Decay") between 3x Leveraged ETFs (SOXL/SOXS) and their underlying sector (SOXX), relative to the S&P 500 (SPY).
This indicator is designed for traders who trade leveraged products (like SOXL/SOXS, TQQQ/SQQQ) and need to see true relative strength beyond simple price action.
It calculates the percentage change over a user-defined lookback period for four instruments:
Base (1x): The sector benchmark (Default: SOXX).
Bull (3x): The leveraged long ETF (Default: SOXL).
Bear (-3x): The leveraged inverse ETF (Default: SOXS).
Index: The broad market zero-line (Default: SPY).
It then plots the Spread to reveal the health of the trend:
Bull Spread (Green Line): Bull % - Base %
Bear Spread (Red Line): Bear % - Base %
Base vs Index (Filled Area): Base % - SPY %
🧠 The Logic: Why Use Spreads?
In a perfectly efficient trending market, a 3x Bull ETF should move exactly 300% of the underlying asset. However, in choppy or volatile markets, volatility decay (beta slippage) causes leveraged ETFs to underperform mathematically.
Positive Spread: The leveraged ETF is successfully capturing momentum (The "Sweet Spot").
Negative Spread: The leveraged ETF is suffering from drag or the underlying asset is chopping.
📈 Recommended Trading Plan
Note: This indicator works best as a filter for entry conditions, not a standalone signal. Always use proper risk management.
Strategy A: The "Clean Trend" (Momentum)
Goal: Enter a 3x position only when volatility drag is minimal.
1. Bull Signal:
Condition 1: The Base vs Index (Area) is Green (Sector is outperforming SPY).
Condition 2: The Bull Spread (Green Line) is Positive (> 0).
Why: This confirms the sector is strong AND the 3x ETF is amplifying that move efficiently without decay eating the profits.
2. Bear Signal:
Condition 1: The Base vs Index (Area) is Red (Sector is lagging SPY).
Condition 2: The Bear Spread (Red Line) is Positive (> 0).
Why: This confirms the sector is crashing and the Bear ETF is successfully capturing the downside momentum.
Strategy B: The "Decay Avoidance" (Cash is King)
Goal: Avoid leveraged funds during chop.
Condition: If BOTH the Bull Spread and Bear Spread are Negative (< 0) (below the zero line).
Action: Stay in Cash or trade the 1x underlying (SOXX) only.
Why: When both spreads are negative, it mathematically proves that the market is too choppy for leverage. Both the Long and Short leveraged funds are losing value relative to the underlying asset.
Features:
Pine Script® v6: Updated for the latest engine performance and visuals.
Dashboard Table: Real-time percentage spreads displayed directly on the chart (customizable position).
Fully Customizable: Works on any sector (e.g., set inputs to QQQ/TQQQ/SQQQ for Tech).
Disclaimer:
Trading leveraged ETFs involves significant risk. This script is for educational purposes only.
Market Pressure Regime [Interakktive]The Market Pressure Regime (MPR) is a 4-state market classifier that models how structural forces create "pressure zones" — regions where price movement is either supported (Release) or suppressed (Pinned) by market microstructure.
It combines compression analysis, follow-through efficiency, and stress detection into a composite pressure score, classifying markets into Release, Suppressed, Transition, or Trap states — helping traders understand WHY price is moving (or not moving) in the current environment.
█ USAGE
MPR addresses a core question traders face: Is the market in a regime where directional moves are likely to follow through, or is it structurally pinned?
For swing traders, MPR identifies Release phases where momentum strategies work best, and Suppressed phases where mean reversion dominates.
For day traders, it highlights Trap conditions — high effort with no follow-through — where reversals are probable and trend entries fail.
🔹 The 4-State Model
The indicator classifies markets into four distinct regimes:
• Release (Teal): Pressure score ≥ +5. Directional flow dominates. Price moves efficiently with follow-through. Favor trend continuation.
• Suppressed (Grey): Pressure score ≤ -5. Compression dominates. Price is range-bound or pinned. Fade extremes, expect reversion.
• Transition (Amber): Score between thresholds OR instability detected. Regime is uncertain — wait for confirmation before committing.
• Trap (Magenta): High stress + low follow-through. Effort without result. Expect reversals.
🔹 Reading the Pressure Histogram
The histogram displays the composite Pressure Score (range approximately -100 to +100):
• Positive values: Follow-through exceeds compression. Market is "releasing" — directional moves are supported.
• Negative values: Compression exceeds follow-through. Market is "suppressed" — price movement is constrained.
• Color reflects confirmed state: The histogram uses persistence filtering — a state must hold for N bars before the color changes, preventing false signals from noise.
🔹 The 5-Stage Calculation
MPR synthesizes five analytical stages into the final state:
1. Compression Score: Measures how tight the current range is relative to ATR. High compression suggests structural forces are pinning price.
2. Follow-Through Score: Measures price path efficiency (MER-style). Efficient moves indicate genuine directional flow, not chop.
3. Stress Score: Detects effort-without-result (ERD-style). High volume or range with no price progress = absorption.
4. Composite Pressure: Combines follow-through and compression into a single directional score.
5. Persistence Filter: Requires states to hold for configurable bars before confirming, eliminating flickering.
█ SETTINGS
Core Settings
• ATR Length: Period for volatility normalization. Default 14.
• Baseline Lookback: Period for compression and efficiency baselines. Default 20.
• Volume Average Length: Period for stress calculation baseline. Default 20.
State Classification
• Release Threshold: Pressure score above this = Release. Default +5.
• Suppressed Threshold: Pressure score below this = Suppressed. Default -5.
• Trap Threshold: Stress score above this (with low follow-through) = Trap. Default 30.
• Persistence Bars: Bars required to confirm state change. Default 3.
• Stability Lookback: Period for stability calculation. Default 20.
• Stability Threshold: Below this = forced Transition state. Default 0.5.
Visual Settings
• Show Pressure Histogram: Display the main pressure score histogram.
• Show Zero Line: Display the zero reference line.
• Show Background Tint: Subtle background color by state (default OFF).
Data Window
• Show Data Window Values: Export all calculated scores for analysis.
█ INTERPRETATION GUIDE
When to Use Trend Strategies (Release):
• Histogram tall and positive
• Teal coloring confirmed
• Price making efficient higher highs or lower lows
When to Use Mean Reversion (Suppressed):
• Histogram flat or negative
• Grey coloring confirmed
• Price oscillating without follow-through
When to Wait (Transition):
• Amber coloring
• Mixed signals — don't force trades
• Wait for state to resolve
When to Expect Reversals (Trap):
• Magenta coloring
• High volume moves that don't stick
• Often occurs at structural inflection points
█ COMPLEMENTARY TOOLS
MPR pairs well with:
• Volatility State Index (VSI) — Confirms whether volatility is expanding into the pressure regime
• Effort-Result Divergence (ERD) — Provides bar-by-bar absorption/vacuum detection
• Market Efficiency Ratio (MER) — Validates follow-through quality
█ SUITABLE MARKETS
Works across all liquid markets:
• Equities: SPY, QQQ, liquid single stocks
• Futures: ES, NQ, CL, GC
• Crypto: BTC, ETH
• Forex: Major pairs
Works on any timeframe, but 1H–Daily provides cleanest regime classification. Intraday (5m–15m) useful for session-level tactical decisions.
█ OPEN SOURCE
This indicator is open-source for educational purposes. Review the code to understand the full calculation methodology.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
SMH DualMomentum Signals (ROC + Volume)SMH Dual Momentum (ROC + Volume Confirmation)
This indicator identifies high-quality bullish trends by combining price momentum (Rate of Change) with volume confirmation, and exits when momentum structurally fails.
Core Logic
BUY signal
Rate of Change (ROC) over N periods is above a positive threshold (strong upside momentum)
Current volume is above its moving average (rising market participation)
SELL signal
ROC crosses below zero, indicating loss of bullish momentum
Why It Works
ROC measures the speed and strength of price movement, filtering out weak or drifting trends
Volume confirmation ensures momentum is supported by real capital flow, reducing false breakouts
Momentum-based exit avoids prolonged drawdowns and capital stagnation
Key Advantages
Focuses on trend continuation, not prediction
Filters out low-quality price moves and range-bound markets
Captures long, high-conviction trends with relatively few trades
Simple, robust rules using only price and volume
Best Use Cases
Designed for trend-driven ETFs such as SMH (Semiconductors)
Suitable for swing to position trading on daily charts
Works best in markets with strong sector rotation and institutional participation
Notes
This is a trend-following momentum tool, not a mean-reversion indicator
No stop-loss is built in; risk management should be handled externally if required
Parameters can be adjusted to match different timeframes or assets
Williams %RDescription
This is a modified version of the classic Williams %R oscillator, adapted for markets with defined trading sessions (e.g., FTSEMIB, DAX, US stocks, etc.). It adjusts the lookback period based on the actual trading session length, making it more accurate on intraday timeframes.
Key Features
Session Adjustment:
Automatically scales the period to trading days (default: 8.5 hours for FTSEMIB, DAX, CAC; customizable for any market).
Formula (classic Williams %R):
%R = 100 × (Close - Highest High) / (Highest High - Lowest Low)
over a user-defined period (default 14 days).
Standard Levels:
-20 (overbought)
-50 (middle line)
-80 (oversold)
Visual Enhancements:
- Customizable colors for the line, levels, and background fill
- Shaded overbought/oversold zone
How to Use:
Overbought (above -20):
Potential sell signal or reversal (especially after a prolonged uptrend).
Oversold (below -80):
Potential buy signal or reversal (especially after a downtrend).
Divergences:
Look for bullish/bearish divergences between price and %R for early reversal warnings.
Best Markets:
Indices (FTSEMIB, DAX, SPX), stocks, futures. For 24/7 markets (crypto), set session duration to 24 hours.
Timeframes:
Works on intraday (15m, 1h, etc.) and daily charts.
Customization Tips:
- Adjust the period (shorter = more sensitive, longer = smoother).
- Change session duration for different markets.
- Customize colors to match your chart theme.
Note: Williams %R is a momentum oscillator and should be used in combination with other tools (trendlines, support/resistance, volume). Always practice proper risk management.
3MA Alignment Ribbon [AlgoTraderPro]3MA Alignment Ribbon is a clean, visual trend-structure indicator based on the alignment of three moving averages.
Instead of focusing on crossovers, it highlights trend quality and direction by dynamically coloring the moving averages and the ribbon between them.
The goal is simple : See at a glance whether the market structure is bullish, bearish, or neutral.
⸻
How It Works
The indicator plots three moving averages (Fast, Medium, Slow) and evaluates their alignment:
Bullish → Fast > Medium > Slow
Bearish → Fast < Medium < Slow
Neutral → Any other configuration
The moving averages and the filled ribbon between them are automatically colored based on this alignment, making trend conditions immediately visible.
⸻
Key Features
✅Multi-MA Support
Choose between:
EMA (default)
SMA
WMA
VWMA
RMA
HMA
✅ Alignment Modes
Strict: classic Fast > Medium > Slow logic
Tolerant: requires a minimum percentage separation between averages to reduce noise in ranging markets
✅ Optional Slope Filter
Filter signals by requiring the slow MA to be rising or falling, helping avoid false trend states during flat conditions.
✅ Higher Timeframe (HTF) Ribbon
Overlay the same 3MA alignment logic from a higher timeframe on your current chart:
Fully optional
Correctly calculated on the HTF itself
Option to use confirmed HTF bars only (reduces repaint confusion)
✅ Alerts & Visual Signals
Alerts when alignment turns Bullish, Bearish, or Neutral
Optional on-chart markers when the alignment flips
✅ Custom Styling
Fully customizable colors and transparency
Designed to remain readable without cluttering the chart
⸻
How to Use It
This indicator works best as:
A trend filter for discretionary trading
A context tool for entries using other setups
A market structure overlay for scalping, swing trading, or position trading
It does not generate buy/sell signals by itself — instead, it helps you trade aligned with market structure.
⸻
Default Settings
The default lengths (50 / 100 / 200 EMA) are suitable for most markets and timeframes, including crypto, forex, indices, and equities.
PCR Sentiment & Max Pain by Rakesh Sharma🎯 PCR + SENTIMENT + MAX PAIN INDICATOR
Track options market sentiment to catch reversals before they happen! See where smart money is positioning through Put-Call Ratio analysis.
✨ KEY FEATURES:
- PCR (Put-Call Ratio) with visual zones
- Market Sentiment Analysis (Bullish/Bearish/Neutral)
- Max Pain Level calculation (expiry day advantage)
- Automatic Buy/Sell signals at extreme levels
- Real-time dashboard with actionable insights
- Fear & Greed gauge
- Trading action recommendations
🎯 PERFECT FOR:
Nifty, Bank Nifty, Index Options - Intraday & Swing Trading
⚡ TRADING SIGNALS:
- PCR > 1.5 = Market oversold (Fear) → BUY signal
- PCR < 0.7 = Market overbought (Greed) → SELL signal
- Extreme levels trigger STRONG signals
- Contrarian indicator - Trade against the crowd!
💡 UNIQUE ADVANTAGE:
Combines options sentiment with price action for high-probability reversals. Know when institutions are bullish or bearish!
Created by: Rakesh Sharma
Simple Trend Pullback Tool (EMA) v1.1Simple Trend Pullback Filter (EMA)
Overview This script is a lightweight, objective tool designed to filter out market noise and identify high-probability entry zones in trending markets. Built on the core principle of "The Rising Tide," it utilizes a dual-EMA cloud to visualize the trend’s health and highlight where the price is likely to find support after an overextended breakout.
How It Works
Trend Identification: The script tracks the alignment between the EMA 50 and EMA 200. When the price is consistently above this "Cloud," the market is in a confirmed uptrend.
The Pullback Logic: Instead of chasing breakouts (which often lead to FOMO-driven losses), this tool highlights the 'Mean Reversion' zone. It signals an entry when price action "pulls back" into the EMA cloud while the primary trend remains bullish.
Simplicity First: There are no laggy oscillators or repainting signals. It uses price action relative to time-weighted moving averages to keep your chart clean and your decisions logical.
Example Use Case: $CUU.V and NASDAQ:RKLB In the current market (December 2025), we see high-velocity breakouts in sectors like Space and Copper. While a stock like Copper Fox ($CUU.V) may jump 28% on merger news, this script helps traders wait for the necessary consolidation back toward the EMA 20/50 support before committing capital.
Settings
EMA 1 (Fast): Default 50 — Tracks intermediate momentum.
EMA 2 (Slow): Default 200 — The "Line in the Sand" for long-term trend direction.
Position size calculatorA clean position size calculator designed specifically for leverage traders.
It calculates your position size, potential profit, and risk-to-reward ratio (R/R) based on fixed dollar risk.
Simply enter your entry price, stop-loss, take-profit, and risk in USD to receive precise results.
The position size is currently calculated using the following risk-based formula:
Position Size = Risk ($) / Stop-Loss distance.
This approach keeps risk constant regardless of leverage.
All colors are fully customizable to seamlessly fit your chart theme.
If you have ideas for additional calculation models or if you find any issues, leave a comment and help improve the tool.
Gann ArchitectThe Gann Architect is a quantitative geometric engine designed to solve the primary limitation of standard Gann tools: Scaling.
Standard Gann Fans use fixed angles (e.g., 45 degrees for 1:1), which often fail when applied to volatile assets or different timeframes because they do not account for the specific price-to-time ratio of the asset. This indicator solves this by calculating a Dynamic Slope. It identifies the initial "Impulse Phase" (Anchor Low → First Major High) and mathematically "squares" the chart to fit that specific market structure.
Key Features
Dynamic Squaring: Automatically calculates the true 1:1 Master Line based on the asset's actual volatility, not an arbitrary angle.
Quantitative Alerts: Includes a built-in alert system. You can set alerts for "Crossed 1:1" (Trend Break), "Structural Fail 1:2" (Support Break), or "Impulse Breakout 2:1".
Real-Time Data Panel: A dashboard displays the exact price targets for the geometric levels, removing the need to eyeball the lines.
Efficiency: Uses a circular buffer memory system to ensure high performance ("100% potential") without slowing down your chart.
How to Use
This tool is designed as a Trend Following & Structure Map, not a reversal signal.
The 1:1 Line (Solid): This represents the "True Trend." In a strong bullish phase, price should respect this line as dynamic support. A confirmed close below this line often signals momentum loss.
The 1:2 Line (Bottom Support): This acts as the "Structural Floor." If price loses the 1:1 but holds the 1:2, it is considered a healthy correction. A break below the 1:2 typically invalidates the geometric structure of the current cycle.
The 2:1 Line (Top Resistance): This marks the "Impulse Zone." A break above this line suggests parabolic or over-extended behaviour.
Settings
Cycle Stiffness: Controls the sensitivity of the pivot detection. Increase this value (e.g., to 4 or 5) to filter out noise and focus on macro trends.
Anchor Pivot #: Allows you to select which historical cycle bottom to anchor the geometry to (1 = most recent confirmed bottom).
Slope Multiplier: Adjusts the aggressiveness of the fan. Default is 1.0 (Geometric Standard).
Technical Disclosure (Repainting & Lag)
This script utilises a Confirmed Pivot Detection system.
Signal Lag: To ensure reliability, the geometric fans anchor to confirmed pivots. A pivot is only confirmed after Right Length bars have passed. Therefore, the fans will appear on the chart with a slight delay relative to the absolute low.
Repainting: Once a pivot is confirmed and the fans are drawn, the lines for that specific cycle do not repaint history. However, if a new, lower low forms that invalidates the previous structure, the script will dynamically shift to the new anchor point to maintain geometric accuracy.
Disclaimer This script is for educational and experimental purposes only. Geometric analysis is a mapping tool, not a guarantee of future price action. Always use proper risk management. Past performance of geometric levels does not guarantee future results.
QuantLabs Multi Asset Similarity Matrix [V3 Final]The Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close /close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed with love by David James @QuantLabs : )
MRX_M7 777//@version=5
indicator("MRX_M7 777 MTF ALERT (jgar)", overlay=true)
// === SOZLAMALAR ===
tfInput = input.timeframe("15", "Qaysi TF")
showZone = input.bool(true, "Zonani ko‘rsat / o‘chirish")
zoneColor = color.new(color.lime, 75)
// === MTF DATA (BITTA QATORDA!) ===
= request.security(syminfo.tickerid, tfInput, )
// === ENGULF ===
engulf = mtfHigh > mtfHigh and mtfLow < mtfLow
// === ZONA ===
zoneHigh = mtfHigh
zoneLow = mtfLow
// === CHARTGA CHIZISH ===
if engulf and showZone
box.new(bar_index - 1, zoneHigh, bar_index, zoneLow, bgcolor = zoneColor, border_color = color.lime)
label.new(bar_index, zoneHigh, "ENGULF " + tfInput, style = label.style_label_down, textcolor = color.white, bgcolor = color.lime)
// === ALERT ===
alertcondition(engulf, title="MTF ENGULF", message="ENGULF " + tfInput + " timeframe da sodir bo‘ldi")
Power Law of Diminishing Returns for BTC:USDTThis is a script to see if the Law of Diminshining Returns is applicable to BTC/USD
AKILLI ANALIZ TERMINALI (V20-REVIZE)SMART ANALYSIS TERMINAL (V20-ULTIMATE)
This indicator is a professional-grade analysis terminal designed for both strategic daily analysis (Swing Trade) and real-time intraday trading (Scalp/Day Trade). It allows you to perform a complete technical X-ray of the market on a single dashboard.
CORE FEATURES:
- Dual-Mode Hybrid Engine: Choose between "NIGHT (ANALYSIS)" or "IN-DAY (AGGRESSIVE)" modes in settings. Mathematical periods and target levels update automatically.
- Smart Scoring System: Blends RSI, MACD, EMA, ADX, and Volume data to produce 5 distinct signals from "VERY POSITIVE" to "VERY NEGATIVE."
- Symmetrical Visual Panel: Left panel displays Live Signal, Pivot Balance, Money Flow, and Target/Support; right panel focuses on RSI, Trend, Momentum, and Volume confirmation.
- Money Flow Algorithm: Detects institutional accumulation (Entry) or distribution (Exit) by analyzing price-volume correlation.
USER GUIDE:
1. NIGHT MODE: Use for evening analysis to plan for the next day. Based on EMA 20/50 and standard MACD values.
2. IN-DAY MODE: Use during live sessions on 5m and 15m charts. Catch instant momentum shifts with EMA 9/21 and aggressive settings.
Mini RSI+STOCH-RSI+RSI-DIVERGENCE @Marx_CapitalMini version of RSI + STOCHASTIC-RSI with RSI-Divergence detection - all in one, adjustable small table overlayed on your chart. The table box gives RSI and Stoch-RSI values and signals detected RSI divergences.
Uncheck 'Update only on bar close' in indicator settings if the box does not appear right away.
Vishall BTST- final - option 1.2Reverse of X, Z from - Vishall BTST- final - option 1.1
X = Spot Price @ Normal - Spot Price @HA
Z = Spot Future@ Normal - Spot Future Price @ HA
Refined Liquidity Flow IndicatorRefined Liquidity Flow Indicator - How It Works
The Refined Liquidity Flow Indicator is designed to help traders identify the flow of liquidity into and out of the market based on multiple technical factors. It combines price movement, market sentiment, volatility, and volume to give a comprehensive view of market conditions. The indicator gives buy and sell signals by calculating the flow of liquidity based on these factors.
Key Components of the Indicator:
Liquidity Flow Calculation:
The core of the indicator is the liquidity flow calculation, which is based on several factors:
Liquidity Flow=(V×ΔP)+(α×ATR)+(β×RSI)+(γ×ΔP)
Where:
𝑉 is the volume (the amount of trading activity).
ΔP is the price change (the difference between the current and previous closing price).
ATR (Average True Range) is used to measure market volatility.
RSI (Relative Strength Index) reflects market sentiment.
𝛼 𝛽 𝛾
are adjustable weights (parameters) that allow you to control how much influence each factor has on the liquidity flow calculation.
Key Indicators:
Volume (V): The amount of trades occurring in the market. A high volume indicates more activity, which is essential for confirming liquidity flow.
Price Change (ΔP): The difference between the current price and the previous price, which helps assess the strength and direction of the market move.
ATR (Average True Range): A measure of market volatility, indicating how much the price fluctuates over a specified period. A higher ATR suggests greater volatility, which often corresponds with a greater flow of liquidity.
RSI (Relative Strength Index): A momentum oscillator that measures whether a market is overbought or oversold. The RSI can help determine whether the market sentiment is bullish or bearish.
How to Use the Indicator:
Set Up: After adding the Refined Liquidity Flow Indicator to your chart, you can adjust the following settings directly from the indicator's settings panel:
α: Weight for volatility (ATR).
β: Weight for market sentiment (RSI).
γ: Weight for price change.
ATR Length: Customize the period for the ATR.
RSI Length: Customize the period for the RSI.
SMA Length: Customize the period for the Simple Moving Average.
Interpreting Signals:
Green Signal (Liquidity In): Indicates that liquidity is entering the market. This often signals a potential buy opportunity when the price is moving upwards with strong volume and market sentiment.
Red Signal (Liquidity Out): Indicates that liquidity is leaving the market. This typically signals a potential sell opportunity when the price is moving downwards with strong volume and market sentiment.
Fine-Tuning for Your Strategy:
By adjusting the weights and the lengths of the indicators, you can fine-tune the indicator to match your trading style. For example, if you want to give more weight to price movements, you can increase γ. If you want to focus more on market sentiment, adjust β.
Trade Time & Position Duration Monitor (Multi-Entry)Overview
Active Position Hold Timer is a specialized risk management tool designed to track the "psychological time cost" of your trades. Beyond just monitoring price, it focuses on the precise duration your position stays in profit or loss.
Key Features:
Real-time Duration Tracking: Automatically calculates total time in profit vs. loss.
Max Loss Streak: Records the longest continuous time in a losing state.
Multi-Entry Cost Averaging: Supports initial entry plus 2 scale-ins.
Dual Language Interface: Switch between English and Traditional Chinese.
Time-Based Alerts: Set custom alerts for total or consecutive duration.
Calculation Logic:
Baseline Calculation: Starts accumulating once entry time is reached.
Profit/Loss Detection: Compares Close Price to Average Cost on every bar.
Live Update: Uses timenow for second-by-second dashboard updates.
中文說明
本指標專為管理「心理時間成本」而設計。它不僅監控價格,更專注於記錄倉位處於盈虧狀態的精確時間,幫助交易者克服持倉時的心理壓力。
主要功能:
即時時長統計:自動計算總浮盈/浮虧時間,以及當前連續狀態的持續時間。
歷史最大浮虧時長:記錄該筆交易中,最長一次連續虧損的時間壓力。
多筆進場計算:支援初始進場加上兩次加倉,自動繪製動態成本線。
雙語切換:表格界面支援中/英文切換。
多維度警報:可針對總時間或連續時間設定警報,提醒您交易是否持有過久。
計算邏輯:
基準計時:當時間超過進場點後,根據圖表週期累加時長。
盈虧判定:每根 K 棒收盤時,自動比較收盤價與平均成本。
即時秒級更新:加入 **Live Timer** 邏輯,計算當前 K 棒已跳動的時間,確保儀表板數據每秒更新。
壓力追蹤:持續追蹤並記錄最長的連續虧損時長。
First Presented FVGSummary: First Presented FVG Indicator
This is a Pine Script v6 TradingView indicator that identifies and visualizes the first Fair Value Gap (FVG) that forms within configurable time windows during a trading session.
What it Does
1. Detects FVGs : Uses the classic 3-candle FVG definition:
- Bullish FVG: When low > high (gap up)
- Bearish FVG: When high < low (gap down)
2. "First Presented" Logic : For each configured time slot, it captures only the first qualifying FVG that forms—subsequent FVGs in that window are ignored.
3. Visual Display :
- Draws a colored box spanning from detection time to session end
- Optional text label showing detection time (e.g., "9:38 Tue FP FVG")
- Optional grade lines at 25%, 50%, and 75% levels within the FVG
Key Configuration
Setting Description
Timeframe Only works on 5-minute charts or lower
Timezone IANA timezone for session times (default: America/New_York)
Session Futures trading hours (default: 1800-1715)
Min FVG Size Minimum gap size in ticks to qualify
4 Time Slots Each with enable toggle, time window, and color
Default Time Slots
Slot 1 (enabled): 09:30-10:30 — lime green
Slot 2 (enabled): 13:30-14:30 — blue
Slot 3 (disabled): 13:00-13:30 — teal
Slot 4 (disabled): 14:15-14:45 — fuchsia
Technical Features
Handles cross-midnight sessions correctly
Resets all drawings at each new session
Skips the first bar of each window to ensure valid 3-candle lookback
Clamps slot windows to session boundaries
History Trading SessionsThis indicator helps visually structure the trading day by highlighting custom time zones on the chart.
It is designed for historical analysis, trading discipline, and clear separation between analysis time, active trading, and no-trade periods.
Recommended to use on 4h and below time frames.






















