Candlestick analysis
YARTSEV_TRADING_CANDLE_SIZE_v1An updated version of my personal indicator that highlights bars of the desired size
Candle Range WarningThis indicator is just for a visual representation when candles on your timeframe have a high/low range exceeding a defined number. Set maximum range and number of candles needed under that range in order to reset.
Failed Breakout DetectionThis indicator is a reverse-engineered copy of the FBD Detection indicator published by xfuturesgod. The original indicator aimed at detecting "Failed Breakdowns". This version tracks the opposite signals, "Failed Breakouts". It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
The original description, with terminology reversed to explain this version:
'Failed Breakouts' are a popular set up for short entries.
In short, the set up requires:
1) A significant high is made ('initial high')
2) Initial high is undercut with a new high
3) Price action then 'reclaims' the initial high by moving +8-10 points from the initial high
This script aims at detecting such set ups. It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
Business Logic:
1) Uses pivot highs to detect 'significant' initial highs
2) Uses amplitude threshold to detect a new high above the initial high; used /u/ben_zen script for this
3) Looks for a valid reclaim - a red candle that occurs within 10 bars of the new high
4) Price must reclaim at least 8 points for the set up to be valid
5) If a signal is detected, the initial high value (pivot high) is stored in array that prevents duplicate signals from being generated.
6) FBO Signal is plotted on the chart with "X"
7) Pivot high detection is plotted on the chart with "P" and a label
8) New highs are plotted on the chart with a red triangle
Notes:
User input
- My preference is to use the defaults as is, but as always feel free to experiment
- Can modify pivot length but in my experience 10/10 work best for pivot highs
- New high detection - 55 bars and 0.05 amplitude work well based on visual checks of signals
- Can modify the number of points needed to reclaim a high, and the # of bars limit over which this must occur.
Alerts:
- Alerts are available for detection of new highs and detection of failed breakouts
- Alerts are also available for these signals but only during 7:30PM-4PM EST - 'prime time' US trading hours
Limitations:
- Current version of the script only compares new highs to the most recent pivot high, does not look at anything prior to that
- Best used as a discretionary signal
Liquidity Compression Coil (6 Lines, 8‑Bar Breakout)TL;DR:
🔍 Pivot Detection: Scans for swing highs and lows (using a customizable lookback) to mark key support/resistance levels.
🧱 Zone Calculations:
Anchor Range (🧱): Base zone (gray) defined by historical pivots, with its label always at the top.
Projection Bracket (🎯): Active zone (black) that forecasts immediate breakout areas, with its label centered.
Volatility Span (🌪️): Overall range (purple) that captures the market's full movement, with its label fixed at the bottom.
📊 Dynamic Tracker: Displays the current price as a percentage of the projection bracket—mimicking Fibonacci extensions (e.g., 120%, 200%, or -20% when breaking below).
⚠️ Alerts: Breakout (above 100%) and breakdown (below 0%) alerts pop up dynamically, following the position metric so they never overlap.
🐂/🐻 Sentiment Tags: Adds bullish (🐂) or bearish (🐻) emojis based on price position relative to the projection bracket.
🔄 Composite Bars & Volume: Visually stacks the three zones in a fixed order (purple behind, gray in the middle, black on top) and optionally accumulates volume for enhanced context.
This indicator provides a human-friendly, emoji-enhanced snapshot of liquidity compression and potential breakout moves with nuanced visual layers and dynamic alerts.
Horizontal Line at LevelsDraw 2 line for buy & Sell depends upon market movements , it help to enter the line
Engulfing Zone (With Confirmation)Just testing make new indicator using ChatGPT. This is still beta version.
How to use engulfing in trading?
1- Identify Engulfing Zone (Bullish/Bearish) in higher TF (H1-H4)
2- Observe current market price untill the price touch or enter the zone that we have marked early.
3- Wait for confirmation. We will use lower timeframe to identify either this zone valid or not.
4- When current market price enter zone, open lower tf m30 or m15 to find same engulfing formed. If the price in the Engulfing Sell zone, make sure tf m15 formed engulfing sell inside the zone. Vice versa.
I try to make it easy. But as you know, the candlestick pattern cant remain the same everytime. Thats why you will see error engulfing zone marked. I'll try to improve this indicator followed by engulfing pattern. If you dont know how engulfing pattern's look, you can make your own research. But i still hope this indicator will help our trading easily. Why i create this indicator? Its just alert for me that there is engulfing zone there and there. Because sometimes i dont have time to analysis the chart.
If anyone can make it better, I would greatly appreciate it.
H4 3-Candle Pattern (Persistent Signals)Below is an example in Pine Script v5 that detects a pattern using the last three completed 4H candles and then plots a permanent arrow on the fourth candle (i.e. on the current bar) when the conditions are met. The arrow stays on that bar even after new bars form.
In this version, the pattern is evaluated as follows on each bar (when there are enough candles):
Bullish Pattern:
The candle three bars ago (oldest of the three) is bullish (its close is greater than its open).
The candle two bars ago closes above the high of that older candle.
The last completed candle (one bar ago) closes at or above the low of the candle two bars ago.
Bearish Pattern:
The candle three bars ago is bearish (its close is less than its open).
The candle two bars ago closes below the low of that older candle.
The last completed candle closes at or below the high of the candle two bars ago.
When the conditions are met the script draws a green up arrow below the current (fourth) candle for a bullish pattern and a red down arrow above the current candle for a bearish pattern. These arrows are drawn as regular plot symbols and remain on the chart permanently.
Copy and paste the code into TradingView’s Pine Script Editor:
Pin Bar & Momentum DetectorThis indicator is suitable for detecting an entry point, which is most commonly used in New York Time, but it can be adjusted. At the moment, by detecting a candlestick base or pin bar in the time frame and checking the average volume of the previous 5 candlesticks, which should be more than that, it shows you a momentum, and by taking the candlestick, it confirms that there is a second or third candlestick, which is in the form of a momentum candlestick, you can enter safely, and the stop behind the candlestick base and the target is at least 1/2 and 1/3. In each timeframe, you need to make adjustments, for example, in the 15-minute timeframe, the number of candlesticks in a day is 96, and their average is equal to 1 unit, and set the number of candlesticks in front of 96. Coming soon with the Ingalev candlestick will also be added
Wyckoff S-bar and RS-bar DetectorThis script is used for detecting Significant candle/bar according to Wyckoff definition.
Highly appriciate your feedback if any issue during your usage.
Bollinger Bands (Indicator Only)Just a Bollinger Bands indicator that can be used to make a strategy, I hope it will help you
Wick Sweep EntriesWick Sweep Entry designed by Finweal Finance (Indicator Originator : Prajyot Mahajan) :
This Indicator is specially designed for Nifty, Sensex and Banknifty Options Buying. This works well on Expiry Days.
Setup Timeframe : 5m and 1m.
Entry Criteria :
For Long/CE :
Wait for Sweep of 5m Candle Low with next 5m Candle but you do not wait for the next 5 minute candle to close, you enter directly whenever any 1 minute candle of next 5minute candle to close above the low of previous 5m Candle.
For Short/PE :
Wait for Sweep of 5m Candle High with next 5m Candle but you do not wait for the next 5 minute candle to close, you enter directly whenever any 1 minute candle of next 5minute candle to close below the High of previous 5m Candle.
Key notes :
1. As this is the Scalping High Frequency Strategy, it is to be used for scalping purpose only. You might have losses too so to avoid the noise in the market, i suggest you to use this strategy in the first 45 minutes to 1 hour of Indian Markets as this is a volatility Strategy.
2. Although Nifty and Banknifty are independent indices, they still show some reactions with each other, so if you spot a long entry on BNF and Short Entry on nifty then you will avoid taking the trade, you will take the trade only if there is a tandem activity or At least the other index is not showing opposite signal.
3. If target is not hit and you spot another entry, you will avoid taking the new entry.
The Indicator will automatically spot/plot the entry signal, all you need to do is enter as soon as 1minute candle closes either below prior 5 minute candle High for Short/PE or closes above 5minute low for Long/CE.
For Targets :
You Can Target recent minor pull back, FVG, or Order blocks.
Remember : This is a scalping strategy so don't hold trade for more than 4/5 1minute Candles
Predictive Momentum StrategyPredictive Momentum Strategy with Future Projection
This advanced Pine Script indicator aims to forecast price movements up to five minutes into the future, visualizing predictions as a dynamic line extending beyond the current price bar. Unlike standard technical indicators that only analyze past data, this strategy projects future price targets to give traders a potential edge.
The prediction system combines multiple technical factors:
- Multi-timeframe momentum analysis using weighted RSI readings from different periods
- Volume profile analysis with logarithmic scaling to detect significant buying/selling pressure
- Adaptive volatility measurement to adjust predictions based on current market conditions
- Price fractal pattern detection to identify potential reversal points
- Statistical deviation bands to capture mean-reversion opportunities
What makes this strategy unique is its self-adjusting accuracy system. The script tracks its prediction success over time and automatically adjusts signal strength based on recent performance. This creates an adaptive learning mechanism that improves with use.
The visual components include:
- A prediction line extending from the current price into future time space
- Color-coded signals (green for bullish, red for bearish)
- An information panel displaying prediction direction, target price, and current accuracy percentage
- Entry signals marked with triangles at potential trade points
Customize the strategy with adjustable parameters for lookback period, prediction timeframe, indicator weights, and visual preferences.
Perfect for day traders looking for an edge in short-term price prediction with a clean, visual representation of anticipated market moves.
Dual EMA (9 & 21) w/ Entry SignalsDual EMA Crossover with RSI Filter
This Pine Script indicator combines two popular technical analysis tools - Exponential Moving Averages (EMAs) and Relative Strength Index (RSI) - to identify potential trading opportunities.
Key Features
Plots two EMAs (default: 9 & 21 periods) directly on your chart
Generates entry signals based on EMA crossovers with additional confirmation filters
Uses RSI as a trend filter to reduce false signals
Visual arrows indicate potential entry points for both long and short positions
All parameters are fully customizable
How It Works
The indicator identifies trading opportunities through a multi-factor approach:
EMA Crossover: Fast EMA (9) crosses above/below Slow EMA (21)
Price Confirmation: Close price confirms the direction by being above/below the Slow EMA
RSI Filter: RSI value confirms the trend direction by being above/below the RSI filter level
Visual Feedback
Green up arrows indicate long entry signals (bullish)
Red down arrows indicate short entry signals (bearish)
Fast EMA displayed as a green line
Slow EMA displayed as a red line
Settings
Fast EMA Length: Period for the faster-moving EMA (default: 9)
Slow EMA Length: Period for the slower-moving EMA (default: 21)
Source: Price data to use for calculations (default: close)
RSI Length: Period for RSI calculation (default: 14)
RSI Filter Level: Threshold for RSI trend filter (default: 50.0)
Ideal for swing traders and position traders looking for high-probability entry points with trend confirmation.
Next Candle PredictorNext Candle Predictor for TradingView
This Pine Script indicator helps predict potential price movements for the next candle based on historical price action patterns. It analyzes recent candles' characteristics including body size, wick length, and volume to calculate a directional bias.
Key Features
Analyzes recent price action to predict next candle direction (Bullish, Bearish, or Neutral)
Visual indicators include small directional arrows and a prediction line
Customizable sensitivity and lookback period
Works best on lower timeframes for short-term price action trading
Displays clear prediction labels that extend into future bars
How It Works
The script analyzes recent candles by examining:
Candle body size (weighted by your preference)
Wick length (weighted by your preference)
Volume activity (weighted by your preference)
These factors combine to create a directional strength indicator that determines if the next candle is likely to be bullish, bearish, or neutral.
Visual Feedback
Green up arrows indicate bullish predictions
Red down arrows indicate bearish predictions
A directional line extends from the last candle showing predicted price movement
A label displays the prediction text at the end of the line
Information table in the top right displays the current prediction
Settings
Lookback Candle Count: Number of historical candles to analyze (2-20)
Wick/Body/Volume Weight Factors: Adjust importance of each component
Prediction Sensitivity: Threshold for triggering directional bias
Prediction Line Length: How far the prediction line extends
Perfect for day traders and scalpers looking for an edge in short-term directional bias.
Ross Cameron-Inspired Day Trading StrategyExplanation for Community Members:
Title: Ross Cameron-Inspired Day Trading Strategy
Description:
This script is designed to help you identify potential buy and sell opportunities during the trading day. It combines several popular trading strategies to provide clear signals.
Key Features:
Gap and Go: Identifies stocks that have gapped up or down at the open.
Momentum Trading: Uses RSI and EMA to identify momentum-based entry points.
Mean Reversion: Uses RSI and SMA to identify potential reversals.
How to Use:
Apply to Chart: Add this script to your TradingView chart.
Set Timeframe: Works best on 5-minute and 10-minute timeframes.
Watch for Signals: Look for green "BUY" labels for entry points and red "SELL" labels for exit points.
Parameters:
Gap Percentage: Adjust to identify larger or smaller gaps.
RSI Settings: Customize the RSI length and overbought/oversold levels.
EMA and SMA Lengths: Adjust the lengths of the moving averages.
Confirmation Period: Set how many bars to wait for confirmation.
Visual Elements:
BUY Signals: Green labels below the price bars.
SELL Signals: Red labels above the price bars.
Indicators: Displays EMA (blue) and SMA (orange) for additional context.
This script is a powerful tool for day trading on NSE and BSE indices, combining multiple strategies to provide robust trading signals. Adjust the parameters to suit your trading style and always combine with your own analysis for best results.
Gold Opening 15-Min ORB INDICATOR by AdéThis indicator is designed for trading Gold (XAUUSD) during the first 15 minutes of major market openings: Asian, European, and US sessions. It highlights these key time windows, plots the high and low ranges of each session, and generates breakout-based buy/sell signals. Ideal for traders focusing on volatility at market opens.
Features:Session Windows:
Asian: 1:00–1:15 AM Barcelona time (23:00–23:15 UTC, CEST-adjusted).
European: 9:00–9:15 AM Barcelona time (07:00–07:15 UTC).
US: 3:30–3:45 PM Barcelona time (13:30–13:45 UTC).
Marked with yellow (Asian), green (Europe), and blue (US) triangles below bars.
High/Low Ranges:Plots horizontal lines showing the highest high and lowest low of each session’s first 15 minutes.Lines appear after each session ends and persist until the next day, color-coded to match the sessions.Breakout Signals:Buy (Long): Triggers when the closing price breaks above the highest high of the previous 5 bars during a session window (lime triangle above bar).Sell (Short): Triggers when the closing price breaks below the lowest low of the previous 5 bars during a session window (red triangle below bar).
Signals are restricted to the 15-minute session periods for focused trading.Usage:Timeframe: Optimized for 1-minute XAUUSD charts.Timezone: Set your chart to UTC for accurate session timing (script uses UTC internally, based on Barcelona CEST, UTC+2 in April).Strategy:
Use buy/sell signals for breakout trades during volatile market opens, with session ranges as support/resistance levels.Customization: Adjust the lookback variable (default: 5) to tweak signal sensitivity.Notes:Tested for April 2025 (CEST, UTC+2).
Adjust timestamp values if using outside daylight saving time (CET, UTC+1) or for different broker timezones.Best for scalping or short-term trades during high-volatility periods. Combine with other indicators for confirmation if desired.How to Use:Apply to a 1-minute XAUUSD chart.Watch for session markers (triangles) and breakout signals during the 15-minute windows.Use the high/low lines to gauge potential breakout targets or reversals.
RsiVirgilSignalsThrough this MVRV indicator we will know when to sell, when to buy coins, we are guided by RSI, when it is down, buy, when it is up, we sell.
BFG.dzDescription:
This script is a trading strategy built on multiple technical indicators:
1. Exponential Moving Averages (EMA): It uses two EMAs, a fast EMA (9-period) and a slow EMA (21-period), to identify trends and generate buy or sell signals based on their crossovers.
2. Relative Strength Index (RSI): The RSI is used to assess whether the market is overbought (RSI > 70) or oversold (RSI < 30), providing additional confirmation for entry and exit signals.
3. MACD (Moving Average Convergence Divergence): The MACD line crossing over the signal line indicates a potential buy, while crossing under signals a potential sell.
4. Volume: A high volume condition is added, where a volume higher than 150% of the average volume over the last 20 bars is considered a confirmation of the signal.
TuxTune - Dynamic Vertical LineDynamic vertical line. Can be used to help gauge the size of the candles/price range.