ICT Balanced Price Range - Double FVG with VolumeThis is an FVG indicator combined with volume to identify moments when a sudden volume spike creates a price gap.
Additionally, I've added the ICT Balanced Price Range, which occurs when two opposing FVGs form a connected gap. This gap has a high probability of reversal and is one of the key signs of liquidity sweeps.
Unlike other FVG indicators that filter FVGs based on ATR, average price, or range, I believe such methods lead to overfitting and may not work across multiple pairs with a single setting. Instead, I only filter FVGs when there are consecutive overlapping FVGs.
The indicator includes full functionality:
Candle color customization
FVG line color customization
FVG fill color customization
BPR color customization
Adjustable average volume and volume threshold
Highlighting candles with abnormal volume
Enjoy and make sure to backtest thoroughly before using!
Candlestick analysis
Timeframe Display Table with CustomizationsPlaces a single cell table in the top right of the chart to display the currently viewed timeframe at all times on the chart.
beanBean's Multi-Instrument Pattern Scanner.
This indicator scans H1 timeframe for specific technical patterns. Here's how each pattern is detected:
PATTERN DETECTION CRITERIA:
1. Hammer
- Body Size: ≤ 30% of total candle length
- Lower Wick: > 50% of total candle length
- Upper Wick: < 20% of total candle length
- Formula:
* bodySize = |close - open|
* upperWick = high - max(open, close)
* lowerWick = min(open, close) - low
* totalLength = high - low
2. Shooting Star
- Body Size: ≤ 30% of total candle length
- Upper Wick: > 50% of total candle length
- Lower Wick: < 20% of total candle length
- Uses same measurements as Hammer but inverted
3. Outside/Inside (OI)
Checks three consecutive bars:
- Outside Bar: Bar2 high ≥ Bar3 high AND Bar2 low ≤ Bar3 low
- Inside Bar: Bar1 high ≤ Bar2 high AND Bar1 low ≥ Bar2 low
Pattern confirms when both conditions are met
4. Bullish/Bearish Umbrella
Checks two consecutive bars:
Bullish:
- Current bar's high ≤ previous bar's high
- Current body high ≤ previous bar's high
- Current body low ≥ previous body high
Bearish:
- Current bar's low ≥ previous bar's low
- Current body low ≥ previous bar's low
- Current body high ≤ previous body low
5. Three Bar Triangle (3BT)
Checks three consecutive bars:
- Current bar's high ≤ max(previous two highs)
- Current bar's low ≥ min(previous two lows)
- Indicates price compression
DISPLAY AND ALERTS:
- Patterns are displayed in real-time in the table
- Multiple patterns can be detected simultaneously
- Pattern detection resets each new H1 candle
CONFIGURATION:
- Each row can be independently configured
- Patterns are checked on H1 timeframe close
- Alert frequency: Once per H1 bar close
Note: All measurements use standard OHLC values from only completed H1 candles.
Higher Time Frame Fair Value Gap [ZeroHeroTrading]A fair value gap (FVG) highlights an imbalance area between market participants, and has become popular for technical analysis among price action traders.
A bullish (respectively bearish) fair value gap appears in a triple-candle pattern when there is a large candle whose previous candle’s high (respectively low) and subsequent candle’s low (respectively high) do not fully overlap the large candle. The space between these wicks is known as the fair value gap.
The following script aims at identifying higher timeframe FVG's within a lower timeframe chart. As such, it offers a unique perspective on the formation of FVG's by combining the multiple timeframe data points in the same context.
You can change the indicator settings as you see fit to achieve the best results for your use case.
Features
It draws higher timeframe bullish and bearish FVG's on the chart.
For bullish (respectively bearish) higher timeframe FVG's, it adds the buying (respectively selling) pressure as a percentage ratio of the up (respectively down) volume of the second higher timeframe bar out of the total up (respectively down) volume of the first two higher timeframe bars.
It adds a right extended trendline from the most recent lowest low (respectively highest high) to the top (respectively bottom) of the higher timeframe bullish (respectively bearish) FVG.
It detects and displays higher timeframe FVG's as early as one starts forming.
It detects and displays lower timeframe (i.e. chart's timeframe) FVG's upon confirmation.
It allows for skipping inside first bars when evaluating FVG's.
It allows for dismissing higher timeframe FVG's if there is no update for any period of the chart's timeframe. For instance, this can occur at lower timeframes during low trading activity periods such as extended hours.
Settings
Higher Time Frame FVG dropdown: Selects the higher timeframe to run the FVG detection on. Default is 15 minutes. It must be higher than, and a multiple of, the chart's timeframe.
Higher Time Frame FVG color select: Selects the color of the text to display for higher timeframe FVG's. Default is black.
Show Trend Line checkbox: Turns on/off trendline display. Default is on.
Show Lower Time Frame FVG checkbox: Turns on/off lower timeframe (i.e. chart's timeframe) FVG detection. Default is on.
Show Lower Time Frame FVG color select: Selects the color of the border for lower timeframe (i.e. chart's timeframe) FVG's. Default is white.
Include Inside Bars checkbox: Turns on/off the inclusion of inside first bars when evaluating FVG's. Default is on.
With Consistent Updates checkbox: Turns on/off consistent updates requirement. Default is on.
Flux Charts - S&D Screener💎 GENERAL OVERVIEW
Introducing Supply & Demand Zones (S&D) Screener! This screener can spot trading opportunities for Supply & Demand traders across 8 different tickers and timeframes simultaneously! This screener offers a wide range of configurable settings, explained within this write-up.
S&D Screener Features:
Supply & Demand Zones : This tool can detect Supply & Demand zones using one of the two detection methods.
Highly Configurable : Offers multiple parameters for fine-tuning detection settings.
Up to 8 Tickers : Allows traders to analyze multiple tickers & timeframes simultaneously for enhanced accuracy.
🚩 UNIQUENESS
The S&D Screener is the first ever tool on TradingView that allows traders to screen 8 different tickers on different timeframes for Supply & Demand Zones. Key factors that make it unique include:
✅ Comprehensive Dashboard – This screener provides a complete and customizable dashboard designed to enhance traders' decision-making by consolidating crucial Supply & Demand insights into one user-friendly interface.
✅ Multi-Ticker & Multi-Timeframe Analysis – With support for up to 8 tickers and timeframes, traders can effortlessly analyze the bigger market picture, identifying trends and opportunities across different assets and timeframes.
By combining multiple analytical elements in a single view, this screener empowers traders with the insights needed to navigate the market more effectively.
📌 HOW DOES IT WORK ?
The S&D Screener helps traders identify Supply & Demand Zones on multiple tickers & timeframes. It offers customizable settings to adapt to different trading styles. The screener includes two zone detection methods. The Momentum Method identifies zones based on strong bullish or bearish price movements, making it ideal for traders who seek quick market reactions. The Regression Method uses statistical regression to detect zones by analyzing price deviations from the trend, which is more suitable for long-term traders. You can customize your zone preferences and enable up to 8 tickers and their respective timeframes. You'll be able to see the status of the latest detected zones on that ticker/timeframe. You can also see the distance from current price of the ticker to the zone and how many times price has retested that zone.
Supply Zone
In trading, a supply zone is a specific area on a price chart where selling interest surpasses buying interest, leading to a potential decline in asset prices. This zone typically forms after a price rally, indicating that sellers find the asset overvalued and are prepared to sell, creating downward pressure. Identifying supply zones can help traders anticipate potential price reversals or pullbacks.
Trading Possibilities with Supply Zones
Entering Short Positions -> When the price approaches a recognized supply zone, traders may consider initiating short positions, anticipating that increased selling pressure will drive prices down.
Setting Profit Targets -> For traders holding long positions, supply zones can serve as strategic points to set profit targets, as these areas may signal potential resistance and a subsequent price drop.
Demand Zone
In trading, a demand zone is a specific area on a price chart where buying interest is strong enough to halt a downtrend and potentially reverse it upward. This zone indicates a price level where demand exceeds supply, leading to a rise in price. Identifying these zones can provide traders with strategic entry points for potential long positions.
Trading Possibilities with Demand Zones
Entering Long Positions -> When the price approaches a recognized demand zone, traders may consider initiating long positions, anticipating that increased buying pressure will drive prices up.
Setting Profit Targets -> For traders holding short positions, demand zones can serve as strategic points to set profit targets, as these areas may signal potential resistance and a subsequent price increase.
Momentum Detection Method
The Momentum Detection Method identifies supply and demand zones by analyzing the strength and direction of price movements over a specified period. It looks for a sequence of strong bullish or bearish candles to determine potential zones. The method is sensitive to the ‘Sensitivity’ setting, which adjusts the threshold for what constitutes a "strong" candle.
Using the momentum method is ideal for traders looking to capitalize on immediate price reactions and momentum shifts.
Regression Detection Method
The Regression Method uses statistical regression to identify supply and demand zones by analyzing price consolidation patterns. It fits a regression line to price data and identifies zones where price deviates significantly from the trend. This method is more mathematical and less reliant on individual candle patterns. It focuses on the overall price structure and identifies zones based on statistical deviations from the trend.
This method is particularly useful for traders who focus on longer-term price trends and prefer a more statistical approach to pinpoint zones.
Using the momentum method is ideal for traders looking to capitalize on immediate price reactions and momentum shifts.
Status ->
Far -> This status indicates that the current price is significantly distant from any identified supply or demand zones. In this scenario, traders might exercise patience, waiting for the price to approach these zones before considering entry or exit points.
Approaching ⬆️ -> The price is rising towards a supply zone, suggesting potential selling opportunities as the price nears an area where selling pressure previously dominated.
Approaching ⬇️ -> The price is falling towards a demand zone, indicating potential buying opportunities as the price approaches an area known for strong buying interest.
Inside -> The current price is within the boundaries of a supply or demand zone. This status often signals a critical decision point:
Inside a Supply Zone: The area where selling pressure may increase, potentially leading to a price decline. Traders might look for confirmation before initiating short positions.
Inside a Demand Zone: The area where buying interest could surge, possibly resulting in a price increase. Traders might seek validation before entering long positions.
Being "inside" a zone suggests heightened market activity and potential volatility, warranting close monitoring for trading signals.
Retests -> A retest occurs when the price revisits a supply or demand zone but fails to break through it. Specifically, during a retest, the wick of a candlestick enters the zone, but the candle closes below the supply zone or above the demand zone. This price action suggests that the zone remains a strong area of resistance or support, as the market couldn't sustain movement beyond it. Traders often view such retests as confirmations to enter positions in the direction opposite to the zone's boundary. For instance, if the price retests a supply zone and fails to close above it, it may signal a selling opportunity. Conversely, a failed retest of a demand zone could indicate a buying opportunity. Monitoring the number of retests can provide insights into the strength of these zones; multiple retests without a breakout may reinforce the zone's significance. Here you can see how many times the price retested the supply or demand zone.
⚠ Timeframe Restriction : The selected timeframes for analysis cannot be lower than the chart’s current timeframe to ensure proper data alignment.
⏰ ALERTS
This screener supports alerts, so you never miss a key market move. You can choose to receive alerts when a new demand or supply zone is created, helping you spot potential trading opportunities. Additionally, you can enable alerts for retests, which notify you when the price returns to test a previously identified zone. The alerts will work for each enabled ticker in the settings.
⚙️ SETTINGS
1. General Configuration
Detection Method : There are two detection methods you can choose from for identifying Supply & Demand Zones. Both methods aim to identify key areas where price is likely to react, but they do so using different approaches. Traders can choose the method that aligns with their trading style and time horizon.
Sensitivity : The Sensitivity setting allows traders to adjust how aggressively the script identifies supply and demand zones when using the Momentum Detection Method. This setting directly impacts the threshold for detecting zones when using the momentum detection method.
High Sensitivity -> Detects smaller price movements, resulting in more zones being identified. This is ideal for traders who want to capture even minor supply and demand imbalances and prefer a higher frequency of potential trading opportunities.
Medium Sensitivity -> Balances between detecting significant price movements and avoiding excessive noise. This setting is suitable for most traders who want a moderate number of zones without being overwhelmed.
Low Sensitivity -> Focuses on larger, more significant price movements, resulting in fewer zones being identified. This is ideal for traders who prioritize quality over quantity and prefer to focus on the most impactful supply and demand areas.
Lowest Sensitivity -> Detects only the strongest and most pronounced price movements, identifying the most significant zones. This setting is best for traders who want to focus on high-probability, high-impact zones and avoid minor fluctuations.
Zone Invalidation : The Zone Invalidation setting determines how supply and demand zones are invalidated.
Wick -> A zone is invalidated if a candle’s wick goes below a demand zone or above a supply zone.
Close -> A zone is invalidated if a candle closes below a demand zone or above a supply zone.
Zone Visibility Range : The Zone Visibility Range setting controls how far from the current price supply and demand zones are displayed on the chart. It helps traders focus on relevant zones while avoiding clutter from distant or less impactful areas.
Minimum Zone Width : The Minimum Zone Width setting defines the smallest size a supply or demand zone must have to be displayed on the chart. It uses the Average True Range (ATR) as a reference to ensure zones are proportionate to current market volatility.
Minimum Zone Length : The Minimum Zone Length setting determines the minimum number of bars a supply or demand zone must span to be displayed on the chart. This setting helps filter out short-lived or insignificant zones, ensuring only meaningful areas of supply or demand are highlighted.
2. Tickers
You can set, then enable or disable up to 8 tickers in this section to get informed about their latest supply or demand zone.
Candle Bias ForecastCandle Bias Forecast Indicator
Description:
The Candle Bias Forecast Indicator is an original multi‐timeframe analysis tool that generates price forecast levels based on the difference between candle biases on two different timeframes. It uses innovative calculations to provide potential forecast levels that align with current price action.
How It Works:
1. Candle Bias Calculation:
For each candle, the indicator computes a “candle bias” using the formula:
candleBias = (((open + close)/2 - (high + low)/2) + ((close - open)/(high - low)))/2
This measure captures both the positioning of the candle’s body within its range and the normalized move from open to close.
2. Multi-Timeframe Analysis:
The script uses multiple timeframe pairs (e.g., 5-minute vs. 30-minute, 10-minute vs. 60-minute, etc.). For each pair, the bias is computed on the lower timeframe and on the higher timeframe.
3. Normalization with ATR:
To translate the dimensionless bias difference into price terms, the indicator multiplies the difference by the lower timeframe’s Average True Range (ATR). This scales the forecast adjustment to current market volatility.
4. Forecast Computation:
The forecast level for each pair is then calculated as:
forecast = close + (lowerTF_ATR * (lowerTF_bias - higherTF_bias))
This yields forecast levels that are plotted on the chart and connected by lines for a visual guide.
How to Use:
- Visual Confirmation: Add the indicator to your 1 to 15 minute chart to see forecast levels overlaid on the price.
- Supplementary Analysis: Use these forecast levels as an additional tool alongside your other analysis methods. They can help indicate potential support/resistance areas or directional bias.
Important Notes:
- Not a Standalone Signal: This indicator is intended to supplement your analysis. Always combine it with other tools and sound risk management practices.
- For Educational & Research Use: The indicator is provided “as is” without any guarantee of performance. It is designed to illustrate an innovative approach to multi-timeframe analysis.
- Disclaimer: Past performance is not indicative of future results. Use this tool at your own risk.
By combining candle bias with ATR-based normalization and multi-timeframe analysis, this indicator offers a unique perspective on market dynamics that can enrich your trading strategy.
---
*This is an original script designed to add value to the TradingView community. Please test and validate its outputs thoroughly before using it in live trading.*
Multi-Timeframe Open LinesThe Multi-Timeframe Open Lines indicator is designed to help traders visualize key price levels at the open of specific time intervals. It draws horizontal lines at the open of 5-minute, 15-minute, 30-minute, and hourly candles, extending these lines to the start of the next respective interval. Traders can now control which timeframes are displayed and how many past opening lines are shown, ensuring a clean and organized chart.
Key Features:
Customizable Lines:
5-Minute Lines: Highlight the open of every 5-minute candle, ending at the start of the next 5-minute candle.
15-Minute Lines: Highlight the open of every 15-minute candle, ending at the start of the next 15-minute candle.
30-Minute Lines: Highlight the open of every 30-minute candle, ending at the start of the next 30-minute candle.
Hourly Lines: Highlight the open of every hourly candle, ending at the start of the next hourly candle.
Each timeframe's lines can be customized in terms of color, line style, and thickness.
Toggle Options:
Easily turn on or off the display of lines for each timeframe (5m, 15m, 30m, 1h) using checkboxes in the settings.
User-Defined Limits:
Control the number of past opening lines displayed for each timeframe (5m, 15m, 30m, 1h).
Prevents chart clutter by limiting the number of visible lines.
Multi-Timeframe Analysis:
Enables traders to analyze price action across multiple timeframes simultaneously, providing a clearer picture of market structure and key levels.
User-Friendly Inputs:
Easy-to-use settings for customizing line appearance and behavior, ensuring the indicator fits seamlessly into any trading strategy.
How to Use:
Apply the indicator to your chart to visualize the open price levels for 5-minute, 15-minute, 30-minute, and hourly candles.
Use the lines as dynamic support/resistance levels or to identify potential breakout/breakdown points.
Customize the colors, styles, and the number of visible lines to match your chart theme or trading preferences.
Toggle specific timeframes on or off to focus on the most relevant price levels.
Ideal For:
Traders who use multi-timeframe analysis.
Those who rely on key price levels for decision-making.
Anyone looking to enhance their chart with clear, customizable reference lines while avoiding clutter.
Float Turnover Signal
The *Float Turnover Signal* indicator helps traders analyze the relationship between price changes and trading volume relative to the stock's free float. It generates signals based on turnover ratios, providing insights into liquidity-driven price movements.
**How It Works**
- The indicator calculates the **percentage change** in closing price from two days ago to the previous day.
- It retrieves the **free float** (the number of publicly available shares) from TradingView.
- It then calculates the **turnover percentage**, which represents the previous day's trading volume as a percentage of the free float.
- The **turnover ratio** is derived by dividing the price change percentage by the turnover percentage.
- Based on this ratio, the indicator generates **color-coded signals**:
- 🟢 **Green Signal** – Indicates a balanced turnover ratio (0.8 to 1.2), suggesting a stable price-volume relationship.
- 🟡 **Yellow Signal** – Indicates a near-optimal but not perfect ratio (0.6-0.8 or 1.2-1.5), suggesting caution.
**Customization & Features**
✅ **Adjustable Signal Display** – Users can choose how many recent bars will display signals using the `"Number of Bars to Display Signal"` setting.
✅ **Works on Any Timeframe** – The indicator adapts to different chart resolutions.
✅ **Helps Identify Volume-Driven Moves** – Ideal for spotting potential breakouts, liquidity shifts, and confirming price action validity.
gain indicatorhe "Percentage Ruler" indicator is a custom technical analysis tool designed for the TradingView platform. Its primary function is to visually represent percentage-based price levels on a chart, relative to the closing price of the previous candle. This allows traders to quickly gauge potential support and resistance levels or to estimate possible price movements based on historical data.
Key features of the indicator include:
Dynamic Percentage Levels: The indicator automatically calculates and displays horizontal lines corresponding to predefined percentage levels, both positive and negative, ranging from -5% to +5%.
Previous Candle Close: The percentage calculations are anchored to the closing price of the previous candle, providing a consistent reference point for analysis.
Clear Visual Representation: The percentage levels are represented by horizontal lines extending to the right edge of the chart. The lines are color-coded (green for positive percentages, red for negative percentages) for easy interpretation.
Customizable Appearance: The indicator offers customization options, allowing users to adjust the line thickness and the display of percentage labels.
No Labels by Default: The indicator is designed to display only the horizontal lines by default, without any percentage labels, providing a clean and uncluttered chart view.
In summary, the "Percentage Ruler" indicator is a valuable tool for traders seeking a straightforward way to visualize percentage-based price levels relative to the previous candle's close. It aids in identifying potential support and resistance zones and estimating possible price movements based on historical data.
Engulfing Candle PatternIndicator Overview
This indicator identifies Bullish and Bearish Engulfing candlestick patterns on a price chart. These patterns are reversal signals:
Bullish Engulfing: Occurs during a downtrend, where a bullish candle fully engulfs the body of the previous bearish candle.
Bearish Engulfing: Occurs during an uptrend, where a bearish candle fully engulfs the body of the previous bullish candle.
Key Features
1. Pattern Detection:
Detects Bullish Engulfing and Bearish Engulfing patterns based on candle body comparisons.
Uses the current and previous candle's open/close prices to determine engulfing conditions.
2. Visualization:
Plots labels on the chart:
" Bullish Engulfing " below the candle for bullish patterns.
" Bearish Engulfing " above the candle for bearish patterns.
3. Alerts:
Triggers alerts when either pattern is detected, allowing traders to take action.
How It Works
Bullish Engulfing Condition:
Current candle is bullish (close > open).
Previous candle is bearish (close < open).
Current candle's body fully engulfs the previous candle's body.
Bearish Engulfing Condition:
- Current candle is bearish (close < open).
- Previous candle is bullish (close > open).
- Current candle's body fully engulfs the previous candle's body.
Usage
- Apply the script to any chart in TradingView.
- Look for " Bullish Engulfing " or " Bearish Engulfing " labels on the chart.
- Set up alerts to get notified when these patterns form.
This indicator is a simple yet effective tool for identifying potential trend reversals using engulfing candlestick patterns.
ATR gorizontal vswed
This indicator is based on the Average True Range (ATR) and provides users with a clear visual representation of key volatility metrics for a selected asset. The ATR is calculated using daily candlesticks over a specified period.
🔹 Key Features:
ATR 1D – Average True Range value over the selected period (default: 24 days).
Current ATR – Current relative volatility compared to ATR.
Stop ATR – Suggested stop-loss level based on ATR.
Power Reversal – Difference between ATR and current volatility.
Risk-Reward Ratio (RR) – The ratio between the potential reward and the stop-loss level.
📊 Visual Representation:
The indicator displays data in a compact, horizontal table, positioned at the desired location on the chart (default: bottom-right). The values are color-coded for better readability.
This tool is useful for traders looking to assess market volatility, stop-loss placement, and potential trade opportunities based on ATR calculations.
Enhanced Interval Candle with Breakout Detection and Detailed InThis indicator visualizes the last candle of a user-defined time interval (e.g., 1 hour, 4 hours, 1 day) on the current chart, providing enhanced details and breakout detection. It fetches the open, high, low, and close prices of the interval candle and draws a stylized representation of it, offset to the right of the current bar. The candle body and wicks are colored according to whether the interval candle closed bullishly (green) or bearishly (red). In addition to the candle itself, the indicator displays horizontal dotted lines representing the high, low, and midpoint of the interval candle, along with labels showing their exact values. These labels are dynamically updated as the interval candle changes. Furthermore, the script detects and visualizes breakouts of the interval candle's high or low. When the current price closes above the interval high, a green dashed line and a "Bullish Breakout" label are displayed. Conversely, when the current price closes below the interval low, a red dashed line and a "Bearish Breakout" label are shown. The breakout lines and labels are also dynamically updated. This indicator helps traders easily track the price action of a higher timeframe candle and spot potential breakouts based on that candle's range. The user can configure the time interval to suit their trading needs.
BuyPrice TrackerDescription:
This custom indicator is designed to help traders and investors track the performance of multiple stocks relative to their specified buy prices. It offers a visual representation of price changes and percentage gains or losses, making it easier to monitor your portfolio at a glance.
Key Features:
1. Multiple Stock Tracking: Monitor up to 15 different stocks simultaneously.
2. Custom Buy Prices: Set individual buy prices for each stock you're tracking.
3. Dynamic Price Line: A yellow dotted line appears on the chart to mark your buy price.
4. Real-time Updates: The indicator updates with each new price bar, providing current information.
5. Percentage Change Display: Clearly shows the percentage change from your buy price to the current price.
6. Color-Coded Labels: Green for positive changes, red for negative, allowing for quick visual assessment.
7. Customizable Label Position: Choose between top-right or top-left corner of the chart for the information label.
8. Adjustable Text Size: Customize the size of the text in the label for better visibility.
9. Buy Price Scale Label: Displays your buy price directly on the price scale for easy reference.
How It Works:
Enter your stock symbols and corresponding buy prices in the indicator settings.
The indicator will display a yellow dotted line at your buy price for the current chart.
A label will appear showing the stock symbol, your buy price, and the current percentage change.
The label updates in real-time as prices change, allowing you to monitor performance instantly.
Benefits:
Effortlessly track multiple positions in your portfolio.
Quickly identify which stocks are performing well and which might need attention.
Make informed decisions about holding, selling, or buying more based on clear visual cues.
Customize the display to suit your trading style and chart setup.
This indicator is perfect for active traders managing multiple positions, long-term investors tracking their portfolio performance, or anyone looking to keep a close eye on specific price levels in the market.
Note: This indicator works best when applied to the specific stock charts you're tracking. Make sure to input the correct stock symbols and buy prices in the indicator settings for accurate results.
Median / Averages from Lower Time-Frame TicksI've added/created this to give me a more accurate idea of candle movements - I use the MEDIAN average of a candle, which gives me a more accurate "description" of where the candle spent most of it's time 'hovering', over that time frame. The beauty of this is how it REDUCES NOISE, espeicially long wicks, or candles that spike at the moment of a close, skewing a 'normalized' candle's result.
Due to how the Median Calculation works, changing the 'candle timeframe' in options will have no effect - that is available as an option for some of the more traditional MA's, which you can toggle between in the settings... it can also display traditional MA's - SMA, HMA, WMA, and the HLC/3 which I was using up until this point.
This is a 'Line Chart' version of this indicator; I intend to update it with a 'normalized', custom drawn candle based on this method.
The MEDIAN of a candle is a value based on the following;
it lines all values up over a time frame, then takes the value closest to the centre of the array as the 'median'. I'll provide a working example.
imagine we have a candle with 5 values;
it opens at 2, spikes up to 1, spikes down to 10, then spends the entire time hovering at 3 and 4 until it's close. Our array looks like this;
1,2,3,4,100
now, the "average" of these candles is (1+2+3+4+100) / 5 = 22
when the "median" of these candles is the centre value of the array, which is 3.
The candle spent 99% of it's time between 1 and 4 - and spiked for one moment to 100... so now the median gives me a better idea of where the price spent most of it's time, in this instance.
This becomes more skewed, and therefore more accurate, the more values in a candle - and the minute chart on the hourly is a good baseline that gives pretty fair values, without being overly taxing on the machine that needs to make those calculations.
Caveat: I Trade on the Hourly/Daily, so the medians are taken from Minute Candles - thus this will effectively be 'no good' for 1 minute time-frames, (it will simply draw at the Close) but will still have some value down to 15 minute, or even 5 minute charts.
Plot Closed Candles OnlyWhat It Does:
This indicator helps you see candlesticks on your chart only after they are fully closed. It colors the candles based on whether they are bullish (green), bearish (red), or neutral (black/Doji). This way, you can focus on confirmed price movements without the distraction of candles that are still forming.
Key Features:
Plots Confirmed Candles: Only shows candles after they are fully formed.
Custom Colors:
Green: Bullish candles (close > open).
Red: Bearish candles (close < open).
Black: Doji candles (close = open).
Easy to Use: Simply add the indicator to your chart.
How to Use:
Add the indicator to your chart.
Turn off the default candles by:
Right-clicking on the chart.
Going to Style > Candles.
Disabling borders, bodies, and wicks for the default candles.
Enjoy a cleaner view of confirmed candles with clear color coding!
Why Use It?:
Helps you focus on confirmed price action.
Makes it easier to spot bullish, bearish, and neutral candles.
Great for traders who want to avoid the noise of incomplete candles.
Buy on VolumeThis script has several weaknesses:
1. **Overly Simplistic Logic** – The buy signal is based on just two conditions (DEMA crossing above a Lorentzian Line and a volume spike), which may not be robust enough for real trading conditions.
2. **Lack of Sell Signals** – The script only focuses on buy signals without any exit strategy, making it incomplete for practical trading.
3. **Volume Confirmation May Be Unreliable** – The threshold for volume confirmation (50% above average) is arbitrary and may produce frequent false positives or fail in low-liquidity conditions.
4. **No Risk Management** – There is no stop-loss, take-profit, or risk-adjustment mechanism, making it unsuitable for serious trading.
5. **Potential for Late Entries** – The reliance on moving averages (DEMA) can introduce lag, causing buy signals to appear late after a price move has already occurred.
6. **Limited Adaptability** – The fixed parameter settings (e.g., DEMA period of 6, Lorentzian length of 21) may not work across different market conditions or assets.
7. **No Consideration for Market Trends** – The script does not account for broader market trends, which could lead to poor entries in bearish conditions.
8. **Visual Clutter** – The plotted signals and indicators might create unnecessary chart noise, making it difficult to analyze price action effectively.
9. **Alert Spam Potential** – Without additional filtering conditions, the script may trigger frequent buy alerts, leading to signal fatigue.
Dual HTF Candle Boxes with PDH/PDL/PWH/PWLThis Pine Script code for TradingView creates an indicator that displays dual higher timeframe (HTF) candle boxes along with Previous Day High (PDH), Previous Day Low (PDL), Previous Week High (PWH), and Previous Week Low (PWL) lines. Let's break down what this code does:
Core Functionality:
Dual HTF Candle Boxes: The script overlays two sets of candle boxes on the main chart, each representing a different higher timeframe. This allows traders to visualize price action on larger timeframes without switching charts. For example, you can see 15-minute and 1-hour candles overlaid on your current chart.
Customizable Timeframes: You can define the specific higher timeframes you want to see for each set of candles. The script provides input options to select these timeframes.
Color Customization: The colors of the candle bodies, wicks, and boxes are customizable. You can set different colors for bullish and bearish candles for each of the two higher timeframes.
Box and Body Display Options: You can choose to display both the box outlines and the candle bodies, or just the bodies, or just the boxes (high/low range). This allows you to customize the visual representation to your liking.
Midline: An optional midline can be displayed within each HTF candle box, representing the midpoint between the high and low.
Range in Pips/Percentage: The script can display the range of each HTF candle in pips or as a percentage of the total range.
PDH/PDL/PWH/PWL Lines: The script also plots horizontal lines representing the Previous Day High, Previous Day Low, Previous Week High, and Previous Week Low. These are common support and resistance levels.
PDH/PDL/PWH/PWL Customization: You can customize the colors and line styles (solid or dashed) of the PDH/PDL/PWH/PWL lines.
Code Breakdown:
indicator(): Defines the script as an indicator with a title and other properties.
input.*: Defines user input options for customizing the indicator. This is how you configure the timeframes, colors, and other settings.
timeframe.period: Gets the current chart's timeframe.
request.security(): Used to request data from higher timeframes. This is how the script gets the high, low, open, and close prices for the HTF candles.
box.new(): Creates the candle box objects on the chart.
line.new(): Creates the PDH/PDL/PWH/PWL lines.
label.new(): Creates the labels for the pip/percentage range and PDH/PDL/PWH/PWL.
array.new_box(), array.new_label(), array.new_line(): These arrays are used to store the created boxes, labels, and lines so they can be managed and deleted if the color settings are changed. This is a crucial improvement for performance and prevents the chart from becoming cluttered with old objects.
f_draw_htf_boxes(): This function handles the drawing of the HTF candle boxes. It takes the timeframe, colors, and other parameters as input.
ta.change(time(Interval)): Detects when a new HTF candle has formed.
Key Improvements in this Version:
Object Management: The use of arrays to store and manage the boxes, labels, and lines is a significant improvement. This prevents the accumulation of objects on the chart, which can slow down TradingView and make the chart unreadable. The script now properly deletes old objects when colors are changed.
Color Change Detection: The script now detects when the user changes the color inputs and clears the existing objects before drawing new ones with the new colors.
Clearer Code Structure: The code is organized into functions, making it easier to read and understand.
How to Use:
Open TradingView.
Open a chart for any symbol.
Open the Pine Editor.
Copy and paste this code into the editor.
Add the indicator to the chart.
Use the input options to customize the indicator to your preferences.
This script provides a powerful way to visualize higher timeframe price action and key support/resistance levels directly on your chart, enhancing your trading analysis. Remember that proper use and interpretation of these indicators are crucial for successful trading. This script is a tool, and like any tool, its effectiveness depends on the user's skill and understanding.
Full Moon and New Moon IndicatorThe Full Moon & New Moon Indicator is a custom Pine Script indicator which marks Full Moon (Pournami) and New Moon (Amavasya) events on the price chart. This indicator helps traders who incorporate lunar cycles into their market analysis, as certain traders believe these cycles influence market sentiment and price action. The current script is added for the year 2024 and 2025 and the dates are considered as per the Telugu calendar.
Features
✅ Identifies and labels Full Moon & New Moon days on the chart for the year 2024 and 2025
How it Works!
On a Full Moon day, it places a yellow label ("Pournami") above the corresponding candle.
On a New Moon day, it places a blue label ("Amavasya") above the corresponding candle.
Example Usage
When a Full Moon label appears, check for potential trend reversals or high volatility.
When a New Moon label appears, watch for market consolidation or a shift in sentiment.
Combine with candlestick patterns, support/resistance, or momentum indicators for a stronger trading setup.
🚀 Add this indicator to your TradingView chart and explore the market’s reaction to lunar cycles! 🌕
Effective FVG Indicator - ImranDescription:
The Effective FVG Indicator is a technical analysis tool designed to identify Fair Value Gaps (FVGs) in financial markets. FVGs occur when there is a significant gap between the closing price of one session and the opening price of the next session, often indicating a potential reversal point. This indicator uses volume and price movement criteria to confirm and mark these gaps effectively.
Key Features:
Fair Value Gap Detection : Identifies both bullish and bearish FVGs based on significant gaps in price.
Volume Confirmation : Confirms FVGs with high volume, ensuring that the gap is not due to a lack of liquidity.
Price Imbalance : Ensures that the gap is accompanied by a large price movement within the session, indicating strong market sentiment.
Buy/Sell Signals : Marks bullish FVGs with a green "BUY" label below the bar and bearish FVGs with a red "SELL" label above the bar.
Background Highlighting : Highlights the background with a semi-transparent green or red color when a valid FVG is detected, making it easy to spot significant gaps.
Candlestick Pattern Detector - Vijay PrasadOverview:
This Pine Script v6 indicator is designed to detect and label key candlestick patterns on TradingView charts. It provides real-time visual markers for major bullish and bearish reversal signals, aiding traders in decision-making.
Usefulness:
✅ Saves time by automating candlestick pattern detection.
✅ Reduces manual chart analysis errors.
✅ Works across all markets & timeframes.
✅ Enhances trading strategies with accurate signals.
Candlestick Patterns Recognises:
Bullish Engulfing – A strong bullish reversal pattern.
Bearish Engulfing – Indicates a potential downtrend.
Hammer – Suggests a market bottom or reversal.
Shooting Star – A bearish reversal signal at the top of an uptrend.
Doji – Signals market indecision and possible trend change.
Key Functions:
Automated Pattern Visible
Identifies candlestick patterns dynamically and plots them on the chart.
Visual Labels for Patterns
Labels to indicate specific candlestick formations.
Labels appear only when a valid pattern is detected, avoiding unnecessary clutter.
Buy/Sell Signal
Plots buy signals at bullish patterns and sell signals at bearish patterns.
Helps traders recognize trend reversals and entry/exit points.
Bullish Engulfing Pattern (Green Label)
What it means: A bullish engulfing pattern typically signals a potential reversal from a downtrend to an uptrend. The current candle fully engulfs the previous candle, signaling strong buying interest.
Identifying Candlestick Patterns on the Chart
How to use it:
Entry: Look for a green label (bullish engulfing) at the bottom of the chart. When it appears, consider entering a long position (buy).
Confirmation: To increase reliability, wait for confirmation by observing if price moves above the high of the bullish engulfing candle.
Exit: Exit when the trend shows signs of reversing or take profit at predefined levels (e.g., resistance or a risk-to-reward ratio).
Bearish Engulfing Pattern (Red Label)
What it means: A bearish engulfing pattern is a signal of a potential reversal from an uptrend to a downtrend. The current candle fully engulfs the previous candle, signaling strong selling pressure.
How to use it:
Entry: Look for a red label (bearish engulfing) at the top of the chart. When it appears, consider entering a short position (sell).
Confirmation: Wait for the price to move below the low of the bearish engulfing candle to confirm the bearish trend.
Exit: Close the trade when the price reaches support levels or the trend shows signs of reversing.
Doji Pattern (Blue Circle)
What it means: A Doji candle signals market indecision. It represents a balance between buyers and sellers, often marking a potential reversal or consolidation point.
How to use it:
Entry: If the Doji appears after a strong trend (bullish or bearish), wait for the next candle to break above or below the Doji's high or low. This can signal a continuation or reversal.
Confirmation: You can look for additional indicators like moving averages, RSI, or MACD for confirmation before taking any action.
Exit: Exit when the price shows clear momentum in your entry direction.
Hammer Pattern (Orange Triangle)
What it means: The hammer pattern is a bullish reversal pattern that appears after a downtrend. It suggests that sellers pushed the price down during the session, but buyers managed to push the price back up.
How to use it:
Entry: When a hammer appears, consider entering a long position (buy). The price should move above the hammer's high for confirmation.
Confirmation: Look for strong volume and a follow-up bullish candle to confirm the reversal.
Exit: Set a target based on the next resistance level, or use a trailing stop to lock in profits.
Using Candlestick Patterns with Other Indicators
To increase your chances of success, combine candlestick patterns with other technical indicators.
Here are some ideas:
RSI (Relative Strength Index): Use RSI to check whether the market is overbought or oversold. A bullish engulfing in an oversold market could indicate a stronger buy signal, and a bearish engulfing in an overbought market could indicate a stronger sell signal.
Moving Averages (e.g., 50 EMA, 200 EMA): Confirm trend direction. If the candlestick pattern aligns with the direction of the moving averages, it can give a stronger signal.
MACD (Moving Average Convergence Divergence): Use MACD to confirm momentum and potential trend changes. If a candlestick pattern aligns with a MACD crossover, it strengthens the signal.
Volume: Look for higher-than-average volume when a pattern appears. This can give you additional confirmation that the market is reacting strongly.
Practice and Refine
It's important to practice using the candlestick patterns in a demo account or backtest them to see how they perform under different market conditions. Over time, you can adjust the settings and patterns to fit your trading style and preferences.
Candle Riders CR1Overview
The **Candle Riders CR1** is an advanced trading tool designed to help traders anticipate potential market movements. It calculates three key levels – **Cpoint**, **Rpoint**, and **CRgap** – based on the high, low, and close values of the last 3 candles. These levels offer insights into possible price trends, reversals, and risk-to-reward scenarios, helping traders make more informed decisions.
This indicator is unique because it projects levels for the **next candle**, allowing traders to prepare for potential price movements rather than reacting to completed candles.
Key Features
1. **Cpoint**
- Indicates a potential price level for the next candle.
- If a **green signal** appears on the current candle, the upcoming candle might show an upward movement, with a tendency to reach the Cpoint.
- If a **red signal** appears, the next candle could show a downward movement towards the Cpoint.
2. **Rpoint**
- Represents a level where a trend reversal could occur.
- When the price reaches the Rpoint, it signals a potential change in direction.
- In case of a green signal, this could indicate a shift from an upward to a downward movement. Conversely, a red signal at the Rpoint might suggest a shift from downward to upward.
3. **CRgap**
- Reflects the distance between the last candle's closing price and the calculated Cpoint/Rpoint.
- It helps traders evaluate the risk-to-reward ratio for their potential trades.
- In case of a green signal, CRgap indicates the potential distance the price could move towards the Cpoint. If the price approaches the Rpoint, the same CRgap can guide target and stop levels.
- For a red signal, CRgap similarly represents the possible movement towards the Cpoint or a reversal at the Rpoint.
How It Works
The **Candle Riders CR1** uses a mathematical formula to calculate levels from the last 3 candles’ high, low, and close values. These levels provide a forward-looking view, projecting possible price movements for the **next candle**:
- **Green Signal on Current Candle**: Suggests a positive trend in the upcoming candle, with the price likely to move towards the Cpoint. The CRgap indicates the expected price movement, helping to set a risk-to-reward framework. If the price reaches the Rpoint, a reversal may occur, suggesting a change in direction.
- **Red Signal on Current Candle**: Implies a negative trend for the next candle, with the price tending to move towards the Cpoint. Here too, the CRgap helps assess risk and reward. If the price touches the Rpoint, a reversal might take place, indicating a potential upward movement.
- **Position Management**: If neither Cpoint nor Rpoint is reached, it is advisable to conclude the position when the current candle closes. However, if the same signal continues, the position can be carried forward to the next candle, although the levels for Cpoint, Rpoint, and CRgap will change.
Special Aspects
- **Predictive Analysis**: Unlike conventional indicators, CR1 calculates potential levels for the **next candle**, enabling traders to anticipate market movements.
- **Dynamic Updates**: Levels are recalculated with each new candle, ensuring relevance to evolving market conditions.
- **Multi-Time Frame Compatibility**: Suitable for all time frames, catering to intraday, swing, and positional traders.
Recommended Time Frames
Based on our **observations and back-testing**, the **Candle Riders CR1** has shown **consistent and reliable performance on the 15-minute, 30-minute, and 1-hour time frames**. These intervals appear to provide a balanced view of market movements, capturing trends effectively while minimizing noise.
While the indicator is versatile and can be used across various time frames, these specific durations have demonstrated a **higher degree of accuracy** and **clearer signal interpretation**.
It is important to note that past performance is not a guarantee of future results. Traders are encouraged to explore and adapt the time frames according to their trading style and risk appetite.
How to Use on
1. **Trend Anticipation**: Observe the signal on the current candle:
- **Green Signal**: Anticipate an upward movement in the next candle towards the Cpoint. Use CRgap to evaluate the potential movement. If the price approaches the Rpoint, it signals a potential reversal.
- **Red Signal**: Expect a downward movement in the next candle towards the Cpoint, using CRgap for risk-to-reward assessment. A reversal may occur if the price reaches the Rpoint.
2. **Reversal Indication**: The Rpoint serves as a crucial level for identifying potential trend reversals.
3. **Risk Management**: Utilize CRgap to set target and risk levels, aligning trades with calculated risk-to-reward ratios.
4. **Position Closure and Carry Forward**:
- If no significant movement occurs, consider closing the position at the candle’s end.
- If the same signal persists, the position can be carried forward to the next candle, keeping in mind that levels will be recalculated.
Important Notes
- The levels (Cpoint, Rpoint, CRgap) are calculated for the **next candle**, not the current one.
- Once the current candle closes, new levels are calculated, ensuring that the indicator remains forward-looking.
- These levels are meant to provide context and should be used as a guiding tool along with other trading strategies.
Disclaimer
The **Candle Riders CR1** indicator uses mathematical calculations to project potential price levels. These projections are for **informational and educational purposes only** and are not recommendations or guarantees of future price movements.
- Cpoint and Rpoint levels are based on historical market data and indicate potential price movement or reversal areas.
- CRgap helps traders evaluate risk-to-reward scenarios but should not be the sole basis for trading decisions.
- All trading decisions should be made with independent analysis and proper risk management.
Why It’s Special
1. **Forward-Looking Projections**: It predicts potential levels for the next candle, offering an anticipatory trading advantage.
2. **Dynamic Adaptation**: The indicator adapts to changing market conditions, recalculating levels with each new candle.
3. **Comprehensive Risk Analysis**: By calculating CRgap, it provides a clear framework for evaluating risk-to-reward ratios.
4. **Versatile Application**: Compatible with all time frames and markets, making it adaptable for different trading strategies.
5. **Suggested Time Frames**: Based on our experience, the **15-minute, 30-minute, and 1-hour** time frames have shown consistent and reliable performance.
HTF POI [TakingProphets]HTF POI – Higher Timeframe Points of Interest Detection
The HTF POI Indicator by Taking Prophets is designed for traders following ICT (Inner Circle Trader) concepts and smart money principles. This tool automatically detects higher timeframe (HTF) points of interest (POIs) such as Fair Value Gaps (FVGs), Inverse Fair Value Gaps (IFVGs), and Consequent Encroachment (CE) levels, helping traders spot high-probability trading zones used by institutions.
🔹 Key Features:
✅ Automatic Detection of FVGs & IFVGs – Identifies key price inefficiencies across multiple timeframes.
✅ Multi-Timeframe Analysis – Detect POIs on the current timeframe and up to five higher timeframes (HTF1 to HTF5).
✅ Customizable Sensitivity – Adjust detection settings to High, Medium, or Low based on price gap size.
✅ Fair Value Gap (FVG) Encroachment Lines – Optional midpoint levels to track potential price rebalancing.
✅ Volume Display Option – View volume within detected FVGs for additional confluence.
✅ Inverse Fair Value Gaps (IFVGs) – Tracks invalidated gaps that turn into new liquidity pools.
✅ Works Across All Markets – Ideal for Forex, Futures, Stocks, and Crypto.
🔹 How It Works:
📌 Fair Value Gaps (FVGs) – Price inefficiencies caused by fast institutional moves that often get revisited.
📌 Bullish FVGs (BISI) – Formed when price gaps up, creating a demand zone where price may return.
📌 Bearish FVGs (SIBI) – Formed when price gaps down, acting as a supply zone for potential reversals.
📌 Inverse Fair Value Gaps (IFVGs) – Previously unfilled FVGs that get mitigated and act as liquidity pools.
📌 Consequent Encroachment (CE) – The 50% midpoint of an FVG, where price often reacts.
📌 Multi-Timeframe Integration – Tracks higher timeframe gaps for confluence with lower timeframe setups.
🔹 How to Use:
Identify FVG zones for potential entries or exits in alignment with smart money concepts.
Use Consequent Encroachment (CE) levels to confirm reactions at the 50% level of an FVG.
Watch for IFVGs as they provide new liquidity pools after FVGs are invalidated.
Combine with CHoCH/BOS market structure shifts and Order Blocks for higher-probability trades.
🚀 Refine your trade entries with precision using the HTF POI Indicator by Taking Prophets!
HTF Order Blocks [TakingProphets]HTF Order Blocks – Smart Money Order Block Detection
The HTF Order Blocks Indicator by Taking Prophets is designed for traders following ICT (Inner Circle Trader) concepts and smart money strategies. This indicator automatically detects higher timeframe (HTF) order blocks, allowing traders to track key institutional levels for potential reversals, continuations, and liquidity grabs.
🔹 Key Features:
✅ Automatic HTF Order Block Detection – Identifies bullish and bearish order blocks across multiple timeframes.
✅ Customizable Sensitivity – Adjust detection settings to High, Medium, or Low for filtering OB size based on ATR.
✅ Multi-Timeframe Analysis – Track up to five higher timeframes alongside the current timeframe.
✅ Breaker Block Detection – Optionally highlight breaker blocks when order blocks are invalidated.
✅ Visual Order Block Markings – Displays colored order block zones with labels for clarity.
✅ Works Across All Markets – Ideal for Forex, Futures, Stocks, and Crypto.
🔹 How It Works:
📌 Order Blocks (OBs) – Areas where price previously reversed due to institutional buying/selling.
📌 Bullish OBs – Formed after a down move when price breaks structure to the upside.
📌 Bearish OBs – Formed after an up move when price breaks structure to the downside.
📌 Breaker Blocks – Previously unmitigated OBs that get invalidated and turn into resistance/support.
📌 Multi-Timeframe Integration – Allows traders to track HTF OBs for confluence in their lower timeframe trades.
🔹 How to Use:
Look for order blocks at key liquidity zones to anticipate potential reversals.
Use multi-timeframe OBs to confirm bias and refine entries.
Identify breaker blocks when previous OBs fail, signaling trend shifts.
Combine with CHoCH/BOS structure shifts for high-probability trade setups.
🚀 Take your trading to the next level with the HTF Order Blocks Indicator by Taking Prophets!