Risk-Based Position Size ProRisk-Based Position Size Indicator
Overview:
The Risk-Based Position Size Indicator helps traders determine the appropriate position size for each trade based on their total capital and risk percentage. This indicator dynamically calculates position size using two different methods:
Wick Range (High - Low): Calculates position size based on the total range of the candlestick.
Candle Body (Close - Open): Calculates position size using only the body of the candlestick, ignoring wicks.
It provides a visual representation of position sizing as a histogram and adjusts dynamically based on price movement.
Key Features:
✅ Two Calculation Modes:
Wick Range (Red Bars) – Uses the entire candlestick range (High - Low).
Candle Body (Blue Bars) – Uses only the difference between Close and Open.
✅ Customizable Risk Settings:
Define Total Capital (default: $100,000).
Set Risk Percentage per trade (default: 1%).
✅ Automatic Position Sizing:
Adjusts position size dynamically for each candlestick.
Prevents division errors when the range is zero.
✅ Rounding Option:
Toggle rounding of position size for better readability.
✅ Clear Visual Representation:
Displayed as a histogram for easy interpretation.
Red bars for Wick Range, Blue bars for Candle Body calculations.
How to Use:
Add the indicator to your TradingView chart.
Set your Total Capital and Risk Percentage in the settings.
Choose a Calculation Method:
Wick Range: Uses High - Low for sizing.
Candle Body: Uses absolute difference of Close - Open.
If desired, enable Round Position Size for easier interpretation.
Observe the histogram bars to see the calculated position size for each candle.
This indicator is useful for risk management, ensuring that position sizes are aligned with account size and market volatility. 🚀
New Features & Fixes:
✅ User can select decimal precision (0 to 5 places) from the settings.
✅ If rounding is enabled, values are rounded based on the chosen precision.
✅ If rounding is disabled, original values are shown without forced rounding.
✅ Wick Range (Red) & Candle Body (Blue) are still plotted together.
Now, you have full control over how many decimal places to display! 🎯
在腳本中搜尋"Candlestick"
Candle Pattern ProbabilityThe "Candle Pattern Probability" indicator is a technical analysis tool designed specifically for traders who want to assess the probability of success for different candlestick patterns in the financial markets.
Japanese candlesticks, also known as candlesticks, provide valuable information about price action within a specific time period. These candlestick patterns can help identify potential trend reversals as well as signal entry and exit points in the market.
The "Candle Pattern Probability" indicator uses a data-driven approach to calculate the likelihood of a specific candlestick pattern resulting in a successful price movement. It operates on the premise that certain candlestick patterns tend to repeat and have a higher probability of leading to predictable market movements.
The indicator analyzes a wide variety of candlestick patterns such as the hammer, shooting star, bullish/bearish engulfing, doji, hanging man, among others. It employs specific statistics and algorithms to evaluate the frequency and effectiveness of these patterns in the past, thereby estimating the probability of their repetition in the future.
The indicator's output is visually presented as a percentage value or a color scale, facilitating interpretation by traders. The higher the percentage value or the more intensified the color, the greater the estimated probability of success for the analyzed candlestick pattern.
It is important to note that the "Candle Pattern Probability" indicator is a supplementary tool and should not be considered as a definitive signal for trading decisions. It is recommended to use it in conjunction with other technical indicators, fundamental analysis, and a sound understanding of the market before making trades.
Please remember that the analysis of candlestick patterns and the use of this indicator require practice, experience, and trading knowledge. It is always advisable to conduct additional testing and validation before basing decisions solely on the results provided by this indicator.
Three Outside Down automatic finding scriptHi
Let me introduce my Three Outside Down automatic finding script.
This is a three candlestick bearish reversal pattern consisting of a bearish
engulfing pattern formed by the first two candlesticks then followed by a down
candlestick with a lower close than the prior candlestick.
Three Outside Up automatic finding scriptHi
Let me introduce my Three Outside Up automatic finding script.
This is a three candlestick bullish reversal pattern consisting of a bullish
engulfing pattern formed by the first two candlesticks then followed by an up
candlestick with a higher close than the prior candlestick.
Three Inside Down automatic finding scriptHi
Let me introduce my Three Inside Down automatic finding script.
This is a three candlestick bearish reversal pattern consisting of a bearish
harami pattern formed by the first 2 candlesticks then followed by down
candlestick with a lower close than the prior candlestick.
This pattern marked as yellow.
Three Inside Up automatic finding scriptHi
Let me introduce my Three Inside Up automatic finding script.
This is a three candlestick bullish reversal pattern consisting of a
bullish harami pattern formed by the first 2 candlesticks then followed
by up candlestick with a higher close than the prior candlestick.
This pattern marked as yellow.
Green/Red Bar Count and Longest SequenceThis script counts the number of green and red candlesticks of a range you determine.
Default is from 1 to 120, which means the latest 120 candlesticks.
It also counts the most extended sequence of greens and reds.
CRT TBSThe CRT Candle Marker is a custom indicator designed to identify and highlight specific candlestick patterns on a chart. This indicator focuses on detecting candles where the body of the candlestick is larger than the combined size of its wicks (upper and lower). Such candles often indicate strong momentum in the market, making them valuable for traders who rely on price action analysis.
Features
Automatic Detection: The indicator automatically scans all candlesticks on the chart to identify CRT candles.
Visual Marking: Once a CRT candle is detected, it places a label with the text "CRT" above the candlestick for easy identification.
Customizable Design: The label is styled with a blue background and white text, ensuring it stands out clearly on the chart.
Use Case
The CRT Candle Marker is particularly useful for traders who:
Want to identify strong momentum candles that could signal potential trend continuation or reversal points.
Rely on price action strategies and need visual cues to spot significant patterns quickly.
Analyze candlestick behavior to confirm entry or exit points in their trading strategies.
How to Use
Copy the Pine Script code and paste it into the Pine Editor in TradingView.
Click Add to Chart to apply the indicator.
Look for candles marked with the "CRT" label to identify strong momentum candles.
Example Scenario
Imagine you're analyzing a chart and looking for strong bullish momentum. With the CRT Candle Marker, you can easily spot candles where the buyers dominated the session, as indicated by a large body relative to the wicks. Similarly, bearish CRT candles could indicate strong selling pressure.
Conclusion
The CRT Candle Marker is a simple yet powerful tool for traders who want to enhance their candlestick analysis. By highlighting significant momentum candles, this indicator helps traders make more informed decisions and improve their overall trading performance.
Wick to Candle Ratio with Multiple ColorsThe display in question likely provides visual representations or data related to the concept of the dot-based wick-to-body ratio. This ratio is a term often used in financial markets, particularly in the context of candlestick charts.
In candlestick charts, each candlestick represents a specific time period (such as a minute, hour, day, etc.) and provides four pieces of price data: the opening price, closing price, highest price, and lowest price of an asset within that timeframe. The "body" of the candlestick is the area between the opening and closing prices, while the "wicks" (or shadows) are the lines extending from the body, representing the highest and lowest prices during the period.
The dot-based wick-to-body ratio refers to a method of quantifying the relative lengths of the wicks compared to the body using dots or points. In this context, a display illustrating this ratio might show different candlesticks with highlighted dots representing the ratio between the length of the wick and the body. A higher ratio could indicate more volatility in price movements during that timeframe, while a lower ratio might suggest comparatively stable price action.
Bar Bodies [vnhilton]Note: Go to "Chart Settings" & hide "Body" & "Borders". Also uncheck "Labels on price scale" & "Values in status line" as they're not needed.
This script plots candlestick bodies with the same thickness as the wicks (similar to the bar chart, but without the horizontal lines to represent the open & close). To do this, it plots an invisible candlestick body with an invisible candlestick border from the high to the close/open for a green/red candle respectively, & uses the low wick as the candlestick body itself by plotting it from the low price to the open/close for a green/red candle respectively.
My personal use for this script is to use it in conjunction with TradingView's Periodic Volume Profile, in order to still see OHLC data without obstructing the candlesticks' volume profiles, as seen in the chart snapshot image above.
Day of the Week LabelOverview:
The "Day of the Week Label Indicator" is a simple yet powerful tool designed for traders and analysts who use TradingView for chart analysis. This indicator adds a clear visual cue to your charts by displaying the first letter of each day of the week directly above the corresponding candlestick. With this indicator, you can easily identify the day of the week at a glance without cluttering your chart.
Key Features:
Day Identification: Marks each candle with the first letter of the corresponding day of the week (e.g., "M" for Monday, "T" for Tuesday, and so on), providing immediate day recognition.
Color-Coded Labels: Each day is color-coded for better visibility and quick identification. Sundays and Saturdays are distinguished from the trading week, making it easier to spot the beginning and end of the trading week.
Overlay Design: As an overlay, this indicator seamlessly integrates with your existing chart setup, enhancing your analysis without interfering with other technical indicators or chart elements.
Benefits:
Enhanced Chart Analysis: Quickly discern patterns or trends that may be specific to certain days of the week, aiding in the refinement of trading strategies.
Time Management: Helps in planning trading activities or analysis by visually highlighting the days directly on the chart.
User-Friendly: Simple and non-intrusive, this indicator is designed to complement your chart without overwhelming it with information.
How to Use:
Simply add the "Day of the Week Label Indicator" to your chart, and the first letter of each day will automatically appear above the corresponding candlestick. No additional configuration is required, making it suitable for both novice and experienced traders.
Whether you're conducting a detailed market analysis, looking for day-specific patterns, or simply want a clearer visual representation of the time on your charts, this indicator is an essential addition to your TradingView toolkit.
CandlestickUtilitiesThis library provides essential functions for candlestick chart analysis and pattern recognition in Pine Script®.
It includes:
• Candle structure analysis (bodies, shadows, lengths)
• Trend detection using EMAs
• Common candlestick pattern recognition
This library is under construction.
Designed to support strategy development and improve signal accuracy for traders.
Created by @xprophetx — under MPL-2.0 license.
Ohana_Wick_EntryIndicator will change color depending if a wick comprises of less than 35% of the candlestick.
Strategy involves taking trades on stops above a green signal (<35% wick) to a target of the size of the candle body (expressed as the value in the indicator)
OrderFlow Sentiment SwiftEdgeOrderFlow Sentiment SwiftEdge
Overview
OrderFlow Sentiment SwiftEdge is a visual indicator designed to help traders analyze market dynamics through a simulated orderbook and market sentiment display. It breaks down the current candlestick into 10 price bins, estimating buy and sell volumes, and presents this data in an orderbook table alongside a sentiment row showing the buy vs. sell bias. This tool provides a quick and intuitive way to assess orderflow activity and market sentiment directly on your chart.
How It Works
The indicator consists of two main components: an Orderbook Table and a Market Sentiment Row.
Orderbook Table:
Simulates buy and sell volumes for the current candlestick by distributing total volume into 10 price bins based on price movement and proximity to open/close levels.
Displays the price bins in a table with columns for Price, Buy Volume, and Sell Volume, sorted from highest to lowest price.
Highlights the current price level in orange for easy identification, while buy and sell dominance is indicated with green (buy) or red (sell) backgrounds.
Market Sentiment Row:
Calculates the overall buy and sell sentiment (as a percentage) for the current candlestick based on the simulated orderflow data.
Displays the sentiment above the orderbook table, with the background colored green if buyers dominate or red if sellers dominate.
Features
Customizable Colors: Choose colors for buy (default: green), sell (default: red), and current price (default: orange) levels.
Lot Scaling Factor: Adjust the volume scaling factor (default: 0.1 lots per volume unit) to simulate realistic lot sizes.
Table Position: Select the table position on the chart (Top, Middle, or Bottom; default: Middle).
Default Properties
Positive Color: Green
Negative Color: Red
Current Price Color: Orange
Lot Scaling Factor: 0.1
Table Position: Middle
Usage
This indicator is ideal for traders who want to visualize orderflow dynamics and market sentiment in real-time. The orderbook table provides a snapshot of buy and sell activity at different price levels within the current candlestick, helping you identify areas of high buying or selling pressure. The sentiment row offers a quick overview of market bias, allowing you to gauge whether buyers or sellers are currently dominating. Use this information to complement your trading decisions, such as identifying potential breakout levels or confirming trend direction.
Limitations
This indicator simulates orderflow data based on candlestick price movement and volume, as TradingView does not provide tick-by-tick data. The volume distribution is an approximation and should be used as a visual aid rather than a definitive measure of market activity.
The indicator operates on the chart's current timeframe and does not incorporate higher timeframe data.
The simulated volumes are scaled using a user-defined lot scaling factor, which may not reflect actual market lot sizes.
Disclaimer
This indicator is for informational purposes only and does not guarantee trading results. Always conduct your own analysis and manage risk appropriately. The simulated orderflow data is an estimation and may not reflect real market conditions.
Arrow-SimplyTrade vol1.5-FinalTitle: Arrow-SimplyTrade vol1.5-Final
Description:
This advanced trading indicator is designed to assist traders in analyzing market trends and identifying optimal entry signals. It combines several popular technical analysis tools and strategies, including EMA (Exponential Moving Average), MA (Simple Moving Averages), Bollinger Bands, and candlestick patterns. This indicator provides both trend-following and counter-trend signals, making it suitable for various trading styles, such as scalping and swing trading.
Main Features:
EMA (Exponential Moving Average):
EMA200 is the main trend line that helps determine the overall market direction. When the price is above EMA200, the trend is considered bullish, and when the price is below EMA200, the trend is considered bearish.
It helps filter out signals that go against the prevailing market trend.
Simple Moving Averages (MA5 and MA15):
This indicator uses two Simple Moving Averages: MA5 (Fast) and MA15 (Slow). Their crossovers create buy or sell signals:
Buy Signal: When MA5 crosses above MA15, signaling a potential upward trend.
Sell Signal: When MA5 crosses below MA15, signaling a potential downward trend.
Bollinger Bands:
Bollinger Bands measure market volatility and can identify periods of overbought or oversold conditions. The Upper and Lower Bands help detect potential breakout points, while the Middle Line (Basis) serves as dynamic support or resistance.
This tool is particularly useful for identifying volatile conditions and potential reversals.
Arrows:
The indicator plots arrows on the chart to signal entry opportunities:
Green Arrows signal buy opportunities (when MA5 crosses above MA15 and price is above EMA200).
Red Arrows signal sell opportunities (when MA5 crosses below MA15 and price is below EMA200).
Opposite Arrows: Optionally, the indicator can also display arrows for counter-trend signals, triggered by MA5 and MA15 crossovers, regardless of the price's position relative to EMA200.
Candlestick Patterns:
The indicator detects popular candlestick patterns such as Bullish Engulfing, Bearish Engulfing, Hammer, and Doji.
These patterns are important for confirming entry points or anticipating trend reversals.
How to Use:
EMA200: The main trend line. If the price is above EMA200, consider long positions. If the price is below EMA200, consider short positions.
MA5 and MA15: Short-term trend indicators. The crossover of these averages generates buy or sell signals.
Bollinger Bands: Use these bands to spot overbought/oversold conditions. Breakouts from the bands may signal potential entry points.
Arrows: Green arrows represent buy signals, and red arrows represent sell signals. Opposite direction arrows can be used for counter-trend strategies.
Candlestick Patterns: Patterns like Bullish Engulfing or Doji can help confirm the signals.
Customizable Settings:
Fully customizable colors, line styles, and display settings for EMA, MAs, Bollinger Bands, and arrows.
The Candlestick Patterns feature can be toggled on or off based on user preference.
Important Notes:
This indicator is intended to be used in conjunction with other analysis tools.
Past performance does not guarantee future results.
Polish:
Tytuł: Arrow-SimplyTrade vol1.5-Final
Opis:
Ten zaawansowany wskaźnik handlowy jest zaprojektowany, aby pomóc traderom w analizie trendów rynkowych oraz identyfikowaniu optymalnych sygnałów wejścia. Łączy w sobie kilka popularnych narzędzi analizy technicznej i strategii, w tym EMA (Wykładnicza Średnia Ruchoma), MA (Prosta Średnia Ruchoma), Bollinger Bands oraz formacje świecowe. Wskaźnik generuje zarówno sygnały podążające za trendem, jak i przeciwnym trendowi, co sprawia, że jest odpowiedni do różnych stylów handlu, takich jak scalping oraz swing trading.
Główne Funkcje:
EMA (Wykładnicza Średnia Ruchoma):
EMA200 to główna linia trendu, która pomaga określić ogólny kierunek rynku. Gdy cena znajduje się powyżej EMA200, trend jest uznawany za wzrostowy, a gdy poniżej EMA200, za spadkowy.
Pomaga to filtrować sygnały, które są niezgodne z głównym trendem rynkowym.
Proste Średnie Ruchome (MA5 i MA15):
Wskaźnik używa dwóch Prostych Średnich Ruchomych: MA5 (szybka) oraz MA15 (wolna). Ich przecięcia generują sygnały kupna lub sprzedaży:
Sygnał Kupna: Kiedy MA5 przecina MA15 od dołu, sygnalizując potencjalny wzrost.
Sygnał Sprzedaży: Kiedy MA5 przecina MA15 od góry, sygnalizując potencjalny spadek.
Bollinger Bands:
Bollinger Bands mierzą zmienność rynku i mogą pomóc w identyfikowaniu okresów wykupienia lub wyprzedania rynku. Górna i dolna linia pomagają wykrywać punkty wybicia, a Środkowa Linia (Basis) działa jako dynamiczny poziom wsparcia lub oporu.
Narzędzie to jest szczególnie przydatne w wykrywaniu warunków zmienności i potencjalnych odwróceń trendu.
Strzałki:
Wskaźnik wyświetla strzałki na wykresie, które wskazują sygnały kupna i sprzedaży:
Zielona strzałka wskazuje sygnał kupna (gdy MA5 przecina MA15 i cena jest powyżej EMA200).
Czerwona strzałka wskazuje sygnał sprzedaży (gdy MA5 przecina MA15 i cena jest poniżej EMA200).
Strzałki w przeciwnym kierunku: Opcjonalna funkcja, która pokazuje strzałki w przeciwnym kierunku, uruchamiane przez przecięcia MA5 i MA15, niezależnie od pozycji ceny względem EMA200.
Formacje Świecowe:
Wskaźnik wykrywa popularne formacje świecowe, takie jak Bullish Engulfing, Bearish Engulfing, Hammer oraz Doji.
Formacje te pomagają traderom potwierdzić punkty wejścia i przewidzieć możliwe odwrócenia trendu.
Jak Używać:
EMA200: Główna linia trendu. Jeśli cena jest powyżej EMA200, rozważaj pozycje długie. Jeśli cena jest poniżej EMA200, rozważaj pozycje krótkie.
MA5 i MA15: Śledzą krótkoterminowe zmiany trendu. Przecięcia tych średnich generują sygnały kupna lub sprzedaży.
Bollinger Bands: Używaj tych pasm do wykrywania wykupionych lub wyprzedanych warunków. Wybicia z pasm mogą wskazywać potencjalne punkty wejścia.
Strzałki: Zielona strzałka wskazuje sygnał kupna, a czerwona strzałka sygnał sprzedaży. Strzałki w przeciwnym kierunku mogą być używane do strategii przeciwtrendowych.
Formacje Świecowe: Formacje takie jak Bullish Engulfing czy Doji mogą pomóc w potwierdzaniu sygnałów.
Ustawienia Personalizacji:
W pełni personalizowalne kolory, style linii i ustawienia wyświetlania dla EMA, MAs, Bollinger Bands oraz strzałek.
Funkcja Formacji Świecowych może być włączana lub wyłączana według preferencji użytkownika.
Ważne Uwagi:
Ten wskaźnik powinien być używany w połączeniu z innymi narzędziami analizy rynku.
Wyniki z przeszłości nie gwarantują wyników w przyszłości.
Sell Signals EMA+SMAIndicator Overview:
This indicator identifies sell signals based on candlestick patterns, volume conditions, and moving average confirmations. It also plots support and resistance levels based on pivot highs and pivot lows. You can configure different settings like pivot lengths, moving average periods, and candlestick pattern conditions for the sell signals.
Configurable Settings:
Pivot High Length: Defines the number of bars used to calculate the resistance levels (pivot highs).
Pivot Low Length: Defines the number of bars used to calculate the support levels (pivot lows).
Volume SMA Length: The period of the simple moving average (SMA) for volume. Used to filter signals based on high volume.
Close SMA Length: The period of the simple moving average (SMA) for the close price. Used for confirmation of sell signals.
Pin Bar High Ratio: The ratio for defining the size of the upper wick in a bearish pin bar.
Pin Bar Low Ratio: The ratio for defining the size of the lower wick in a bearish pin bar.
How It Works:
Support and Resistance:
The indicator plots red lines for resistance (pivot highs) and green lines for support (pivot lows).
These levels are updated as new pivot points are detected based on the configured pivot lengths.
Sell Signal Conditions:
Candlestick Patterns: The indicator checks for two bearish patterns:
Bearish Pin Bar: A candle with a large upper wick and small lower wick where the close is below the open.
Bearish Engulfing: A candle where the current close is lower than the previous low, and the current open is higher than the previous high.
Volume Condition: The volume must be above the configured simple moving average (SMA) of the volume.
Confirmation: A sell signal is confirmed only when the price crosses below the configured SMA for the close price.
Sell Signals:
If all the conditions (candlestick pattern, volume, and confirmation) are met, the indicator will plot a red "Sell" label above the candle.
Additionally, a blue triangle will appear above the candle to indicate that the sell signal has been confirmed.
How to Use:
Adjust the Settings:
Open the settings of the indicator and adjust the parameters like pivot lengths, moving average periods, and candlestick pattern ratios based on your preferences.
Identify Key Levels:
Watch the red resistance and green support lines to identify key levels where price may reverse.
Look for Sell Signals:
When a red "Sell" label appears, it indicates a possible sell opportunity.
Ensure that a blue triangle (confirmation) also appears to validate the sell signal.
Manage Risk:
Use the support and resistance levels along with the sell signals to define your entry, stop-loss, and take-profit levels.
This indicator helps you identify potential bearish reversal points with configurable settings for added flexibility.
TDP 2Title: Enhanced Candlestick Pattern Identifier with Body Ratio Analysis
Description:
This Pine Script, titled "Enhanced Candlestick Pattern Identifier with Body Ratio Analysis," is designed to aid traders in visualizing key candlestick formations that have significant implications for trend reversals and continuations. It uses the body ratio of candles to identify strong directional movements, enhancing decision-making processes in trading strategies.
Key Features:
Body Ratio Calculation: The script calculates the body ratio of each candle, which is the proportion of the candle's body to its total range. This helps in distinguishing between candles that show decisive market movements versus those with indecision.
Bullish Candle Identification: Identifies bullish candles where the close is greater than the open and the body constitutes at least 55% of the total candle range, indicating strong buying pressure.
Bearish Candle Identification: Flags bearish candles where the open is above the close with a body ratio of 55% or more, highlighting strong selling pressure.
Comparative Analysis: The script not only identifies bearish candles but also categorizes them based on whether they close below the lowest point of the last qualifying bullish candle, offering insights into potential breakdowns or supports.
Visual Markers: Uses distinct shapes and colors to mark each type of candle directly on the chart, making it easy to spot these patterns in real-time trading scenarios.
Utility:
This tool is invaluable for traders who utilize technical analysis to make informed decisions. By providing clear visual cues about significant bullish and bearish candlestick formations, the script facilitates quick interpretations of potential market moves, helping traders to capitalize on trends or protect against losses from reversals.
How to Use:
Simply add this script to your chart, and it will automatically highlight the qualifying candles. Green labels indicate strong bullish candles, red labels signify bearish candles closing below the last bullish candle's low, and orange labels show bearish candles that do not close below the bullish low.
Ideal for use in various markets including forex, equities, and commodities, this script is a must-have tool for both novice and experienced traders aiming to enhance their trading strategy with detailed candlestick pattern analysis.
Candle Close Location MarkerThis script customizes the appearance of candlesticks by highlighting whether the candle closed in the upper, middle, or lower part of its range — using a small orange marker inside each candle.
It also includes a traditional volume histogram with two simple moving averages (SMA 20 and SMA 50), helping traders detect volume trends and potential reversals.
📌 Useful for identifying strength of momentum and visualizing market sentiment clearly.
Features:
• ✅ Colored candles: green for bullish, black for bearish
• ✅ Orange square shows the position of the close (top, middle, or bottom of the candle)
• ✅ Volume bars with SMA 20 (orange) and SMA 50 (blue)
• ✅ Works on all timeframes
Developed by:
Version: 1.0
Language: Pine Script v5
Reversal Watchdog + Entry OverlayAn indicator that helps reading candlesticks and gives directional advice. Also colours the chart a light pink colour when the DVI indicator is to flat intended to keep you out of a choppy market.
Wick Ratio IndicatorScript Description: Wick Ratio Indicator
This Pine Script indicator identifies candlesticks with dominant upper or lower wicks and visually marks them on the chart. It helps traders spot potential price rejection signals, often used to anticipate trend reversals or breakout opportunities. Key Features
Wick Length Calculation
Upper Wick: high - max(open, close)
(Measures distance from the highest price to the candle body's top)
Lower Wick: min(open, close) - low
(Measures distance from the candle body's bottom to the lowest price)
Comparison Logic
Green Triangle (▲): Plotted above the candle when the upper wick is longer (bearish rejection signal).
Red Triangle (▼): Plotted below the candle when the lower wick is longer (bullish rejection signal).
Visual Simplicity
Non-intrusive design that overlays directly on price action.
Customizable colors and sizes (modifiable in settings).
Heiken Ashi with RSI Colors📜 Description:
This indicator blends Heiken Ashi candlesticks with RSI-based color filters to help traders quickly assess both trend structure and momentum extremes in a single glance.
✅ Heiken Ashi Mode: Smooths out price action to highlight clearer trends and suppress noise
✅ RSI Coloring: Applies candle color changes based on whether RSI is overbought, oversold, or neutral
It allows traders to visually spot potential exhaustion zones, continuation trends, or early reversal areas with enhanced clarity.
🔧 Settings:
Use Heiken Ashi Candles: Toggle between standard candles and Heiken Ashi smoothed values
RSI Length: Controls the lookback for RSI calculation (default 14)
Overbought/Oversold Levels: Customize your thresholds for extreme conditions (default: 70/30)
🎨 Candle Color Logic:
Green (Lime): RSI is overbought → price may be overextended upward
Red: RSI is oversold → price may be overextended downward
Gray: RSI is between extremes → neutral momentum
💡 Use Cases:
Confirm trend momentum with Heiken Ashi structure
Spot potential reversal points using RSI extremes
Enhance entry/exit decisions by combining price action and momentum in a single visual
langshen K-Line CounterEnglish Description:**
This indicator, named “langshen K-Line Counter,” is designed to count the number of K-line bars (candlesticks) during the current trading day. The key functionalities include:
- **Daily Reset**: At the start of a new trading day (detected by the change in daily time), the counter automatically resets to 1.
- **Incremental Counting**: For each new bar within the same trading day, the counter increments by 1, thus recording the sequence number of each K-line.
- **Chart Display**: The current count is displayed as a numerical label above the high of each K-line on the chart. Users can customize the text size and color of these numbers.
This feature enables traders to visually track the number of K-lines and their sequence within the day, which can assist in analyzing market trends and the pace of price movements.
中文介绍:**
此指标名为“langshen K线计数器”,主要用于统计当前交易日内的K线(蜡烛图)数量。指标的核心功能包括:
- **每日计数重置**:在交易所日切换时(即新的一天开始时),计数器自动重置为1。
- **逐根累加**:在同一交易日内,每根新出现的K线都会使计数器加1,从而记录当天的K线序号。
- **图表展示**:计数器的当前值会以数字标签的形式显示在每根K线的最高价上方,用户可自定义数字的显示大小和颜色。
这种功能可以帮助交易者直观地了解当天市场中的K线数量以及K线的序号变化,辅助分析市场的走势和节奏。
ROBO STB Custom Weekly Candle (Fri-Thu)Description:
This indicator creates custom weekly candles that start on Friday and end on Thursday, instead of the standard Monday–Friday weekly structure in TradingView. It aggregates the open, high, low, and close (OHLC) values from Friday to Thursday and displays them as candlesticks on the chart.
Features:
✅ Custom weekly candles from Friday to Thursday
✅ Dynamic calculation of open, high, low, and close
✅ Works on any timeframe
✅ Helps traders analyze market structure differently
How It Works:
Identifies the custom weekly session based on Friday's start and Thursday's end.
Aggregates OHLC values within this time range.
Resets the values when a new custom week begins.
Plots the calculated weekly candles on the chart.
Use Case:
This indicator is useful for traders who prefer to analyze weekly price movements based on a non-standard start and end day, especially those focusing on forex, crypto, or commodities where trading hours differ.
Notes:
This script does not modify existing candles but overlays new custom weekly candles on the chart.
It does not repaint and updates in real-time.
If you find this useful, like and share! 🚀