HA Reversal + Doji 🔥 Heikin Ashi Reversal + Stochastic Filter (Precision Entry System)
This indicator is designed to detect high–quality reversal entries using a Heikin Ashi candle pattern (Doji + 2 no–wick confirmation) combined with a strict Stochastic filter that uses memory of extreme touches to control trade direction.
✅ Entry Logic
🔹 Bullish BUY Signal
A BUY is triggered only when:
A valid reversal pattern is detected:
Doji candle (pivot) 3 bars back
Followed by 2 bullish candles with no lower wicks
Stochastic touched Oversold (≤ 20) at least once before the signal
Pattern + Stoch alignment = BUY
🔹 Bearish SELL Signal
A SELL is triggered only when:
Valid bearish reversal pattern:
Doji candle (pivot) 3 bars back
Followed by 2 bearish candles with no upper wicks
Stochastic touched Overbought (≥ 80) before the signal
Pattern + Stoch alignment = SELL
🧠 Stochastic “Memory” Filter
This is not a basic OB/OS filter — it uses event memory:
If Stochastic touches Oversold, the system becomes ready for BUY
If it touches Overbought, it becomes ready for SELL
Both directions can be armed at once
Once a BUY or SELL actually triggers, memory resets to neutral
Prevents “signal spam” during chop and keeps direction meaningful
🎯 Why This Works
✔ Filters out random countertrend noise
✔ Only trades after momentum exhaustion
✔ Uses strict Heikin Ashi reversal structure
✔ Works great across crypto, forex, indices, metals
✔ Designed for precision entries and swing continuation traps
⚙️ Customizable Options
Doji detection mode (body % / ticks / hybrid)
Wick tolerance
Heikin Ashi source (chart or calculated)
Stochastic source (raw or smoothed)
Option to avoid duplicate same-direction signals
Visual aids: pattern markers, blocked signals, doji debugging
📌 Best Use Cases
Reversal scalping on 5m/15m
Swing entries on 1H/4H
Trend exhaustion confirmation
Smart Money Concepts entry refinement
Entry timing after liquidity sweeps
🚨 Important
This is not a repainting system. Signals are generated at bar close only. Always combine with proper risk management and market context.
Let me know if you want:
✅ A shorter description
✅ An SEO optimized TradingView title
✅ A strategy version with backtesting
✅ Alerts version for automation
Chỉ báo và chiến lược
[boitl] Trendfilter🧭 Trend Filter – Curve View (1D / 1H + M15 Check)
A multi-timeframe trend filter that blends daily, hourly, and 15-minute data into a smooth, color-coded curve displayed in a separate panel.
It visualizes both trend direction and strength while accounting for overextension, providing a reliable “context indicator” for entries and filters.
🔍 Concept
The indicator evaluates three timeframes:
1D (Daily) → SMA200 for long-term trend bias
1H (Hourly) → EMA50 for medium-term confirmation
15M (Intraday) → EMA20 + ATR to detect overextension or mean reversion zones
It computes a continuous trend score between −1 and +1:
+1 → Strong bullish alignment (D1 & H1 both up)
−1 → Strong bearish alignment (D1 & H1 both down)
≈ 0 → Neutral, conflicting, or overextended conditions
The score is smoothed and normalized for a clean visual curve —
green for bullish, red for bearish, with dynamic transparency based on strength.
⚙️ Logic Overview
Timeframe Indicator Purpose
1D SMA200 Long-term trend direction
1H EMA50 Medium-term confirmation
15M EMA20 + ATR Overextension control
Alignment between D1 and H1 defines clear trend bias
Conflicts between them reduce the trend score
M15 overextension (price far from EMA20) softens the signal further
The result is a responsive trend-strength oscillator, ideal for multi-timeframe setups.
🧩 Use Cases
As a trend filter for strategies (e.g. allow entries only if score > 0.3 or < −0.3)
As a visual confirmation of higher-timeframe direction
To avoid trades during conflict or exhaustion
💡 Visualization
Single curve (area plot):
Green = bullish bias
Red = bearish bias
Transparency increases with weaker trend
Background colors:
🟠 Orange → D1/H1 conflict
🔴 Light red → M15 overextension active
Optional: binary alignment line (+1 / 0 / −1) for simplified display
⚙️ Parameters
Proximity to EMA20 (M15) = X×ATR → defines “near” condition
Overextension threshold = X×ATR → sets exhaustion boundary
EMA smoothing → reduces noise for a smoother score
Toggle overextension impact on/off
MechArt ATR Box 12 V1.1MechArt ATR Box 12 V1.1 — Auto ATR Edition
Overview:
The MechArt ATR Box 12 is a precision visualization tool for tracking ATR-based trade levels across multiple tickers. It automatically plots your +1 ATR roll zone, -2 ATR stop, and -3 ATR emergency exit, providing a clear visual map of your trade’s range and time horizon.
Key Features:
Auto ATR on Entry Date: For each configured ticker, the indicator automatically pulls the historical ATR(14) value that matches your entry date — no manual ATR entry needed. This refreshes each time the ticker is revisited.
Smart Defaults for Other Tickers:
If a ticker isn’t listed in the code, the indicator defaults to your current price as the entry, calculates ATR live, and sets expiration 21 days out, aligned to the next Friday.
Multi-Ticker Setup (12 Slots):
You can predefine up to 12 tickers inside the code, each with its own entry price, entry date and expiration date. Once saved, the indicator recognizes and loads them automatically when you open that chart.
Customizable Appearance:
Adjustable opacity and colors for each ATR box
Line width, style, and transparency controls
DTE/ATR label with adjustable font size
Dynamic Labels:
Displays the remaining days to expiration (DTE) and the ATR value used for calculations.
Use Case:
Designed for swing traders and options traders managing multiple active tickers. Each ATR box visually represents your trade window — from entry through expiration — with clear risk and roll boundaries.
How It Works:
Simply open the code once and enter your 12 tickers, each with its entry date and price. The script handles ATR lookups and expiration alignment automatically. Any ticker not included will generate its own default 21-day box.
Long-Bodied Candle Detector (clean anchored arrows v6) - FIXEDThis is an indicator created by Defi-Cred capital. It's very basic as it Detects high-probability reversal signals by identifying Long-Bodied Candles combined with Fair Value Gap confirmation, using volatility filters for significant moves only. Places strategic entry arrows when qualifying candles form followed by FVG patterns, with customizable sensitivity settings for cleaner, more reliable signals.
Material Color Palette Library█ OVERVIEW
Unlock a world of color in your Pine Script® projects with the Material Color Palette Library . This library provides a comprehensive and structured color system based on Google's Material Design palette, making it incredibly easy to create visually appealing and professional-looking indicators and strategies.
Forget about guessing hex codes. With this library, you have access to 19 distinct color families, each offering a wide range of shades. Every color can be fine-tuned with saturation, darkness, and opacity levels, giving you precise control over your script's appearance.
To make development even easier, the library includes a visual cheatsheet. Simply add the script to your chart to display a full table of all available colors and their corresponding parameters.
█ KEY FEATURES
Vast Spectrum: 19 distinct color families, from vibrant reds and blues to subtle greys and browns.
Fine-Tuned Control: Each color function accepts parameters for `saturationLevel` (1-13 or 1-9) and `darkLevel` (1-3) to select the perfect shade.
Opacity Parameter: Easily add transparency to any color for fills, backgrounds, or lines.
Quick Access Tones: A simple `tone()` function to grab base colors by name.
Visual Cheatsheet: An on-chart table displays the entire color palette, serving as a handy reference guide during development.
█ HOW TO USE
As a library, this script is meant to be imported into your own indicators or strategies.
1. Import the Library
Add the following line to the top of your script. Remember to replace `YourUsername` with your TradingView username.
import mastertop/ColorPalette/1 as colors
2. Call a Color Function
You can now use any of the exported functions to set colors for your plots, backgrounds, tables, and more.
The primary functions take three arguments: `functionName(saturationLevel, darkLevel, opacity)`
`saturationLevel`: An integer that controls the intensity of the color. Ranges from 1 (lightest) to 13 (most vibrant) for most colors, and 1-9 for `brown`, `grey`, and `blueGrey`.
`darkLevel`: An integer from 1 to 3 (1: light, 2: medium, 3: dark).
`opacity`: An integer from 0 (opaque) to 100 (invisible).
Example Usage:
Let's plot a moving average with a specific shade of teal.
// Import the library
import mastertop/ColorPalette/1 as colors
indicator("My Script with Custom Colors", overlay = true)
// Calculate a moving average
ma = ta.sma(close, 20)
// Plot the MA using a color from the library
// We'll use teal with saturation level 7, dark level 2, and 0% opacity
plot(ma, "MA", color = colors.teal(7, 2, 0), linewidth = 2)
3. Using the `tone()` Function
For quick access to a base color, you can use the `tone()` function.
// Set a red background with 85% transparency
bgcolor(colors.tone('red', 85))
█ VISUAL REFERENCE
To see all available colors at a glance, you can add this library script directly to your chart. It will display a comprehensive table showing every color variant. This makes it easy to pick the exact shade you need without guesswork.
This library is designed for fellow Pine Script® developers to streamline their workflow and enhance the visual quality of their scripts. Enjoy!
ICT HTF Volume Candles (Based on HTF Candles by Fadi)# ICT HTF Volume Candles - Multi-Timeframe Volume Analysis
## Overview
This indicator provides multi-timeframe volume visualization designed to complement price action analysis. It displays volume data from up to 6 higher timeframes simultaneously in a separate panel, allowing traders to identify volume spikes, divergences, and institutional activity without switching between timeframes.
**Original Concept Credits:** This indicator builds upon the HTF Candles framework by Fadi, adapting it specifically for volume analysis with enhanced features including gap-filling for extended hours, multiple scaling methods, and advanced synchronization.
## What Makes This Script Original
### Key Innovations:
1. **Three Volume Scaling Methods:**
- **Per-HTF Auto Scale:** Each timeframe scales independently for detailed comparison
- **Global Auto Scale:** All timeframes use unified scale for relative volume comparison
- **Manual Scale:** User-defined maximum for consistent analysis across sessions
2. **Bullish/Bearish Volume Differentiation:**
- Volume bars colored based on price movement (close vs open)
- Separate styling for bullish (green) and bearish (red) volume periods
- Helps identify whether volume supports price direction
3. **Advanced Time Synchronization:**
- Custom daily candle open times (Midnight, 8:30 AM, 9:30 AM ET)
- Timezone-aware calculations for New York trading hours
- Real-time countdown timers for each timeframe
- **Gap-filling technology** for continuous display during extended hours and weekends
4. **Flexible Display Options:**
- Configurable spacing and positioning
- Label placement (top, bottom, or both)
- Day-of-week or time interval labels on candles
- Works reliably in backtesting and live trading
## How It Works
### Volume Calculation
The indicator uses `request.security()` with optimized parameters to fetch volume data from higher timeframes:
- **Volume Open/High/Low/Close (OHLC):** Tracks volume changes within each HTF candle
- **Color Logic:** Compares HTF close vs open prices to determine bullish/bearish classification
- **Alignment:** All volume bars share a common baseline for easy visual comparison
- **Gap Handling:** Uses `gaps=barmerge.gaps_off` to maintain continuity during non-trading hours
### Technical Implementation
```
1. Monitors HTF timeframe changes using request.security() with lookahead
2. Creates new VolumeCandle object when HTF bar opens
3. Updates current candle's volume H/L/C on each chart bar
4. Applies selected scaling method to normalize display height
5. Repositions all candles and labels on each bar update
6. Fills gaps automatically during extended hours for consistent display
```
### Scaling Methods Explained
**Method 1 - Auto Scale per HTF:**
Each timeframe displays volume relative to its own maximum. Best for identifying patterns within each individual timeframe.
**Method 2 - Global Auto Scale:**
All timeframes share the same scale based on the highest volume across all HTFs. Best for comparing relative volume strength between timeframes.
**Method 3 - Manual Scale:**
User sets maximum volume value. Best for maintaining consistent scale across different trading sessions or instruments.
## How to Use This Indicator
### Setup
1. Add indicator to your chart (it appears in a separate panel below price)
2. Configure up to 6 higher timeframes (default: 5m, 15m, 1H, 4H, 1D, 1W)
3. Set number of candles to display for each timeframe
4. Choose volume scaling method based on your analysis needs
5. Enable "Fix gaps in non-trading hours" for extended hours trading (enabled by default)
### Interpretation
**Volume Spikes:**
- Sudden increase in volume height indicates institutional activity or strong conviction
- Compare volume between timeframes to identify where the real money is moving
- Look for volume spikes that appear across multiple timeframes simultaneously
**Bullish vs Bearish Volume:**
- **Green volume bars:** Price closed higher (buying pressure)
- **Red volume bars:** Price closed lower (selling pressure)
- High green volume during uptrend = confirmation of strength
- High red volume during downtrend = confirmation of weakness
- High volume opposite to trend = potential reversal warning
**Multi-Timeframe Context:**
- **5m/15m:** Scalping and day trading activity
- **1H/4H:** Swing trading and intraday institutional flows
- **Daily/Weekly:** Major position building and long-term trends
**Divergences:**
- Price making new highs but volume declining = weakening trend
- Volume increasing while price consolidates = potential breakout brewing
- Price breaks level but volume doesn't confirm = likely false breakout
### Practical Examples
**Example 1 - Institutional Confirmation:**
Price breaks above resistance. Check volume across timeframes:
- 5m shows spike = retail interest
- 15m + 1H + 4H all show spikes = institutional confirmation
- **Trade confidence: HIGH**
**Example 2 - False Breakout Detection:**
Price breaks resistance with:
- High volume on 5m only
- Normal/low volume on 1H and 4H
- **Interpretation:** Likely retail trap, institutions not participating
- **Action:** Wait for pullback or avoid
**Example 3 - Accumulation Phase:**
Price ranges sideways but:
- Daily volume gradually increasing
- Weekly volume above average
- **Interpretation:** Smart money accumulating
- **Action:** Prepare for breakout in direction of volume
**Example 4 - Volume Divergence:**
Price makes new high:
- Current high has lower volume than previous high across all timeframes
- **Interpretation:** Weakening momentum
- **Action:** Consider profit-taking or reversal trade
## Configuration Parameters
### Timeframe Settings
- **HTF 1-6:** Select timeframes (must be higher than chart timeframe)
- **Max Display:** Number of candles to show per timeframe (1-50)
- **Limit to Next HTFs:** Display only first N enabled timeframes (1-6)
### Styling
- **Bull/Bear Colors:** Separate colors for body, border, and wick
- **Padding from current candles:** Distance offset from live price action
- **Space between candles:** Gap between individual volume bars
- **Space between Higher Timeframes:** Gap between different timeframe groups
- **Candle Width:** Thickness of volume bars (1-4, multiplied by 2)
### Volume Settings
- **Volume Scale Method:** Choose 1, 2, or 3
- 1 = Auto Scale per HTF (each TF independent)
- 2 = Global Auto Scale (all TF unified)
- 3 = Manual Scale (user-defined max)
- **Auto Scale Volume:** Enable/disable automatic scaling
- **Manual Scale Max Volume:** Set maximum when using Method 3
### Label Settings
- **HTF Label:** Show/hide timeframe names with color and size options
- **Label Positions:** Display at Top, Bottom, or Both
- **Label Alignment:** Align centered or Follow Candles
- **Remaining Time:** Show countdown timer until next HTF candle
- **Interval Value:** Display day-of-week or time on each candle
### Custom Daily Candle
- **Enable Custom Daily:** Override default daily candle timing
- **Open Time Options:**
- **Midnight:** Standard 00:00 ET daily open
- **8:30 AM:** Align with economic data releases
- **9:30 AM:** Align with NYSE market open
- Useful for specific trading strategies or market alignment
### Advanced Settings
- **Fix gaps in non-trading hours:** Maintains alignment during extended hours and weekends (recommended: ON)
- Prevents visual gaps during forex weekend closures
- Ensures consistent display during crypto 24/7 trading
- Improves backtesting reliability
## Best Practices
1. **Pair with Price Action:** Use alongside HTF price candles indicator for complete picture
2. **Start Simple:** Enable 2-3 timeframes initially (e.g., 15m, 1H, 4H), add more as needed
3. **Match Settings:** Use same candle width/spacing as companion price indicator for visual alignment
4. **Scale Appropriately:**
- Use **Global scale** (Method 2) when comparing timeframes
- Use **Per-HTF scale** (Method 1) for pattern analysis within each timeframe
- Use **Manual scale** (Method 3) for consistent day-to-day comparison
5. **Watch for Volume Clusters:** High volume appearing simultaneously across multiple HTFs signals significant market events
6. **Confirm Breakouts:** Always check if volume supports the price movement across higher timeframes
7. **Extended Hours:** Keep "Fix gaps" enabled for 24/7 markets (Forex, Crypto) and weekend analysis
## Technical Notes
- **Timezone:** All calculations use America/New_York timezone for consistency
- **Real-time Updates:** Volume and timers update on each tick during market hours
- **Performance:** Optimized with max_bars_back=5000 for extensive historical analysis
- **Compatibility:** Works on all instruments with volume data (Stocks, Forex, Crypto, Futures)
- **Gap Handling:** Uses `barmerge.gaps_off` to fill data gaps during non-trading periods
- **Backtesting:** Uses `lookahead=barmerge.lookahead_on` for stable historical data without repainting
- **Data Continuity:** Automatically handles market closures, weekends, and extended hours
## Updates & Improvements
**Version 2.0 (Current):**
- ✅ Fixed alignment issues during extended hours and weekends
- ✅ Eliminated repainting in backtesting
- ✅ Added gap-filling technology for continuous display
- ✅ Improved data synchronization across all timeframes
- ✅ Enhanced NA value handling for data integrity
- ✅ Added advanced settings group for user control
## Support
For questions, suggestions, or feedback, please comment on the publication or message the author.
---
**Disclaimer:** This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always perform your own analysis and implement proper risk management before making trading decisions.
ADX MA Filter for Choppy MarketsA clear way to see expanding markets and identify contracting markets or chop
Trí Nguyễn TrendM30 → M15 Reversal (Engulfing/Doji/Hammer)Trend follow M30
Entry M15 (Engulfing/Doji/Hammer)
Saty ATR Levels w/labelsSatys ATR Levels with labels, Allows for the user to plot ATR levels and see labels with the addition of this script
SALSA MultiStrategy DashboardSALSA MultiStrategy Dashboard - Comprehensive Technical Analysis Tool
🎯 ORIGINALITY & PURPOSE
The SALSA MultiStrategy Dashboard addresses a critical challenge in technical analysis: indicator fragmentation. Unlike simple mashups that merely combine indicators, this tool provides a unified analytical framework that identifies trading confluence across multiple technical methodologies.
Unique Value Proposition:
Integrated Analysis System: Rather than analyzing isolated signals, SALSA identifies when multiple technical approaches align, providing higher-probability trade setups
Cognitive Load Reduction: Consolidates 7+ technical indicators into a single, organized view while maintaining analytical depth
Dynamic Market State Detection: Automatically classifies market conditions (ranging vs. trending) and adjusts strategy recommendations accordingly
🔍 TECHNICAL METHODOLOGY
Core Component Integration:
1. Squeeze Momentum System
Purpose: Identifies market consolidation periods and potential breakout directions
Methodology: Combines Bollinger Bands® and Keltner Channels to detect volatility compression
Momentum Calculation: Uses linear regression of price relative to dynamic support/resistance levels
Original Enhancement: Integrated divergence detection within squeeze momentum signals
2. ADX Trend Strength Analysis
Purpose: Quantifies trend strength with customizable threshold levels
Methodology: Average Directional Index with configurable key level (default: 23)
Original Enhancement: Dynamic color coding based on slope and key level positioning
3. RSI with Multi-Timeframe Divergence
Purpose: Momentum analysis with built-in divergence detection
Methodology: Traditional RSI with fast/slow period comparison for early momentum shifts
Original Enhancement: Integrated bullish/bearish divergence detection with visual alerts
4. Confluence Confirmation Suite
Money Flow Index (MFI): Volume-weighted momentum confirmation
Stochastic Oscillator: Momentum and overbought/oversold conditions
Awesome Oscillator: Market momentum and acceleration
MACD: Trend direction and momentum shifts
CCI: Cycle identification and extreme level detection
⚙️ HOW COMPONENTS WORK TOGETHER
The dashboard creates a hierarchical analysis system:
Market State Identification: Squeeze Momentum determines consolidation vs. expansion phases
Trend Quality Assessment: ADX evaluates whether trends are trade-worthy
Momentum Confirmation: RSI and additional oscillators validate directional bias
Confluence Scoring: Multiple confirmations create weighted probability assessments
Practical Workflow:
Squeeze Release + ADX > 23 + RSI Bullish = High-Probability Long
Squeeze Active + ADX < 23 = Range-Bound Strategy
Multiple Divergence Alerts + Momentum Shift = Reversal Watch
🎨 USER CUSTOMIZATION FEATURES
Comprehensive Color Customization:
Squeeze Momentum: 5 customizable colors for different momentum states
ADX System: Separate colors for rising/falling ADX and DI lines
RSI: Customizable line colors with overbought/oversold highlighting
Zero Lines: Configurable reference level colors
Flexible Display Options:
Toggle individual indicators on/off
Adjustable scaling and sensitivity parameters
Customizable lookback periods for all components
📊 PRACTICAL APPLICATION
Trading Scenarios:
Trend Following Setup:
Squeeze Momentum shows directional bias
ADX confirms trend strength above key level
RSI maintains momentum without divergence
Additional oscillators align with primary direction
Reversal Identification:
Squeeze Momentum shows exhaustion
Multiple divergence signals across indicators
ADX indicates weakening trend strength
Confluence of momentum shift signals
Range Trading:
Squeeze active (consolidation)
ADX below key level (lack of trend)
Oscillators bouncing between boundaries
Focus on mean-reversion strategies
🔧 TECHNICAL IMPLEMENTATION
Code Structure:
Modular Design: Each component operates independently yet integrates seamlessly
Performance Optimized: Efficient calculations suitable for multiple timeframes
Real-time Processing: Instant signal updates without repainting
Original Algorithms:
Enhanced Squeeze Detection: Improved volatility measurement
Multi-timeframe Divergence: Simultaneous analysis across different periods
Dynamic Scaling System: Automatic adjustment to market conditions
📈 EDUCATIONAL VALUE
This indicator serves as an educational framework for:
Understanding technical analysis confluence
Developing systematic trading approaches
Learning how different indicators interact
Building disciplined trading habits
⚠️ RISK MANAGEMENT NOTES
Not Financial Advice: This tool provides analytical insights, not trading recommendations
Multiple Timeframe Analysis: Always confirm signals across different timeframes
Risk Management: Use proper position sizing and stop-loss strategies
Market Context: Consider fundamental factors and market conditions
🔄 VERSION HISTORY & CONTINUOUS IMPROVEMENT
This publication represents the culmination of extensive research and testing. Future updates will focus on:
Additional confluence detection methods
Enhanced visualization options
Performance optimization
User-requested features
The SALSA MultiStrategy Dashboard represents a significant advancement in technical analysis tools by providing a structured, multi-faceted approach to market analysis that emphasizes confluence and probability assessment over isolated signals.
Tradytics Levels with EMA CloudThis indicator has tradytics price chart levels where you can put in the input code seen below.
The code has positive gamma (green lines), negative gamma (Red lines) and white dotted line are the darkpool levels.
This is Amazon's 5 minute from Sep30th to October 20th Gammas and weekly Darkpool levels. Just copy and paste code below in the input code and the chart would show the levels.
212.8*1*neutral 220.07*1*neutral 216.038*1*neutral 215.57*1*neutral 219.988*1*neutral 217.401*1*neutral 217.351*1*neutral 212.815*1*neutral 212.75*1*neutral 212.4*1*neutral 215*0*negative 222.5*0*positive 217.5*0*positive 220*0*positive
EU & US Open Signals (Triple Confirmation)🚀 EU & US Open Signals: Triple Confirmation Breakouts
💡 What This Indicator Does
This indicator plots the opening prices of the European (EU) and American (US) trading sessions as key daily support/resistance levels. Its main function is to generate three distinct levels of signals based on the breakout of these levels, strictly filtered by candlestick type.
The goal is to easily spot market momentum following the opening of the major trading sessions.
🔑 Key Features
1. Daily Session Levels
The indicator plots two crucial horizontal lines that reset daily:
EU Open (Black Line): The European session opening price (Default: 06:00 UTC).
US Open (Dark Blue Line): The American session opening price (Default: 12:00 UTC).
2. Triple Signaling Logic
All signals are only generated if the breakout candle is bullish (for Buy) or bearish (for Sell), and only within your set trading hours.
Logic I. EU Single Break
Condition: Close breaks above/below the EU Open Level + Bullish/Bearish candle.
Visual Plot: Small Cross (Green for Buy / Red for Sell).
Meaning: Early signal focused on EU session momentum.
Logic II. US Single Break
Condition: Close breaks above/below the US Open Level + Bullish/Bearish candle.
Visual Plot: Small Cross (Green for Buy / Red for Sell).
Meaning: Signal focused on US session momentum.
Logic III. Double Break (HIGH CONFIRMATION)
Condition: Close breaks above Both Levels (EU and US) for Buy, or below Both Levels for Sell + Bullish/Bearish candle.
Visual Plot: Large Triangle (Dark Green/Red).
⚠️ Crucial: This is the strongest signal, indicating strong momentum as both key daily levels have been broken.
⚙️ Simple Settings
Easily customize the indicator to fit your strategy:
EU/US Session Open Hour (UTC): Set the exact session open times.
Time Zone: Select your time zone for accurate level calculation.
Start/End Trading Hour: Define the daily window for when signals will be active.
🎯 Recommended Use
High Confidence: Focus on the Double Break (Logic III) - Large Triangle for your most confirmed entries.
Context: Use the Single Break signals (I and II) to confirm early market bias.
Risk: The Open Levels can serve as natural points for setting Stop-Loss orders.
Disclaimer: Trading carries risk. This tool is for analysis purposes only. Use it at your own discretion.
Divergences: Price × RSI × OBV The Triple Confirmation Divergence indicator is a sophisticated momentum and volume-based tool designed to identify high-probability trend exhaustion points and potential reversals. It moves beyond traditional single-indicator divergence analysis by synthesizing signals from three core pillars of technical analysis: Price Action, Momentum, and Volume Flow.
This indicator works better on the time frames: 1H, 4H, 1D, 1W and 1M.
Mythical EMAs + Dynamic VWAP BandThis indicator titled "Mythical EMAs + Dynamic VWAP Band." It overlays several volatility-adjusted Exponential Moving Averages (EMAs) on the chart, along with a Volume Weighted Average Price (VWAP) line and a dynamic band around it.
Additionally, it uses background coloring (clouds) to visualize bullish or bearish trends, with intensity modulated by the price's position relative to the VWAP.
The EMAs are themed with mythical names (e.g., Hermes for the 9-period EMA), but this is just stylistic flavoring and doesn't affect functionality.
I'll break it down section by section, explaining what each part does, how it works, and its purpose in the context of technical analysis. This indicator is designed for traders to identify trends, momentum, and price fairness relative to volume-weighted averages, with volatility adjustments to make the EMAs more responsive in volatile markets.
### 1. **Volatility Calculation (ATR)**
```pine
atrLength = 14
volatility = ta.atr(atrLength)
```
- **What it does**: Calculates the Average True Range (ATR) over 14 periods (a common default). ATR measures market volatility by averaging the true range (the greatest of: high-low, |high-previous close|, |low-previous close|).
- **Purpose**: This volatility value is used later to dynamically adjust the EMAs, making them more sensitive in high-volatility conditions (e.g., during market swings) and smoother in low-volatility periods. It helps the indicator adapt to changing market environments rather than using static EMAs.
### 2. **Custom Mythical EMA Function**
```pine
mythical_ema(src, length, base_alpha, vol_factor) =>
alpha = (2 / (length + 1)) * base_alpha * (1 + vol_factor * (volatility / src))
ema = 0.0
ema := na(ema ) ? src : alpha * src + (1 - alpha) * ema
ema
```
- **What it does**: Defines a custom function to compute a modified EMA.
- It starts with the standard EMA smoothing factor formula: `2 / (length + 1)`.
- Multiplies it by a `base_alpha` (a user-defined multiplier to tweak responsiveness).
- Adjusts further for volatility: Adds a term `(1 + vol_factor * (volatility / src))`, where `vol_factor` scales the impact, and `volatility / src` normalizes ATR relative to the source price (making it scale-invariant).
- The EMA is then calculated recursively: If the previous EMA is NA (e.g., at the start), it uses the current source value; otherwise, it weights the current source by `alpha` and the prior EMA by `(1 - alpha)`.
- **Purpose**: This creates "adaptive" EMAs that react faster in volatile markets (higher alpha when volatility is high relative to price) without overreacting in calm periods. It's an enhancement over standard EMAs, which use fixed alphas and can lag in choppy conditions. The mythical theme is just naming—functionally, it's a volatility-weighted EMA.
### 3. **Calculating the EMAs**
```pine
ema9 = mythical_ema(close, 9, 1.2, 0.5) // Hermes - quick & nimble
ema20 = mythical_ema(close, 20, 1.0, 0.3) // Apollo - short-term foresight
ema50 = mythical_ema(close, 50, 0.9, 0.2) // Athena - wise strategist
ema100 = mythical_ema(close, 100, 0.8, 0.1) // Zeus - powerful oversight
ema200 = mythical_ema(close, 200, 0.7, 0.05) // Kronos - long-term patience
```
- **What it does**: Applies the custom EMA function to the close price with varying lengths (9, 20, 50, 100, 200 periods), base alphas (decreasing from 1.2 to 0.7 for longer periods to make shorter ones more responsive), and volatility factors (decreasing from 0.5 to 0.05 to reduce volatility influence on longer-term EMAs).
- **Purpose**: These form a multi-timeframe EMA ribbon:
- Shorter EMAs (e.g., 9 and 20) capture short-term momentum.
- Longer ones (e.g., 200) show long-term trends.
- Crossovers (e.g., short EMA crossing above long EMA) can signal buy/sell opportunities. The volatility adjustment makes them "mythical" by adding dynamism, potentially improving signal quality in real markets.
### 4. **VWAP Calculation**
```pine
vwap_val = ta.vwap(close) // VWAP based on close price
```
- **What it does**: Computes the Volume Weighted Average Price (VWAP) using the built-in `ta.vwap` function, anchored to the close price. VWAP is the average price weighted by volume over the session (resets daily by default in Pine Script).
- **Purpose**: VWAP acts as a benchmark for "fair value." Prices above VWAP suggest bullishness (buyers in control), below indicate bearishness (sellers dominant). It's commonly used by institutional traders to assess entry/exit points.
### 5. **Plotting EMAs and VWAP**
```pine
plot(ema9, color=color.fuchsia, title='EMA 9 (Hermes)')
plot(ema20, color=color.red, title='EMA 20 (Apollo)')
plot(ema50, color=color.orange, title='EMA 50 (Athena)')
plot(ema100, color=color.aqua, title='EMA 100 (Zeus)')
plot(ema200, color=color.blue, title='EMA 200 (Kronos)')
plot(vwap_val, color=color.yellow, linewidth=2, title='VWAP')
```
- **What it does**: Overlays the EMAs and VWAP on the chart with distinct colors and titles for easy identification in TradingView's legend.
- **Purpose**: Visualizes the EMA ribbon and VWAP line. Traders can watch for EMA alignments (e.g., all sloping up for uptrend) or price interactions with VWAP.
### 6. **Dynamic VWAP Band**
```pine
band_pct = 0.005
vwap_upper = vwap_val * (1 + band_pct)
vwap_lower = vwap_val * (1 - band_pct)
p1 = plot(vwap_upper, color=color.new(color.yellow, 0), title="VWAP Upper Band")
p2 = plot(vwap_lower, color=color.new(color.yellow, 0), title="VWAP Lower Band")
fill_color = close >= vwap_val ? color.new(color.green, 80) : color.new(color.red, 80)
fill(p1, p2, color=fill_color, title="Dynamic VWAP Band")
```
- **What it does**: Creates a band ±0.5% around the VWAP.
- Plots the upper/lower bands with full transparency (color opacity 0, so lines are invisible).
- Fills the area between them dynamically: Semi-transparent green (opacity 80) if close ≥ VWAP (bullish bias), red if below (bearish bias).
- **Purpose**: Highlights deviations from VWAP visually. The color change provides an at-a-glance sentiment indicator—green for "above fair value" (potential strength), red for "below" (potential weakness). The narrow band (0.5%) focuses on short-term fairness, and the fill makes it easier to spot than just the line.
### 7. **Trend Clouds with VWAP Interaction**
```pine
bullish = ema9 > ema20 and ema20 > ema50
bearish = ema9 < ema20 and ema20 < ema50
bullish_above_vwap = bullish and close > vwap_val
bullish_below_vwap = bullish and close <= vwap_val
bearish_below_vwap = bearish and close < vwap_val
bearish_above_vwap = bearish and close >= vwap_val
bgcolor(bullish_above_vwap ? color.new(color.green, 50) : na, title="Bullish Above VWAP")
bgcolor(bullish_below_vwap ? color.new(color.green, 80) : na, title="Bullish Below VWAP")
bgcolor(bearish_below_vwap ? color.new(color.red, 50) : na, title="Bearish Below VWAP")
bgcolor(bearish_above_vwap ? color.new(color.red, 80) : na, title="Bearish Above VWAP")
```
- **What it does**: Defines trend conditions based on EMA alignments:
- Bullish: Shorter EMAs stacked above longer ones (9 > 20 > 50, indicating upward momentum).
- Bearish: The opposite (downward momentum).
- Sub-conditions combine with VWAP: E.g., bullish_above_vwap is true only if bullish and price > VWAP.
- Applies background colors (bgcolor) to the entire chart pane:
- Strong bullish (above VWAP): Green with opacity 50 (less transparent, more intense).
- Weak bullish (below VWAP): Green with opacity 80 (more transparent, less intense).
- Strong bearish (below VWAP): Red with opacity 50.
- Weak bearish (above VWAP): Red with opacity 80.
- If no condition matches, no color (na).
- **Purpose**: Creates "clouds" for trend visualization, enhanced by VWAP context. This helps traders confirm trends—e.g., a strong bullish cloud (darker green) suggests a high-conviction uptrend when price is above VWAP. The varying opacity differentiates signal strength: Darker for aligned conditions (trend + VWAP agreement), lighter for misaligned (potential weakening or reversal).
### Overall Indicator Usage and Limitations
- **How to use it**: Add this to a TradingView chart (e.g., stocks, crypto, forex). Look for EMA crossovers, price bouncing off EMAs/VWAP, or cloud color changes as signals. Bullish clouds with price above VWAP might signal buys; bearish below for sells.
- **Strengths**: Combines momentum (EMAs), volume (VWAP), and volatility adaptation for a multi-layered view. Dynamic colors make it intuitive.
- **Limitations**:
- EMAs lag in ranging markets; volatility adjustment helps but doesn't eliminate whipsaws.
- VWAP resets daily (standard behavior), so it's best for intraday/session trading.
- No alerts or inputs for customization (e.g., changeable lengths)—it's hardcoded.
- Performance depends on the asset/timeframe; backtest before using.
- **License**: Mozilla Public License 2.0, so it's open-source and modifiable.
Niv Deal + Previ D W M + OPR + Asian🧭 Indicator Description (English)
Name: Niveaux Dealers + Previous D/W/M Auto + OPR + Asian Session
Platform: TradingView (Pine Script v6)
Type: Multi-module visual indicator for market structure and session ranges
🧩 Overview
This indicator combines three complementary modules to help traders visualize key market levels, opening ranges, and session dynamics — all in one comprehensive tool.
It is designed primarily for index and futures trading (e.g. NQ, ES, DAX), but can be applied to any market or timeframe.
MODULE 1 — Dealers Levels + Previous High/Low (Auto)
This first module automatically extracts and plots custom Dealer Levels and Previous Period Levels.
It can parse manually entered price levels (from a single text input) such as daily max/min, control levels, put supports, and call resistances — then draw horizontal lines and labels on the chart.
Features:
One text input for all dealer levels (easy copy-paste format).
Automatic parsing of prices from text (ignores irrelevant characters).
Groups of levels:
Maxima (Max 1D / Event / Extreme)
Minima (Min 1D / Event / Extreme)
Buyer/Seller Controls
Put Supports and Call Resistances
Independent color, style, and width for each line.
Transparent rectangular labels positioned perfectly on the levels.
Previous Daily, Weekly, and Monthly High/Low levels added automatically.
Optional summary table showing all levels and values in real time.
MODULE 2 — OPR (Opening Price Range)
The second module highlights the Opening Price Range, defined by the first 15 minutes (or any chosen period) of the trading session.
Features:
Fully configurable start and end time (local chart timezone).
Displays:
High, Low, and Midline (median)
Optional rectangle between high/low
Optional labels on each line
Independent color, line style, and thickness.
Works perfectly with non-standard sessions (e.g. 13:30–22:00 UTC for U.S. futures).
Uses local chart time instead of exchange time for intuitive control.
MODULE 3 — Asian Session Range
The third module draws the Asian trading session range, automatically detecting price action between configurable hours (default 17:00 → 01:00).
Features:
Adjustable start and end time (supports overnight sessions).
Plots Asian High, Asian Low, and Asian Middle (mid-range line).
Highlights the Asian box area with semi-transparent color.
Optional labels at the end of each level.
Fully synchronized with the chart’s local timezone (same logic as OPR).
Simple toggle to enable or disable the entire Asian module.
⚙️ Customization & Display
Each module can be toggled independently.
Colors, line styles (solid, dashed, dotted), and thickness are customizable.
Label visibility and extensions (left/right) can be adjusted.
The indicator is lightweight and optimized for real-time performance.
💡 Use Case
Traders can use this multi-module setup to:
Identify dealer reaction zones and institutional levels.
Track previous highs/lows for potential liquidity sweeps.
Monitor session ranges (Opening and Asian) for volatility shifts.
Combine all three perspectives (Dealer, Session, Historical) into one unified view.
Would you like me to rewrite this description in TradingView publication form
Testing ATR Scalp Strategy (OBV EMA + VWAP + Pivot Swing Stop)This strategy uses EMA and VWAP to scalp, meant to be used on the 1 min chart
Dammu AI ADVANCED PRO1. Indicator Overview
Name: Dammu
Type: Overlay indicator (draws on price chart)
Purpose: Combines SuperTrend, SMA/EMA trends, Swing/Structure analysis, Order Blocks, Fair Value Gaps, High/Low levels, TP/SL labels, and alerts.
Pine Script Version: v5
2. SuperTrend Module
Computes SuperTrend line using ATR and sensitivity.
Signals:
Bullish: Price crosses above SuperTrend.
Bearish: Price crosses below SuperTrend.
Plots buy/sell labels 🚀🐻 based on SMA comparison and SuperTrend cross.
3. SMA/EMA Trend Components
SMA8 & SMA9: Used for additional trend confirmation.
EMA lines: Multiple EMAs with different multipliers for trend detection.
Trend Cloud: Uses Hull MA for trend smoothing.
4. Risk Management
TP/SL Levels: Automatic calculation of stop-loss and take-profit (TP1, TP2, TP3).
Configurable ATR-based risk percentage.
Lines and labels drawn for visual TP/SL.
5. Chart Features
Smooth Range Filter: Filters noise for trend detection.
Colored Trend Cloud: Upward trend = cyan, downward = red.
Sideways Market: ADX filter to color bars purple if trend is weak/sideways.
Bar Colors: Green/red based on SuperTrend signals.
6. Swing & Structure Analysis
Detects Swing Highs/Lows, labels as HH, LH, LL, HL.
Detects CHoCH (Change of Character) or BOS (Break of Structure).
Can show internal or swing structures with configurable label size and color.
7. Order Blocks (Smart Money Concepts)
Detects Internal Order Blocks (iOB) and Swing Order Blocks (OB).
Stores top/bottom/left/time/type in arrays.
Colors and shows boxes based on bullish/bearish type.
Automatically deletes OB if price breaks the block.
8. Fair Value Gaps (FVG)
Identifies gaps between candles as potential trading zones.
Configurable bullish/bearish colors and extension bars.
9. EQH/EQL (Equal Highs/Lows)
Detects equal highs/lows using a threshold.
Plots dotted lines and labels EQH/EQL.
10. High/Low Levels MTF
Optional plotting of previous daily, weekly, monthly highs/lows.
11. Premium/Discount Zones
Plots Premium, Discount, and Equilibrium Zones.
Colors: Premium = red, Discount = green, Equilibrium = gray.
12. Alerts
Buy/Sell alerts for:
SuperTrend crossover
BOS/CHoCH (swing/internal)
EQH/EQL triggers
13. Miscellaneous
Configurable visuals: line style, label size, transparency.
Adjustable volatility filters, ATR lengths, smoothing constants.
Integrated risk & reward visualization.
✅ In short:
This is an all-in-one Smart Money + Trend indicator with SuperTrend signals, swing/structure detection, order blocks, FVGs, EQH/EQL, TP/SL visualization, and optional alerts. It’s designed for both trend-following and order-block-based trading.
If you want, I can make a super-short 1-paragraph version that summarizes it even faster for quick reference.
ORBs, EMAs, SMAs, AVWAPThis is an update to a previously published script. In short the difference is the added capability to adjust the length of EMAs. Also added 3 customizable SMAs. Enjoy! Let me know what you think of the script please. This is only second one I have ever done. Through practice and people like @LuxAlgo and other Pinescripters this isn't possible. Tedious hrs with ChatGPT to correct nuances, who doesnt seem to learn from (insert pronoun) mistakes
This all-in-one indicator combines key institutional tools into a unified framework for intraday and swing trading. Designed for traders who use multi-session analysis and dynamic levels, it automatically maps out global session breakouts, moving averages, and volume-weighted anchors with high clarity.
Features include:
🕓 Tokyo, London, and New York ORBs (Opening Range Breakouts) — 30-minute configurable range boxes that persist until the next New York open.
📈 Anchored VWAP with Standard Deviation Bands — dynamically anchorable to session, week, or month for institutional-grade price tracking.
📊 Exponential Moving Averages (9, 20, 113, 200) — for short-, mid-, and long-term momentum structure.
📉 Simple Moving Averages (20, 50, 100) — fully customizable lengths, colors, and visibility toggles for trend confirmation.
🏁 Prior High/Low Levels (PDH/PDL, PWH/PWL, PMH/PML) — automatically plotted from previous day, week, and month, with labels placed at each session’s midpoint.
🎛️ Session-Aligned Time Logic — all time calculations use New York session anchors with DST awareness.
💡 Clean Visualization Options — every component can be toggled on/off, recolored, or customized for your workflow.
Best used for:
ORB break-and-retest setups
VWAP and EMA rejections
Confluence-based trading around key session levels
Multi-session momentum tracking
Multi-Timeframe Stochastic (4x) z Podświetlaniemnowy skrypt bez etykietek o wyprzedaniu i wykupieniu
G Position Size Calculator (Crypto)G Position Size Calculator (Crypto)
This tool helps traders quickly visualize and calculate risk, position size, leverage, and R:R ratio directly on the chart for crypto trading.
It works similarly to TradingView’s Long/Short Position tool but automatically computes all metrics based on your clicks.
⚙️ How to Use
Add to Chart
Click Indicators → My Scripts → G Position Size Calculator (Crypto)
Set Entry, Stop-Loss, and Take-Profit
Open the script’s ⚙️ Settings.
Click the crosshair icon next to Entry, then click on the chart.
Do the same for Stop-Loss and Take-Profit.
Adjust Account & Risk Settings
Enter your Account Size (USD).
Set your Risk % per trade (default: 1%).
Visual Feedback
A green box shows your profit zone (Entry → TP).
A red box shows your loss zone (Entry → SL).
The label on the right displays:
Risk (% and $)
R:R ratio
Position size (units)
Leverage required
Fine-Tune Without Re-clicking
Use the nudge inputs (Entry, Stop, TP) to move levels up/down by 1 tick at a time.
Positive = up, negative = down.
Re-pick Levels Anytime
Re-open settings and click the crosshair again to redefine a level.
📈 Features
Automatic calculation of risk, position size, leverage, and R:R ratio.
Visual green/red box representing profit and loss areas.
Adjustable risk %, account balance, and label offset.
“Nudge” controls to emulate quick drag adjustments.
Clean layout designed for crypto price charts (works on any symbol).