MINH PHUOC KINH Btrendline , polynomial , ma , fear zone , indicator('MINH PHUOC KINH B', shorttitle='MINH PHUOC KINH B', max_lines_count=500, max_labels_count=500, max_bars_back=5000, overlay=true)
Chỉ báo và chiến lược
Fair Value Gap ZonesDescription
This script automatically detects and highlights Fair Value Gaps (FVGs) on any chart and timeframe.
It identifies bullish and bearish imbalance zones using candle-to-candle price displacement and shades them visually on the chart for easy reference.
Bullish FVGs are marked with dark green zones, showing areas where price may later return before continuing upward.
Bearish FVGs are shaded in light red, indicating potential retracement zones in downtrends.
All zones extend forward automatically, updating dynamically as new candles form.
Designed for traders who use Smart Money Concepts (SMC) or ICT-style analysis, this tool helps visualize market inefficiencies and potential reaction points with clear, minimal visuals.
Lesh_ghoti_2Custom Timeframe 2 randomness, Custom Timeframe 2 randomness, Custom Timeframe 2 randomness
Position Size calculatorOverview
This indicator automatically calculates the average candle body size (|open − close|) for the current trading day and derives a position size (quantity) based on your fixed risk per trade (default ₹1000).
For example:
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
How It Works:
The indicator calculates the absolute difference between open and close (the candle’s body) for every bar of the current day.
It averages those body sizes to estimate the average daily volatility.
Then it divides your chosen risk per trade by the average body size to estimate an appropriate quantity.
It automatically resets at the start of each new day.
Why Use It
While risk size can be derived manually or using TradingView’s built-in Long/Short Position Tool, this indicator provides a faster, more practical alternative when you need to make quick trade decisions — especially in fast-moving intraday markets .
It keeps you focused on execution rather than calculation.
Tip
You can still verify or fine-tune the quantity using the Long/Short Position Tool or a manual calculator, but this indicator helps you react instantly when opportunities appear.
SMA 10/20 Simple SMA 10/20. Here are two simple moving averages that can help you see the underlying trend. These are the moving averages used by the famous trader Qullamagie
(RSI + CCI) × (MACD/ATR)^2⚙️ (RSI + CCI) × (MACD / ATR)² Composite — Normalized, Compressed, Dynamic Colors
This advanced composite oscillator merges three powerful momentum indicators — RSI, CCI, and MACD — into one normalized and volatility-adjusted signal that reacts smoothly across all markets.
By dividing MACD by ATR (Average True Range), the indicator self-scales for different symbols, and an optional tanh-like compression prevents extreme spikes while keeping the movement fluid and responsive.
🧩 Core Formula
(RSI + CCI) × (MACD / ATR)²
(optionally passed through a tanh compression for stability)
RSI and CCI are normalized (RSI ÷ 50, CCI ÷ 100) → roughly −2 to +2 range.
MACD is volatility-adjusted by ATR → scale-independent between assets.
The result is centered around 0 for clear bullish/bearish momentum comparison.
🎨 Visual Features
🟢🔴 Dynamic 4-Color Histogram
Positive + Rising = Strong Teal
Positive + Falling = Light Teal
Negative + Falling = Strong Red
Negative + Rising = Light Red
🟡⚫ 4-Color Smoothing Line
Positive & Rising = Bright Yellow
Positive & Falling = Soft Yellow
Negative & Rising = Grey
Negative & Falling = Dark Grey
Zero-centered layout for intuitive bullish/bearish visualization.
⚙️ Adjustable Parameters
Individual RSI, CCI, and MACD lengths and sources.
ATR length for volatility normalization.
Optional tanh-style compression with adjustable gain (to keep values in ±1 range).
Fully customizable colors and line widths for both bars and smoothing line.
🔔 Alerts
Triggered automatically when the composite crosses above or below zero, signaling potential trend reversals or momentum shifts.
💡 How to Use
Composite > 0 → Bullish momentum ↑
Composite < 0 → Bearish momentum ↓
A brightening line or bar = momentum accelerating.
A fading color = momentum weakening or reversal forming.
Combine with higher-timeframe trend filters (EMA, VWAP, Supertrend) for confirmation.
SMA 10/20 Here are two simple moving averages that can help you see the underlying trend. These are the moving averages used by the famous trader Qullamagie
SPY vs VIX SMA Slope Alignment (Adjustable Days)Use this on VIX Chart only.
This indicator compares the SLOPE of the daily SMA of SPY, to the SLOPE of the Daily SMA to VIX
When SPY and VIX are trending UP for the length of time that you define, you will get a GREEN ARROW on the VIX chart showing that the condition has been met.
EXAMPLE:
Set 3 day SMA for VIX and SPY
THEN
Set Look back time to 2 days
---IF SPY 3day SMA AND VIX 3day SMA are both ASCENDING during any 3 day lookback period, a green indicator arrow will be showing on the VIX Chart
DO NOT Use this indicator on SPY Chart
(SPY and VIX have different daily open/close times. This indicator DOES NOT work propertly on SPY Chart. But it DOES work properly on VIX chart. )
Institutional Rolling VWAPs • 3 lines Institutional Rolling VWAPs • 3 lines + editable σ bands. 3 x modifiable vwaps, time anchored, same for ltf and htf
EMA Ribbon MozyMozy TRading
EMA Ribbons for short time frames on daily traders. Buy or sell during crosses
High Volume AlertThis Pine Script monitors trading volume in real time and alerts you whenever current volume is unusually high — specifically, when it’s greater than a chosen multiple (for example, 1.5×) of the average volume over a recent period (for example, 20 bars).
It’s a quick way to detect volume spikes, which often precede breakouts or reversals.
Keltner Trend Strategy with BacktestingKeltner Trend Strategy with Backtesting and ratching stop loss
Aktien Spike Detector by DavidDescription:
This indicator marks the daily high and low on the chart and provides a visual and audible alert whenever the current price touches either of these levels. Additionally, the indicator highlights the candlestick that reaches the daily high or low to quickly identify significant market movements or potential reversal points.
Features:
📈 Daily high and low are automatically calculated and displayed as lines on the chart.
🔔 Alert notification when the price touches the daily high or low.
🕯️ Highlighting of the touch candlestick (e.g., color-coded) for better visual orientation.
💡 Ideal for traders trading breakouts, rejections, or intraday reversals.
Areas of application:
Perfect for day traders, scalpers, and intraday analysts who want to see precisely when the market reaches key daily levels.
Aktien Spike Detector by DavidDescription:
This indicator marks the daily high and low on the chart and provides a visual and audible alert whenever the current price touches either of these levels. Additionally, the indicator highlights the candlestick that reaches the daily high or low to quickly identify significant market movements or potential reversal points.
Features:
📈 Daily high and low are automatically calculated and displayed as lines on the chart.
🔔 Alert notification when the price touches the daily high or low.
🕯️ Highlighting of the touch candlestick (e.g., color-coded) for better visual orientation.
💡 Ideal for traders trading breakouts, rejections, or intraday reversals.
Areas of application:
Perfect for day traders, scalpers, and intraday analysts who want to see precisely when the market reaches key daily levels.
Candle Color Difference Marker (PSP)This indicator shows when the colors of the candles on two or three charts are different.
Gope-Hilega Milega (Guru NK Sir)buy above rsi whit line and yellow line sell below rsi whit and yellow line. trend red line(ema-21)
DAMMU SWING TRADING PROScalping and swing trading tool for 15-min and 1-min charts.
Designed for trend, pullback, and reversal analysis.
Works optionally with Heikin Ashi candles.
Indicators Used
EMAs:
EMA89/EMA75 (green)
EMA200/EMA180 (blue)
EMA633/EMA540 (black)
EMA5-12 channel & EMA12-36 ribbon for short-term trends
Price Action Channel (PAC) – EMA high/low/close, length adjustable
Fractals & Pristine Fractals (BW filter)
Higher High (HH), Lower High (LH), Higher Low (HL), Lower Low (LL) detection
Pivot Points – optional, disables fractals automatically
Bar color coding based on PAC:
Blue → Close above PAC
Red → Close below PAC
Gray → Close inside PAC
Trading Signals
PAC swing alerts: arrows or shapes when price exits PAC with optional 200 EMA filter.
RSI 14 signals (if added):
≥50 → BUY
<50 → SELL
Chart Setup
Two panes: 15-min (trend anchor) + 1-min (entry)
Optional Heikin Ashi candles
Use Sweetspot Gold2 for support/resistance “00” and “0” lines
Trendlines can be drawn using HH/LL or Pivot points
Usage Notes
Trade long only if price above EMA200; short only if below EMA200
Pullback into EMA channels/ribbons signals potential continuation
Fractals or pivot points help define trend reversals
PAC + EMA36 used for strong momentum confirmation
Alerts
Up/Down PAC exit alerts configurable with big arrows or labels
RSI labels show buy/sell zones (optional)
Works on both 15-min and 1-min timeframes
If you want, I can make an even shorter “super cheat-sheet” version for 1-page quick reference for trading. It will list only inputs, signals, and colors.
Tristan's Devil Mark (Short / Long, with W%R)The Devil’s Mark indicator is a visual tool designed to help traders identify potential short and long opportunities based on candle structure and market momentum. It combines price action analysis with the Williams %R (W%R) oscillator to highlight candles with high potential for reversal or continuation.
Can be used on any timeline, from scalping day trades to swing trades on daily and higher timelines. Know that the higher the timeline the less likely the indicator will show. (Asia and London sessions tend to show many indicators. I find this more useful for NY session.)
How the script works
Candle Structure Conditions
Short (Sell) Wedge: Plotted above green candles that have no bottom wick, indicating that inside that candle there was strong upward momentum without downside hesitation .
Long (Buy) Wedge: Plotted below red candles that have no top wick, indicating that inside that candle there was strong downward momentum without upside hesitation .
These candles are visually emphasized as wedges to mark potential turning points.
Williams %R Filter
The indicator uses Williams %R to measure overbought and oversold conditions:
Proximity to 0 (nearZeroThresh): Determines how close W%R must be to 0 (overbought) to trigger a Sell Wedge. This acts as a “Sell sensitivity” filter.
Proximity to -100 (nearHundredThresh): Determines how close W%R must be to -100 (oversold) to trigger a Buy Wedge. This acts as a “Buy sensitivity” filter.
When the candle meets both the candle structure and the W%R condition, the wedge is plotted in purple (“Within W%R Range”).
When the "ignore W%R filter" toggle is on, all eligible candles are plotted regardless of W%R. Wedges that normally would not meet W%R criteria are plotted in light purple (“Outside W%R Range”) to distinguish them. #YOLO (🚫 I recommend leaving "Ignore W%R Filter" OFF)
Settings Explained
Williams %R Length: The number of bars used to calculate the W%R oscillator. Shorter lengths make it more sensitive; longer lengths smooth the readings.
Proximity to 0 / 100: Controls how “strict” the indicator is in requiring overbought or oversold W%R conditions to trigger. Lower values mean closer to extreme zones, higher values are more permissive.
Ignore W%R Toggle: Option to show Devil’s Marks on every eligible candle regardless of W%R. Useful for visualizing purely price-action-based signals.
What the trader sees
Purple wedges: Candles meeting both candle structure and W%R conditions.
Light purple wedges: Candles meeting candle structure but ignored W%R (when toggle is on). #YOLO (🚫 I recommend leaving "Ignore W%R Filter" OFF)
Short opportunities are wedges above bars (green candles with no bottom wick).
Long opportunities are wedges below bars (red candles with no top wick).
Trading Insight
The Devil’s Mark is a momentum and reversal alert tool:
Look for purple downward-pointing wedges when W%R is near overbought. This is a potential shorting opportunity. Buying at the close of that candle may improve your short trades.
Look for purple upward-pointing wedges when W%R is near oversold. This is a potential
long opportunity. Buying at the close of that candle may improve your long trades.
Light purple wedges show the same price-action cues without W%R confirmation—useful for aggressive traders who want every potential setup. #YOLO #YMMV #noFullPort
Settings / Security
The “Output values” checkbox appears for each plotted series (like a plot or plotshape) and controls whether the series will also be exposed numerically in the Data Window or used by other indicators/scripts.
Here’s what it means in practice:
1. Checked (true)
The series values (like candle high, low, or any computed value) are exported to the Data Window and can be read by other scripts using request.security() or ta functions.
Example: You can see the exact numerical value of each plotted point in the Data Window when you hover over the chart.
Useful if you want to backtest or reference these plotted values programmatically.
2. Unchecked (false)
The series is plotted visually only.
The numeric values are hidden from the Data Window and cannot be accessed by other scripts.
Makes the chart cleaner if you don’t need the numeric outputs.
ES VWAP Overlay for SPX VWAP indicator for SPX. Since SPX does not have volume (index) it's using /es to mimic SPX volume. I find it good for day trading
Volume Profile, Pivot Anchored by DGT - reviewedVolume Profile, Pivot Anchored by DGT - reviewed
This indicator, “Volume Profile, Pivot Anchored”, builds a volume profile between swing highs and lows (pivot points) to show where trading activity is concentrated.
It highlights:
Value Area (VAH / VAL) and Point of Control (POC)
Volume distribution by price level
Pivot-based labels showing price, % change, and volume
Optional colored candles based on volume strength relative to the average
Essentially, it visualizes how volume is distributed between market pivots to reveal key price zones and volume imbalances.
SALSA MultiStrategy DashboardENGLISH VERSION (Primary)
Why I Created This Unified Dashboard
The Problem with Analysis Fragmentation:
As an active trader, I found myself constantly struggling with chart clutter - having 5-8 separate indicators open simultaneously. This created cognitive overload and made it difficult to identify confluence across different technical approaches. The constant switching between indicators and managing multiple windows was disrupting my trading workflow and decision-making process.
My Solution:
I developed the SALSA MultiStrategy Dashboard to solve this specific problem by integrating complementary technical methodologies into a single, cohesive view. This isn't just a random collection of indicators, but a carefully curated selection that work together to provide comprehensive market analysis.
What Makes This Dashboard Unique
Integrated Analysis Framework:
Squeeze Momentum System: Identifies consolidation periods and potential breakout directions with color-coded momentum signals
ADX Trend Strength Analysis: Customizable key level (default: 23) for trend strength assessment with visual scaling
RSI with Built-in Divergence: Dual-timeframe RSI analysis with automatic divergence detection
Multi-Timeframe Confirmation: Additional oscillators (MFI, Stochastic, AO, MACD, CCI) for signal validation
Key Innovations:
Unified Scaling System: All indicators share a common scale, making visual comparison intuitive
Integrated Divergence Detection: Consistent divergence logic applied across both Squeeze Momentum and RSI
Smart Color Coding: Visual cues that highlight momentum shifts and trend strength
Trading Status Module: Real-time market condition assessment based on multiple factor confluence
How It Works - Technical Foundation
Squeeze Momentum Component:
Uses Bollinger Bands® and Keltner Channels to detect market compression
Momentum calculation based on linear regression of price action
Color transitions indicate momentum shifts (Cyan/Blue for bullish, Yellow/Orange for bearish)
ADX with Custom Key Levels:
Implements Wilder's ADX with adjustable key level threshold
Visual scaling adapts to market conditions
Separate +DI/-DI plotting options for additional trend direction insight
Advanced RSI System:
Standard RSI with fast-slow momentum divergence detection
Configurable overbought/oversold levels
SMA smoothing for reduced noise
Practical Usage Guidelines
For Trend Identification:
Watch for Squeeze Momentum breaking above/below zero with corresponding ADX above key level
Look for RSI confirmation in the same direction
Use additional oscillators for secondary confirmation
For Divergence Trading:
Monitor for regular and hidden divergences on both Squeeze and RSI
Wait for price action confirmation
Use ADX trend strength to filter high-probability setups
Customization Options:
Toggle individual components on/off based on your trading style
Adjust sensitivity parameters for different timeframes
Modify key levels to match specific market conditions
SPANISH VERSION (Secondary)
Por Qué Creé Este Dashboard Unificado
El Problema con la Fragmentación del Análisis:
Como trader activo, me encontraba constantemente luchando con el desorden en los gráficos - teniendo 5-8 indicadores separados abiertos simultáneamente. Esto creaba sobrecarga cognitiva y dificultaba identificar confluencia entre diferentes enfoques técnicos. El cambio constante entre indicadores y la gestión de múltiples ventanas estaba interrumpiendo mi flujo de trabajo y proceso de decisión.
Mi Solución:
Desarrollé el SALSA MultiStrategy Dashboard para resolver este problema específico integrando metodologías técnicas complementarias en una vista única y cohesiva. Esto no es solo una colección aleatoria de indicadores, sino una selección cuidadosamente curada que trabajan juntos para proporcionar análisis de mercado integral.
Componentes Principales y Su Función
Sistema de Momento Squeeze:
Detecta períodos de consolidación y direcciones potenciales de ruptura
Señales de momento codificadas por colores para identificación visual rápida
Análisis de Fuerza de Tendencia ADX:
Nivel clave personalizable (por defecto: 23) para evaluación de fuerza de tendencia
Escalado visual adaptativo a condiciones de mercado
RSI con Detección de Divergencia Integrada:
Análisis RSI de doble marco temporal con detección automática de divergencias
Niveles de sobrecompra/sobreventa configurables
Cómo Utilizar el Dashboard
Para Trading de Tendencia:
Squeeze Momentum rompiendo arriba/abajo de cero con ADX sobre nivel clave
Confirmación RSI en la misma dirección
Osciladores adicionales para confirmación secundaria
Para Trading por Divergencia:
Monitorear divergencias regulares y ocultas en Squeeze y RSI
Esperar confirmación de acción del precio
Usar fuerza de tendencia ADX para filtrar setups de alta probabilidad
Important Compliance Notes:
Title: "SALSA MultiStrategy Dashboard" (English only, no emojis)
Language: English first, Spanish translation provided
Originality: Focus on solving the specific problem of analysis fragmentation
Chart Requirements: Clean chart showing only this indicator's output
Open Source: Complete transparency about methodology and calculations
Trading Disclaimer:
This tool is designed for educational and analytical purposes to help traders develop a systematic approach to market analysis. It is not financial advice. Always conduct your own research and backtesting before making trading decisions.
Long/Short Ratio Aggregated (Lite)Description — Long/Short Ratio Aggregated (Lite)
This indicator provides a cross-exchange, open-interest-weighted aggregation of the Long/Short Ratio (LSR) for the cryptocurrency asset currently on your chart. It is designed to unify fragmented derivatives positioning data from multiple major exchanges into a single normalized signal that more accurately reflects real market sentiment and positioning bias across platforms.
Concept and Originality
Traditional Long/Short Ratio indicators are exchange-specific. They show how many traders are long versus short, but only within the scope of one venue (e.g., Binance or Bybit). This makes them incomplete and often misleading for directional bias analysis, since different exchanges host different participant profiles, levels of leverage, and quote-currency exposures.
This script addresses that limitation by:
Aggregating LSR data across multiple exchanges (Binance and Bybit).
Weighting each ratio by Open Interest (OI) — ensuring exchanges with higher open positions contribute proportionally more to the overall sentiment.
Normalizing all contract types (USDT, USDC, and USD-margined) into a consistent base-currency format.
This step corrects for structural differences between coin- and stablecoin-margined instruments, producing a true like-for-like comparison.
The result is a globalized Long/Short Ratio, normalized by exposure and liquidity, suitable for multi-venue orderflow estimation and directional bias assessment.
Note for moderators: I know there are already other scripts out there, but they may not support Open Interest Weighting or the same number of pairs. They also might not support proper normalization like in my script.
Calculation Methodology
For each supported exchange and contract type:
The script retrieves the latest Long/Short Ratio (LSR) and Open Interest (OI) values.
OI is used as the weighting factor, creating a proportional representation of positioning volume.
Values denominated in USD are normalized into base currency using close-price adjustment.
The final value is computed as:
Weighted LSR = (Σ (LSRᵢ × OIᵢ)) / (Σ OIᵢ)
This ensures that if, for example, Binance has twice the open interest of Bybit, its LSR contributes twice as much to the total weighted sentiment.
Interpretation
Value > 1.0 → Market participants are net-long (bullish bias).
Value < 1.0 → Market participants are net-short (bearish bias).
Strength of deviation from 1.0 indicates positioning imbalance magnitude.
Because the ratio is OI-weighted, large players or heavily margined exchanges influence the output proportionally more than smaller, low-volume venues — making this metric a better reflection of true market positioning rather than isolated retail sentiment.
Usage and Applications
Use this indicator as a component in:
Orderflow and sentiment confirmation, alongside price action and volume.
Funding rate correlation studies.
Intraday reversals or exhaustion zones, when combined with volatility or OI delta metrics.
Overlaying or combining this indicator with open interest change, cumulative volume delta, or funding rate divergence allows traders to build a high-resolution understanding of positioning shifts and crowd behavior.
Notes
The “Lite” version is optimized for execution and accessibility, focusing on accuracy while staying within Pine Script’s computational limits.
Exchange data availability may vary by symbol; unsupported pairs automatically return na and are automatically not included in the weighted calculation.
In summary:
This indicator transforms fragmented, exchange-specific Long/Short Ratio into a unified, OI-weighted global sentiment measure — a foundational tool for traders seeking to quantify derivative-side orderflow bias with cross-venue accuracy.