Open-Close PercentageThis indicator will help you to find the body percentage (open close) of the entire candlestick length
Candlestick analysis
Volume-Based Reversal and Breakout [The_lurker]Indicator Overview:
The "Volume-Based Reversal and Breakout Indicator" is designed for use on the TradingView platform. Its primary function is to identify potential reversal candles using volume and price criteria and to mark significant breakout points. This tool is particularly valuable for traders who incorporate reversal patterns and volume analysis in their trading strategies.
Detailed Functionality:
Customizable Label Color:
Traders can choose the color of the labels that mark breakout points, allowing for personalization and better visibility on different chart backgrounds.
Volume Multiplier Input:
Users can set a 'Volume Multiplier' to define what constitutes significant trading volume. This multiplier is used to compare the current candle's volume with that of the previous candle. A higher volume on the current candle, as defined by this multiplier, is indicative of a significant trading activity.
Reversal Candle Criteria:
The script identifies a candle as a reversal candle if it meets the following conditions:
The closing price of the candle is lower than its opening price, indicating a bearish sentiment.
The trading volume of the candle is greater than the product of the previous candle's volume and the user-set volume multiplier. This implies increased trading activity during the formation of this candle.
The length of the candle's lower tail is greater than its body, suggesting a rejection of lower prices and potential bullish sentiment building up.
Breakout Identification and Marking:
Upon detecting a reversal candle, the indicator draws lines at the high and low of this candle.
These lines represent potential breakout levels. A breakout is confirmed if the price crosses above the high (indicating a bullish breakout) or below the low (indicating a bearish breakout) of the reversal candle.
When a breakout occurs, the indicator places an arrow marker at the breakout point. The direction of the arrow (upwards or downwards) and its color (customizable by the user) indicate the nature of the breakout.
Breakout Alerts:
The indicator includes an alert condition that notifies traders when a breakout occurs. This feature helps traders to quickly react to potential trading opportunities.
Practical Application:
The indicator is best used in markets with distinct volume patterns, as volume is a key component of its analysis.
It can be combined with other technical analysis tools, such as trend lines or moving averages, for additional confirmation of trading signals.
Traders should consider adjusting the volume multiplier based on the typical volume characteristics of the specific asset they are analyzing.
Conclusion:
This "Volume-Based Reversal and Breakout Indicator" is a robust tool that aids traders in identifying potential reversals and breakouts with an emphasis on volume analysis. It's customizable and alert-enabled features make it a versatile addition to a trader's toolkit, suitable for various trading styles and market conditions.
Disclaimer:
This indicator is provided "as is" without any warranties, either express or implied. The information and data contained within this indicator do not constitute investment advice or a recommendation to buy or sell any security. Users assume full responsibility for any trading decisions made based on the use of this indicator.
Past performance of indicators does not guarantee future results. Investing in financial markets involves risks, including the potential loss of capital. It is strongly advised to consult with a qualified financial advisor before making any investment decisions.
The development of this indicator does not constitute an endorsement or recommendation by TradingView or any other entity. All trademarks and trade names mentioned herein are the property of their respective owners.
SRC Helper IndicatorsShows closest support / resistance level from current price and distance in pips.
Candle Color By OHLC ComparisonThis indicator is designed to help you recognize the price movements within a candle/bar more quickly and easily. Typically, candle coloring is based on the opening and closing prices, but in this indicator, I followed the OHLC values in reverse order: starting with closing, low, high, and then opening. Each of these is compared with the value in the previous candle. I assigned the least importance to the opening, hence did not include it in the color determination. To make the colors memorable, I used a rainbow-like color scale; with purple representing the highest value and maroon the lowest. You can also change the colors if you wish. Additionally, if you want to set alarms, I assigned values to the candles; the highest being 16 and the lowest 1. A thicker barchart provides a better visual representation.
For instance, consider the monthly chart of the NASDAQ 100. After a prolonged positive trend, when our indicator shows a negative maroon bar (representing a low value) for the first time, it could signal a change in the trend direction. In this scenario, the appearance of the maroon bar serves as a crucial alert for investors to review their current positions or prepare for a potential downtrend. This indicator provides users with a significant advantage in identifying such critical turning points and assists them in quickly adapting to market dynamics.
Premium Index Change with MAPremium Index // Capture close price difference with given ticker (ex. BITFINEX:BTCUSD - BINANCE:BTCUSDT)
Market Structure - Multi-TimeframePivot based channels for 8 individual time-frames. This can be used to identify the support and resistance level for different time-frames. Recommended is 1min as timeframe for the candles sticks. The direction for every pivot-channel is marked in green for bullish and red vor bearish. There exists alerts for Choch and BoS for every timeframe.
Centered Buy and Sell Volume Indicator with FillThis indicator provides an estimation of buy and sell volumes in the market. The estimated buy volume is represented by a blue-green color, while the estimated sell volume is depicted in purple. Both of these are highlighted with a solid fill. Additionally, the Rate of Change for the buy volume is shown in a solid green line, and for the sell volume, it's illustrated with a solid purple line, both without any fill.
Rotation Factor for TPO and OHLC (Plot)The Rotation Factor objectively measures attempted market direction(or market sentiment) for a given period. It records the cumulative directional attempts of auction rotations within a given period, thus, helping traders determine which way the market is trying to go and which market participant is exerting greater control or influence.
Theory
The premise is that a greater number of bars auctioning higher contrasted to bars auctioning lower indicates that buyers are exerting greater control over price within the given period(usually daily). In this case, the market is attempting to go higher (Market is Bullish). The same is true for a greater number of bars auctioning lower than higher, which, in this case, indicates that the sellers are exerting greater control over price within the given period and that the market is attempting to go lower (Market is Bearish).
Calculation
Each bar is individually measured in relation to the immediate previous bar, and calculations are reset at the beginning of each period.
For every bar, two variables are utilised: One for the highs and another for the lows. During bar start, these variables are initiated at 0.
As the period progresses, these variables are set accordingly: If the high of the current bar is higher than that of the previous bar, then the bar's highs variable is assigned a "+1". If the opposite is true, it is given a "-1". Finally, if both bar highs are equal, it is, instead, assigned a "0". The same is true for the lows: if the low of the current bar is higher than that of the previous low, then the bar's lows variable is assigned a "+1". Similarly, the opposite is given a "-1", while equal lows causes it to be assigned a "0". All highs and lows are then summed together resulting to a total, which becomes the Rotational Factor.
Presentation
Furthermore, this Rotation Factor Indicator is presented as a plot, which, unlike its classic variation, shows you how the rotation factor is developing. It also includes lines indicating the Top Rotation Factor and the Bottom Rotation Factor individually, the better to observe the developing auction.
Link to the Classic Variation:
Features
1. Customisable Tick Size/Granularity : The calculation tick size/ granularity is customisable which can be accessed through the indicator settings.
2. Customisable Labels and Lines : The colour and sizes used by the labels and lines are customisable the better for accessibility.
3. Period Separator : A separator is rendered to represent period borders (start and end). If separators are already present on your chart, you can remove them from the indicator settings.
4. Individual Top Rotation Factor and Bottom Rotation Factor plots : These two parts which becomes of the Rotation Factor are also presented individually, on their own plots, the better to observe the developing auction.
Works for both split Market Profile(TPO) charts and regular OHLC bars/candle charts
The Rotation Factor is usually used with a Split Market Profile (TPO). However, if no such tool is available, you will still be able to benefit from the Rotation Factor as the price ranges of Split Market Profiles and OHLC bars/candles are one and the same. In such cases, it is recommended that you set your chart to use a 30 minute timeframe and the indicator's period to "daily" to simulate a Split Market Profile.
Note :
The Rotation Factor is, to quote, "by no means not an all-conclusive indication of future market direction.". It only helps determine which way the market is trying to go by objectively measuring the market's directional attempts.
Pin Bar, Inside Bars and Engulfing Candle SticksIntroducing the Candlestick Pattern Plotter, a comprehensive TradingView indicator designed to elevate your technical analysis by automatically identifying and plotting three essential candlestick patterns – Pin Bars, Engulfing Candles, and Inside Bars. This powerful tool equips traders with a holistic view of market dynamics, enabling them to make informed decisions based on key price action signals.
Pin Bar Identification:
The indicator adeptly recognizes Pin Bars, a pivotal candlestick pattern characterized by a small body and a long wick in the opposite direction of the prevailing trend.
Pin Bars are instrumental in signaling potential trend reversals or continuations, providing crucial insights for strategic decision-making.
Engulfing Candle Detection:
Identify Engulfing Candles effortlessly with this indicator, showcasing instances where the body of one candle fully engulfs the body of the previous candle.
Engulfing Candles serve as powerful reversal indicators, offering valuable insights into shifts in market sentiment and potential trend reversals.
Inside Bar Recognition:
The indicator goes beyond traditional patterns by identifying Inside Bars, where the range of a candle is entirely within the previous candle's high and low.
Inside Bars often signify consolidation or a period of indecision in the market, providing traders with crucial information about potential breakouts or reversals.
Seamlessly integrate the Candlestick Pattern Plotter into your TradingView chart, enjoying a user-friendly interface for swift interpretation of candlestick patterns.
Toggle the display of Pin Bars, Engulfing Candles, and Inside Bars on and off with ease, allowing you to focus on the specific patterns most relevant to your analysis.
Real-Time Alerts:
Stay ahead of the market with real-time alerts that notify you when a Pin Bar, Engulfing Candle, or Inside Bar is identified on the chart.
Timely notifications keep you informed, ensuring you never miss a potential trading opportunity based on these crucial candlestick patterns.
Enhance your trading strategy with the precision of Pin Bars, Engulfing Candles, and Inside Bars, seamlessly integrated into your analysis through the Candlestick Pattern Plotter. Gain a comprehensive understanding of market movements and make well-informed decisions in real-time.
Fake BreakoutThis indicator detect fake breakout on previous day high/low and option previous swing high and low
Rule Detect Fake Breakout On Previous Day High/Low Or Swing high low Fake Breakout -
1) Detect previous day high/low or swing high/low
2)
A) If price revisit on previous day high/swing high look for upside breakout after input
number of candle (1-5) price came back to previous high and breakout happen downside
it show sell because its fake breakout of previous day high or swing high
B) If price revisit on previous day low/swing low look for downside breakout after input
number of candle (1-5) price came back to previous low and breakout upside of previous
day low it show Buy because its fake breakout of previous day low or swing low
Disclaimer -Traders can use this script as a starting point for further customization or as a reference for developing their own trading strategies. It's important to note that past performance is not indicative of future results, and thorough testing and validation are recommended before deploying any trading strategy.
Advanced Engulfing CandlesThere are a plenty of Engulfing candle detecting indicators but every single of them detect engulfing candles engulfed by only single candle but sometime it take more then one candle to engulf the previous opposite candle, which is also considered as engulfing candle.
So this script show both type of candles.
Type of Engulfing Candles
Normal Engulfing Candles
Candle engulfed by more then one continuous candle
I hope you will like it.
If you find any bugs or have any suggestions for any possible addition feel free to comment or DM me.
Swing IdentifierThe "Swing Identifier" is a custom Pine Script indicator designed for use in the TradingView platform. It serves to visually identify and mark swing highs and swing lows on a trading chart, which are key concepts in technical analysis. This script is comprehensive and customizable, making it a useful tool for traders looking to pinpoint potential trend reversals and support or resistance areas.
**Key Features of the 'Swing Identifier' Indicator:**
1. **Swing Range Input:**
- This input determines the number of bars to the left and right of the current bar that the script will examine to identify a swing high or low. A larger value will look for swings over a broader range, potentially identifying more significant swings but at the expense of sensitivity.
2. **Swing Strength Input:**
- The swing strength is set as a percentage and is used to filter out insignificant price movements. A swing high or low is only considered valid if the percentage change from the last swing is greater than this input value. This feature helps in avoiding false signals in sideways or less volatile markets.
3. **Use Wicks Option:**
- Users can choose whether to consider the wicks of the candles or just the closing prices in identifying swings. This feature adds flexibility, allowing the script to be tailored to different trading styles and strategies.
4. **Line Color Customization:**
- The color of the lines marking the swings can be customized, enhancing the visual appeal and readability of the chart.
**Operational Mechanics:**
1. **Identification of Swing Highs and Lows:**
- The script uses the `ta.pivothigh` and `ta.pivotlow` functions to identify swing highs and lows. Whether it uses the high/low of the candles or their closing prices is determined by the user's choice in the "Use Wicks" option.
2. **Drawing and Updating Lines:**
- When a new swing high or low is identified, and it meets the percentage change criteria from the previous swing, a line is drawn from the last swing low to the current high (or vice versa). If a new swing high (or low) is identified that is higher (or lower) than the previous one, the old line is deleted, and a new line is drawn.
3. **Swing Update Logic:**
- The script maintains a toggle mechanism to look alternatively for highs and lows. This ensures that it sequentially identifies a high and then a low (or vice versa), which aligns with how actual market swings behave.
**Usage in Trading:**
1. **Identifying Trend Reversals:**
- By marking swing highs and lows, the script helps traders identify potential trend reversals. A break of a swing low in an uptrend or a swing high in a downtrend could signal a change in the prevailing trend.
2. **Support and Resistance:**
- Swing highs and lows often act as levels of support and resistance. Traders can use these levels for setting entry or exit points, stop losses, and take profit orders.
3. **Customization for Strategy:**
- The customizable nature of the script allows traders to adjust the parameters according to their trading strategy, time frame, and asset volatility.
In summary, the "Swing Identifier" is a versatile and customizable tool that aids in visually identifying crucial price swing points, thereby assisting traders in making informed decisions based on technical analysis principles.
Fair Value Gap Absorption Indicator [LuxAlgo]The Fair Value Gap Absorption Indicator aims to detect fair value gap imbalances and tracks the mitigation status of the detected fair value gap by highlighting the mitigation level till a new fair value gap is detected.
The Fair Value Gap (FVG) is a widely utilized tool among price action traders to detect market inefficiencies or imbalances. These imbalances arise when buying or selling pressure is significant, resulting in a large upward or downward move, leaving behind an imbalance in the market.
🔶 USAGE
A fair value gap appears in a triple-candle pattern when there is a large candle whose previous candle’s high and subsequent candle’s low do not fully overlap the large candle. The space between these wicks is known as the fair value gap.
Price can come back to these imbalance areas and mitigate them, however, this is sometimes a process involving multiple bars, the displayed imbalances by the indicator allow tracking the current mitigation level of a displayed imbalance.
Fair value gaps can become a magnet for the price before continuing in the same direction. Traders commonly wait for the price to revert toward the fair value gap to clear out the imbalance before continuing to move toward the prevailing trend.
🔶 SETTINGS
🔹Fair Value Gaps
Fair Value Gap Width Filter: defines the filtering multiplier, please refer to the tooltip of the input option for further details.
Bullish, Imbalance and Mitigation: color customization option.
Bearish, Imbalance and Mitigation: color customization option.
Display Percentage of Mitigation: Display the percentage of the mitigation areas.
Historical Fair Value Gaps: toggles the visibility of the historical fair value gaps.
🔶 LIMITATIONS
Please note that filtering cannot be applied for the first 144 (atr fixed-length) candles since the atr value won't be present that is used for filtering.
🔶 RELATED SCRIPTS
Fair-Value-Gap
HTF-Fair-Value-Gap
Liquidity-Voids-FVG
MUJBOT - ADVANCED DAILY OPENTitle: MUJBOT - ADVANCED DAILY OPEN
Description:
The "MUJBOT - ADVANCED DAILY OPEN" is a versatile and user-friendly TradingView indicator designed to enhance daily trading strategies by highlighting the daily open price on the chart. This indicator is particularly useful for traders who focus on intraday price movements around the opening price of the trading day.
Key Features:
Daily Open Line: Visually represents the opening price of each trading day on the chart, providing a clear reference point for the day's initial market sentiment.
Dynamic Testing Counter: Keeps track of how many times the price tests or crosses the daily open level within the day. This feature offers insight into the significance and market reaction to the daily open price.
Customizable Display: Includes an option to show or hide the daily open line and the testing counter label. Traders can easily toggle the display according to their preference, keeping their charts uncluttered.
Real-Time Updates: The label and line are dynamically updated in real-time with each new price bar, ensuring traders have the most current information at their fingertips.
Simplicity and Efficiency: With a straightforward design, the indicator adds minimal complexity to the chart while providing valuable trading information.
Usage:
Intraday Trading: Ideal for intraday traders, the indicator helps in identifying how the current price is behaving relative to the opening price, which can be a crucial factor in decision-making.
Support and Resistance: The daily open can act as a natural support or resistance level. Monitoring how the price interacts with this level can provide insights into potential breakout or reversal opportunities.
Trend Analysis: Observing the frequency of the daily open price being tested can give clues about the day's trend strength and potential continuation or reversal.
Customization Options:
Toggle the visibility of the daily open line and label.
The line extends six bars ahead from the daily open for clear visibility.
The label displays the daily open price and the count of how many times it has been tested.
Conclusion:
The "MUJBOT - ADVANCED DAILY OPEN" indicator is a valuable tool for traders who emphasize the importance of the daily open in their trading strategy. Its simplicity, combined with real-time tracking features, makes it an essential addition to the trader's toolkit on TradingView.
Feel free to modify or add any additional details specific to your trading strategy or indicator functionality.
Cycles 90mThe cycles are separated by vertical lines. The first cycle (Q1) is marked with a red line because it is a manipulative cycle where you should not open positions. Other cycles are green (Q2, Q3, Q4).
You can add the time of the current candle, its size and position on the chart in the settings
The time is highlighted in red in the timeframes 9:30-9:40, 10:00-10:10, 11:00-11:30, 15:30-15:40, 16:00-16:10, 17:00-17:10, 17:30-17:40, as price movements are most often expected during these timeframes.
The cycle lines automatically disappear if you open a timeframe above M15
Sweep institutionalThis indicator focuses on identifying "SWEEPs" based on taking liquidity at highs and lows. The application of the SWEEP strategy is highly determinant in the Swing points, as they serve as the target of our operations.
ALERTS INCLUDED
🔹Example of Strategy Application
1.-Create the BULLISH SWEEP.
2.-You can enter LONG.
3.-If it is a BULLISH SWEEP, take a long with a SWING HIGH target (2-3 pips up).
4.-If it is a BULLISH SWEEP, place your SL behind the SWEEP (2-3 pips).
(This example is bullish, but it would be the same in a bearish setup, applying everything in the opposite way)
t's very crucial for the strategy to reference SWING POINTS, as these points will be our take profit and stop loss points.
The strategy is based on identifying a SWEEP. After this, we can look for trading opportunities with targets on the opposite side of the fractal. Remember, if you decide to enter, the Stop Loss should be placed protected by the Sweep, and the Take Profit should be set at the opposite Swing, as seen in the example.
Use this STRATEGY IN TIMEFRAMES GREATER THAN 30M. If you decide to use it in timeframes <30M, there's a higher probability of encountering false SWEEPs (the most optimal are 1h & 4h)
🔹Use
The Sweep strategy involves identifying potential trades based on the creation of a "SWEEP" (liquidity grab) at the Swing High or Swing Low. Below is an example of a bearish opportunity after taking liquidity from a Swing High with a wick and no candle body closing above it.
🔹Details
As you have seen, it indicates the surpassing of a high without the candle body, this is called a “SWEEP.” Each time this occurs, the price is likely to surpass the opposite SWING High/Low. The following example will show more clearly how it works in both bullish and bearish scenarios.
🔹Configuration
-Cooldown period: is the length of the operating Range line
-Swing detection: determines the points to be used as SL and TP protection
Bullish/Berish Sweep
-Line Width: size of the line
-Line Style: design type
-Color
Enhanced High Volume AbsorptionDescription of the "Enhanced High Volume Absorption" Indicator
The "Enhanced High Volume Absorption" indicator is a specialized trading tool designed for the TradingView platform, optimized for the 15-minute chart timeframe. It offers traders a unique approach to analyzing market momentum and strength by focusing on significant volume movements, which are often precursors to major price shifts.
What the Indicator Does:
High Volume Detection: This indicator identifies periods of high volume trading, which is a key indicator of strong market interest. High volume periods often precede significant price movements, making this an essential tool for anticipating market trends.
Volume Absorption Analysis: It analyzes the absorption of volume in the market. Absorption here refers to situations where the market is able to absorb trading volumes significantly higher than the average without a corresponding substantial change in price. This can be an indication of strong underlying market strength or weakness.
Price Movement Correlation: The script correlates volume spikes with price movements (upward or downward) to provide context to the volume absorption. This correlation helps determine whether the absorption is due to buying pressure (bullish indication) or selling pressure (bearish indication).
How It Does It:
Moving Average Comparisons: The script calculates short-term and long-term Simple Moving Averages (SMAs) of trading volumes. By comparing current volumes to these averages, it determines if the current volume is significantly higher than usual.
Volume Thresholds: It uses user-defined multipliers and minimum volume thresholds to filter significant volume events, ensuring that only notable volume spikes are considered.
Impact Analysis: Alongside volume analysis, the script computes the price change and its impact as a percentage of the current price, providing insights into the magnitude of price movements during these high-volume periods.
How to Use It:
Market Entry and Exit Points: The indicator can be used to spot potential entry and exit points. For example, a high volume absorption event with a minimal price change might indicate a strong support or resistance level.
Confirming Market Sentiment: It can be used in conjunction with other technical indicators to confirm market trends or reversals. High volume absorption aligned with other bullish or bearish indicators can provide a stronger case for a market move.
Scalping and Short-Term Trading: Optimized for the 15-minute timeframe, this indicator is particularly useful for scalpers and short-term traders. It helps in identifying quick market movements and can be a crucial part of a scalping strategy.
Originality and Underlying Concepts:
The originality of this indicator lies in its specific focus on volume absorption and its impact on price, especially tailored for short-term trading scenarios. Unlike many indicators that only analyze price movements or standard volume analysis, this script delves deeper into how the market is reacting to volume spikes, offering a nuanced view of market dynamics
that is often overlooked. The concept of volume absorption, coupled with the analysis of price movement direction, provides a unique perspective on market strength or weakness.
This tool is distinct in its approach as it doesn't just follow trends or provide generic scalping signals. Instead, it offers a methodical analysis of volume dynamics in relation to price action. By focusing on how the market absorbs volume, the indicator gives traders insights into whether current market movements are backed by substantial trading activity or if they are more likely to be short-lived.
Understanding volume absorption is crucial, especially in a 15-minute trading environment where market movements are swift and require quick decision-making. This indicator aids in identifying those moments when the market shows a significant reaction (or lack thereof) to large volumes, indicating potential setup for a strong move or reversal.
In summary, the "Enhanced High Volume Absorption" indicator is a valuable tool for traders who want to incorporate volume analysis into their trading strategy, especially in a fast-paced, short-term trading environment. It provides a deeper understanding of market dynamics, enabling traders to make more informed decisions based on the interplay between volume and price action.
ADX and DI (Colored Candles Open-Source)The "ADX and DI (Colored Candles Open-Source)" indicator is a technical analysis tool used in trading. It utilizes the Average Directional Index (ADX) and the Directional Movement Indicators (+DI and -DI) to assess the strength and direction of a price trend. The ADX is calculated based on a 14-period lookback and is displayed as a histogram.
The color of the ADX histogram varies depending on the ADX value and the relative positions of +DI and -DI. Green and purple colors represent bullish and bearish trends respectively, with variations in shades indicating trend strength. Yellow and red colors indicate potential trend exhaustion for bullish and bearish trends, respectively, when ADX is above 50. Gray color is used when ADX is below 10, indicating a neutral trend.
Additionally, the script plots +DI and -DI lines with a fill between them to visually represent their crossover. Horizontal dotted lines are drawn at key ADX levels (0, 10, 25, 50) for reference. The candles on the chart are also colored to match the ADX histogram, providing a clear visual representation of the market trend.
Dollar Volume Last 20 CandlesThe "Dollar Volume Last 20 Candles" indicator, abbreviated as "DV", is a practical and insightful tool for traders and analysts.
This indicator focuses on enhancing the visualization of trading data by calculating and displaying the dollar volume for each of the last 20 bars on a financial chart. It achieves this by multiplying the closing price of each bar with its trading volume, providing a clear dollar value of the trading activity.
The script also features an intuitive formatting system that simplifies large numbers into 'k' (thousands) and 'M' (millions), making the data easily digestible.
The dollar volume data is displayed directly above each bar, adjusted for visibility using the Average True Range (ATR), ensuring that it is both unobtrusive and readily accessible. This overlay feature integrates seamlessly with the existing chart, offering traders a quick and efficient way to assess monetary trading volume at a glance, which is particularly useful for identifying trends and market strength.
Candle Strength AnalysisView candles differently with this new indicator designed to simply visualise and analyse price movements on your chart!
The more vibrant the colour, the stronger the conviction of its respective candle.
This simple script calculates the closing price as a percentage within the candles high/low range. A colour/strength rating is then assigned to the candle based on where this close price sits within the range.
Strong coloured candles occur when the close is very close to a high or low.
User defined percentage and colour inputs allow for quick personalisation and flexibility.
An additional wick imbalance feature identifies when a candle has a larger wick than its body, which may be used to identify a ranging market or shift in trader sentiment.
For any questions, concerns, or requests, please reach out to me in the comments below.
- The Pine Guru
kou_diThe Simple Moving Average (SMA) is the most basic and widely used type of moving average. It’s calculated by taking the arithmetic mean of a given set of prices or data points over a specified period.
SMA = (P1 + P2 + ... + Pn) /n
Where
P1, P2, ... , Pn = prices of data points
n = number of periods
When a new SMA is calculated for a new candle stick, the oldest data point P1 is removed from the original data points (P1 + P2 + ... + Pn) and a new price Pn+1 is added to form a new SMA:
SMA_new = (P2 + ... + Pn + Pn+1) /n
If Pn+1 < P1, SMA line will become downward trend, or if Pn+1 > P1, SMA line will become upward trend. This logic help us predict the moving direction of SMA line which will form the prices trend in the future.
So it's important to highlight the "P1" candle stick for SMAs of different periods to help us predict the trend of SMA lines.
Since SMA5, SMA10, SMA20, SMA60, SMA120, SMA250 are the most popular SMAs, this indicator marks the "P1" candle stick for all of them by default, but you can optionally disable them.
该指标用于显示SMA5, SMA10, SMA20, SMA60, SMA120, SMA250 的扣抵位来监测均线拐点的出现
First CandleDay first candle breakout Indicator
In this indicator script, we search for the high and low of the first candle of the day. After the breakout of either the high or low, we initiate a trade. This indicator is based on the breakout of the opening range of the first candle.
Buy Breakout -
1. Identify the high and low of the first candle of the day.
2. If there is an upside breakout, or a downside breakout, stop extend the high and low accordingly.
Sell Breakout -
1. Identify the high and low of the first candle of the day.
2. If there is a downside breakout or an upside breakout, stop extend the high and low accordingly.
Qu_Trend+
composition
- Consists of a thick trend line and a thin yellow line.
- The largest (green/red) lines indicate rising and falling markets.
- This line represents the 13-candle moving average of Tilson T3.
- The reason for 13 candles is because it best matches the recent market price based on Bitcoin.
- This value cannot be changed, so if you need it, please modify the public code and use it.
- The yellow line is the MA20 line, the ‘Bollinger Band center line’
(UI will show whether this line has been breakout)
- The same algorithm as 20 of the basic moving average (close standard) is applied.
- The algorithm for breakthrough is calculated based on real-time prices, not based on closing prices.
An additional short-term SMA is created, and whether it crosses the SMA is classified as a breakout/resistance.
How to use it
- If the trend line becomes gentle, it may indicate a change in trend when + MA20 is broken.
- While the slope of the trend line is steep, it indicates that the trend is difficult to change.
(If the trend changes at this time, it is likely to move sideways)
- If the trend changes continuously, it is a sideways market.
At this time, watch out for the movement of the end point where the sideways trend ends.