Fractal candles by RadonirinaThis script is used for HTF fractality.
Advantages
User can focus on LTF when he/she knows the biais
User can see what happens on HTF without switching between TF
Here the concept :
User can switch between TF, the script will show the HTF (<15m it uses 15min HTF, <1H it uses 1H, < 1D it uses Daily, < 1W it uses Weekly, Weekly and more the script is disabled)
User can choose a fixed TF for the fractality, this TF will be use for all TF
User can set up the candles to plot
Here are some screenshot
1min x 15min
15min x 1H
1h x 4H
1D x 1W
Candlestick analysis
PDH & PDL Indicator: Previous Day's High/Low with AlertsThe PDH & PDL Indicator plots the Previous Day's High (PDH) and Previous Day's Low (PDL) directly on the chart, providing a clear visual reference for key price levels. These levels are often used by traders to identify potential breakout or breakdown zones and to gauge market strength or weakness.
Features:
PDH (Green Line) : Represents the high of the previous trading day.
PDL (Red Line): Represents the low of the previous trading day.
Alerts:
Get notified when the price crosses above PDH or below PDL.
Custom alert messages to keep you informed in real-time.
Use Cases:
Identify key breakout and breakdown points for potential trade entries or exits.
Confirm the strength of a trend by monitoring price action relative to PDH and PDL.
Useful for intraday, swing, and positional traders who rely on historical price levels for strategy development.
DCA Performance AnalysisDollar-Cost Averaging (DCA) Performance Calculator
This indicator helps you analyze the performance of a DCA investment strategy by simulating regular periodic investments into an asset. Perfect for long-term investors who want to evaluate or backtest their DCA strategy.
Key Features:
- Flexible Investment Scheduling: Choose between daily, weekly, or monthly investments
- Custom Date Range: Set specific start and end dates for your analysis
- Adjustable Investment Amount: Input any dollar amount for your regular investments
- Clear Visual Markers: Green triangles show entry points, red triangle marks the end date
- Comprehensive Performance Metrics: View total investment, days invested, unrealized yield, and portfolio value
The indicator displays a clean, easy-to-read table showing:
1. Total Invested: The cumulative amount of money invested
2. Investment Days: Total number of investment entries executed
3. Unrealized Yield: Both dollar amount and percentage return (calculated at end date)
4. Portfolio Worth: Total value of holdings at the specified end date
Usage Tips:
- Best used on BTCUSD or other cryptocurrency pairs
- Works on all timeframes, but matching the timeframe to your DCA frequency provides the clearest visualization
- Calculations use opening prices for entries and closing price at end date for final valuation
- All calculations are based on UTC+0 time
This tool is ideal for:
- Backtesting DCA strategies
- Understanding historical DCA performance
- Comparing different DCA frequencies
- Planning future DCA investments
- Educational purposes about DCA investing
Note: This indicator is for informational purposes only and should not be considered financial advice. Past performance does not guarantee future results.
TRBOalgoThe Trboalgo Alerts Indicator is a standard trend-following tool
that utilizes price position and trail stop to generate alerts.
When the price is above its trail stop, the indicator indicates an uptrend by coloring the candles green and displaying a buy alert , signaling the start of a new trend.
When the price is below its trail stop, the indicator indicates an downtrend by coloring the candles red and displaying a sell alert , signaling the start of a new trend.
by this alert trader can identify overbought and oversold condition..
Session Highs and Lows IndicatorThis indicator marks the high and low levels for key trading sessions, allowing traders to identify significant price zones across different markets. The default session times are defined in UTC and will automatically adjust to your local timezone:
- **London Session (07:00-09:00 UTC)**: Tracks intraday liquidity zones for potential highs/lows.
- **New York Session (12:00-14:00 UTC)**: Highlights volatility during market overlaps with Europe.
- **Asia Session (23:00-01:00 UTC)**: Confirms trend continuation and retracement opportunities.
- **New York Close Session (19:00-21:00 UTC)**: Focuses on reversals and breakout tests during global transitions.
The script dynamically updates session highs and lows with clear labels and dashed horizontal lines for better visualization. **Time ranges can be adjusted to suit your trading preferences.** This makes the indicator flexible and effective for liquidity hunting, trend trading, and breakout strategies.
Bullish and Bearish Harami DetectorHere’s a description of the script I built for you, designed for a **TradingView public indicator**:
### **Custom Bullish and Bearish Harami Detector with Timeframe Selection**
This custom Pine Script detects **Bullish Harami** and **Bearish Harami** candlestick patterns on the selected timeframe, with configurable settings for how many prior candles to consider for pattern detection.
---
### **Features:**
1. **Timeframe Selection:**
- **Input Field for Timeframe**: The script allows users to choose the timeframe for detecting patterns. For instance, you can set it to 1 hour, 4 hours, or even daily candles, ensuring the detection works as per your chosen market view.
- This is controlled by the `input.timeframe` function, and the user is prompted to select the desired timeframe (e.g., "1h", "4h", "1d").
2. **Enable/Disable Pattern Detection:**
- The user has the flexibility to enable or disable the detection of **Bullish Harami** and **Bearish Harami** patterns.
- The two toggles `detectBullishHarami` and `detectBearishHarami` allow users to turn on/off the detection for each pattern type.
3. **Customizable Bearish Candle Count for Bullish Harami:**
- The user can define how many prior **bearish candles** should be present before a **Bullish Harami** can be detected.
- The input variable `bearishCandleCountBullish` lets you choose how many previous bearish candles to consider for detecting a **Bullish Harami** (for example, the last 3, 5, or 6 bearish candles).
4. **Customizable Bullish Candle Count for Bearish Harami:**
- Similar to the Bullish Harami, the script allows the user to define how many prior **bullish candles** should be present before a **Bearish Harami** pattern is detected.
- The input variable `bearishCandleCountBearish` lets you select how many previous bullish candles to check for **Bearish Harami**.
5. **Pattern Detection Logic:**
- **Bullish Harami**: Detected when a bearish candle (open > close) is followed by a smaller bullish candle (open < close) where the entire body of the second candle is contained within the body of the first candle.
- **Bearish Harami**: Detected when a bullish candle (open < close) is followed by a smaller bearish candle (open > close) where the entire body of the second candle is contained within the body of the first candle.
- Both patterns are subject to the user-defined conditions (number of previous bearish or bullish candles).
6. **Visual Indicators:**
- **Bullish Harami**: A green label is plotted **below the bar** to indicate a **Bullish Harami** pattern.
- **Bearish Harami**: A red label is plotted **above the bar** to indicate a **Bearish Harami** pattern.
- The labels are displayed using the `plotshape` function with custom colors and text.
7. **Additional Settings**:
- The script includes tooltips and descriptions for each input to make the settings clear for users, allowing even those unfamiliar with candlestick patterns to understand and use the indicator effectively.
---
### **How It Works:**
- The script first checks the specified timeframe and identifies the current and previous candlesticks.
- It then applies the user-defined conditions for detecting the **Bullish Harami** and **Bearish Harami** patterns by checking the relative positions and sizes of the candlesticks over the selected number of previous candles.
- Once a pattern is detected, it plots a label on the chart (green for **Bullish Harami** and red for **Bearish Harami**) at the appropriate location (below or above the candle).
- The script updates dynamically as the price action unfolds.
---
### **Use Cases:**
- **Traders**: This script is useful for traders who want to identify reversal patterns like **Bullish Harami** and **Bearish Harami** on their chosen timeframes and adjust the sensitivity by changing the number of prior candles for pattern detection.
- **Customization**: Users can fine-tune the script’s settings based on their specific trading strategy, adjusting both the timeframe and the number of candles for pattern detection.
---
### **Conclusion:**
This indicator is an effective tool for detecting candlestick patterns, specifically **Bullish Harami** and **Bearish Harami**, on **TradingView**. By allowing customization in terms of timeframe and the number of prior candles to consider, users can tailor the script to fit their trading strategy and market conditions.
10% Drop from Current High - Akshay10% Drop from Current High TradingView Indicator
Description:
The "10% Drop from Current High" indicator dynamically tracks the highest price within a user-defined period and highlights when the current price drops by a specified percentage. This tool is invaluable for traders looking to monitor significant pullbacks or corrections from recent highs.
Key Features:
Customizable Drop Percentage:
Allows users to set the percentage drop to track, with a default value of 10%.
Configurable via an input field to suit different trading strategies and market conditions.
Lookback Period:
Tracks the highest price over a user-defined lookback period (default is 20 bars).
This ensures the indicator adapts to short-term or long-term market conditions based on user preferences.
Dynamic Levels:
Current High Level: Plots the highest price within the lookback period in blue.
Drop Level: Plots the calculated drop level (e.g., 10% below the current high) in red.
Visual Alerts:
Background Highlighting:
A translucent red background appears when the current price is at or below the drop level, signaling a significant pullback.
Shape Marker:
A downward label is plotted below the bar when the price touches or falls below the drop level, providing cSet Alerts:lear visual feedback.
Overlay on Price Chart:
The indicator is plotted directly on the price chart (overlay=true), ensuring seamless integration with other technical analysis tools.
Use Case:
This indicator is designed for traders who want to:
Monitor Pullbacks:
Identify when the price of an asset experiences a defined percentage drop from its recent high, signaling potential reversal zones or buying opportunities.
Use visual cues to react quickly to price movements.
Analyze Trends:
Combine with other indicators to assess the strength of trends and corrections.
Customization Options:
Drop Percentage: Adjust the percentage drop to track based on asset volatility and trading strategy.
Lookback Period: Modify the lookback period to focus on short-term (e.g., 5 bars) or long-term (e.g., 50 bars) price highs.
This indicator provides a flexible and intuitive way to track price pullbacks, helping traders make informed decisions and stay ahead in dynamic market conditions.
FU Candle Indicator V3.2What the FU Candle Indicator does:
First we need to understand what FU candles are. There's bullish and bearish FU candles.
Bullish FU candles are candles that have a long wick that takes out the previous candles low, then turns around and closes above the high of the previous candle.
Bearish FU candles are candles that have a long wick that takes out the previous candles high, then turns around and closes below the low of the previous candle.
Then there's so called attempted FU candles (ATT FU)
The difference between normal FU candles and ATT FU candles is, that the ATT FU candle doesn't close above/below the high/low of the previous candle but only above the previous candle's body close.
Bullish ATT FU Candle:
Bearish ATT FU Candle:
Detection of Bullish FU Candles:
Bullish FU Candles are detected by measuring the distance between the low of the previous candle and the low of the current candle.
Then the distance between the previous candles high and the current candles close price are measured.
If current candle low < previous candle low and current candle close > previous candle high = Bullish FU Candle.
Detection of Bullish ATT FU Candles:
Bullish ATT FU Candles are detected by measuring the distance between the low of the previous candle and the low of the current candle.
Then the distance between the previous candles close or open price and the current candles close price are measured. If the previous candle closed bearish, the open price is used for comparison, if the previous candle closed bullish, the close price is used for comparison.
If current candle low < previous candle low and current candle close > previous candle open or close = Bullish ATT FU Candle.
Detection of Bearish FU Candles:
Bearish FU Candles are detected by measuring the distance between the high of the previous candle and the high of the current candle.
Then the distance between the previous candles low, AND the current candles close price are measured.
If current candle high > previous candle high, AND current candle close < previous candle low = Bearish FU Candle.
Detection of Bearish ATT FU Candles:
Bearish ATT FU Candles are detected by measuring the distance between the high of the previous candle and the high of the current candle.
Then the distance between the previous candles close or open price and the current candles close price are measured. If the previous candle closed bearish, the open price is used for comparison, if the previous candle closed bullish, the close price is used for comparison.
If current candle high > previous candle high and current candle close < previous candle open or close = Bearish ATT FU Candle.
What makes this script unique?
It shows and liquidity grab and a break of structure on a lower timeframe in one candle.
It allows to adjust the settings for the asset and timeframe you're using
The built in filters (Fractal Filter and EMA Filter) are both optional but allow to filter out certain candles and most importantly it leaves room for experimentation and optimisation to your trading style.
Input Settings and how to use them:
Bullish FU Candle Color --> This setting is to set the color for bullish FU candles.
Bearish FU Candle Color --> This setting is to set the color for bearish FU candles.
Chart --> This setting enables you to display FU's on different timeframes instead of only the current time. It's set to current timeframe by default.
Liq. Grab in Points --> This is the strength of the liquidity grab. By how many points has the current candle taken out the low/ high of the previous candle. It's set to 20 by default but it has to be adjusted to the timeframe and asset you're using.
Engulfing in Points --> This the strength of the engulfing of the previous candle. It measures the distance of the current close price to the open, close, high or low of the previous candle. It depends if the current candle is bullish or bearish and if the previous candle was bullish or bearish and if ATT FUs are enabled but this setting applies to all methods. It's set to 20 by default but you have to adjust it to the asset and timeframe you're using.
Min. Size in Points --> This setting is to filter out tiny candles. It measures the overall size of the FU candle from low to high. It's set to 20 by default but you have to adjust it to the asset and timeframe you are using.
Min. Body Size in Points --> This setting is to filter out FU candles that have a tiny body. It measures the size of the body from open to close. It's set to 20 by default but you have to adjust it to the asset and timeframe you are using.
Max. Body Size in Points --> This setting is to filter out FU candles that have a huge body. It measures the size of the body from open to close. It's set to 10000 by default but you have to adjust it to the asset and timeframe you are using.
Show ATT FU Candles --> ATT FU Candles are FU's where the body only engulfs the previous candles body but not the wick. This type of FU candles is just as valid as the strong FU's where the Body and the wick of the previous Candle is engulfed. The setting is enabled by default.
Rejection Filter --> This setting is used filter out FU candles where the opposite side rejection is stronger than the body direction of the FU. This filters out a lot of traps. It's disabled by default.
Fractal Filter --> FU's are only valid if they broke a fractal of the past x candles. This filters out some of the FU candles that are inside a range and therefore invalid. This is an optional filter and disabled by default.
EMA Filter --> FU's are only if they are above/ below the EMA. This is to filter out most of the FU candles that are inside ranges. The EMA period can be set too. This is an optional filter and enabled and EMA length set to 7 by default. You can enable it and/ or change the length of the EMA to fit your trading style.
Show Entry Lines --> The entry line setting has been changed in terms of styling. The upper and lower line has been removed. Now only the 50% retracement line of the candle body is displayed and the line type, color, strength and length can be set to keep charts as clean as possible.
Alert Timeframes --> You can select the timeframes for which you want to receive an alert if you set and alert for the FU Candle indicator. If you set an alert for the FU Candle Indicator it will send an alert for every FU candle on every selected timeframe.
TF1-TF8 --> This setting is to enable or disable alerts for timeframe 1 - timeframe 8. By default all alerts are disabled, I recommend only enabling the ones that you actually use.
Recommended use:
A bullish FU candle doesn't necessarily mean it's a long and vice versa a bearish FU candle doesn't necessarily mean it's a short. In fact, most FU candles are traps. Often times you'll see a bullish FU candle starting a bearish reversal.
Whenever you see an FU Candle check the following:
Did the FU candle take relevant liquidity?
Is the FU Candle in line with the overall bias or does it go against the bias?
Where did the FU react? Example: A bearish FU candle that reacts in a bullish FVG is a perfect long entry and vice versa.
A bullish FU candle that takes out a relevant swing high can often be a fake-out and price can immediately reverse as the next candle opens.
Timing is also very important. Usually the valid FU candles happen after a strong move to one direction during high volume times and right before or right after a new candle opens on a higher timeframe.
Examples of valid setups:
Nr. 1) Mitigation Setup
Overall bullish on the higher time frame, liquidity grab to the downside, shift in momentum, strong move to the upside left a FVG. later price comes back into the FVG and forms a FU candle --> perfect long trade targeting the opposite side of the range.
Entry either at close of the FU or at the 50% retracement.
Nr. 2) Trap Setup
Clear bullish trend respecting the trend line, bearish FU candle forms but it didn't take any relevant liquidity to the upside. Only internal range liquidity. Perfect long entry using a buy limit below the lower wick of the FU candle with the SL below the nearest low.
Nr. 3) Liquidity Grab Setup
Bearish trend, price comes up aggressively and takes out a high and forms an FU Candle. Market entry short at close of the FU candle or at the 50% retracement of the FU candle or by putting a limit order right above the wick of the candle that follows the FU candle, targeting the opposite side of the range.
Nr. 4) Fake Breakout Setup
Price takes out a significant HTF low, then makes at least 2 BOS on the LTF and forms an Order Block or leaves an FVG. Price forms a bearish U that fails to close below the FVG or Orderblock.
Market entry long at the close of the bearish FU targeting the opposite side of the range. Vice versa for shorts. In simple terms: Bullish FUs at the top of the range and bearish FUs at the bottom of the range are usually always traps.
Sometimes price takes out the high/low of a trap FU before reversing aggressively so you can also have a limit order below the low of the bearish FU or above the high of a bullish FU in this case. But you risk missing the trade.
Entry Methods:
Entry Type 1) Market Entry at the close of the FU candle. --> Never miss a trade, not the best RRR.
Entry Type 2 Limit Entry at the 50% retracement of the body of the FU candle. --> Miss some of the trades but better RRR.
Entry Type 3 Limit order below the wick of the candle that follows the FU candle. --> Miss quite a lot of trades but by far best RRR.
Why this is a closed source script:
The source code of this script is not open because I have spent several years of my life developing it and I use it in all my trading bots.
Also I'm open for feedback and will modify/ update the script for free if I get input that can make it better.
For questions, please reach out via DM or check out my youtube channel. I have several videos explaining in detail how I use these candles, which are valid and which aren't.
Fourier Extrapolation of PriceThis advanced algorithm leverages Fourier analysis to predict price trends by decomposing historical price data into its frequency components. Unlike traditional algorithms that often operate in lower-dimensional spaces, this method harnesses a multidimensional approach to capture intricate market behaviors. By utilizing additional dimensions, the algorithm identifies and extrapolates subtle patterns and oscillations that are typically overlooked, providing a more robust and nuanced forecast.
Ideal for traders seeking a deeper understanding of market dynamics, this tool offers an enhanced predictive capability by aligning its calculations with the complexity of real-world financial systems.
Customizable Days Range HighlighterThis Pine Script highlights ranges where consecutive green candles (bullish candles) form a price move within a specified percentage range.
It draws a visual box to represent this move, with the ability to customize both the percentage range and the number of consecutive green candles required to trigger the highlight.
The script calculates the range based on the low to close of the candles, allowing you to focus on the body of the candle (excluding wicks).
Key Features:
Customizable Percentage Range: Set a range (from and to) for the percentage price move between the lowest low and the close of the candle. This enables you to target specific price moves based on your trading strategy.
Consecutive Green Candle Range: Highlight moves only after a specific number of consecutive green candles. You can define the minimum and maximum number of green candles (days) that must be present for the range to be considered valid.
Wick Option: Choose whether to include wicks in the price move calculation or focus purely on the low to close of each green candle (body of the candle).
Visual Highlights: When a valid range is identified, the script draws a green box around the price move and labels it with the calculated percentage move. This helps you visually spot significant bullish price moves.
Parameters:
Percentage Move From: Minimum percentage move between the low and close of the candle for the range to be highlighted.
Percentage Move To: Maximum percentage move for the range to be considered valid.
Minimum and Maximum Green Candles: Set the minimum and maximum number of consecutive green candles (bullish candles) to trigger the range highlight.
Include Wicks: Choose whether to include the candle wicks in the percentage calculation or focus on the body (low to close).
How It Works:
The script tracks consecutive green candles and calculates the range from the low to close of each green candle.
When a valid range is found, where the price move falls within the defined percentage range and the consecutive green candles are within the specified days range, a box is drawn around the price move.
A label is also placed on the chart, showing the percentage move, to help you quickly identify potentially significant price movements.
This tool is ideal for traders who are looking for specific bullish moves over a series of green candles and want to visually identify those opportunities based on price movement and percentage change.
Daily High/Low Levels with mitigationThis Pine Script script defines a TradingView indicator named "Daily High/Low Levels" designed to track and display the daily high and low levels of a trading session, with added functionality for marking levels as mitigated when certain conditions are met. Here's a breakdown of its functionality:
Key Features
Session Start Time: The script allows you to specify a custom session start time in 24-hour format. This ensures the levels align with your trading session preferences.
Daily Highs and Lows:
Tracks the high and low levels for each session.
Retains the highs and lows for a configurable number of previous days.
Visualization:
Creates horizontal lines for each session's high and low levels.
Supports customization of line colors and styles.
Mitigation Tracking:
Monitors whether a high or low level has been "mitigated" (touched or exceeded by subsequent price action).
Changes the line style and color to indicate mitigation.
Provides an alert when mitigation occurs.
Configurable Extensions:
Lines can be extended beyond mitigation or stopped at the bar index where mitigation occurs, depending on user preference.
Efficient Array Management:
Uses arrays to manage daily highs, lows, their respective indices, and lines.
Ensures the size of stored data does not exceed the configured limit (daysToTrack).
Alerts:
Sends alerts when high or low levels are mitigated, which can be used for trading decisions.
Inputs
Session Start Hour/Minute: Defines when a new session starts.
Days to Track: Sets the number of previous days to display high/low levels.
Colors: Allows customization of line colors for unmitigated and mitigated levels.
Extend Lines: Toggles whether lines should extend past the mitigation point.
Code Highlights
New Session Detection: The script detects the start of a new session based on the configured session start time and resets daily highs/lows.
Line Management: Horizontal rays are created for highs and lows, and mitigated lines are updated with a dashed style and faded color.
Mitigation Logic: The script checks whether current price action exceeds stored high or low levels and updates their status and appearance accordingly.
Memory Management: Ensures the size of the arrays (highs, lows, lines) does not exceed the configured daysToTrack, deleting the oldest elements as necessary.
This indicator is highly customizable and useful for traders who want to track and analyze daily support and resistance levels, incorporating mitigation as a dynamic feature.
Rejection Candle DetectorUsing the Rejection Candle Detector with Order Blocks
Plotting Order Blocks:
Identify Key Levels: Begin by identifying key levels on the chart where large buying or selling activity has taken place. These areas are often referred to as order blocks.
Draw the Blocks: Use horizontal lines or rectangular zones to mark these order blocks on your chart. These levels will act as potential support or resistance areas where price is likely to react.
Setting Up the Rejection Candle Detector:
Apply the Indicator: Add the Rejection Candle Detector to your TradingView chart.
Customize Settings: Adjust the look-back period, label colors, and transparency according to your preferences.
Monitoring Price Action:
Wait for Price to Reach an Order Block: Monitor the chart for when the price approaches one of your predefined order blocks.
Look for Rejection Candles: The Rejection Candle Detector will help you identify rejection candlestick patterns within the look-back period (default is 10 bars).
Entry Decision:
Confirm Rejection: Once the price touches an order block and a rejection candle is detected by the indicator, this could signal a potential entry point. Rejection candles indicate that the price tried to move past the order block but was pushed back, showing strong resistance or support at that level.
Align with Your Analysis: Ensure that the detected rejection candle aligns with your overall trading analysis and strategy. Consider other factors such as trend direction, volume, and market conditions before making an entry.
Managing the Trade:
Set Stop Loss: Place a stop loss just beyond the order block to manage your risk in case the price breaks through the level.
Target Levels: Define your target levels for taking profit based on the next significant support or resistance levels on the chart.
Monitor and Adjust: Continue to monitor the trade and adjust your stop loss or take profit levels as needed based on price action and market conditions.
Example Scenario:
Order Block: You identify an order block at the $50 level on your chart, marking it as a potential support zone.
Price Reaction: Price approaches and tests the $50 level.
Rejection Candle: The Rejection Candle Detector spots a hammer candlestick (a bullish rejection pattern) forming right at the $50 level.
Entry Point: You decide to enter a long trade at the close of the hammer candle, setting your stop loss just below the $50 level.
Trade Management: Set your target at the next resistance level, say $55, and monitor the trade, adjusting as necessary...
Cabal Dev IndicatorThis is a TradingView Pine Script (version 6) that creates a technical analysis indicator called the "Cabal Dev Indicator." Here's what it does:
1. Core Functionality:
- It calculates a modified version of the Stochastic Momentum Index (SMI), which is a momentum indicator that shows where the current close is relative to the high/low range over a period
- The indicator combines elements of stochastic oscillator calculations with exponential moving averages (EMA)
2. Key Components:
- Uses configurable input parameters for:
- Percent K Length (default 15)
- Percent D Length (default 3)
- EMA Signal Length (default 15)
- Smoothing Period (default 5)
- Overbought level (default 40)
- Oversold level (default -40)
3. Calculation Method:
- Calculates the highest high and lowest low over the specified period
- Finds the difference between current close and the midpoint of the high-low range
- Applies EMA smoothing to both the range and relative differences
- Generates an SMI value and further smooths it using a simple moving average (SMA)
- Creates an EMA signal line based on the smoothed SMI
4. Visual Output:
- Plots the smoothed SMI line in green
- Plots an EMA signal line in red
- Shows overbought and oversold levels as gray horizontal lines
- Fills the areas above the overbought level with light red
- Fills the areas below the oversold level with light green
This indicator appears designed to help traders identify potential overbought and oversold conditions in the market, as well as momentum shifts, which could be used for trading decisions.
Would you like me to explain any specific part of the indicator in more detail?
Supply and demand v2Supply and Demand v2
This Pine Script indicator is designed to identify and visualize supply and demand zones on a trading chart, using three different lookback periods for comprehensive analysis. The script features brightened colors for clear visibility and provides real-time alerts for price entry into these zones.
Key Features:
Multi-Period Analysis:
Near Lookback: Analyzes the most recent 30 bars to identify short-term supply and demand zones.
Medium Lookback: Uses a lookback period of 300 bars to capture intermediate supply and demand zones.
Far Lookback: Examines a larger timeframe of 3000 bars to detect long-term supply and demand zones.
Visual Representation:
Supply Zones: Plots the identified supply zones in brightened red shades for clear visibility.
Demand Zones: Marks the demand zones in brightened green shades for easy differentiation.
Opacity and Color Intensity: Adjusts the opacity and color intensity to distinguish between near, medium, and far lookback periods.
Alerts:
Provides real-time alerts when the price enters any of the identified supply or demand zones, enabling traders to take timely actions.
How It Works:
Supply Zones: The script identifies the highest high and lowest low within each lookback period (near, medium, far) and plots these levels as supply zones.
Demand Zones: Similarly, it identifies the lowest high and highest low within each lookback period to determine demand zones.
Alerts: When the price crosses into any of the plotted supply or demand zones, the script triggers an alert, helping traders stay informed about key levels.
This indicator helps traders to quickly identify significant supply and demand zones across different time frames, providing a clearer understanding of potential market reversals and trading opportunities. The visual cues and alert system make it an invaluable tool for technical analysis and strategic decision-making in trading...
Support, Resistance, MA, and ADXSummary
This comprehensive script provides traders with a tool that highlights critical levels of support and resistance, detects significant price breakouts with volume confirmation, identifies potential reversals with wick analysis, and plots a moving average that changes color based on trend strength as indicated by the ADX. It is useful for spotting entry and exit points, confirming breakouts, and identifying trend direction and strength.
Confirmación de short n0Confirmación de cruce bajista en MACD en el marco de 15m.
RSI moviéndose hacia 50 en los marcos de 15m y 1h.
Volumen creciente en velas rojas como confirmación de presión vendedora.
True Total Altcoin Market CapThis indicator calculates the real total altcoin market capitalization by removing Bitcoin, Ethereum, and major stablecoins (USDT, USDC, BUSD, DAI) from the total cryptocurrency market cap. It replaces the standard price bars with custom-colored candlesticks showing the true altcoin market movements.
Features:
Excludes BTC, ETH, and major stablecoins for accurate altcoin market analysis
Custom color scheme: Green (#26a79b) for bullish and Red (#ef5351) for bearish candles
Based on CRYPTOCAP:TOTAL data
Helps traders focus on pure altcoin market trends
Non-repainting, using standard OHLC data
This tool provides a clearer view of altcoin market strength by filtering out the influence of major cryptocurrencies and stablecoins.
Percentage price changeThis indicator marks bars whose values increase or decrease by an amount greater than or equal to the value of the specified parameter as a percentage. Bars that meet the condition are marked with labels, boxes and colors. In addition to the standard method of calculating the percentage change at the closing price of the current and previous bars, the indicator allows you to choose non-standard calculation methods (at the prices of opening and closing the current bar, as well as at the prices of the maximum at the minimum of the current bar). You can choose to display the percentage changes of individual bars as well as a series of bars. You can select the number of bars in a series of bars. You can also apply filters by the direction of the bars in the series or by the percentage of individual bars in the series.
It is important to remember that in version 5 of Pine Script™, the maximum possible number of labels and the maximum possible number of boxes cannot exceed 500!
There are several main parameters that can be changed in section PARAMETERS FOR CALCULATION:
1. 'Bars count' - The number of bars for which the percentage rise or fall is calculated.
2. ‘Percentage change’ - sets the price change as a percentage. Bars with a price range above or equal to the specified value will be marked on the chart.
3. ‘First and second points of calculation’ - the first and second points for calculating the percentage change. Here you can set several different values for the calculation:
- 'Cl.pr., Close' - Closing price of the previous bar and closing price of the current bar (or a series of bars) (these values are used for the standard calculation of the percentage change on the chart).
- 'Open, Close' - Opening and closing prices of the current bar (or a series of bars).
- 'High|Low' - Highest and lowest price of the current bar (or a series of bars).
- 'Cl.pr.|High|Low' - Highest or lowest price of the current bar (or a series of bars) (depending on whether the bar is going up or down) or closing price of the previous bar for first point (one of these values is automatically selected, which gives a larger result, depending on whether there is a gap between these values). Highest or lowest price of the current bar for second point.
In the LIMITS section, you can set the following parameters.
1. ‘Only for the last bar’ - If this option is selected, the indicator will be applied only for the last bar (or series of bars).
2. 'Only bars in one direction' - A condition that takes into account sequences from the selected number of bars going in only one direction. If at least one bar has a different direction from the other bars, then such a sequence will not be taken into account. This only works if the 'Bars count' is > 1.
3. "Cut off higher values" - This field cuts off higher values. Bars with a price range above or equal to the specified value will not be marked on the chart. This can be used in some cases to make the chart less loaded with data and more visual. Of course, you can also use this option however you want.
4. ‘Min percent in series of bars’ - If the value 'Number of bars' is > 1, then a series of bars is taken into account, in which the percentage change of individual bars is greater than or equal to the set value.
In the DATE RANGE section, you can set the limits of the time and date range in which the calculation will be performed. In some cases, this can be used in order not to exceed the limit on the number of labels or boxes, which cannot exceed 500. Of course, you can also use this option however you want. By default, the date range is unlimited.
'Timezone offset, hours' - It is used only for the correct display of the limits of the date range in the parameter table.
In the PRICE INCREASE LABELS and PRICE REDUCTION LABELS section, you can define the design of labels bars and boxes, such as colors, shapes, sizes, and location. You can set the colors of the bars separately on the Style tab. On the Style tab, you can also turn on/off the display of frames, labels and color markings of bars.
The PARAMETER TABLE section is designed to adjust the display of the table for a more visual display of the selected values of all parameters on the Arguments tab. Depending on which values have been set and which parameters have been enabled or disabled, the table will change its appearance, display or hide some rows. A single line 'Total found' will be displayed all the time. It shows the count of bars that meet the condition and count of labels or boxes used in the diagram. Since the bars are labeled with labels or boxes, their number cannot exceed 500 for Pine script version 5.
1. 'Pos.' - sets the main position of the table on the screen.
2. 'X off.', 'Y off.' - You can set the offset of the table along the X and Y axes. This option can be useful to avoid overlapping multiple tables if you want to use two or more instances of this indicator on your chart. The minimum value is -30, the maximum is 30. Positive values shift the table to the right on the X axis and up on the Y axis. Negative values shift the table to the left on the X axis and down on the Y axis.
3. 'Font color' - The font color in the table.
'Warn. font color', 'Warn. backgr. color' - The font and background colors in the 'Total found' row in the table. If the number of labels or boxes exceeds 500, the font and background will be colored in these colors.
4. ‘Font size’ – Sets the font size in the table.
5. 'Show hours and minutes in date/time range' - changes the date and time format of time range from {yyyy.MM.dd HH:mm} to {yyyy.MM.dd}.
6. 'View all params' - used to display all parameters, even those duplicated in the main line of the indicator.
7. ‘Title’ – If desired, you can make a header for the table.
The last row of the table shows the number of bars found that meet the conditions. Since these bars are marked with labels (in the case of one bar) or boxes (in the case of series of bars), the limit that can be marked on the chart is 500. Exceeding this value will be displayed in the table and additionally highlighted in red font. This will signal that not all bars found are displayed on the chart.
On the Style tab, you can turn the table display on/off.
Precision Swing Point V2.0 - [Gozlan]"Precision Swing Point V2.0," is well-structured and aims to highlight specific conditions in the chart while factoring in time zones and user configurations. Here's a quick breakdown and a couple of improvements or fixes to consider:
Key Features:
Multi-Symbol Analysis:
Incorporates three symbols (Symbol 1, Symbol 2, and Symbol 3) and compares their open/close values to derive candle states (green/red).
Highlighting Conditions:
Green: When Symbol 2 is red and Symbol 1 is green.
Red: When Symbol 2 is green and Symbol 1 is red.
Blue: When Symbol 3 is green and Symbol 1 is red.
Custom Time Highlights:
Allows users to specify times for highlighting specific bars.
Timezone Flexibility:
Time calculations adjust based on user-defined UTC offsets.
Edwin K Stochastic Candle ColorsThe Stochastic Candle Colors indicator highlights price action using candle colors based on signals from the stochastic oscillator. Here's how to use it:
1. Indicator Purpose
This indicator overlays on your price chart and changes candle colors based on stochastic oscillator signals:
Green candles: Indicate a bullish signal when the %K line crosses above the %D line in an oversold area (below 20).
Red candles: Indicate a bearish signal when the %K line crosses below the %D line in an overbought area (above 80).
2. How to Use the Inputs
K (periodK): The lookback period for calculating the %K line of the stochastic oscillator. A smaller value makes the indicator more sensitive to price changes.
D (periodD): The period for smoothing the %K line to get the %D line. A larger value creates smoother signals but may result in delays.
Smooth (smoothK): The additional smoothing applied to the %K line before calculating the %D line. This helps reduce noise.
3. How to Interpret the Candle Colors
Green Candle:
Occurs when the %K line crosses above the %D line in the oversold zone (below 20).
Signals a potential bullish reversal.
Red Candle:
Occurs when the %K line crosses below the %D line in the overbought zone (above 80).
Signals a potential bearish reversal.
No Color:
No crossover occurs, or the crossover doesn't happen in overbought/oversold zones.
4. Application in Trading
Entry Points:
Buy when you see a green candle and confirm with other indicators or chart patterns.
Sell when you see a red candle and confirm with additional signals.
Trend Context:
Combine this indicator with trend-following tools like moving averages or support/resistance levels to improve accuracy.
Stop Loss/Take Profit:
Use nearby swing highs/lows for stop-loss placement.
Set profit targets based on risk-reward ratios or key levels.
5. Customization
Adjust the input parameters (K, D, and Smooth) to align the indicator's sensitivity with your trading style:
Short-term traders might prefer lower values for quicker signals.
Long-term traders might opt for higher values for smoother, more reliable signals.
6. Limitations
Signals in isolation might not be reliable. Always use this indicator in conjunction with other tools.
Avoid using during low volatility or sideways markets as stochastic oscillators can produce false signals.
Weekly H/L DOTWThe Weekly High/Low Day Breakdown indicator provides a detailed statistical analysis of the days of the week (Monday to Sunday) on which weekly highs and lows occur for a given timeframe. It helps traders identify recurring patterns, correlations, and tendencies in price behavior across different days of the week. This can assist in planning trading strategies by leveraging day-specific patterns.
The indicator visually displays the statistical distribution of weekly highs and lows in an easy-to-read tabular format on your chart. Users can customize how the data is displayed, including whether the table is horizontal or vertical, the size of the text, and the position of the table on the chart.
Key Features:
Weekly Highs and Lows Identification:
Tracks the highest and lowest price of each trading week.
Records the day of the week on which these events occur.
Customizable Table Layout:
Option to display the table horizontally or vertically.
Text size can be adjusted (Small, Normal, or Large).
Table position is customizable (top-right, top-left, bottom-right, or bottom-left of the chart).
Flexible Value Representation:
Allows the display of values as percentages or as occurrences.
Default setting is occurrences, but users can toggle to percentages as needed.
Day-Specific Display:
Option to hide Saturday or Sunday if these days are not relevant to your trading strategy.
Visible Date Range:
Users can define a start and end date for the analysis, focusing the results on a specific period of interest.
User-Friendly Interface:
The table dynamically updates based on the selected timeframe and visibility of the chart, ensuring the displayed data is always relevant to the current context.
Adaptable to Custom Needs:
Includes all-day names from Monday to Sunday, but allows for specific days to be excluded based on the user’s preferences.
Indicator Logic:
Data Collection:
The indicator collects daily high, low, day of the week, and time data from the selected ticker using the request.security() function with a daily timeframe ('D').
Weekly Tracking:
Tracks the start and end times of each week.
During each week, it monitors the highest and lowest prices and the days they occurred.
Weekly Closure:
When a week ends (detected by Sunday’s daily candle), the indicator:
Updates the statistics for the respective days of the week where the weekly high and low occurred.
Resets tracking variables for the next week.
Visible Range Filter:
Only processes data for weeks that fall within the visible range of the chart, ensuring the table reflects only the visible portion of the chart.
Statistical Calculations:
Counts the number of weekly highs and lows for each day.
Calculates percentages relative to the total number of weeks in the visible range.
Dynamic Table Display:
Depending on user preferences, displays the data either horizontally or vertically.
Formats the table with proper alignment, colors, and text sizes for easy readability.
Custom Value Representation:
If set to "percentages," displays the percentage of weeks a high/low occurred on each day.
If set to "occurrences," displays the raw count of weekly highs/lows for each day.
Input Parameters:
High Text Color:
Color for the text in the "Weekly High" row or column.
Low Text Color:
Color for the text in the "Weekly Low" row or column.
High Background Color:
Background color for the "Weekly High" row or column.
Low Background Color:
Background color for the "Weekly Low" row or column.
Table Background Color:
General background color for the table.
Hide Saturday:
Option to exclude Saturday from the analysis and table.
Hide Sunday:
Option to exclude Sunday from the analysis and table.
Values Format:
Dropdown menu to select "percentages" or "occurrences."
Default value: "occurrences."
Table Position:
Dropdown menu to select the table position on the chart: "top_right," "top_left," "bottom_right," "bottom_left."
Default value: "top_right."
Text Size:
Dropdown menu to select text size: "Small," "Normal," "Large."
Default value: "Normal."
Vertical Table Format:
Checkbox to toggle the table layout:
Checked: Table displays days vertically, with Monday at the top.
Unchecked: Table displays days horizontally.
Start Date:
Allows users to specify the starting date for the analysis.
End Date:
Allows users to specify the ending date for the analysis.
Use Cases:
Day-Specific Pattern Recognition:
Identify if specific days, such as Monday or Friday, are more likely to form weekly highs or lows.
Seasonal Analysis:
Use the start and end date filters to analyze patterns during specific trading seasons.
Strategy Development:
Plan day-based entry and exit strategies by identifying recurring patterns in weekly highs/lows.
Historical Review:
Study historical data to understand how market behavior has changed over time.
TradingView TOS Compliance Notes:
Originality:
This script is uniquely designed to provide day-based statistics for weekly highs and lows, which is not a common feature in other publicly available indicators.
Usefulness:
Offers practical insights for traders interested in understanding day-specific price behavior.
Detailed Description:
Fully explains the purpose, features, logic, input settings, and use cases of the indicator.
Includes clear and concise details on how each input works.
Clear Input Descriptions:
All input parameters are clearly named and explained in the script and this description.
No Redundant Functionality:
Focused specifically on tracking weekly highs and lows, ensuring the indicator serves a distinct purpose without unnecessary features.
NextBarColorNextBarColor
This is two-bars pattern search/matching indicator.
This indicator compares multiple values:
current bar high with previous bar open
current bar high with previous bar close
current bar high with previous bar high
current bar high with previous bar low
current bar low with previous bar open
current bar low with previous bar close
current bar low with previous bar high
current bar low with previous bar low
current bar close/current_price with previous bar high
current bar close/current_price with previous bar low
current bar close/current_price with previous bar open
current bar close/current_price with previous bar close
and searches for the same combination of 2 bars (current and previous) in the past.
Then shows as % value how many times the next bar went up or down.
Grey bar compares ups and downs with all results, including cases when price did not move.
My testing is showing better results when current and previous bars colors are also used in the search.
Relative Vigor Index Z-ScoreThe Relative Vigor Index with Z-Score (RVIZ) is a combined technical analysis tool that helps traders assess the strength and volatility of price movements relative to a market's recent price behavior. This indicator incorporates two distinct concepts:
Relative Vigor Index (RVI):
The RVI is a momentum indicator that measures the strength of a trend by comparing the current price range (high vs low) with the opening and closing prices. The RVI is primarily used to determine if the current price movement is "vigorous" (strong) or weak, and it is plotted as a line that oscillates around a zero baseline.
Z-Score:
The Z-score is a statistical measurement that shows how many standard deviations the RVI is from its historical mean over a given period. This helps identify if the current RVI value is unusually high or low relative to past values, providing a normalized view of the indicator's extremity.
The combination of the RVI and Z-Score offers a more nuanced view of market momentum and volatility, allowing traders to assess both the strength of the current trend and its statistical significance.
Inputs:
Length (RVI Length):
The number of bars used to calculate the Relative Vigor Index. A larger length (e.g., 20 or more) results in a smoother RVI, while a shorter length makes the RVI more sensitive to short-term price changes.
Z-Score Length:
The number of bars used to compute the mean and standard deviation of the RVI for the Z-score calculation. This length determines how "historically" the Z-score will assess the RVI's behavior.
Offset:
Allows users to shift the indicator plot to the left or right for visual adjustment, particularly useful in certain charting setups.