Candlestick ScannerThis is a large compilation of candlestick patterns that allows the user to detect up to 42 different bullish and bearish patterns.
This script is intended to be a Pine Editor version of the one I normally used on a different platform, so your feedback is more than welcome to help me improve it, as fine tuning is ongoing.
New patterns will be added in the next couple of days.
Happy trading!
Cari dalam skrip untuk "candle"
Candlestick MathThis is an updated version of my previous post, with the option to specify which symbol you want it to show up on.
This is a script I made to do what is called candlestick math (if you're not sure, Google it). It will take the first open, the last close, and the highest high and lowest low from a range of candlesticks, and plot it on top of the chart.
Unfortunately, there is no way to make it so you can move it with your mouse, and the bar numbering is not the same as the regular drawing tools, so to figure out what the line number is, create a new script with the text:
study("Plot N")
plot(n)
This will create another chart that will show you the bar numbers that correspond to the script's bar numbers. From there, figure out where you want to start the candlestick math, and enter that number in the "Start" field in the inputs for this script.
Candlestick Math(Re-post with better graph)
This is a script I made to do what is called candlestick math (if you're not sure, Google it). It will take the first open, the last close, and the highest high and lowest low from a range of candlesticks, and plot it on top of the chart.
Unfortunately, there is no way to make it so you can move it with your mouse, and the bar numbering is not the same as the regular drawing tools, so to figure out what the line number is, create a new script with the text:
study("Plot N")
plot(n)
This will create another chart that will show you the bar numbers that correspond to the script's bar numbers. From there, figure out where you want to start the candlestick math, and enter that number in the "Start" field in the inputs for this script.
Candlestick MathThis is a script I made to do what is called candlestick math (if you're not sure, Google it). It will take the first open, the last close, and the highest high and lowest low from a range of candlesticks, and plot it on top of the chart.
Unfortunately, there is no way to make it so you can move it with your mouse, and the bar numbering is not the same as the regular drawing tools, so to figure out what the line number is, create a new script with the text:
study("Plot N")
plot(n)
This will create another chart that will show you the bar numbers that correspond to the script's bar numbers. From there, figure out where you want to start the candlestick math, and enter that number in the "Start" field in the inputs for this script.
Candlestick DataCandlestick Data Indicator
The Candlestick Data indicator provides a comprehensive overview of key metrics for analyzing price action and volume in real-time. This overlay indicator displays essential candlestick data and calculations directly on your chart, offering an all-in-one toolkit for traders seeking in-depth insights.
Key Features:
Price Metrics: View the daily high, low, close, and percentage change.
Volume Insights: Analyze volume, relative volume, and volume buzz for breakout or consolidation signals.
Range Analysis: Includes closing range, distance from low of day (LoD), and percentage change in daily range expansion.
Advanced Metrics: Calculate ADR% (Average Daily Range %), ATR (Average True Range), and % from 52-week high.
Moving Averages: Supports up to four customizable moving averages (EMA or SMA) with distance from price.
Market Context: Displays the sector and industry group for the asset.
This indicator is fully customizable, allowing you to toggle on or off specific metrics to suit your trading style. Designed for active traders, it brings critical data to your fingertips, streamlining decision-making and enhancing analysis.
Perfect for momentum, swing, and day traders looking to gain a data-driven edge!
Candle Flip System - CFSCandle Flip System - CFS
The Candle Flip System checklist table is a tool designed for traders seeking a structured approach to decision-making. This indicator provides a visual checklist to validate critical conditions before entering a trade. It includes:
1. Previous D1 Candle Analysis:
Displays whether the previous daily candle closed bullish or bearish, indicated by intuitive markers.
2. 4-Hour Alignment Check:
Confirms if the bias of the previous 4-hour candle aligns with the previous daily candle's bias.
Outputs "YES" in green for alignment or "NO" in red for misalignment.
This indicator simplifies multi-timeframe analysis and ensures a systematic evaluation of key trading conditions, enabling traders to make more confident and disciplined decisions.
How to Use:
1. Apply the indicator to your chart.
2. Observe the table displayed in the top-right corner.
3. Use the information to validate your trading strategy before entering a trade.
Candles Pattens (v. 1.14)This script sows you candlestick patterns in real-time.
At that moment script knows Bearish/Bullish Engulf and Doji Points.
You can recommend me which pattens you want to see in next version at comment section below
Candle Eraser (New York Time, Dropdown)If you want to focus on first 3 hours of Asia, London> and New York, inspired by Stacey Burke Trading 12 Candle Window Concept
- Set your time to UTC-4 New York
Candle Rating (1–5)This “Candle Rating (1–5)” indicator measures where each bar’s close sits within its own high-low range and assigns a simple strength score:
Range Calculation
It computes the candle’s total range (high − low) and finds the close’s position as a percentage of that range (0 = close at low, 1 = close at high).
Five-Point Rating
1 (Strong Buy): Close in the top 20% of the range
2 (Moderate Buy): 60–80%
3 (Neutral): 40–60%
4 (Moderate Sell): 20–40%
5 (Strong Sell): Bottom 20%
Visual Feedback
It plots the numeric rating above each bar (colored green → red), giving you an at-a-glance read of candle momentum and potential reversal strength across any timeframe.
Candle VolumeThis indicator gives gives candle volume represented in X.Y format for simplicity.
100% = 1.0
20% = 0.2
Anything 10X is represented by an arrow up or down based on candle price delta open to close.
By default, a 500 candle lookback of volume is used excluding exteem outliers of 50.
You can adjust these in settings.
Candle Closing Strength Indicator (CCS)This indicator measures and displays the closing strength of each candle relative to its range.
It assigns a value from 0 to 100, where
- 0 indicates a close at the candle's low,
- 100 indicates a close at the high, and
- 50 represents a close at the midpoint.
The strength is shown as a number on each candle, color-coded green for values 50 and above (bullish) and red for values below 50 (bearish). This visual representation helps traders quickly assess the strength and direction of price movements across different timeframes.
This is only the price action strength. Further strength can be verified with volume.
Candlestick Patterns Identified (updated 3/11/15)I decided to republish this one without the trend filter and with all the major symbols active. This will allow for all the patterns to show up.
Due to 15 different candlestick formations in this one script, it will be difficult to turn off the last few due to screen size. You can turn off individual patterns on the settings screen.
I have everything spelled out except the hammer and inverted hammer. They are "H" and "IH" respectively on the charts. They show up so often that they cluttered the charts.
The default script has: Doji, Evening Star, Morning Star, Shooting Star, Hammer, Inverted Hammer, Bearish Harami, Bullish Harami, Bearish Engulfing, Bullish Engulfing, Piercing Line, Bullish Belt, Bullish Kicker, Bearish Kicker, Hanging man, and Dark Cloud Cover. You can turn off what you don't like. The Piercing Line, Bullish Belt, and the Kickers will usually show up better in the daily charts.
I recommend watching videos with Stephen Bigalow to get a feel for how to trade these. You will want to add an 8 EMA to your chart with his setups. Enjoy.
If you want the old version: Take a look at the related ideas below.
Candlestick Patterns With EMA and Stochastic6/11/15, Corrected barcolor errors.
Candlestick patterns identified and color coded according to position above or below 8EMA(TLine).
Special thanks to repo32, DavidR, and Chris Moody for coding ideas.
Bullish candlestick buy signals have a greater probability of success when Stochastics are oversold. Bearish ones have a
greater probability of success when overbought. Stack as many factors in your favor as possible. A candlestick signal by itself is of little value unless you apply additional information with it. An 8 EMA is coded also to help with buy/sell signals. Some of the videos by Steven Bigalow are on the Web to see how he uses it.
www.youtube.com
Regardless of systems and strategies used, make your second trade first: Know when you're going to exit. Risk management rules. Good luck and good trading.
Candlestick Patterns by Boernerer v2New version 2 of my modifications of the original candlestick pattern script by Robert Waddell.
- Added window (= gaps) detection
- Added Bear/Bull Sash
- Added Bear/Bull Counter Attack
- Added Bear/Bull Seperating Line
- Modified candlestick ID code
- Added Lookback period instead of SMA (TLine) for trend detection
Noteworthy CandlesticksThis indicator identifies noteworthy candlestick formations by analyzing the proportions of a candlestick’s body, wicks, and shadows in relation to its total range. It highlights specific patterns to assist in analyzing potential market activity.
Key Features
Lower Wick Candles: It identifies candlesticks with long lower wicks, which may indicate price rejection at lower levels.
Upper Wick Candles: It detects candlesticks with long upper wicks, which may indicate price rejection at higher levels.
Doji Candles: It recognizes candlesticks with small bodies relative to their range, often associated with market indecision.
Definitions of Wicks and Shadows
In traditional candlestick charting, the terms wick and shadow are interchangeable, referring to the thin lines extending above and below the candlestick's body. However, this indicator uses distinct definitions:
Wicks represent the distance from the edges of the candlestick body (the open and close prices) to the high or low.
Shadows measure the distance from the closing price to the high or low of the candlestick.
By distinguishing between wicks and shadows, the indicator provides separate insights into price extremes (wicks) and price behavior around the close (shadows).
How It Works
The indicator evaluates each candlestick against user-defined thresholds for wick and shadow length. It compares the overall range of the candlestick to the ATR (Average True Range) to ensure patterns are relevant in the context of recent volatility.
Candlesticks with noteworthy lower wicks are marked with a symbol below the bar.
Candlesticks with noteworthy upper wicks are marked with a symbol above the bar.
Doji candles are marked with symbols both above and below the bar.
Applications
This indicator can assist traders in identifying potential areas of price reversal, rejection, or indecision. It can also provide additional context when used alongside other technical tools like volume analysis, trendlines, or support and resistance levels.
Acknowledgment
This description was written by ChatGPT to facilitate the understanding of the indicator's features and functionality.
Large Body Candle IndicatorFunctionality
Comparison: The indicator compares the body size of the current candle to the maximum body size of the previous 5 candles.
Bullish Candles: When a bullish candle (close > open) has a larger body than the previous 5 candles:
A green triangle is plotted below the candle
The candle is colored green
Bearish Candles: When a bearish candle (close < open) has a larger body than the previous 5
candles:
A red triangle is plotted above the candle
The candle is colored red
Key Components
Lookback Period: Default set to 5 candles, but can be adjusted by the user.
Body Size Calculation: Calculated as the absolute difference between the open and close prices.
Maximum Previous Body Size: Determined by comparing the body sizes of the previous 5 candles.
Candle Classification: Candles are classified as bullish or bearish based on the relationship between open and close prices.
Visual Indicators:
Shape plotting for triangles
Bar coloring for highlighted candles
User Customization
Users can adjust the lookback period through the indicator settings, allowing for flexibility in identifying significant candles based on recent price action.
Use Cases
Identifying potential breakout candles
Spotting significant price movements
Enhancing visual analysis of price action
Supporting decision-making in trading strategies
Limitations
The indicator does not predict future price movements
It's based solely on recent price action and doesn't consider other technical or fundamental factors
Conclusion
The Large Body Candle Indicator provides a simple yet effective way to visually identify candles that show significant price movement relative to recent price action. It can be a valuable tool when used in conjunction with other technical analysis methods.
[EmreKb] Combined CandlesThis script combines multiple candlestick patterns into a single, unified candle when they are of the same type (bullish or bearish). Instead of displaying every individual candle on the chart, it merges consecutive candles based on their direction to simplify the visual analysis of price movements.
What It Does:
Combines Candles: If two or more consecutive candles are bullish (close price higher than open price) or bearish (close price lower than open price), the script merges them into a single candle, adjusting the high, low, and close values accordingly.
Displays Merged Candles: The merged candles are drawn on the chart. A green bar represents a bullish period, while a red bar represents a bearish period.
How It Works:
The script tracks whether each candle is bullish or bearish.
If a candle is the same type as the previous one, it updates the combined candle (adjusting the high, low, and close values).
When the type changes (from bullish to bearish or vice versa), it finalizes the current combined candle and starts a new one.
The merged candles are displayed on the chart at the end of the data series.
Use Case:
This script simplifies price action by grouping similar candles together, making it easier to identify trends and spot periods of sustained buying or selling pressure. It can help traders focus on the overall direction of the market rather than being distracted by small fluctuations between individual candles.
Green/Red Candle Probability (EMA 7, SMA 20, SMA 200)### Strategy Explanation for Candle Probability Indicator
This script is designed to calculate the **probability of bullish (green) and bearish (red) candles** over a given analysis period. It leverages three key moving averages to identify market trends and display these probabilities directly on the chart, making it easier for traders to make informed decisions.
#### **How the Script Works:**
1. **Trend Detection Using Moving Averages:**
- The script calculates three moving averages:
- **EMA (Exponential Moving Average) over 7 periods**
- **SMA (Simple Moving Average) over 20 periods**
- **SMA over 200 periods**
The trend is classified as:
- **Bullish:** When EMA 7 > SMA 20 > SMA 200
- **Bearish:** When EMA 7 < SMA 20 < SMA 200
2. **Candle Analysis:**
The script analyzes the last "n" candles (based on the user-defined lookback period) to count the number of bullish and bearish candles:
- **Bullish (green) candle:** The closing price is higher than the opening price.
- **Bearish (red) candle:** The closing price is lower than the opening price.
3. **Probability Calculation:**
The probabilities are calculated as a percentage of bullish and bearish candles in the lookback period:
- **Green Probability (%) = (Number of Green Candles / Lookback Period) × 100**
- **Red Probability (%) = (Number of Red Candles / Lookback Period) × 100**
4. **Displaying Results in a Table:**
The results are displayed in a table on the chart, including:
- **Green Probability (%)**
- **Red Probability (%)**
- **Current Trend (Bullish, Bearish, or Neutral)**
#### **Strategy Overview:**
This indicator provides traders with a quick overview of the candle probabilities and the current market trend based on moving averages. It helps traders:
- Gauge the likelihood of bullish or bearish candles appearing in the near future.
- Identify the prevailing trend (bullish, bearish, or neutral).
- Adjust their trading strategies based on statistical probabilities rather than assumptions.
### **Important Notes:**
- The lookback period can be customized between **10 and 200 periods**.
- The indicator does not provide buy/sell signals but gives insights into market behavior.
By understanding the candle probabilities and the trend, traders can better assess market conditions and improve their decision-making process.
Good Candles with Risk TableThis custom Pine Script indicator highlights bullish and bearish candles based on the highest and lowest close prices over the past specified number of candles (look-back period).
Bullish candles are marked with an orange color when the close is higher than the highest close from the previous candle.
Bearish candles are marked with a purple color when the close is lower than the lowest close from the previous candle.
The indicator also draws two lines for each colored candle:
Midline: A horizontal line drawn at the midpoint between the open and close of the candle, which helps visualize the candle's body.
Open line: A horizontal line drawn at the open price, offering an additional reference point for market action.
Lines are visible for the last 5 colored candles (either bullish or bearish), with old lines being removed to avoid clutter on the chart.
Additionally, the Risk Table at the top right of the chart shows the calculated units to buy for the specified risk amount (default value of $0.1), based on the distance between the candle’s close and its midpoint. This allows users to manage their risk effectively by knowing how many units they should purchase to match their desired risk level.
Extended Engulfing CandleExtended Engulfing Candle Pattern Indicator
This indicator advances the standard engulfing candle pattern, capturing more reliable trend reversal signals in the market. Traditional engulfing candle patterns often lead to premature judgments of trend reversals, but the Extended Engulfing Indicator considers consecutive rising or falling candles to pinpoint more conservative trend reversal points.
Features:
Detection of Consecutive Rising/Falling Candles:
This indicator detects the occurrence of consecutive rising or falling candles, considering them when identifying extended engulfing candles. This creates a more potent reversal signal compared to single candle patterns.
Visual Display:
“U” and “D” labels are displayed at the top and bottom of the chart, clearly showing users the rising and falling engulfing patterns.
It only displays a label once, until a pattern in the opposite direction is shown.
Enhanced Accuracy:
By using the information from consecutive candles, the indicator captures trend reversals more conservatively and accurately. This reduces the number of false signals compared to traditional engulfing candle patterns.
How to Use:
When a rising engulfing candle pattern is displayed, it signifies the start of a potential upward trend. Conversely, when a falling engulfing candle pattern appears, it implies the beginning of a potential downward trend.
Caution:
Trading solely with this indicator has its limitations; hence users should cautiously integrate it with their trading strategies. Not all rising and falling engulfing patterns signify trend reversals.
Conclusion:
The Extended Engulfing Candle Pattern Indicator assists in identifying more reliable trend reversal points compared to the traditional engulfing candle patterns. By identifying the high and low points of consecutive candles, it minimizes false signals and helps traders make more accurate judgments on market movements.
확장 장악형 캔들 패턴 인디케이터
이 인디케이터는 표준 장악형 캔들 패턴을 발전시켜, 마켓에서 더 확실한 트렌드 전환 시그널을 포착합니다. 기존의 장악형 캔들 패턴은 종종 너무 이른 트렌드 전환 판단을 내리지만, 확장 장악형 인디케이터는 연속적인 상승 혹은 하락 캔들을 고려하여 더 보수적인 트렌드 전환점을 포착합니다.
특징:
연속 상승/하락 캔들 감지:
이 인디케이터는 연속적인 상승 또는 하락 캔들의 발생을 감지하여, 확장 장악형 캔들이 나타날 때 이를 고려합니다.
이는 단일 캔들 패턴보다 더 강력한 전환 시그널을 생성합니다.
시각적 표시:
차트의 상단과 하단에 “U”와 “D” 라벨을 표시하여, 사용자에게 상승 장악형 및 하락 장악형 패턴을 명확하게 보여줍니다.
반대 방향의 패턴이 나타날 때까지 라벨은 한 번만 표시됩니다.
개선된 정확도:
연속적인 캔들의 정보를 사용함으로써, 트렌드의 전환을 보다 보수적이고 정확하게 포착합니다.
이로 인해 기존의 장악형 캔들 패턴 대비 거짓 신호의 수가 줄어듭니다.
사용 방법:
상승 장악형 캔들 패턴이 표시되면, 이는 잠재적인 상승 트렌드의 시작을 나타냅니다.
반대로, 하락 장악형 캔들 패턴이 나타나면, 이는 잠재적인 하락 트렌드의 시작을 의미합니다.
주의사항:
이 지표만을 이용한 트레이딩에는 한계가 있을 수 있으므로 사용자는 본인의 트레이딩 전략과 결합하여 조심스럽게 사용해야 합니다. 모든 상승, 하락 장악형 패턴이 트렌드의 전환을 의미하지 않습니다.
결론:
확장 장악형 캔들 패턴 인디케이터는 기존의 장악형 캔들 패턴보다 더욱 신뢰할 수 있는 트렌드 전환 포인트를 식별할 수 있게 도와줍니다. 연속적인 캔들의 고점 및 저점을 식별함으로써 거짓 신호를 최소화하고, 트레이더들이 마켓의 움직임에 대해 보다 정확한 판단을 내릴 수 있게 합니다.