EMA Cross Suite (8/20/50/200) GOLDEN/DEATH by Carlos Chavez📜 Short Description (max 160 characters)
“Advanced EMA crossover system with FAST, MID, GOLDEN, and DEATH signals. Includes alerts, optimized visuals, and full customization.”
📄 Full Description (Paste in the box)
📌 Overview
The Embilletados • EMA Cross Suite is a professional trading indicator designed for intraday traders, scalpers, and swing traders.
It provides clear crossover signals using 4 EMAs combined with optimized visualization and built-in alerts to help you catch opportunities faster.
✨ Key Features:
🔹 4 configurable EMAs → 8, 20, 50, and 200.
🔹 Instant visual signals with colored labels:
FAST CROSS (8/20) → Quick momentum shifts.
MID CROSS (20/50) → Trend confirmation signals.
GOLDEN CROSS (50/200) → Strong bullish trend signals.
DEATH CROSS (50/200) → Strong bearish trend signals.
🔹 Built-in alerts → Get notified instantly for all crossover events.
🔹 Optimized visualization → Clean and easy-to-read interface.
🔹 Highly customizable → Enable/disable signals, labels, colors, and alerts according to your strategy.
📊 Recommended Timeframes:
10-minute charts → Best for intraday setups.
1-hour charts → Ideal for swing trading and trend confirmation.
🚀 How to Use:
Add the indicator to your chart.
Set up alerts for the desired crossovers: FAST, MID, GOLDEN, or DEATH.
Trade confidently using clear visual confirmations and real-time notifications.
🌟 Perfect for:
✅ Intraday traders
✅ Scalpers
✅ Swing traders
✅ Trend-following strategies
Indicadores e estratégias
Sharpe Ratio -> PROFABIGHI_CAPITAL🌟 Overview
The Sharpe Ratio → PROFABIGHI_CAPITAL indicator applies comprehensive risk-adjusted performance analysis combining statistical return measurement, volatility assessment, and performance tracking . It integrates daily return calculation, rolling statistical analysis, and exponential smoothing across (Return Analysis, Risk Assessment, Performance Optimization) with advanced threshold-based visualization capabilities . The indicator features dynamic color-coded plotting , comprehensive threshold management , and integrated annualization factors for complete risk-adjusted performance analysis and systematic market performance identification.
⚙️ General Settings
– Source Selection : Custom price source input for return calculation analysis.
– Sharpe Rolling Period : Configurable period length for rolling statistical calculations.
– Smoothing Period (EMA) : Exponential moving average period for signal smoothing.
– Strong Line Threshold : Upper threshold level for strong performance identification.
– Weak Line Threshold : Lower threshold level for weak performance identification.
📊 Core Calculation Components
The indicator features comprehensive risk-adjusted analysis through systematic calculation modules:
- Daily Return Calculation : Percentage-based daily price change measurement
- Rolling Mean Analysis : Moving average of daily returns over specified period
- Volatility Assessment : Rolling standard deviation calculation for risk measurement
- Raw Sharpe Computation : Risk-adjusted return ratio with zero-division protection
- Exponential Smoothing : EMA-based signal refinement for noise reduction
- Annualization Process : Crypto-optimized annualization for standardized metrics
📈 Advanced Performance Analysis Framework
Return Analysis:
- Daily Return Computation : Precise percentage change calculation from source prices
- Rolling Mean Calculation : Statistical average of returns over rolling window
- Trend Direction Assessment : Performance momentum through return analysis
- Signal Consistency Tracking : Sustained performance measurement over time
Risk Assessment:
- Volatility Measurement : Rolling standard deviation of daily returns
- Risk-Adjusted Scaling : Sharpe ratio calculation with volatility normalization
- Zero-Division Protection : Mathematical safeguards for stable calculation
- Statistical Stability : Consistent risk metrics across market conditions
Performance Optimization:
- Signal Smoothing : EMA-based noise reduction for cleaner signals
- Annualization Process : Crypto market optimization for accurate annual metrics
- Threshold Integration : Performance classification through configurable levels
- Dynamic Assessment : Real-time performance evaluation and classification
📏 Threshold Configuration System
– Strong Performance Threshold : Configurable upper level for excellent risk-adjusted returns
– Weak Performance Threshold : Configurable lower level for poor risk-adjusted returns
– Dynamic Color Mapping : Green for strong, red for weak, gray for neutral performance
– Visual Threshold Lines : Dashed horizontal reference lines for threshold identification
– Performance Classification : Automatic categorization based on threshold relationships
📋 Advanced Mathematical Integration
Statistical Foundation :
- Return Calculation : Precise daily percentage change methodology
- Rolling Statistics : Moving window approach for dynamic assessment
- Standard Deviation : Volatility measurement for risk quantification
- Ratio Computation : Risk-adjusted performance through Sharpe methodology
Smoothing Technology :
- Exponential Moving Average : Advanced smoothing for signal clarity
- Noise Reduction : Statistical filtering for cleaner performance signals
- Trend Preservation : Smoothing while maintaining directional accuracy
- Responsive Adjustment : Dynamic adaptation to changing market conditions
🎨 Visual Features
– Dynamic Line Plotting : Color-coded Sharpe ratio line with performance-based coloring
– Threshold Reference Lines : Dashed horizontal lines for strong and weak performance levels
– Performance Color Coding : Green for strong, red for weak, gray for neutral performance
– Line Weight Optimization : Enhanced visibility with optimized line width
– Professional Formatting : Price format with precision for accurate display
🔍 Advanced Features
– Risk-Free Rate Optimization : Zero risk-free rate assumption for crypto market analysis
– Mathematical Protection : Zero-division safeguards for stable calculation
– Rolling Window Analysis : Dynamic statistical assessment over configurable periods
– Performance Optimization : Efficient calculation methods for smooth operation
– Threshold-Based Classification : Automatic performance categorization system
– Annualization Accuracy : Crypto-specific factors for precise annual metrics
– Signal Reliability : EMA smoothing for consistent performance signals
🔔 Signal Generation & Analysis
– Strong Performance Signals : Green line indication when Sharpe ratio exceeds strong threshold
– Weak Performance Alerts : Red line indication when Sharpe ratio falls below weak threshold
– Neutral Zone Identification : Gray line indication for performance between thresholds
– Threshold Cross Confirmations : Performance level transition identification
– Risk-Adjusted Momentum : Smoothed Sharpe ratio trend analysis for sustained performance
– Volatility-Adjusted Returns : Risk-normalized performance measurement for accurate assessment
– Statistical Significance : Rolling period analysis for statistically meaningful signals
– Performance Consistency : EMA smoothing for reliable signal generation
By utilizing comprehensive risk-adjusted performance analysis and threshold-based visualization , the Sharpe Ratio → PROFABIGHI_CAPITAL indicator provides systematic performance measurement with advanced statistical accuracy , offering complete risk-reward optimization through rigorous mathematical analysis , volatility assessment , and annualized performance tracking .
Greer Gap# Greer Gap Indicator (No mitigation: i.e. removing false signals)
## Summary
The **Greer Gap Indicator** identifies **Fair Value Gaps (FVGs)** and introduces specialized **Greer Bull Gaps (Blue)** and **Greer Bear Gaps (Orange)** to highlight high-probability trading opportunities. Unlike traditional FVG indicators, it avoids hindsight bias by not removing historical gaps based on future price action, ensuring transparency in signal accuracy. Built upon LuxAlgo’s FVG logic, it adds unique filtering: only the first Greer Gap after an opposite gap is plotted if its level (min for Bull, max for Bear) is not higher/lower than the previous Greer Gap of the same type, while all valid gaps are recorded for comparison. Traders can use these gaps as support/resistance or entry signals, customizable via timeframe, look back, and display options.
## Description
This indicator detects and displays **Fair Value Gaps (FVGs)** on the chart, with a focus on specialized **Greer Gaps**:
- **Bullish Gaps (Green)**: Areas where the low of the current candle is above the high of a previous candle (look back period), indicating potential upward momentum.
- **Bearish Gaps (Red)**: Areas where the high of the current candle is below the low of a previous candle, indicating potential downward momentum.
- **Greer Bull Gaps (Blue)**: A bullish gap that is above the latest bearish gap's max. Only the first such gap after a bearish gap is plotted if it meets criteria (not higher than the previous Greer Bull Gap's min), but all valid ones are recorded for comparison.
- **Greer Bear Gaps (Orange)**: A bearish gap that is below the latest bullish gap's min. Only the first such gap after a bullish gap is plotted if it meets criteria (not lower than the previous Greer Bear Gap's max), but all valid ones are recorded.
## How It Works
The script uses a dynamic look back period to detect FVGs. It maintains a record of all detected gaps and applies additional logic for Greer Gaps:
- **Greer Bull Gaps**: Checks if the new bullish gap's min is above the latest bearish gap's max. Plots only if it's the first since the last bearish gap and its min is <= previous Greer Bull min (or first one).
- **Greer Bear Gaps**: Checks if the new bearish gap's max is below the latest bullish gap's min. Plots only if it's the first since the last bullish gap and its max is >= previous Greer Bear max (or first one).
- **Resets**: A new bearish gap resets the Greer Bull Gap flag, and a new bullish gap resets the Greer Bear Gap flag.
## How to Use
- **Timeframe**: Set a higher timeframe (e.g., 'D' for daily) to detect gaps from that timeframe on the current chart.
- **Look back Period**: Adjust to change gap detection sensitivity (default: 34). Use 2 if you want to compare to LuxAlgo
- **Extend**: Controls how far right the gap boxes extend.
- **Show Options**: Toggle visibility of all bullish/bearish gaps or Greer Gaps.
- **Colors**: Customize colors for each gap type.
- **Application**: Use Greer Gaps as potential support/resistance levels or entry signals, but combine with other analysis for confirmation.
## Originality and Credits
This script is inspired by and builds upon the **"Fair Value Gap "** indicator by LuxAlgo (available on TradingView: ()).
**Credits**: Thanks to LuxAlgo for the core FVG detection logic.
**Significant Changes**:
- Added **Greer Bull and Bear Gap** logic for filtered, directional gaps with reset mechanisms.
- Introduced recording of all valid Greer Gaps without plotting all, to compare levels without hindsight bias.
- **No mitigation/removal of gaps**: Unlike LuxAlgo's approach, which mitigates (removes or alters) gaps based on future price action (e.g., when filled), this can create a hindsight bias where incorrect signals disappear over time. If a signal is used for a trade and later removed due to new data, it doesn't reflect real-time performance accurately. The Greer Gap avoids this by using gap comparisons to validate signals without altering historical boxes, ensuring transparency in when signals were right or wrong.
TRADIVEX_ATR TablosuBINANCE:BTCUSDT.P tr.tradingview.com ## **TRADIVEX\_ATR Table – Indicator Description**
**Overview:**
The TRADIVEX\_ATR Table is a versatile trading tool that provides a concise, visual overview of market volatility, price direction, and ATR-based support/resistance levels. Designed for traders seeking quick insights, this indicator combines key metrics into a color-coded table directly on the chart.
**Key Features:**
* **ATR Calculation & Dynamic Bands:**
Measures Average True Range (ATR) over a configurable period and calculates upper and lower price bands using a multiplier. These bands act as dynamic support and resistance levels, adapting automatically to market volatility.
* **Volatility Assessment:**
Displays market volatility as a percentage of the current price. Volatility is classified into **High, Medium, or Low**, with intuitive color coding:
* High → Red
* Medium → Orange
* Low → Green
* **Price Direction:**
Tracks the direction of the current price relative to the previous bar:
* Up → Green
* Down → Red
* Neutral → Gray
* **Information Table:**
Shows all relevant metrics in a structured table overlay, including:
1. ATR Length (period)
2. ATR Multiplier
3. Upper Band Level
4. Lower Band Level
5. Current Price
6. High Price
7. Low Price
8. ATR Value
9. Volatility Level (color-coded)
10. Price Direction (color-coded)
* **Customizable Table Position:**
The table can be positioned anywhere on the chart (top, middle, bottom, left, right, or center), ensuring it doesn’t obstruct your price action analysis.
**Usage & Benefits:**
* Quickly assess market volatility and momentum.
* Identify short-term trends and directional bias.
* Monitor dynamic ATR-based support/resistance levels.
* Make informed decisions for entries, exits, and stop-loss placements.
**Ideal For:**
Traders who want a **real-time, visual summary of market conditions** without cluttering the chart with multiple indicators.
---
Liquidity Levels (Buyside/Sellside , EQH/EQL , PDH/PDL ,PWH/PWL)Unlock the Hidden Market Structure with Advanced Liquidity Detection.
The Liquidity Concept indicator is a sophisticated, all-in-one toolkit designed for traders . It automatically identifies and visualizes key liquidity zones, equal highs/lows, and multi-timeframe levels, providing a significant edge in anticipating potential market movements and breakouts.
🔍 Core Features:
Smart Liquidity Zones:
Buyside Liquidity (BSL ): Detects and marks significant high clusters where stop losses are likely clustered. A break above these levels often triggers a rapid move to capture liquidity.
Sellside Liquidity (SSL) : Pinpoints significant low clusters. A break below can signal a sweep of liquidity before a potential reversal or continuation.
Customizable Sensitivity: Adjust the detection length and margin to fine-tune the indicator for any asset or timeframe.
Liquidity Voids:
Visualizes price gaps that represent a lack of trading activity (liquidity voids). These zones often act as magnets for price, filling in before a trend continues.
Equal Highs & Lows (EQH/EQL):
Automatically draws and labels significant equal highs and lows, which are crucial for identifying breakout and rejection points. Includes options to clear levels once they are breached.
Multi-Timeframe Perspective:
Overlays key levels from higher timeframes (Daily, Weekly, Monthly) directly onto your chart, including Previous Highs (PDH/PWH/PMH) and Previous Lows (PDL/PWL/PML)
⚙️ Fully Customizable:
Tailor every aspect of the indicator to fit your trading style and chart aesthetics:
Control the colors, transparency, and visibility of all elements.
Choose between "Present" mode for active levels or "Historical" mode for analysis.
Adjust line styles and text for perfect chart integration.
Gain a deeper understanding of where the market is likely to go next. Add the Liquidity Concept indicator to your chart today and start trading the hidden levels that move the market.
PumpC ATR Line LevelsPumpC ATR Line Levels
Overview
PumpC ATR Line Levels is a volatility-based indicator that projects potential expansion levels from the previous session’s close using the Average True Range (ATR). This tool builds upon the Previous OHLC framework created by Nephew_Sam_ by extending its session-handling logic and adding ATR-based levels, statistical tracking, and flexible visualization options.
How It Works
Calculates ATR from a user-selectable higher timeframe (default: Daily).
Projects levels above and below the previous session’s close (or current close when preview mode is enabled).
Supports up to 5 ATR multiples, each with independent toggles, colors, and labels.
Optionally displays only the most recent ATR session for clarity.
Includes a data table tracking how often ATR levels are reached or closed beyond.
Features
Configurable ATR timeframe and length (default: 21).
Default multiples: 0.30, 0.60, 0.90; optional: 1.236, 2.00.
Toggle for preview mode (using current close vs. locked prior session close).
Customizable line style, width, colors, and label placement.
Visibility filter to show only on chart TF ≤ 60 minutes.
Session statistics table with counts and percentages of level interactions.
Use Cases
Identify intraday expansion targets or stop placement zones based on volatility.
Evaluate historical tendencies of price respecting or breaking ATR bands.
Support volatility-adjusted trade planning with statistical validation.
Acknowledgment
This script was developed on top of the Previous OHLC indicator by Nephew_Sam_ , with major modifications to implement ATR-driven levels, extended statistics, and customizable table output.
Notes
This indicator does not generate buy/sell signals.
Best applied to intraday charts anchored to a higher-timeframe ATR.
Keep charts clean and avoid non-standard bar types when publishing.
SAPSAN TRADE: Retail Power Profile FIXSAPSAN TRADE: Retail Power Profile FIX
Visualize retail market pressure with precision using the SAPSAN TRADE: Retail Power Profile FIX indicator. This tool analyzes a selected time range and displays the distribution of bullish and bearish activity across price levels. Key features include:
Custom Time Range – Analyze any specific period by setting the start and end time.
Signed Volume Profile – Shows bullish (green) and bearish (red) volume across price levels.
POC (Point of Control) – Highlights the price level with the strongest retail activity.
Adjustable Levels – Choose the number of levels to divide the price range for detailed analysis.
Dynamic Visualization – Profile lines and labels scale automatically according to volume intensity.
Perfect for traders who want to identify where retail buyers and sellers are most active, key support/resistance levels, and the dominant market sentiment during a given period.
TF ZONES VIPTF Zones is a session and higher-timeframe reference tool for intraday and swing traders (ICT / SMC concepts).
🔹 Features
Killzones (Sessions):
Automatically draws Asia, London, New York AM, New York Lunch, and New York PM ranges.
• Customizable box colors, transparency, and labels
• High/Low pivot lines with optional midpoints
• Alerts when pivots are broken
Day / Week / Month Levels:
• Daily / Weekly / Monthly Opens
• Daily / Weekly / Monthly Highs & Lows
• Alerts on High/Low breaks
Day-of-Week Zones:
Color-coded boxes for each weekday (Mon–Sun) to track daily ranges.
Previous Year High/Low:
Plots prior year’s H/L with labels (PY.H / PY.L).
🔧 Customization
Session drawing limits (max days stored)
Timezone selection (GMT offsets or New York)
Label size, text color, and line style
Box transparency and text display options
Optional alerts on key level breaks
📌 Use Case
Perfect for traders who want to:
Track session ranges (ICT Killzones)
Visualize intraday structure clearly
Use Daily / Weekly / Monthly opens and ranges as confluence
Monitor higher-timeframe and yearly reference levels
TF ZonesTF Zones is a session and higher-timeframe reference tool for intraday and swing traders (ICT / SMC concepts).
🔹 Features
Killzones (Sessions):
Automatically draws Asia, London, New York AM, New York Lunch, and New York PM ranges.
• Customizable box colors, transparency, and labels
• High/Low pivot lines with optional midpoints
• Alerts when pivots are broken
Day / Week / Month Levels:
• Daily / Weekly / Monthly Opens
• Daily / Weekly / Monthly Highs & Lows
• Alerts on High/Low breaks
Day-of-Week Zones:
Color-coded boxes for each weekday (Mon–Sun) to track daily ranges.
Previous Year High/Low:
Plots prior year’s H/L with labels (PY.H / PY.L).
🔧 Customization
Session drawing limits (max days stored)
Timezone selection (GMT offsets or New York)
Label size, text color, and line style
Box transparency and text display options
Optional alerts on key level breaks
📌 Use Case
Perfect for traders who want to:
Track session ranges (ICT Killzones)
Visualize intraday structure clearly
Use Daily / Weekly / Monthly opens and ranges as confluence
Monitor higher-timeframe and yearly reference levels
Fisher //@version=5
indicator("Fisher + EMA + Histogram (Working)", overlay=false)
// Inputs
fLen = input.int(125, "Fisher Length")
emaLen = input.int(21, "EMA Length")
src = input.source(close, "Source")
// Fisher Transform
var float x = na
minL = ta.lowest(src, fLen)
maxH = ta.highest(src, fLen)
rng = maxH - minL
val = rng != 0 ? (src - minL) / rng : 0.5
x := 0.33 * 2 * (val - 0.5) + 0.67 * nz(x )
x := math.max(math.min(x, 0.999), -0.999)
fish = 0.5 * math.log((1 + x) / (1 - x))
// EMA of Fisher
fishEma = ta.ema(fish, emaLen)
// Histogram
hist = fish - fishEma
histColor = hist >= 0 ? color.new(color.lime, 50) : color.new(color.red, 50)
plot(hist, style=plot.style_histogram, color=histColor, title="Histogram")
// Fisher Plot
fishColor = fish > 2 ? color.red : fish < -2 ? color.lime : color.teal
plot(fish, "Fisher", color=fishColor, linewidth=2)
plot(fishEma, "Fisher EMA", color=color.orange, linewidth=2)
// Horizontal Lines
hline(2, "Upper Extreme", color=color.new(color.red, 70))
hline(-2, "Lower Extreme", color=color.new(color.green, 70))
hline(0, "Zero", color=color.gray)
// Cross Signals
bull = ta.crossover(fish, fishEma)
bear = ta.crossunder(fish, fishEma)
plotshape(bull, style=shape.triangleup, location=location.bottom, color=color.lime, size=size.tiny)
plotshape(bear, style=shape.triangledown, location=location.top, color=color.red, size=size.tiny)
// Background for extremes
bgcolor(fish > 2 ? color.new(color.red, 80) : fish < -2 ? color.new(color.green, 80) : na)
Trading Sessions (L3J) Trading Sessions Indicator (L3J)
Overview
This Pine Script indicator displays precise trading session boxes for the three major global trading sessions: Asia, London, and US (Cash). Unlike traditional session indicators that show continuous background colors, this script creates rectangular boxes that precisely delimit each session from start to finish.
Features
🌍 Global Timezone Support
- 39 timezone options covering all major financial centers
- Automatic daylight saving time adjustments for named timezones
- Universal compatibility with all TradingView charts
📦 Session Boxes
- Precise delimitation: Each session is contained within a rectangular box
- Dynamic sizing: Boxes automatically adjust to session high/low prices
- Visual distinction: Completed sessions (solid borders) vs ongoing sessions (dashed borders)
- Customizable borders: Toggle on/off with adjustable thickness (0-5px)
🎨 Visual Customization
- Individual session colors: Fully customizable for Asia, London, and US sessions
- Border matching: Border colors automatically match session box colors
- Transparency control: Built-in opacity settings for each session
- Clean interface: Minimal visual clutter with maximum information
⚙️ Management Options
- Box limit control: Set maximum number of historical boxes per session (1-50)
- Automatic cleanup: Old boxes are automatically removed to maintain performance
- Memory efficient: Optimized for long-term chart analysis
Default Session Times (EDT - Etc/GMT+4)
| Session | Default Hours | Markets Covered |
|---------|---------------|-----------------|
| Asia | 18:00 - 02:00 | Tokyo, Sydney, Hong Kong |
| London | 02:00 - 11:00 | London, Frankfurt, European markets |
| US Cash | 09:30 - 16:00 | NYSE, NASDAQ |
> Note: Default times are in EDT (Eastern Daylight Time). Adjust session hours according to your selected timezone.
Timezone Conversion Examples
For UTC Users:
- Asia: 22:00 - 06:00
- London: 06:00 - 15:00
- US: 13:30 - 20:00
For Europe/London Users:
- Asia: 23:00 - 07:00
- London: 07:00 - 16:00
- US: 14:30 - 21:00
Usage Instructions
1. Add to chart: Apply the indicator to any timeframe
2. Select timezone: Choose your local timezone from the dropdown
3. Adjust session hours: Modify session times if needed for your timezone
4. Customize appearance: Set colors, borders, and box limits
5. Enable/disable sessions: Toggle individual sessions on/off as needed
Technical Specifications
- Pine Script Version: v6
- Chart Type: Overlay indicator
- Maximum Objects: 150 boxes, 500 lines, 200 labels
- Performance: Optimized for real-time updates
- Compatibility: All TradingView chart types and timeframes
Integration with Other Scripts
This indicator is designed to work seamlessly with other L3J trading scripts:
- ICT Levels Indicators: Provides session context for key levels
- Market Structure Scripts: Session boxes help identify structural breaks
- Volume Profile Tools: Session delimitation for volume analysis
- Support/Resistance Scripts: Session-based level identification
> Recommended: Use this as a base layer with other L3J indicators for comprehensive market analysis.
Key Benefits
🎯 Precision Trading
- Exact session boundaries: No guesswork about session start/end times
- Clean visual reference: Clear session delimitation for strategy execution
- Multi-timeframe compatibility: Works on all chart timeframes
📊 Professional Analysis
- Institution-grade accuracy: Matches professional trading platforms
- Customizable for any strategy: Adaptable to various trading approaches
- Performance optimized: Minimal impact on chart loading times
🔄 Real-time Updates
- Live session tracking: Ongoing sessions update in real-time
- Automatic management: Old sessions are cleaned up automatically
- Memory efficient: Optimized for extended trading sessions
Author Information
Created by: L3J
Version: 1.0
Category: Session Analysis / Market Hours
License: For use with L3J trading script ecosystem
---
Support & Integration
This indicator is part of the L3J Trading Script Collection. For optimal results, combine with other L3J indicators:
- ICT Key Levels
- Market Structure Analysis
- Volume Profile Tools
- Support/Resistance Scripts
Note: This script is specifically designed to complement and enhance other L3J trading tools. Individual use is supported, but maximum effectiveness is achieved when used as part of the complete L3J trading system.
---
For technical support or integration questions, refer to the L3J script documentation or community resources.
Playbook//@version=6
indicator('Playbook', overlay = true, scale = scale.right)
// === Inputs ===
useYesterdayPOC = input.bool(true, 'Use Yesterday\'s POC (else Today’s Developing)')
atrLength = input.int(14, 'ATR Length', minval = 1)
stretchMult = input.float(1.5, 'Stretch Threshold (in ATRs)', minval = 0.1, step = 0.1)
showBands = input.bool(true, "Show Stretch Bands")
useAnchoredVWAP = input.bool(true, "Show Anchored VWAP")
anchorDate = input.time(timestamp("01 Jan 2023 00:00 +0000"), "VWAP Anchor Date")
// === ATR ===
atr = ta.atr(atrLength)
isNewDay = ta.change(time('D')) != 0
// === VWAP as POC Approximation ===
todayVWAP = ta.vwap
var float yVWAP = na
if isNewDay
yVWAP := todayVWAP
activePOC = useYesterdayPOC and not na(yVWAP) ? yVWAP : todayVWAP
// === Stretch Bands ===
upperBand = activePOC + atr * stretchMult
lowerBand = activePOC - atr * stretchMult
// Plot stretch bands
pocColor = color.yellow
bandFill = plot(upperBand, "Upper Band", color=color.red, linewidth=1, display=showBands ? display.all : display.none)
bandFill2 = plot(lowerBand, "Lower Band", color=color.green, linewidth=1, display=showBands ? display.all : display.none)
pocLine = plot(activePOC, "POC Target", color=pocColor, linewidth=2)
fill(bandFill, bandFill2, color=color.new(color.gray, 90))
// === Anchored VWAP ===
anchoredVWAP = ta.vwap(ta.change(time) >= anchorDate ? close : na)
plot(useAnchoredVWAP ? anchoredVWAP : na, "Anchored VWAP", color=color.blue, linewidth=2)
// === STATUS TABLE ===
var table statusTable = table.new(position.bottom_right, 1, 1, border_width=1, border_color=color.gray)
insideBands = close <= upperBand and close >= lowerBand
statusText = insideBands ? "WAIT" : "TRADE AVAILABLE"
statusColor = insideBands ? color.orange : color.green
table.cell(statusTable, 0, 0, statusText, text_color=color.rgb(5, 4, 4), bgcolor=statusColor)
// === Heatmap ===
bgcolor(close > upperBand ? color.new(color.red, 80) : close < lowerBand ? color.new(color.green, 80) : color.new(color.orange, 90))
ETF→Symbol GEX & IM Mapper (EN)ETF→Symbol GEX & IM Mapper (EN) — Overview
🔎 Purpose
This indicator lets you paste a levels block (compact or long) with GEX walls, IM range, HVL and BS levels, then maps ETF-based prices to the current symbol using a live/fixed ratio (Diff). It draws lines and labels (color-coded), adds an optional HVL fill (green above / red below), and shows an InfoBox with Basis (CT/BW), optional VIX term structure, and an Auto GEX sign.
🧠 Why it’s useful
Quickly project SPY/QQQ/IWM/DIA levels onto futures, single stocks, or other symbols.
Keep levels consistent intraday with 09:30 NY rebase or manual rebase.
Visual context: Call/Put walls, IM range (+optional SDV bands), HVL, and BS levels, all in one view.
Key Features
ETF→Symbol mapping with live or frozen Diff (rebase at 09:30 NY or manual).
Two input formats:
Compact: price,name separated by ;
Long: natural language tokens separated by ,
GEX walls (L1 highlighted; extra GEX above/below price auto-colored).
IM range (Low/High) with optional SDV ±1/2/3σ bands.
HVL line + conditional fill (green/red) anchored to IM or GEX L1 (auto mode included).
BS levels from block (count configurable).
InfoBox: Basis (CT/BW), VIX state (Contango/Backwardation/Flat), GEX sign (Auto/Manual).
Labels: choose position, offsets, and text size.
Inputs You’ll Use Most
Data source
Use COMPACT block instead of LONG (toggle)
Block format: Auto / Long / Compact
Block text: paste your block (long or compact)
Block levels are in ETF (convert with Diff) (toggle)
Prefer 0DTE variants (toggle)
Extra GEX per side (besides L1)
Mapping / Rebase
Anchor: Rebase 09:30 NY / Manual rebase
Rebase now (+1 to execute)
Use ETF open (manual) and ETF open (manual, today)
Drift alert & threshold
Lines / Labels
Line length by: Bars / Days / Full
Label position: Left / Center / Right
Label offsets: bars / days
Label text size: Tiny / Small / Normal / Large / Huge
Styles
Colors, line widths, and styles for GEX / IM / HVL / SDV / BS
Environment
Basis (CT/BW) on/off, VIX on/off (VIX vs. VIX3M), GEX sign (Auto/Manual), InfoBox on/off
How to Use
Select ETF (SPY/QQQ/IWM/DIA) that corresponds to the levels you paste.
Paste your levels block (Compact or Long).
If your block prices are in the ETF, enable “Block levels are in ETF (convert with Diff)”.
Choose Rebase mode:
Rebase 09:30 NY: freezes Diff at RTH open.
Manual rebase: increment “Rebase now” to capture current Diff.
Tweak line span, label size/position, colors, SDV bands, HVL fill, etc.
(Optional) Enable VIX state and GEX sign = Auto to infer regime from VIX term/Basis/HVL.
Compact Block — Format & Example
Format:
Each item: price,name
Separate items with ;
Optional width tag: l1 / l2 / l3 (L1 is thickest)
Names you can use:
Call Wall, Put Wall, HVL, IM, GEX N, BS N
Examples of name variants recognized: Call Wall, Put Wall, HVL, IM, GEX 1, BS 3
Example (Compact):
455.0,Call Wall,l1; 448.0,Put Wall,l1; 451.2,HVL;
450.0,IM; 452.5,IM;
456.5,GEX 2; 447.2,GEX 3;
449.0,BS 1; 453.0,BS 2
Tip: If the Compact block is in ETF prices, toggle Block levels are in ETF (convert with Diff).
Long Block — Tokens & Example
Guidelines:
Separate tokens with ,.
The parser looks for keywords (EN/ES) and grabs the last number in that token.
Recognized tokens (English & Spanish):
Call Wall (L1): "call wall …", "call resistance …", "resistencia call …"
Put Wall (L1): "put wall …", "soporte put …"
0DTE variants: add "0dte" (e.g., "call wall 0dte 456"). If Prefer 0DTE is ON, 0DTE overrides standard.
HVL: "hvl …"
IM range: "1d min …", "1 d min …", "1d max …", "1 d max …"
GEX N: "gex N …"
BS N: "bs N …"
Example (Long):
Call Wall 0DTE 455, Put Wall 0DTE 448, HVL 451.2,
1d min 450, 1d max 452.5,
GEX 2 456.5, GEX 3 447.2,
BS 1 449, BS 2 453
Note: If your Long block is in ETF prices, enable Block levels are in ETF (convert with Diff).
Visual Conventions
Call Wall (L1): green line; Put Wall (L1): red line.
Extra GEX (above/below): auto-colored by side of current price; first extra = L2 (thicker), then L3.
IM Low / High: blue lines (with optional SDV bands).
HVL: blue line + fill (green above / red below) clipped to IM or GEX L1 span (per setting).
BS: gray lines.
Tips & Notes
Use Drift Alert to know when to rebase (e.g., after large intraday divergence).
Auto GEX sign can be based on VIX term (VIX3M vs VIX), Basis (CT/BW), or Price vs HVL.
Label text size controls label readability; adjust offsets to avoid overlaps.
If nothing draws, verify:
You pasted some block.
Block levels are in ETF toggle matches your block.
Token names match the formats above (case-insensitive).
Disclaimer
This is an educational tool for visualization. It does not constitute financial advice. Always do your own research and manage risk.
Retail Sentiment Indicator - Multi-Asset CFD & Fear/Greed IndexRetail Sentiment Indicator - Multi-Asset CFD & Fear/Greed Index
Overview
The Retail Sentiment Indicator provides real-time sentiment data for major financial instruments including stocks, forex, commodities, and cryptocurrencies. This indicator displays retail trader positioning and market sentiment using CFD data and fear/greed indices.
Methodology and Scale Calculation
This indicator operates on a **-50 to +50 scale** with zero representing perfect market equilibrium.
Scale Interpretation:
- **Zero (0)**: Market balance - exactly 50% of investors buying, 50% selling
- **Positive values**: Majority buying pressure
- Example: If 63% of investors are buying, the indicator shows +13 (63 - 50 = +13)
- **Negative values**: Majority selling pressure
- Example: If 92% of investors are selling, the indicator shows -42 (50 - 92 = -42)
BTC Fear & Greed Index Scaling:
The original `BTC FEAR&GREED` index is natively scaled from 0-100 by its creator. In our indicator, this data has been rescaled to also fit the -50 to +50 range for consistency with other sentiment data sources.
This unified scaling approach allows for direct comparison across all instruments and data sources within the indicator.
-Important Data Source Selection-
Bitcoin (BTC) Data Sources
When viewing Bitcoin charts, the indicator offers **two different data sources**:
1. **Default Auto-Mode**: `BTCUSD Retail CFD` - Retail CFD traders sentiment data (automatically loaded).
2. **Manual Selection**: `BTC FEAR&GREED` - Fear & Greed Index from website: alternative dot me
**To access BTC Fear & Greed Index**: Input settings -> disable checkbox "Auto-load Sentiment Data" -> manually select "BTC FEAR&GREED" from the dropdown menu.
US Stock Market Data Sources
For US stocks and indices (S&P 500, NASDAQ, Dow Jones), there are **two data source options**:
1. **Default Auto-Mode**: Individual retail CFD sentiment data for each instrument
2. **Manual Selection**: `SNN FEAR&GREED` - SNN's Fear & Greed Index covering the overall US market sentiment. SNN was used as the name to avoid any potential trademark infringement.
**To access SNN Fear & Greed Index**: When viewing US market charts, disable in input settings checkbox "Auto-load Sentiment Data" and manually select "SNN FEAR&GREED" from the dropdown menu.
This distinction allows traders to choose between **instrument-specific retail sentiment** (auto-mode) or **broader market sentiment indices** (manual selection).
Features
- **Auto-Detection**: Automatically loads sentiment data based on the current chart symbol
- **Manual Selection**: Choose from 40+ supported instruments when auto-detection is unavailable
- **Multiple Data Sources**: Combines retail CFD sentiment with Fear & Greed indices
- **Visual Zones**: Clear greed/fear zones with color-coded backgrounds
- **Real-time Updates**: Live sentiment data from merged data sources
Supported Instruments
Major Indices
- S&P 500, NASDAQ, Dow Jones 30, DAX
Forex Pairs
- Major pairs: EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD
- Cross pairs: EURJPY, GBPJPY, AUDUSD, NZDUSD, and 20+ others
Commodities
- Precious metals: Gold (XAUUSD), Silver (XAGUSD)
- Energy: WTI Oil
- Agricultural: Wheat, Coffee
- Industrial: Copper
Cryptocurrencies
- Bitcoin (BTC) sentiment data
- BTC & SNN Fear & Greed indices
How to Use
1. **Auto Mode** (Default): Enable "Auto-load Sentiment Data" to automatically display sentiment for the current chart symbol
2. **Manual Mode**: Disable auto-load and select from the dropdown menu for specific instruments
3. **Interpretation**:
- Values above 0 (green) indicate retail greed/bullish sentiment
- Values below 0 (red) indicate retail fear/bearish sentiment
- Fear & Greed indices use 0-100 scale (50 is neutral)
Data Sources
This indicator uses curated sentiment data from retail CFD providers and established fear/greed indices. Data is updated regularly and sourced from reputable financial data providers.
Trading Strategy & Market Philosophy
Contrarian Trading Approach
The primary purpose of this indicator is based on the fundamental market principle that **the majority of retail investors are often wrong**, and markets typically move opposite to the positions held by the majority of market participants.
Key Strategy Guidelines:
- **Contrarian Signal**: When the majority of users are positioned on one side of the market, there is statistically greater market advantage in taking positions in the opposite direction
- **Trend Exhaustion Signal**: An interesting observed phenomenon occurs when, during a long-lasting trend where the majority of investors have consistently been on the wrong side, the Sentiment indicator suddenly shows that the majority has flipped and opened positions in the direction of that long-running trend. This is often a signal of fuel exhaustion for further movement in that direction
Interpretation Examples
- High greed readings (majority bullish) → Consider bearish opportunities
- High fear readings (majority bearish) → Consider bullish opportunities
- Sudden sentiment flip during established trends → Potential trend reversal signal
Technical Notes
- Built with PineScript v6
- Dynamic symbol detection with fallback options
- Optimized for performance with minimal resource usage
- Color-coded visualization with customizable zones
Data Sources & Expansion
Acknowledgments
We extend our gratitude to **TradingView** for enabling the use of custom data feeds based on GitHub repositories, making this comprehensive sentiment analysis possible.
Data Expansion Opportunities
As the operator of this indicator, I am **open to suggestions for new data sources** that could be integrated and published. If you have ideas for additional instruments or sentiment data:
How to Submit Suggestions:
1. Send a **private message** with your proposal
2. Include: **instrument/data type**, **source**, and **brief description**
3. If technically feasible, we will work to import and publish the data
Data Infrastructure Status
Current Data Upload Process:
Please note that sentiment data uploads may occasionally experience minor interruptions. However, this should not pose significant issues as sentiment data typically changes gradually rather than rapidly.
Infrastructure Development:
We are actively working on establishing permanent cloud-based infrastructure to ensure continuous, automated data collection and upload processes. This will provide more reliable and consistent data availability in the future.
Disclaimer
This indicator is for educational and informational purposes only. Sentiment data should be used as part of a comprehensive trading strategy and not as the sole basis for trading decisions. Past performance does not guarantee future results. The contrarian approach described is a market theory and may not always produce profitable results.
Opening Range Suite by SBSniperOpening Range Suite
An all-in-one opening-range tool suite. It draws the 30-second, 5-minute, and 30-minute opening ranges for the AM session (09:30 NY). Each range is highlighted with a rectangle (high/low with midpoint) and can display a full pack of projection levels.
⸻
What it draws
• AM 09:30 ORs: 30s, 5m, 30m ranges.
• Midpoint line inside each box.
• Projections from the opening range (measured both High→Low and Low→High) at:
−0.5, −1, −1.5, −2, −2.5, −3, −3.5, −4.
• Text labels inside rectangles (fixed text):
AM — “OR 30sec / OR 5min / OR 30min”; PM — “PM 30sec / PM 5min / PM 30min”.
⸻
Smart behavior
• Today always extends to the current bar (so the current session’s box grows with price/time).
• Previous 5 days of each selected range are shown and, by default, extend to 12:00 NY for AM and 16:00 NY for PM (2.5h span).
Toggle available to extend previous 5 out to the current bar instead.
• Projection day cap: You choose how many recent days (including today) draw projection lines. This prevents chart clutter and avoids TradingView object limits.
• Weekend skip: Automatically ignores Saturdays and Sundays based on New York time.
• Single label toggle: Turn all labels on/off; styling and text are fixed for clarity and consistency.
⸻
How ranges are calculated
• The script anchors to New York local time and detects:
• AM session: 09:30 → grabs the 30s/5m/30m bar(s) that open at 09:30:00 NY.
• Each range uses the bar’s high/low, draws a rectangle spanning the selected time window, and plots the midpoint.
⸻
Notes & best practices
• The 30-second OR requires a symbol/data plan that provides 30-second bars. If your feed doesn’t have 30s, keep the 30s toggles off and use 5m/30m.
• Use on intraday charts. The tool relies on bar times to align with NY session opens.
• For non-US symbols or 24/7 markets, NY anchoring still works; just be aware that “open” is tied to 09:30 New York time.
On-Chain Metrics & Z-Mode SelectionThis indicator provides an on-chain metric analysis framework for cryptocurrencies (currently limited to) BTC and ETH; allowing users to select from popular metrics such as SOPR, Profit Addresses %, NUPL, or MVRV.
It enables various analyses on the chosen metric to capture momentum and rate of change dynamics over time.
Analyses include:
Normalization techniques utilizing Mean or Median with standard deviation, as well as a 'Robust' method using interquartile range-based Z-scoring to accommodate skewed distributions, or raw values without normalization.
An optional differential calculation that highlights the rate of change (first derivative) of the metric.
Moving average smoothing with up to two passes, supporting EMA, SMA, or WMA types.
Optional sigmoid-based compression that scales and centers the indicator output, improving interpretability, mitigating extreme outliers, and allowing the user to scale the output so that the step size or increment of the long and short thresholds remains within a workable range.
Buy and sell signals are generated based on configurable long and short thresholds applied to the processed output.
Visual components such as trend colouring, threshold lines, background shading, and labels make it simple for traders to identify entry signals.
This indicator is suitable for those looking to integrate blockchain behavioral insights into their trading decisions.
Overall, this script transforms complex on-chain data into actionable trade signals by combining adaptive normalization and smoothing techniques. Its versatility and multi-metric support make it a valuable tool for both market monitoring and strategy development.
No financial decisions should be made based solely on this indicator. Always conduct your own research. .
Acknowledgements
Inspiration drawn from: CipherDecoded
IFVG Extended + Entry/TPs IFVG Extended + Entry/TPs this is high winrate hands free just follow the system
Trader Marks Trailing SL + TP (BE @ 66%)📌 Title
Trader Marks Trailing SL + TP (BE @ 66%)
📌 Description
This indicator combines Stop-Loss, Take-Profit, and Trailing Stop management into one tool.
It offers two different modes:
S/L+ EXACT → Reproduces the classic ATR Trailing Stop Indicator (by ZenAndTheArtOfTrading) with full accuracy.
Advanced (Delay + BE + Ratchet) →
Uses a fixed SL until X hours after entry
Then switches to ATR-based trailing stop (ratchet, never reverses)
Moves the stop to Break-Even once Y% of the distance to the target has been reached
📌 Features
✅ Two modes: Classic & Advanced
✅ Works for both Long & Short trades
✅ Manual entry, SL and TP levels
✅ Start delay for trailing (e.g. 12 hours)
✅ ATR-based ratcheting (never moves backwards)
✅ Automatic Break-Even stop at 66% of the way to TP (adjustable)
✅ Visual plots for Entry, SL, TP, current Stop, and 66%-threshold
✅ Alerts for Stop-Hit, TP-Hit, and BE activation
📌 Parameters
Setup
Direction: Long / Short
Entry Price
Stop-Loss
Take-Profit (manual)
Mode
S/L+ EXACT
Advanced (Delay+BE+Ratchet)
S/L+ Parameters
ATR Length (default 14)
High/Low lookback (default 7)
ATR Multiplier (default 1.0)
Basis: High/Low, Close, or Open
Advanced Parameters
ATR Length (e.g. 14)
ATR Multiplier (e.g. 1.0)
Update only on bar close (true/false)
Start delay in hours (e.g. 12)
BE Threshold in % of distance to TP (default 66%)
Option to stop trailing after BE
📌 Alerts
Stop Hit (Long)
Stop Hit (Short)
TP Reached (Long)
TP Reached (Short)
Break-Even Active
📌 Recommended Defaults
Mode: Advanced (Delay+BE+Ratchet)
ATR Length: 14
Lookback: 7
ATR Multiplier: 1.0
Start Delay: 12 hours
Break-Even Threshold: 66%
Loss Alarm (tijd + prijs)Loss Alarm (time + price)
This script triggers an alert once the price stays fully below a chosen line for a predefined period of time.
Select your own ticker, timeframe, and price level.
The alert is triggered only once per session.
A line is plotted on the chart with a label showing the selected timeframe, so you know which alert is active.
⚠️ Note: you must manually create a separate TradingView alert using the condition provided by the script.
Consistent Buy/Sell SignalsThis Invite-Only Pine Script delivers real-time buy and sell signals based on the volume of sellers in the market, helping traders identify strong entry and exit points with confidence. Designed for consistency and accuracy, it filters out noise and highlights only the most reliable signals.
SAPSAN TRADE: Trend LineSAPSAN TRADE: Trend Line
This indicator automatically detects ascending and descending trend lines based on recent pivot highs and lows. It helps traders visually identify key levels of support and resistance, and provides alerts when a trend line is broken.
Key Features:
Automatic detection of trend lines using fractal highs and lows.
Customizable fractal length and minimum touches for drawing trend lines.
Differentiates between active and broken lines with color coding:
Red for descending lines
Green for ascending lines
Gray for broken lines
Automatic removal of broken lines after a configurable number of bars.
Alerts for:
Any trend line break
Descending trend line break
Ascending trend line break
Use Cases:
Identify potential breakout and reversal points.
Track the current trend direction.
Combine with other technical indicators for confirmation.
Inputs:
Fractal Length (Global High/Low): Sets the number of bars used to detect pivot points.
Remove broken line after N bars: Automatically clears broken lines after the specified number of bars.
Min. touches for trend line: Minimum number of pivot points required to draw a trend line.
Active line colors: Customize colors for ascending and descending trend lines.
Broken line color: Customize the color of broken trend lines.