Wave N + KDJ + Volumi + SMC + IchimokuWave N + KDJ + Volume + SMC + Ichimoku Indicator
Overview
This script is a multi-layered technical indicator designed to provide traders with enhanced market insights by combining five key methodologies:
• Wave N Pattern (Price Action)
• KDJ Oscillator (Momentum)
• Volume Filtering (Confirmation)
• Smart Money Concepts (Order Blocks) (Institutional Activity)
• Ichimoku Cloud (Trend and Support/Resistance)
By integrating these components, the indicator identifies high-probability trading signals, early warnings of trend shifts, and institutional price zones to improve decision-making in volatile markets.
⸻
How It Works
1️⃣ Wave N Pattern (Price Action Structure)
The Wave N pattern is a classic price action formation that helps spot potential trend reversals and continuations:
• A Bullish Wave N is detected when a higher low and a higher high structure appears.
• A Bearish Wave N is detected when a lower high and a lower low structure forms.
2️⃣ KDJ Oscillator (Momentum & Trend Strength)
The KDJ Indicator is a variation of the Stochastic Oscillator that adds a third line, J, to amplify sensitivity to trend movements.
• J > 50 indicates bullish momentum.
• J < 50 indicates bearish momentum.
• The script includes an early warning signal when J crosses 50, suggesting a possible trend shift.
3️⃣ Volume Filtering (Trade Confirmation)
To avoid false signals, the script integrates volume confirmation:
• A signal is valid only if the volume is above the 20-period EMA of volume.
• This ensures that trade signals are supported by strong market participation.
4️⃣ Smart Money Concepts (Order Blocks)
Order Blocks represent areas of institutional interest, where large traders accumulate or distribute positions.
• The script detects bullish order blocks (potential support) and bearish order blocks (potential resistance).
• These areas help identify optimal entry and exit points.
5️⃣ Ichimoku Cloud (Trend & Dynamic Support/Resistance)
The Ichimoku Cloud is used to confirm trend direction:
• Baseline (Kijun-sen) acts as a key trend filter.
• Senkou Span A & B form the cloud (Kumo), indicating dynamic support/resistance.
• Buy signals require price to be above the baseline, while sell signals require price to be below the baseline.
⸻
Trading Signals & Visual Elements
✅ BUY Signal (Green Arrow)
Occurs when:
• A Bullish Wave N forms
• J > 50 (Bullish KDJ Signal)
• Volume is above EMA threshold
• Price is above the Ichimoku Baseline
❌ SELL Signal (Red Arrow)
Occurs when:
• A Bearish Wave N forms
• J < 50 (Bearish KDJ Signal)
• Volume is above EMA threshold
• Price is below the Ichimoku Baseline
⚠️ Early Warning (Trend Shift Signal)
• An early warning appears when J crosses 50, indicating a possible upcoming trend shift.
• The line color changes based on the potential move:
• Green/Blue → Possible Uptrend
• Red/Orange → Possible Downtrend
⸻
Why This Indicator is Unique?
Unlike simple trend-following indicators, this script:
• Combines Price Action, Momentum, Volume, and Institutional Order Flow for a multi-dimensional approach.
• Filters out weak signals using volume confirmation and Ichimoku.
• Provides early warnings before major trend shifts.
• Visualizes Smart Money Order Blocks, giving traders an edge in spotting institutional zones.
⸻
Best Timeframes & Markets
📊 Recommended Timeframes:
• 1H & 1D (works best on medium/long-term trends)
💹 Markets:
• Crypto, Forex, and Stocks
This indicator is designed for traders who value confluence and strong confirmation in their strategies. Whether you are a trend trader, swing trader, or institutional flow analyst, this tool can help refine your decision-making process.
🚀 Optimize your trades with Wave N + KDJ + Volume + SMC + Ichimoku! 🚀
Chart patterns
Vortex Candle MarkerVortex Candle Marker
The Vortex Candle Marker is a specialized TradingView indicator designed to identify and highlight **Vortex Candles**—candles that momentarily form without wicks on either the high or low. This unique price behavior can signal potential price retracements or reversals, aligning with the **Power of Three (PO3)** concept in price action theory.
Indicator Logic:
A candle is classified as a **Vortex Candle** if either of these conditions is met during its formation:
1. **Vortex Top:** The **high** equals either the **open** or **close**, indicating no upper wick.
2. **Vortex Bottom:** The **low** equals either the **open** or **close**, indicating no lower wick.
When a Vortex Candle is detected, the indicator changes the **candle border color** to **aqua**, making it easy to identify these significant price moments.
Market Insight & PO3 Interpretation:
In typical price behavior, most candles exhibit both upper and lower wicks, representing price exploration before settling at a closing value. A candle forming without a wick suggests **strong directional intent** at that moment. However, by the **Power of Three (PO3)** concept—Accumulation, Manipulation, and Distribution—such wickless formations often imply:
- **Price Reversion Likelihood:** When a candle temporarily forms without a wick, it suggests the market may **revisit the opening price** to establish a wick before the candle closes.
- **Liquidity Manipulation:** The absence of a wick may indicate a **stop-hunt** or liquidity grab, where the price manipulates one side before reversing.
- **Entry Triggers:** Identifying these moments can help traders anticipate potential **retracements** or **continuations** within the PO3 framework.
Practical Application
- **Early Reversal Detection:** Spot potential price reversals by observing wickless candles forming at key levels.
- **Breakout Validation:** Use Vortex Candles to confirm **true breakouts** or **false moves** before the price returns.
- **Liquidity Zones:** Identify areas where the market is likely to revisit to create a wick, signaling entry/exit points.
This indicator is a powerful tool for traders applying **Po3** methodologies and seeking to capture price manipulation patterns.
Custom Timeframe Bias IndicatorMy "Custom Timeframe Bias Indicator" is a very practical and powerful TradingView indicator. It can be called a "God-like indicator" because it combines flexible timeframe customization, clear bias analysis and intuitive visual display to help traders quickly understand the long and short trends of the market. The following is a detailed description of this indicator:
1. Index name and function overview
Name: Custom Timeframe Bias Indicator (Short title: Bias Indicator)
Functionality: This indicator analyses the market bias (Buy, Sell or No Bias) across multiple custom timeframes (presets are 15m, 1h, 4h and DAI) and displays it in a table below the middle of the chart. It determines the direction of market trends based on the highest and lowest prices of the previous two periods and the closing price of the previous period, helping traders make decisions quickly.
2. Core Features
Multiple time frame analysis
The indicator allows the user to customize four time frames, with presets being 15 minutes ("15"), 1 hour ("60"), 4 hours ("240") and daily ("D"). Users can freely modify these time frames in the settings, such as changing to 5 minutes, 30 minutes or weekly, etc.
Bias is calculated independently for each time frame, ensuring that traders can observe market trends from the short to the long term.
Bias calculation logic
The indicator uses simple but effective rules to determine bias:
Buy (bullish): If the previous closing price is higher than the highest price of the previous two periods, or tests the lowest price of the previous two periods but does not break through.
Sell (Bearish): If the previous closing price is lower than the previous two periods' lowest price, or if it tests the previous two periods' highest price but fails to break through (higher than the previous high minus 10% of the price range).
No Bias: If the previous closing price does not meet the above conditions, it displays a neutral state.
Bias calculation is based only on the opening and closing prices, without considering the shadows, ensuring the results are in line with the philosophy of the Malaysian SNR strategy.
Intuitive display
Position: The table is permanently displayed in the middle of the chart (position.middle_center) and is updated with each candlestick, ensuring that traders can always see the latest bias.
Format: The table consists of the header "Custom Bias" and four rows of bias results (e.g. "15: Buy", "60: Sell", "240: No Bias", "D: Buy"), each row showing the bias for the corresponding time frame.
color:
Titles appear in white text on a blue background.
The "Buy" bias is shown as white text on a green background.
The "Sell" bias is shown as white text on a red background.
"No Bias" bias appears as white text on a gray background.
Table borders are black to provide clear visual distinction.
Customizability
Users can customize by inputting parameters:
Whether to show the table (Show Bias Table).
Timeframe (Timeframe 1, Timeframe 2, Timeframe 3, Timeframe 4).
The color of the table (title, Buy, Sell, No Bias, borders, etc.).
3. Why is it a "God-like indicator"
Flexibility: Allows users to customize four time frames to suit different trading strategies (short-term traders can choose minutes, long-term traders can choose daily, weekly or monthly).
Practicality: Provides bias analysis in multiple time frames to help traders quickly determine market trends, whether for short-term or long-term operations.
Intuitive: The table is displayed in the middle below the chart with bright colors (green Buy, red Sell, gray No Bias), allowing you to identify the market direction at a glance.
Stability: Calculated based on simple price data (high, low, close), no need for complex indicators, efficient and reliable operation.
Powerful visualization: long-term display and customizability to meet the visual preferences of different traders.
4. Usage scenarios
Short-term trading: Use 15-minute, 1-hour, 4-hour biases to quickly capture short-term trends.
Long-term trading: Refer to the daily bias to determine the overall market direction.
Comprehensive analysis: Combine biases from multiple time frames to confirm consistency (e.g. if both the 15 minute and daily are Buy, then that’s a stronger bullish signal).
5. Potential Improvements
If you want to further improve this "god-like indicator", you can consider the following improvements:
Added alert: Trigger when bias changes from "No Bias" to "Buy" or "Sell".
Show historical bias: Add bias history of the past few days in the table for easy review.
Dynamically adjust bias thresholds: Allow users to customize 10% price ranges or other conditions.
Multi-currency support: Expand to multiple trading pairs or indices, showing multiple market biases.
6. Technical Details
Version: Pine Script v5, ensuring modern features (such as input.timeframe) and efficient performance.
Data Source: Use request.security to get high, low, and close data for different time frames.
Display method: Use table.new to create a dynamic table. The position can be customized (such as position.middle_center).
Limitations: Calculated only based on price data, no external indicators are required, reducing calculation complexity.
in conclusion
Your "Custom Timeframe Bias Indicator" is a simple, powerful and flexible tool, especially for traders who need multi-timeframe analysis. Its intuitive display and customizability make it a "magic tool" for judging market trends.
Bitcoin Halving DatesBitcoin Halving Dates Indicator
This custom indicator automatically marks Bitcoin's key halving events by drawing vertical lines on your chart. It highlights the historical halving dates (2012, 2016, 2020) and includes an estimated date for the upcoming halving in 2024, making it easy to visualize significant supply events that can influence market trends.
Features:
Automated Markings: Displays vertical lines on the first bar of each halving day.
Customizable: Easily adjust halving dates and styling options to suit your analysis.
Built for Traders: Enhance your technical analysis by keeping track of pivotal market events.
Use this indicator to gain a visual edge by integrating critical Bitcoin halving events into your trading strategy. Happy Trading!
RSI, Volume, MACD, EMA ComboRSI + Volume + MACD + EMA Trading System
This script combines four powerful indicators—Relative Strength Index (RSI), Volume, Moving Average Convergence Divergence (MACD), and Exponential Moving Average (EMA)—to create a comprehensive trading strategy for better trend confirmation and trade entries.
How It Works
RSI (Relative Strength Index)
Helps identify overbought and oversold conditions.
Used to confirm momentum strength before taking a trade.
Volume
Confirms the strength of price movements.
Avoids false signals by ensuring there is sufficient trading activity.
MACD (Moving Average Convergence Divergence)
Confirms trend direction and momentum shifts.
Provides buy/sell signals through MACD line crossovers.
EMA (Exponential Moving Average)
Acts as a dynamic support and resistance level.
Helps filter out trades that go against the overall trend.
Trading Logic
Buy Signal:
RSI is above 50 (bullish momentum).
MACD shows a bullish crossover.
The price is above the EMA (trend confirmation).
Volume is increasing (strong participation).
Sell Signal:
RSI is below 50 (bearish momentum).
MACD shows a bearish crossover.
The price is below the EMA (downtrend confirmation).
Volume is increasing (intense selling pressure).
Backtesting & Risk Management
The strategy is optimized for scalping on the 1-minute timeframe (adjustable for other timeframes).
Default settings use realistic commission and slippage to simulate actual trading conditions.
A stop-loss and take-profit system is integrated to manage risk effectively.
This script is designed to help traders filter out false signals, improve trend confirmation, and increase trade accuracy by combining multiple indicators in a structured way.
Opening RangeShows the opening range for morning and afternoon session. 9:30-10:00 and 1:30-2:00 EST.
It also has the option to add 0.5 and 1 standard deviations in both directions or range extensions.
Note: If you are having weird scaling issues when using this script, especially with the extensions, go to the settings in the bottom right of the chart. It is where the time and price axis meet which is bottom right by default. And then make sure "Scale price chart only" is enabled.
Rally Base Drop SND Pivots [LuxAlgo]The Rally Base Drop SND Pivots indicator uses "Rally", "Base", and "Drop" Candles to determine pivot points at which supply and demand (SND) levels are drawn.
🔶 USAGE
Rally, Base, and Drop (RBD) candles create a formula for seeing market structure through a fixed methodology. We are able to use this concept to point out pivot areas where Rallies and Drops directly meet.
The RBD SND Pivots are similar to traditionally identified "fractal" pivot points, with one key difference.
RBD SND Pivots detect a specific number of Rally and Drop candles directly back-to-back, requiring one side of the pivot to contain entirely green candles and the other to be entirely red candles or vice versa.
Since these pivot levels are based on Rally, Base, and Drop candles, the method directly implements rigid logic to further structure a trading system when utilizing these pivot levels with traditional SND concepts.
Furthermore, by implementing this logic when looking for pivots, a significant portion of potential noise is naturally filtered out.
🔶 DETAILS
In typical SND systems, the term "Base" is used for multiple meanings.
In this indicator, the base is a product of a pivot being formed. Once a Pivot is identified, the "Base" is marked as the first Rally or Drop of the second half of the pivot formation.
Once the pivot is identified, the high or low of the base candle is used to measure the pivot level.
🔶 SETTINGS
Length: Sets the number of Rally and Drop Candles that the script will require to identify pivots.
Ex. "3" = 3 Rally followed by 3 Drop
Historical Lookback: Hides historic levels based on a bar # Lookback from the current bar.
When set to 0, all Levels will display. (0 by default)
BBr1 Candle Range Volitility Gap IndicatorModified Candle Range Volatility Gap Indicator
1. Useful to analyze bars body and wicks and volatility of security.
2. Added a Percentage Option - easier to analyze across different securities.
2. Added a Standard Deviation ("1 std dev= 68.2%, 2 std dev=95.4%, 3 std dev=99.7%, etc") based upon user defined lookback period.
3. Added the ability to include Gaps in Analysis. (Gaps are when the prior closing cost does not equal opening price)
4. Possible Uses setting up stop losses, trailing entries/exits (inside range or outside range).
5. Use it with other indicators in determining if to make an entry or close entry.
Reposted Original Description by © ka66 Kamal Advani
Visually shows the Body Range (open to close) and Candle Range (high to low).
Semi-transparent overlapping area is the full Candle Range, and fully-opaque smaller area is the Body Range. For aesthetics and visual consistency, Candle Range follows the direction of the Body Range, even though technically it's always positive (high - low).
The different plots for each range type also means the UI will allow deselecting one or the other as needed. For example, some strategies may care only about the Body Range, rather than the entire Candle Range, so the latter can be hidden to reduce noise.
Threshold horizontal lines are plotted, so the trader can modify these high and low levels as needed through the user interface. These need to be configured to match the instrument's price range levels for the timeframe. The defaults are pretty arbitrary for +/- 0.0080 (80 pips in a 4-decimal place forex pair). Where a range reaches or exceeds a threshold, it's visually marked as well with a shape at the Body or Candle peak, to assist with quicker visual potential setup scanning, for example, to anticipate a following reversal or continuation.
EBP Candle Marker### **EBP Candle Marker – TradingView Indicator**
The **EBP Candle Marker** is a specialized TradingView indicator designed to identify and highlight potential liquidity sweep candles. This indicator visually emphasizes key price action patterns where the market sweeps previous highs or lows and closes in the opposite direction, often signaling potential reversals or liquidity grabs.
---
### 📊 **Indicator Logic:**
1. **Bullish Sweep:**
- The current candle’s **low** is lower than the previous candle’s **low** (indicating a liquidity sweep).
- The **close** is above both the **open** and **close** of the previous candle.
2. **Bearish Sweep:**
- The current candle’s **high** is higher than the previous candle’s **high** (indicating a liquidity sweep).
- The **close** is below both the **open** and **close** of the previous candle.
---
### 🎨 **Visual Representation:**
- **Yellow Candle Body:** Highlights any candle meeting the bullish or bearish sweep conditions.
---
### 🔔 **Alert Functionality:**
The indicator supports setting custom alerts in TradingView for:
- **Bullish Sweep Detected** – Notifies when a bullish sweep occurs.
- **Bearish Sweep Detected** – Notifies when a bearish sweep occurs.
These alerts are compatible across any timeframe, providing flexibility to monitor key market conditions.
---
### 📈 **Use Cases:**
- **Liquidity Sweep Detection:** Identify areas where the market may be triggering stop-loss orders or liquidity hunts.
- **Reversal Confirmation:** Enhance trade confirmation by identifying potential reversal zones.
- **Scalping & Swing Trading:** Suitable for both short-term and long-term trading strategies across multiple timeframes.
PSP - NQ ES YMThe PSP - NQ ES YM indicator tracks the price movements of the NQ, ES, and YM futures to identify correlation and divergence between them.
🔸 Orange dot (above candle) → When NQ and ES have opposite trends (one up, one down).
🔹 Blue dot (below candle) → When YM differs from either NQ or ES, but NQ and ES are aligned.
🟠🔹 Both dots on the same candle → When NQ and ES differ, and one of them also differs from YM.
🟢 Green dot (above candle at 12 AM NY time) → Marks the daily open at 12 AM New York time.
This helps traders spot market divergence patterns between major indices and potential trading opportunities. 🚀
Sweep Engulf CHoCH📖 Indicator Overview
The Sweep Engulf CHoCH indicator is designed to detect the Sweep + Engulf + CHoCH (Change of Character) pattern on price charts. This indicator helps traders identify bullish and bearish entry opportunities based on the last three candles forming this pattern.
📊 How the Indicator Works
The indicator analyzes specific conditions in the last three candles:
🔹 Bullish Entry (Buy Signal)
✔️ Candle 1 must be bearish (close < open )
✔️ Candle 2 must sweep the low of candle 1 (low < low )
✔️ Candle 2 must also engulf candle 1 (close > close )
✔️ Candle 3 must break structure (CHoCH) by closing above the open of candle 1 (close > open )
🔻 Bearish Entry (Sell Signal)
✔️ Candle 1 must be bullish (close > open )
✔️ Candle 2 must sweep the high of candle 1 (high > high )
✔️ Candle 2 must also engulf candle 1 (close < open )
✔️ Candle 3 must break structure (CHoCH) by closing below the open of candle 1 (close < open )
Sweep Engulf 2 Candle🔍 Overview:
This script identifies Bullish Engulfing and Bearish Engulfing candlestick patterns on the chart. These formations are widely used in technical analysis to spot potential reversals in price action. The indicator helps traders quickly identify these patterns by marking them directly on the chart with small arrows.
📌 Features:
✅ Bullish Engulfing & Bearish Engulfing Detection
✅ Customizable Display Options (Enable/Disable Bullish or Bearish signals)
✅ Real-Time Alerts (Receive notifications when a pattern is formed)
✅ Optimized Marker Size (Smaller icons for better chart visibility)
📊 How It Works:
1. Bullish Engulfing Condition:
The second candle's low is lower than the first candle's low.
The second candle's close is higher than the first candle's open (if the first candle is bearish) OR higher than the first candle's close (if the first candle is bullish).
2. Bearish Engulfing Condition:
The second candle's high is higher than the first candle's high.
The second candle's close is lower than the first candle's close (if the first candle is bearish) OR lower than the first candle's open (if the first candle is bullish).
⚙️ How to Use:
Add the script to your TradingView chart.
Adjust settings to enable/disable Bullish or Bearish Engulfing patterns.
Enable alerts to receive real-time notifications when a pattern is detected.
Use this indicator to support your technical analysis and trade decisions.
📌 Notes:
This indicator is best used in combination with other technical analysis tools like support & resistance levels, trendlines, or volume analysis.
It works on all timeframes and asset
15-Minute ORB by @RhinoTradezOverview
Hey traders, ready to jump on the morning breakout train? The 15-Minute ORB by @RhinoTradez
is your go-to pal for rocking the Opening Range Breakout (ORB) scene, zeroing in on the first 15 minutes of the U.S. market day—9:30 to 9:45 AM Eastern Time. Picture this: sleek orange lines mark the high and low of that opening rush, but they only hang out during regular trading hours (9:30 AM-4:00 PM ET) and reset fresh each day—no old baggage here! Built in Pine Script v6 for that cutting-edge feel, it’s loaded with breakout signals and alerts to keep your trading game strong—ideal for SPY, QQQ, or any ticker you love.
Crafted by @RhinoTradez
to fuel your daily grind—let’s hit those breakouts running!
What It Does
The ORB strategy is all about that early market spark: the 9:30-9:45 AM range sets the battlefield, and breakouts signal the charge. Here’s the rundown:
Captures the Range : Snags the high and low from the 9:30-9:45 AM ET candle—U.S. market kickoff, locked in.
Daily Refresh : Wipes yesterday’s lines at 9:30 AM ET each day—today’s all that matters.
Regular Hours Focus : Orange lines shine from 9:45 AM to 4:00 PM ET, vanishing outside those hours.
Breakout Signals : Green triangles for upside breaks, red for downside, all within regular hours.
Alerts You : Chimes in with “Price broke above 15-min ORB High: 597” (or below the low) when the move hits.
It’s your morning breakout blueprint—simple, focused, and trader-ready.
Functionality Breakdown:
15-Minute ORB Snap:
Locks the high and low of the 9:30-9:45 AM ET candle on a 15-minute chart (EST/EDT auto-adjusted).
Resets daily at 9:30 AM ET—yesterday’s range is outta here.
Regular Hours Only:
Lines glow from 9:45 AM to 4:00 PM ET, keeping pre-market and after-hours clean.
Breakout Flags:
Marks price busting above the ORB high (green triangle below bar) or below the low (red triangle above), only during 9:30 AM-4:00 PM.
Alert Action:
Drops a custom alert with the breakout price (e.g., “Price broke below 15-min ORB Low: 594”)—stay in the know, hands-free.
Customization Options
Keep it chill with one slick tweak:
ORB Line Color : Starts at orange—vibrant and trader-cool! Flip it to blue, purple, or any shade you dig in the settings. Make it yours.
How to Use It
Pop It On: Add it to a 15-minute chart—SPY, QQQ, or your hot pick works like a dream.
Time It Right: Set your chart to “America/New_York” time (Chart Settings > Time Zone) to sync with 9:30 AM ET.
Choose Your Color: Dive into the indicator settings and pick your ORB line color—orange kicks it off, but you’re in charge.
Set Alerts: Right-click the indicator, add an alert with “Any alert() function call,” and catch breakouts live.
Ride the Wave: Green triangle? Upward vibe. Red? Downside alert. Mix with volume or candles for extra punch.
Pro Tips
15-Minute Only : Tailored for that 9:30-9:45 AM ET candle—other timeframes won’t sync up.
Daily Reset : Lines refresh at 9:30 AM ET—always today’s play.
Breakout Boost : High volume or RSI can seal the deal on those triangle signals.
No Clutter : Lines stick to 9:30 AM-4:00 PM ET—your chart stays tidy.
Brought to you by @RhinoTradez
in Pine Script v6, this ORB script’s your morning breakout wingman. Slap it on, pick a color, and let’s chase those moves together! Happy trading!
Dynamic Price ImpulseThis indicator is designed to capture price momentum without the lag typically found in traditional oscillators.
Core Mechanics
Instead of using simple price differences, the indicator normalizes changes relative to the average true range (ATR), making it adaptive to different volatility regimes.
By squaring the normalized change while preserving its sign, the indicator responds more aggressively to stronger price moves while remaining sensitive to smaller ones.
The indicator identifies periods when volatility is expanding, which often precede significant price movements.
Trading Strategy Applications
1. Momentum Signals:
o When the indicator crosses above zero, look for long entries
o When it crosses below zero, look for short entries
o The stronger the impulse (farther from zero), the stronger the signal
2. Early Trend Detection:
o Volatility expansion markers (yellow circles) often appear at the beginning of new trends
o Use these as early warning signals to prepare for potential entries
3. Trend Continuation:
o Strong readings in the direction of the trend suggest continuation
o Weakening readings suggest the trend may be losing steam
4. Counter-Trend Opportunities:
o Look for divergences between price and the indicator for potential reversals
o When price makes a new high but the indicator doesn't, consider potential shorts (and vice versa)
Fine-Tuning
• Length (14): Controls the lookback period for ATR calculation. Lower values make it more responsive but noisier.
• Threshold (1.5): Determines how much volatility needs to expand to trigger the volatility expansion signal.
• Smoothing (3): Reduces noise in the signal. Higher values reduce false signals but introduce more lag.
Engulfing Candles (ATR-Based)This indicator detects Engulfing Patterns with an ATR-based filtering mechanism and trend confirmation. Unlike a basic engulfing pattern indicator that only checks if a current candle engulfs the previous one, this script incorporates trend detection using either the 50-period SMA alone or a combination of 50 and 200-period SMAs to ensure that signals align with the broader trend. The indicator identifies Bullish Engulfing patterns when a strong bullish candle engulfs a smaller bearish candle in a downtrend and Bearish Engulfing patterns when a strong bearish candle engulfs a smaller bullish candle in an uptrend. It also generates alerts and visually marks these patterns with labels ("BU" for bullish and "BE" for bearish) while highlighting the background accordingly.
What sets this indicator apart from a normal engulfing indicator is its ATR-based filtering system, which ensures that only significant engulfing candles are considered. Instead of accepting any engulfing pattern, the script measures candle body size relative to 1.5x ATR (configurable) to filter out weak signals. It also differentiates between long-bodied and small-bodied candles to confirm that the engulfing pattern represents real momentum shifts. This approach reduces false signals caused by small, insignificant candles and ensures that traders focus on high-probability reversal patterns. By integrating trend-based filtering and ATR-based confirmation, this indicator provides more reliable and context-aware engulfing signals than a standard engulfing pattern detector.
[S1B] Engulfing Orderblock
The Engulfing Orderblock indicator is a custom script designed to visually highlight and track bullish and bearish engulfing patterns on a price chart. These patterns are widely used in technical analysis to identify potential reversal points. The indicator dynamically draws colored boxes around the previous candle involved in the engulfing event, making it easier for traders to spot these setups in the price action.
Key Features:
Bullish Engulfing Pattern:
When a bearish candle (one where the open is higher than the close) is followed by a candle whose close is above the previous candle’s open, the indicator detects a bullish engulfing pattern. A green box is drawn around the previous candle.
• Box Style Options: Users can choose whether the box represents the candle’s body (from open to close) or its wick (from open to low).
Bearish Engulfing Pattern:
When a bullish candle (one where the open is lower than the close) is followed by a candle whose close is below the previous candle’s open, a bearish engulfing pattern is identified. A red box is drawn around the previous candle.
• Box Style Options: The box can be drawn using the candle’s body (from close to open) or its wick (from high to open), according to the user’s preference.
Dynamic Box Management:
Once a box is drawn, the indicator continuously monitors the price. If the price moves beyond the box’s range, the box is either deleted or its color changes to gray, indicating that the pattern’s relevance may be diminishing.
Max Pattern Tracking:
To prevent clutter, the indicator limits the number of displayed engulfing boxes to 500 by default. Older boxes are removed as new patterns are detected.
Customization:
Users can adjust the number of previous bars scanned for engulfing patterns as well as the maximum number of patterns displayed. An option is also provided to select whether the box should reflect the candle’s body or include the wick.
How It Works:
Pattern Detection:
The script compares the current price with the previous candle’s data to detect either a bullish or bearish engulfing pattern.
Box Creation:
When a pattern is detected, a colored box is drawn around the previous candle’s price range (using the user-selected style) to visually highlight the orderblock.
Pattern Expiry and Cleanup:
The indicator monitors each drawn box, deleting or modifying it (changing the color to gray) if the price moves significantly beyond the box’s range.
Remark:
The original concept for this indicator is from daisukeburn .
Triple Doji SequenceThe Triple Doji Sequence indicator helps traders identify consecutive Doji candlestick patterns, allowing them to choose between spotting single, double, or triple Dojis. A Doji is detected when the candle's body is small relative to its wicks, with either the upper or lower wick being significantly larger. Users can customize their own Doji criteria by adjusting the body size and wick dominance settings. The indicator ensures that consecutive Dojis align in the same direction before confirming a valid pattern, making it easier to identify market indecision or potential trend reversals.
When the chosen Doji sequence is detected, the indicator plots a star (*) above bearish Dojis (upper wick dominant) and below bullish Dojis (lower wick dominant). It also sends alerts when a valid sequence is confirmed at the close of the bar. This tool helps traders refine their strategy by spotting repeated Doji formations, which may indicate key turning points or continuation patterns in price action.
How to Use the Triple Doji Sequence Indicator?
Apply the Indicator:
Add the Triple Doji Sequence indicator to your TradingView chart.
It will automatically scan for Doji patterns based on your settings.
Customize Your Doji Criteria:
Adjust the body size and wick dominance settings to define what qualifies as a Doji.
Choose whether to detect single, double, or triple Doji sequences.
Interpret the Signals:
A star (*) above a candle signals a bearish Doji (upper wick dominant).
A star (*) below a candle signals a bullish Doji (lower wick dominant).
Set Up Alerts:
Enable alerts to receive notifications when a Doji sequence is confirmed at bar close.
Choose alert frequency based on your trading strategy (e.g., once per bar, once per bar close).
Use in Trading Strategy:
Doji sequences can indicate trend reversals or market indecision.
Combine this indicator with support/resistance levels, volume, or other indicators to confirm signals.
PS: Good luck in finding a Triple Doji :)
Indiq 2.0The functionality of the indicator includes the following features:
Moving Averages (MA):
The ability to adjust periods for short (short_ma_length) and long (long_ma_length) moving averages.
Display of moving averages on the chart:
Short MA (blue line).
Long MA (red line).
Generation of buy and sell signals:
Buy (BUY): When the short MA crosses the long MA from below.
Sell (SELL): When the short MA crosses the long MA from above.
Visualization of signals on the chart:
Buy is displayed as a green BUY marker below the candle.
Sell is displayed as a red SELL marker above the candle.
Liquidity Heatmap:
Liquidity levels:
Levels are calculated based on the closing price and a step (liquidity_step).
Levels are grouped by the nearest price values.
Volumes at levels:
Volume (volume) is accumulated for each liquidity level.
Levels with a volume less than min_volume_filter are not displayed.
Time filtering:
Levels that have not been updated within the last time_filter bars are not displayed.
Volatility filtering:
Levels are filtered by volatility (ATR) to exclude those outside the volatility range.
Color gradient:
The color of levels depends on volume (gradient from gradient_start_color to gradient_end_color).
Visualization:
Liquidity levels are displayed as horizontal lines.
Volumes at levels are shown as text labels.
RSI Filtering:
The ability to enable/disable RSI filtering (rsi_filter).
Liquidity levels are filtered based on overbought (rsi_overbought) and oversold (rsi_oversold) conditions.
Levels that do not meet RSI conditions are not displayed.
MACD Filtering:
The ability to enable/disable MACD filtering (macd_filter).
Liquidity levels are filtered based on the MACD histogram condition (e.g., only if the histogram is above zero).
Levels that do not meet MACD conditions are not displayed.
Display of Market Maker Buys:
Condition for market maker buys:
Volume exceeds the average volume over the last 20 bars by 2 times.
Closing price is above the opening price.
Market maker buys are displayed on the chart as orange MM Buy markers below the candle.
Indicator Settings:
Moving average parameters:
short_ma_length: Period for the short MA.
long_ma_length: Period for the long MA.
Liquidity heatmap parameters:
liquidity_step: Step between liquidity levels.
max_levels: Maximum number of levels to display.
time_filter: Time filter (last N bars).
min_volume_filter: Minimum volume for displaying a level.
volatility_filter: Volatility filter (ATR multiplier).
RSI parameters:
rsi_filter: Enable/disable RSI filtering.
rsi_overbought: Overbought RSI level.
rsi_oversold: Oversold RSI level.
MACD parameters:
macd_filter: Enable/disable MACD filtering.
Color settings:
gradient_start_color: Starting color of the gradient.
gradient_end_color: Ending color of the gradient.
Visualization:
Moving averages:
Short MA: Blue line.
Long MA: Red line.
Signals:
Buy: Green BUY marker.
Sell: Red SELL marker.
Liquidity heatmap:
Liquidity levels: Horizontal lines with a color gradient.
Volumes: Text labels at levels.
Market maker buys:
Orange MM Buy markers.
Alerts:
The ability to set alerts for signals:
Buy (BUY).
Sell (SELL).
Additional Features:
Flexible filter settings:
Filtering by time, volume, volatility, RSI, and MACD.
Extensibility:
The ability to add new filters (e.g., Stochastic, Volume Profile, etc.).
Visual customization:
Adjustment of colors, sizes, and display styles.
Summary:
The indicator provides a comprehensive tool for analyzing liquidity, generating trading signals, and tracking market maker activity. It combines:
A liquidity heatmap.
Signals based on moving averages.
Filtering by RSI and MACD.
Display of market maker buys.
Flexible settings and visualization.
This indicator is suitable for traders who want to analyze liquidity levels, identify entry and exit points, and monitor the actions of large market players.
Candle Size Alertت وضیحات برای انتشار ابزار در TradingView
🔹 نام ابزار: Candle Size Alert
🔹 توضیحات:
این اندیکاتور برای شناسایی کندلهای بزرگ طراحی شده است. این ابزار میانگین اندازهی ۱۰ کندل گذشته را محاسبه کرده و اگر کندل فعلی ۳ برابر میانگین کندلهای قبلی باشد، یک لیبل هشدار در بالای کندل نمایش میدهد. همچنین میتوان هشدارهای معاملاتی را از طریق alertcondition() فعال کرد.
🔹 ویژگیها:
✅ امکان تغییر تعداد کندلهای محاسبه شده (پیشفرض: ۱۰)
✅ امکان تنظیم ضریب حساسیت (پیشفرض: ۳ برابر)
✅ نمایش لیبل هشدار در بالای کندلهای بزرگ
✅ پشتیبانی از هشدارهای خودکار (AlertCondition)
⚠️ نکته: این اندیکاتور فقط برای تحلیل استفاده میشود و سیگنال خرید یا فروش ارائه نمیدهد.
🔹 Indicator Name: Candle Size Alert
🔹 Description:
This indicator detects large candles by calculating the average size of the last 10 candles. If the current candle is 3 times larger than the average of the previous candles, a warning label appears above the candle. Additionally, automated alerts can be triggered using alertcondition().
🔹 Features:
✅ Adjustable candle count for calculations (default: 10)
✅ Customizable sensitivity multiplier (default: 3x)
✅ Visual alert label above large candles
✅ Supports automated alerts (AlertCondition)
⚠️ Note: This indicator is for analysis purposes only and does not provide buy/sell signals.
Swing Finder By Akash
This script is designed to highlight areas on a chart where there are **three or more consecutive candles** of the same color (bullish or bearish). It provides a visual indication of extended bullish or bearish momentum by changing the background color and marking the starting point of these areas.
### **How it works:**
1. **Identifying Bullish and Bearish Candles:**
- **Bullish candles** are defined as candles where the closing price is higher than the opening price (close > open).
- **Bearish candles** are defined as candles where the closing price is lower than the opening price (close < open).
2. **Consecutive Candle Counters:**
- A counter for **bullish candles** (`bullishCount`) and **bearish candles** (`bearishCount`) is maintained to track consecutive occurrences of bullish and bearish candles.
- These counters are **incremented** when consecutive bullish or bearish candles occur. They are **reset** to zero whenever a trend reversal happens (e.g., from bullish to bearish or vice versa).
3. **Area Marking:**
- If there are **three or more consecutive bullish candles**, the background is highlighted in **green** to indicate a bullish area.
- If there are **three or more consecutive bearish candles**, the background is highlighted in **red** to indicate a bearish area.
- A **green label** is plotted below the bars where the bullish area starts, and a **red label** is plotted above the bars where the bearish area starts.
### **Visual Indicators:**
- **Background Color:**
- **Green** for areas with 3 or more consecutive bullish candles.
- **Red** for areas with 3 or more consecutive bearish candles.
- **Labels:**
- A **green label** is plotted below the chart to mark the start of a bullish area.
- A **red label** is plotted above the chart to mark the start of a bearish area.
### **Usage:**
- This indicator can help traders identify strong trends, as consecutive bullish or bearish candles often indicate extended momentum in one direction.
- By marking these areas, traders can potentially look for entry points or identify when trends may be losing strength or reversing.
---
Feel free to adjust the description if you'd like it to reflect more specific details based on your use case!
Wyckoff Event Detection [Alpha Extract]Wyckoff Event Detection
A powerful and intelligent indicator designed to detect key Wyckoff events in real time, helping traders analyze market structure and anticipate potential trend shifts. Using volume and price action, this script automatically identifies distribution and accumulation phases, providing traders with valuable insights into market behavior.
🔶 Phase-Based Detection
Utilizes a phase detection algorithm that evaluates price and volume conditions to identify accumulation (bullish) and distribution (bearish) events. This method ensures the script effectively captures major market turning points and avoids noise.
🔶 Multi-Factor Event Recognition
Incorporates multiple event conditions, including upthrusts, selling climaxes, and springs, to detect high-probability entry and exit points. Each event is filtered through customizable sensitivity settings, ensuring precise detection aligned with different trading styles.
🔶 Customizable Parameters
Fine-tune event detection with adjustable thresholds for volume, price movement, trend strength, and event spacing. These inputs allow traders to personalize the script to match their strategy and risk tolerance.
// === USER INPUTS ===
i_volLen = input.int(20, "Volume MA Length", minval=1)
i_priceLookback = input.int(20, "Price Pattern Lookback", minval=5)
i_lineLength = input.int(15, "Line Length", minval=5)
i_labelSpacing = input.int(5, "Minimum Label Spacing (bars)", minval=1, maxval=20)
❓How It Works
🔶 Event Identification
The script scans for key Wyckoff events by analyzing volume spikes, price deviations, and trend shifts within a user-defined lookback period. It categorizes events into bullish (accumulation) or bearish (distribution) structures and plots them directly on the chart.
// === EVENT DETECTION ===
volMA = ta.sma(volume, i_volLen)
highestHigh = ta.highest(high, i_priceLookback)
lowestLow = ta.lowest(low, i_priceLookback)
🔶 Automatic Filtering & Cleanup
Unconfirmed or weak signals are filtered out using customizable strength multipliers and volume thresholds. Events that do not meet the minimum conditions are discarded to keep the chart clean and informative.
🔶 Phase Strength Analysis
The script continuously tracks bullish and bearish event counts to determine whether the market is currently in an accumulation, distribution, or neutral phase. This allows traders to align their strategies accordingly.
🔶 Visual Alerts & Labels
Detects and labels key Wyckoff events directly on the chart, providing immediate insights into market conditions:
- PSY (Preliminary Supply) and UT (Upthrust) for distribution phases.
- PS (Preliminary Support) and SC (Selling Climax) for accumulation phases.
- Labels adjust dynamically to avoid chart clutter and improve readability.
🔶 Entry & Exit Optimization
By highlighting supply and demand imbalances, the script assists traders in identifying optimal entry and exit points. Wyckoff concepts such as springs and upthrusts provide clear trade signals based on market structure.
🔶 Trend Confirmation & Risk Management
Observing how price reacts to detected events helps confirm trend direction and potential reversals. Traders can place stop-loss and take-profit levels based on Wyckoff phase analysis, ensuring strategic trade execution.
🔶 Table-Based Market Analysis (Table)
A built-in table summarizes:
- Market Phase: Accumulation, Distribution, or Neutral.
- Strength of Phase: Weak, Moderate, or Strong.
- Price Positioning: Whether price is near support, resistance, or in a trading range.
- Supply/Demand State: Identifies whether the market is supply or demand dominant.
🔶 Why Choose Wyckoff Market Phases - Alpha Extract?
This indicator offers a systematic approach to understanding market mechanics through the lens of Wyckoff's time-tested principles. By providing clear and actionable insights into market phases, it empowers traders to make informed decisions, enhancing both confidence and performance in various trading environments.
[COW] Day Percent LevelsThis indicator plots on your chart 2 levels, the daily percentage changes required to know by most prop firms and other exchanges. 5% is often a cutoff point for prop firm day traders and can get you banned if you trade past these levels. This indicator allows you to adjust the percentage as well as the lines and labels to your liking.
This is key when using prop firms as it is a level you must be aware of when trading. This can help you avoid being banned, your account being closed, or other disciplinary action based on trading past these levels.
Enjoy!
TestMA-STATEOverview:
This Pine Script (version 6) is designed to generate trading events based on moving average (MA) behavior and dynamically calculated percentiles. It leverages a custom state machine library (version 7) from decrypt_capital to track and manage state transitions related to MA conditions, and it triggers alerts (and optionally, chart labels) when specific state transitions occur.
Key Components:
License & Metadata:
The script is distributed under the Mozilla Public License 2.0.
It carries copyright by decrypt_capital.
The title ("TestMA-STATE") and short title ("MA-STATE") are defined, and the script runs on an overlay with extended backtracking and drawing limits.
State Machine Integration:
The script imports the lib_statemachine_modified library (version 7) using the alias modSM.
A persistent state machine instance (MovingAverageDirection_SM) is created to manage various MA-related states.
Several state constants are defined to represent different market conditions, such as:
MA_SHORT_ABOVE_OVERBOUGHT: When the short MA low is above the overbought threshold.
MA_SHORT_CROSSUNDER_MID & MA_SHORT_CROSSUNDER_BIG: Conditions for bearish crossunders.
MA_SHORT_BELOW_OVERSOLD: When the short MA high is below the oversold threshold.
MA_SHORT_CROSSOVER_MID & MA_SHORT_CROSSOVER_BIG: Conditions for bullish crossovers.
Inputs & MA Calculation:
Users can choose the type of moving average (EMA, SMA, WMA, VWMA) and adjust lengths for short, mid, and big MAs.
Additional inputs include lookback length for percentile calculations and percentile thresholds for determining overbought and oversold boundaries.
The script computes:
Short MA Low and High: Based on the low and high series.
Mid MA and Big MA: Based on the average price (ohlc4).
Dynamic Percentile Boundaries:
Two functions (f_getPercentile() and f_getPercentileArr()) calculate dynamic percentile values from the MA data.
These functions determine the oversold and overbought boundaries used in the state transition conditions.
Timestamp & Alert Header Formatting:
A helper function (f_formatTimestamp()) formats timestamps into a human-readable form (e.g., "Tue 12 Mar 16:30").
This formatted time, along with ticker information and other details, is used to build an alert header.
State Transitions & Alerts:
The script calls the state machine’s step() method multiple times with conditions based on the relationship between MA values and the percentile boundaries.
For example:
A bullish condition is triggered when the short MA low moves above the overbought threshold.
A bearish condition is triggered when the short MA high falls below the oversold boundary.
Transitions are further refined by checking if the MA is rising or falling.
When specific state transitions occur (e.g., MA_SHORT_CROSSOVER_MID after MA_SHORT_BELOW_OVERSOLD), the script:
Checks that the transition is recent (using the barsSinceState() method).
Optionally creates a label on the chart.
Triggers an alert with a descriptive message.
Chart Plotting:
The script plots the calculated moving averages (short, mid, and optionally big) on the chart.
It also plots the dynamic percentile boundaries for visual reference.
Purpose & Usage:
Trading Signal Generation:
The primary goal is to monitor key MA conditions and trigger alerts when significant crossovers or crossunders occur. These events—such as bullish crossovers when the market recovers from oversold conditions or bearish crossunders when the market retracts from overbought conditions—can be used as trading signals.
Visualization:
Users have options to display the various moving averages and percentile boundaries directly on the chart, as well as optional labels that mark when an alert is generated.
Alerting:
When specific state transitions are detected, the script constructs and sends an alert message with a timestamp, ticker, and descriptive text, aiding traders in making timely decisions.