ICT Candle Block (fadi)ICT Candle Block
When trading using ICT concepts, it is often beneficial to treat consecutive candles of the same color as a single entity. This approach helps traders identify Order Blocks, liquidity voids, and other key trading signals more effectively.
However, in situations where the market becomes choppy or moves slowly, recognizing continuous price movement can be challenging.
The ICT Candle Block indicator addresses these challenges by combining consecutive candles of the same color into a single entity. It redraws the resulting candles, making price visualization much easier and helping traders quickly identify key trading signals.
FVGs and Blocks
In the above snapshot, FVGs/Liquidity Voids, Order Blocks, and Breaker Blocks are easily identified. By analyzing the combined candles, traders can quickly determine the draw on liquidity and potential price targets using ICT concepts.
Unlike traditional higher timeframes that rigidly combine lower timeframe candles based on specific start and stop times, this indicator operates as a "mixed timeframe." It combines all buying and all selling activities into a single candle, regardless of when the transactions started and ended.
Limitations
There are currently TradingView limitations that affect the functionality of this indicator:
TradingView does not have a Candle object; therefore, this indicator relies on using boxes and lines to mimic the candles. This results in wider candles than expected, leading to misalignment with the time axis below (plotcandle is not the answer).
There is a limit on the number of objects that can be drawn on a chart. A maximum of 500 candles has been set.
A rendering issue may cause a sideways box to appear across the chart. This is a display bug in TradingView; scroll to the left until it clears.
Candlestick analysis
FVG - NibzDescription: Fair Value Gap (FVG) Indicator - Nibz
This Pine Script identifies and visualizes Fair Value Gaps (FVGs) on your TradingView chart. FVGs are price inefficiencies left behind when the market moves too quickly, skipping price levels that might not be tested. These gaps often act as magnets, attracting price for potential reversals or continuations.
The script works by detecting upward (bullish) and downward (bearish) price imbalances based on specific candlestick criteria and then marks these zones on your chart using customizable shaded boxes. This tool is essential for traders looking to identify key areas of market inefficiency that could signify support/resistance levels, potential reversal zones, or areas to monitor for market rebalancing.
How It Works
1. Bullish FVG Detection
The script identifies an upward imbalance when:
The low of the candlestick two bars back is less than or equal to the open of the previous bar.
The high of the current candlestick is greater than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a green box is drawn from the low of the second candlestick back to the high of the current candlestick.
2. Bearish FVG Detection
The script identifies a downward imbalance when:
The high of the candlestick two bars back is greater than or equal to the open of the previous bar.
The low of the current candlestick is less than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a red box is drawn from the low of the current candlestick to the high of the second candlestick back.
Customization Options
This script is highly customizable, allowing you to tailor the appearance of the FVG boxes to suit your trading style and chart aesthetics:
Bullish FVG:
Fill color and transparency.
Border color and transparency.
Bearish FVG:
Fill color and transparency.
Border color and transparency.
The settings are user-friendly, with intuitive sliders for transparency and color pickers for customization.
How to Use the Indicator
Adding the Script:
Add the indicator to your chart, and it will automatically mark bullish (green) and bearish (red) FVGs.
Interpreting FVGs:
Bullish FVGs (green zones): These often act as support or areas of potential price rebalancing on retracement.
Bearish FVGs (red zones): These often act as resistance or areas of interest for short entries.
Trade Ideas:
Use FVG zones to confirm other trade signals or strategies.
Watch for price interaction with these zones to time entries and exits.
Key Features
Automated detection of Fair Value Gaps.
Customizable visual representation to match your chart preferences.
Enhances trading precision by identifying price inefficiencies.
Suitable for scalping, day trading, or swing trading strategies.
This script provides a powerful tool to highlight important price levels and inefficiencies in the market, enabling traders to make informed decisions. Whether you're using it as a standalone indicator or combining it with other tools, the 'FVG - Nibz' indicator is a valuable addition to any trader's toolkit!
Absolute DM LevelsAbsolute DM Levels Indicator
The Absolute DM Levels indicator is a powerful tool designed to assist traders in identifying key price levels based on the Average Absolute Daily Movement (ADM) and Fibonacci ratios. This indicator combines volatility measurement with trend analysis to provide actionable insights for various trading strategies, including day trading, swing trading, and long-term investing.
Key Features:
1. Average Absolute Daily Movement (ADM) Calculation:
• Calculates the ADM over a user-specified period (default is 14 periods).
• ADM represents the average of the absolute differences between consecutive closing prices, offering a straightforward measure of market volatility.
2. Dynamic Level Generation Using Fibonacci Ratios:
• Computes multiple support and resistance levels above and below the previous close using ADM multiplied by key Fibonacci ratios (e.g., 38.2%, 50%, 61.8%, 78.6%, 100%).
• Optional Fibonacci extension levels are available for advanced target setting (e.g., 123.6%, 161.8%, up to 300%).
3. Trading Mode Customization:
• Allows selection of different trading types to adjust the timeframe and sensitivity of the indicator:
• Day Trading
• Multiday Trading
• Swing Trading
• Position Trading
• Long-term Trading
4. Trend Identification with EMA Ribbon:
• Utilizes a triple Exponential Moving Average (EMA) ribbon (default periods of 8, 21, and 34) to determine market trends.
• Identifies bullish, bearish, or neutral trends based on the alignment of price and EMAs.
5. Visual Aids and Alerts:
• Plots horizontal lines on the chart representing calculated levels for easy visualization.
• Color-coded levels and labels help distinguish between different types of levels (e.g., triggers, key targets, intermediate levels).
• Provides informational labels displaying current trading mode, range percentage of ADM, and trigger prices.
6. Customization Options:
• Use Options Labels: Choose between “Calls”/“Puts” or “Long”/“Short” labels for triggers.
• Show All Fibonacci Levels: Option to display all intermediate Fibonacci levels.
• Show Extensions: Option to display Fibonacci extension levels beyond 100% ADM.
• Level Size and Colors: Adjust line thickness and colors for different levels to suit personal preferences.
• Use Current Close: Option to base calculations on the current close price instead of the previous close.
How It Works:
1. ADM Calculation:
• The indicator calculates the ADM by taking the average of the absolute differences between consecutive closing prices over the specified period.
• ADM serves as a measure of average daily price movement, reflecting market volatility.
2. Level Computation:
• Trigger Levels:
• Upper Trigger: Previous Close + (Trigger Percentage × ADM)
• Lower Trigger: Previous Close - (Trigger Percentage × ADM)
• The default trigger percentage is 23.6% (a key Fibonacci retracement level).
• Fibonacci Levels:
• Levels are calculated by adding or subtracting Fibonacci ratios of the ADM from the previous close.
• These levels include common retracement percentages like 38.2%, 50%, 61.8%, and extensions like 123.6%, 161.8%, etc.
3. Trend Analysis:
• The EMA ribbon helps identify the market trend:
• Bullish Trend: Price ≥ Fast EMA ≥ Pivot EMA ≥ Slow EMA
• Bearish Trend: Price ≤ Fast EMA ≤ Pivot EMA ≤ Slow EMA
• Neutral Trend: Any other alignment.
• The trend is visually represented through color-coded labels and background colors.
4. Range Assessment:
• Compares the current period’s range (high - low) to the ADM.
• Displays the range as a percentage of ADM to assess whether the market is more or less volatile than average.
Use Cases:
1. Identifying Support and Resistance Levels:
• Use the plotted levels to anticipate potential areas where the price may encounter support or resistance.
• Helps in setting entry and exit points based on expected market reactions at these levels.
2. Trend Confirmation:
• Align trades with the identified trend to increase the probability of success.
• The EMA ribbon trend identification aids in confirming bullish or bearish market conditions.
3. Volatility Assessment:
• By comparing the current range to the ADM, traders can gauge market volatility.
• High percentages may indicate overextended moves, while low percentages might suggest consolidation.
4. Strategic Trade Planning:
• The trigger levels serve as potential breakout points.
• Fibonacci levels offer targets for profit-taking or setting stop-loss orders.
5. Customization for Different Trading Styles:
• Adjust the trading type to fit your trading horizon, whether you’re a day trader or a long-term investor.
• Customize levels and visual settings to match your analysis preferences.
How to Use the Indicator:
1. Add the Indicator to Your Chart:
• Apply the Absolute DM Levels indicator to your desired financial instrument chart.
2. Configure Settings:
• Select your Trading Type to adjust the timeframe and sensitivity.
• Set the ADM Length according to your preference for volatility measurement.
• Choose whether to Show All Fibonacci Levels and Show Extensions based on your analytical needs.
• Customize colors and level sizes for better visual clarity.
3. Interpret the Levels and Labels:
• Trend Labels: Observe the trend indication (bullish, bearish, neutral) provided by the EMA ribbon analysis.
• Information Table: Review the displayed range percentage and trigger prices.
• Plotted Levels: Use the horizontal lines to identify key support and resistance zones.
4. Incorporate into Your Trading Strategy:
• Combine the insights from the indicator with other technical analysis tools.
• Use the levels for setting up trades, managing risk, and identifying potential market turning points.
Notes:
• No Repainting: The indicator uses security functions with lookahead=barmerge.lookahead_on to ensure that calculations are based on completed data, minimizing repainting issues.
• Versatility: Suitable for various financial instruments, including stocks, forex, commodities, and cryptocurrencies.
• Complementary Tool: Designed to enhance your existing trading strategy, not replace thorough market analysis.
Disclaimer: The Absolute DM Levels indicator is intended for educational and informational purposes only. It should not be construed as financial advice. Trading financial instruments involves risk, and past performance is not indicative of future results. Always conduct your own analysis and consult with a professional financial advisor before making investment decisions.
Good Candles with Risk TableThis custom Pine Script indicator highlights bullish and bearish candles based on the highest and lowest close prices over the past specified number of candles (look-back period).
Bullish candles are marked with an orange color when the close is higher than the highest close from the previous candle.
Bearish candles are marked with a purple color when the close is lower than the lowest close from the previous candle.
The indicator also draws two lines for each colored candle:
Midline: A horizontal line drawn at the midpoint between the open and close of the candle, which helps visualize the candle's body.
Open line: A horizontal line drawn at the open price, offering an additional reference point for market action.
Lines are visible for the last 5 colored candles (either bullish or bearish), with old lines being removed to avoid clutter on the chart.
Additionally, the Risk Table at the top right of the chart shows the calculated units to buy for the specified risk amount (default value of $0.1), based on the distance between the candle’s close and its midpoint. This allows users to manage their risk effectively by knowing how many units they should purchase to match their desired risk level.
DB369 - Directional Bias 369
DB369 - Directional Bias 369 Indicator
The **DB369** indicator helps traders identify key market levels and trends by combining multiple timeframes' price action analysis. It highlights important **pivot points** on the chart and provides visual cues to help you make more informed buy and sell decisions based on the overall market direction.
Key Features
1. Pivot Points Across Multiple Timeframes**:
- The indicator calculates and displays pivot points for the **Monthly**, **Weekly**, **Daily**, **4-Hour**, and **1-Hour** timeframes (or 30-minute equivalent if desired). These pivots represent significant price levels where the market may retest.
2. **Trend Detection**:
- The indicator evaluates the relationship between the current price and the pivot point for each timeframe. Based on this comparison, it classifies the market as **Bullish**, **Bearish**, or **Neutral** on each timeframe.
3. **Pivot Lines**:
- Horizontal lines are drawn to mark the key pivot points for each selected timeframe. These lines extend into the future and adjust dynamically as the market moves in real time.
- **Customizable**: You can choose which timeframes to display pivot points by enabling/disabling them in the settings.
4. **Trend Table**:
- A **table** is displayed at the top-right of the chart to show the trend for the **Daily**, **4-Hour**, and **30-Minute** timeframes. It provides an easy-to-read view of the trend direction across these timeframes.
5. **Buy/Sell Arrows**:
- **Buy Arrow**: A green arrow will appear when the **Daily**, **4-Hour**, and **30-Minute** trends are all **Bullish** (aligned in the same direction).
- **Sell Arrow**: A red arrow will appear when all three timeframes show a **Bearish** trend.
- These arrows appear only once per alignment change and can be enabled or disabled for alerts. This helps avoid clutter on the chart and ensures that you only see a signal when the alignment occurs or changes.
### **How to Use the DB369 Indicator**:
1. **Pivot Points**:
- The pivot points represent significant price levels where the market might retest in the future. For instance:
- **Bullish Market**: If the price is above the pivot point, the market is considered bullish.
- **Bearish Market**: If the price is below the pivot point, the market is considered bearish.
- **Neutral Market**: When the price is near the pivot point, the market is neither strongly bullish nor bearish.
2. **Trend Alignment**:
- When the **Daily**, **4-Hour**, and **30-Minute** timeframes all show the same trend direction (either **Bullish** or **Bearish**), this alignment signifies a stronger trend.
- You will receive a **Buy Arrow** when all three timeframes are aligned bullish, and a **Sell Arrow** when they are aligned bearish.
- These arrows are displayed at the point when the alignment is first detected and can also trigger **alerts**.
3. **Alerts**:
- You can choose to enable alerts for when a **Buy** or **Sell** arrow appears on the chart. This allows you to be notified in real-time when the alignment conditions are met.
4. **Using the Pivot Points for Entry**:
- **Buy Trade**: Look for a buy trade when the price is near the **pivot line** of the higher timeframes, particularly when the trend across all three timeframes is **Bullish**.
- **Sell Trade**: Similarly, look for a sell trade when the price is near a **pivot line** and the trend is **Bearish**.
5. **Customization**:
- You can customize which timeframes' pivots are shown on the chart by toggling the visibility of the **Monthly**, **Weekly**, **Daily**, **4-Hour**, and **1-Hour** pivots in the settings.
- The indicator automatically adjusts the pivot levels in real-time as the market progresses.
**Important Notes**:
- This indicator does not guarantee successful trades; it is intended to assist in identifying potential trade opportunities based on the alignment of higher timeframe trends.
- Always combine the information from the DB369 indicator with other technical analysis tools and risk management strategies to ensure more accurate trade decisions.
Abnormal Candle DetectorAbnormal Candle Detector
The Abnormal Candle Detector identifies sudden and unusual price movements by comparing the current candle's size and volume to recent averages. It highlights candles that deviate significantly from normal market behavior, helping traders spot breakouts, reversals, or high-impact events.
Features:
1. Abnormal Size Detection: Flags candles where the range (high-low) exceeds a user-defined multiplier of the average range.
2. Volume Confirmation: Optionally ensures abnormal movements are backed by higher-than-average volume.
3. Visual Markers:
Green triangles for bullish abnormal candles.
Red triangles for bearish abnormal candles.
Background highlights for better visibility.
4. Alerts: Real-time notifications when abnormal candles are detected.
Why Use It?
Spot early breakouts or trend reversals.
Identify high-impact events driven by news or institutional activity.
Filter noise and focus on significant market movements.
Customizable for any market or timeframe, the Abnormal Candle Detector is perfect for traders who want to stay ahead of major price action.
Custom Ratio IndicatorThis indicator allows users to compare the price ratio of two customizable trading pairs. By dividing the closing price of the first trading pair by the second, it calculates and plots the resulting ratio on the chart. It is designed for traders who want to analyze correlations or relative performance between two assets. The default pairs are ETHUSDT and BTCUSDT, and users can customize these inputs. The indicator supports high precision to ensure accurate representation of small or large ratios. Additionally, the current ratio is dynamically displayed on the chart for easy reference.
Volatility-Driven Trend Reversal (VTR) IndicatorThe Volatility-Driven Trend Reversal (VTR) Indicator is a sophisticated Pine Script trading tool designed to provide clear, non-repainting buy and sell signals based on a combination of trend-following, volatility-based, and momentum analysis. It utilizes Exponential Moving Average (EMA) for trend direction, Average True Range (ATR) for dynamic volatility bands, and Relative Strength Index (RSI) for momentum filtering. The VTR Indicator is built to operate effectively on all market pairs, including cryptocurrency, stocks, and forex, providing traders with reliable, actionable signals for both trend continuation and reversal strategies.
This indicator is tailored to reduce noise and avoid over-signaling by filtering out minor fluctuations. With its unique volatility-based ATR bands, the VTR Indicator excels in volatile environments, such as cryptocurrency markets, and helps traders capture significant price movements while managing risk effectively.
Key Features
Trend Confirmation (EMA):
The indicator relies on the 50-period Exponential Moving Average (EMA) to define the market's primary trend direction. A rising EMA suggests an uptrend, while a falling EMA indicates a downtrend.
Volatility-Based ATR Bands:
ATR (Average True Range) is used to calculate dynamic support and resistance levels based on market volatility. The upper and lower bands represent potential overbought and oversold zones, ensuring that price action aligns with the overall market volatility.
These bands are adaptive to price fluctuations, making them a powerful tool for detecting volatility shifts in real-time.
Momentum Filter (RSI):
The 14-period Relative Strength Index (RSI) is applied to ensure that buy signals only appear when the market is showing upward momentum (RSI above 50) and sell signals when there is downward momentum (RSI below 50).
This filtering mechanism helps avoid false signals during periods of consolidation or ranging markets, improving the signal's overall accuracy.
Non-Repainting Logic:
The buy and sell signals generated by the VTR Indicator are persistent and will not repaint after the bar closes. Once a signal is confirmed, it stays active until an opposite condition triggers a new signal.
This is achieved using a persistent signalState variable, which tracks the current market trend and prevents premature or false signals.
Stop-Loss and Take-Profit Levels:
The indicator automatically generates Stop Loss (SL) and Take Profit (TP) levels based on the ATR multiplier to assist with trade risk management.
These levels are dynamically calculated as a multiple of the ATR value, helping traders manage potential volatility and exit at strategic points.
Multi-Market Compatibility:
The VTR Indicator is suitable for all market pairs (cryptocurrencies, stocks, forex, indices), allowing traders to apply it across various timeframes and asset classes without losing performance reliability.
Alert System:
Built-in alert conditions notify traders of Buy and Sell signals, ensuring they don’t miss any potential trading opportunities.
Signal Logic & Interpretation
Buy Signal (Long Entry):
Condition 1: The price closes above the upper ATR band, suggesting potential upward price movement.
Condition 2: The RSI is above 50, confirming bullish momentum.
Buy Signal Confirmation: The buy signal is generated when both conditions are met and there is no prior active buy signal.
Sell Signal (Short Entry):
Condition 1: The price closes below the lower ATR band, suggesting potential downward price movement.
Condition 2: The RSI is below 50, confirming bearish momentum.
Sell Signal Confirmation: The sell signal is generated when both conditions are met and there is no prior active sell signal.
No Repainting:
Once a buy or sell signal is confirmed, it will not be altered, erased, or replaced by future bars. This ensures that the trader can trust the signal once it appears, knowing it will not change as the market moves.
Exit Points:
Take Profit: When a long position is active, the TP level is calculated as a multiple of the ATR above the entry price.
Stop Loss: When a long position is active, the SL level is calculated as a multiple of the ATR below the entry price.
For short positions, these levels are reversed: TP is below the entry price, and SL is above the entry price.
Trading Strategy:
Entry:
Enter a long position when the buy signal is generated, confirmed by the price crossing the upper ATR band and the RSI being above 50.
Enter a short position when the sell signal is generated, confirmed by the price crossing the lower ATR band and the RSI being below 50.
Exit:
For long positions, exit when the price reaches the Take Profit (TP) level or hits the Stop Loss (SL) level.
For short positions, exit when the price reaches the Take Profit (TP) level or hits the Stop Loss (SL) level.
Risk Management:
Use the ATR-based Stop Loss (SL) and Take Profit (TP) levels to manage risk dynamically.
Always ensure your stop-loss levels are within your risk tolerance for each trade.
Unique Aspects:
Adaptability: The VTR Indicator adapts to changing market conditions, making it suitable for high volatility environments like cryptocurrency trading.
Non-Repainting: Once a signal is generated, it remains valid and doesn't change with new bars, ensuring a reliable trading strategy.
Built-in Risk Management: Automatic dynamic SL and TP levels allow for strategic trade exits, enhancing trade management.
Example Scenario
Scenario 1 (Bullish Trend):
The price is above the upper ATR band, and the RSI is above 50, signaling a strong bullish trend. The buy signal is triggered, and the price continues to rise, hitting the take-profit target based on ATR levels.
Exit: The price reaches the TP level or hits the SL level, and the position is closed.
Scenario 2 (Bearish Trend):
The price is below the lower ATR band, and the RSI is below 50, signaling a strong bearish trend. A sell signal is generated, and the price continues to decline, hitting the take-profit target.
Exit: The price reaches the TP level or hits the SL level, and the short position is closed.
Daily DividerWhat does this script do?
The “Daily Divider” script provides a visual tool for traders who need to divide their daily charts into clear intervals and label the days of the week. This is especially useful for identifying time-based patterns or conducting technical analysis on charts with timeframes lower than a day.
Key Features:
1. Customizable Day Dividers:
• Draws vertical lines on the chart to mark the start of each new day.
• Lines are fully customizable in terms of color, style (solid, dotted, or dashed), and visibility.
2. Day Name Labels:
• Displays labels on the chart indicating the day of the week.
• Day names can be fully customized with user-defined abbreviations.
3. Advanced Customization Options:
• Adjust the color and size of the label text.
• Configure a margin to position the labels above the highest price of the day.
• Enable or disable the labels and dividers as needed.
4. Ease of Use:
• Designed for daily or lower timeframes.
• Ideal for traders operating intraday strategies, scalping, or analyzing specific intra-day movements.
How does it work?
• Detects day changes using the built-in dayofweek function.
• Draws a vertical line on the chart when a new day is detected.
• Uses labels to display the day name with a clean and clear design, automatically positioned above the highest price.
Why is it useful?
• Enhances visual clarity on intraday charts by separating trading days.
• Helps traders quickly identify time-based patterns or recurring events associated with specific days of the week.
• Increases customization to fit individual trading styles and preferences.
Practical Use Case:
An intraday trader can use this script to divide the chart into days and observe how the price of an asset evolves on specific days, such as Mondays or Fridays. Additionally, with labels, it becomes easy to correlate these movements with weekly recurring events.
Lot Size & Risk Calculator (All Pairs)this indicator is designed to simplify and optimize risk management. It automatically calculates the ideal lot size based on your account balance, risk percentage, and defined entry and exit levels. Additionally, it includes visual tools to represent stop-loss (SL) and take-profit (TP) levels, helping you trade with precision and consistency.
WHAT IS THIS INDICATOR FOR?
This indicator is essential for traders who want to:
Maintain consistent risk in their trades.
Quickly calculate lot sizes for Forex, XAUUSD, BTCUSD, and US100.
Visualize key levels (Entry, SL, and TP) on the chart.
Monitor potential losses and gains in real time.
COMPATIBLE ASSETS
The Lot Size Calculator works with the following assets:
Forex: Standard currency pairs.
XAUUSD: Gold versus the US dollar.
BTCUSD: Bitcoin versus the US dollar.
US100: Nasdaq 100 index.
Calculations adjust automatically based on the selected asset.
TAKE-PROFIT (TP) LEVELS
The indicator allows you to define up to three take-profit levels:
TP1
TP2
TP3
.
Each level is configurable based on your exit strategy.
DASHBOARD
The dashboard is a visual tool that consolidates key information about your trade:
Account balance: Total amount available in your account.
Lot size: Calculated based on your risk and parameters.
Potential loss (SL): Amount you could lose if the price hits your stop-loss.
Potential gain (TP): Expected profit if the take-profit level is reached.
SETTINGS
The indicator offers multiple configurable options to adapt to your trading style:
Levels
Entry: Initial trade price.
Stop-Loss (SL): Maximum allowed loss level.
Take-Profit (TP): Up to three configurable levels.
Risk Management
Account balance ($): Enter your total available balance.
Risk percentage: Define how much you're willing to risk per trade
.
Visual Options
Visualization style: Choose between simple lines or visual fills.
Colors: Customize the colors of lines and labels.
Dashboard Settings
Statistics: Enable or disable key data display.
Size and position: Adjust the dashboard's size and location on the chart.
HOW TO CHANGE AN ENTRY?
Open the indicator settings in TradingView and entering the new data manually
Removing and re-adding the indicator to the chart
Open-Close Upward Difference MarkerThis indicator, called "Open-Close Upward Difference Marker", is designed to help traders quickly spot candles where the price has moved up significantly within a certain percentage. It places a small green dot above any candle where the closing price is higher than the opening price (meaning the price went up) and the percentage difference between the open and close is greater than a set threshold.
Here’s how it works:
You can set a percentage threshold (e.g., 1%) using the input field. This threshold helps filter out small price changes, so the indicator only shows larger movements.
If the price increase from the open to the close is greater than the threshold, a small green dot will appear above the candle, letting you quickly identify upward price movements that meet your criteria.
It ignores downward price movements, so you’ll only see green dots for candles where the price has gone up.
This indicator is helpful for spotting upward trends and significant price increases, making it a simple visual aid for beginner traders.
Dynamic TestingInput Parameters
`lookbackPeriod` : Number of candles to check for determining the highest high (resistance) and lowest low (support) levels.
`atrPeriod` : The period for calculating the Average True Range (ATR), a measure of market volatility.
`atrMultiplierSL` : Multiplier to calculate the stop-loss distance relative to the ATR.
`atrMultiplierTP1` and `atrMultiplierTP2` : Multipliers to calculate two take-profit levels relative to ATR.
`rewardToRisk` : The ratio between reward (profit) and risk (stop loss) for trade management.
---
Core Calculations
ATR (Average True Range)
atr = ta.atr(atrPeriod)
ATR is computed using the specified period to gauge price volatility.
Volume SMA
volumeSMA = ta.sma(volume, atrPeriod)
The script calculates the simple moving average of volume over the same period as ATR. This is used as a threshold for validating high-volume scenarios.
---
Support and Resistance Levels
`support` : Lowest price over the last `lookbackPeriod` candles.
`resistance` : Highest price over the same period.
`supportBuffer` and `resistanceBuffer` : These are "buffered" zones around support and resistance, calculated using half of the ATR to prevent false breakouts.
---
Entry Scenarios
Bullish Entry (`isBullishEntry`)
The close is above the buffered support level.
The low of the current candle touches or breaks below the support level.
The trading volume is greater than the `volumeSMA`.
Bearish Entry (`isBearishEntry`)
The close is below the buffered resistance level.
The high of the current candle touches or exceeds the resistance level.
The trading volume is greater than the `volumeSMA`.
---
Box Visualization
Bullish and Bearish Boxes
Bullish Box (`bullishBox`):
- A green, semi-transparent rectangle around the support level to highlight the bullish entry zone.
- Dynamically updates based on recent price action.
Bearish Box (`bearishBox`):
- A red, semi-transparent rectangle around the resistance level to highlight the bearish entry zone.
- Adjusts similarly as price evolves.
---
Stop Loss and Take Profit Calculations
Bullish Trades
Stop Loss (`bullishSL`): Calculated as support - atrMultiplierSL * ATR .
Take Profit 1 (`bullishTP1`): support + rewardToRisk * atrMultiplierTP1 * ATR .
Take Profit 2 (`bullishTP2`): support + rewardToRisk * atrMultiplierTP2 * ATR .
Bearish Trades
Stop Loss (`bearishSL`): resistance + atrMultiplierSL * ATR .
Take Profit 1 (`bearishTP1`): resistance - rewardToRisk * atrMultiplierTP1 * ATR .
Take Profit 2 (`bearishTP2`): resistance - rewardToRisk * atrMultiplierTP2 * ATR .
---
Visualization for Key Levels
Bullish Scenario
Green lines represent `bullishTP1` and `bullishTP2` for profit targets.
A red line indicates the `bullishSL` .
Labels like "TP1," "TP2," and "SL" dynamically appear at respective levels to make the targets and risk visually clear.
Bearish Scenario
Red lines represent `bearishTP1` and `bearishTP2` .
A green line marks the `bearishSL` .
Similar dynamic labeling for `TP1` , `TP2` , and `SL` at corresponding bearish levels.
---
Dynamic Updates
Both the entry boxes and key level visualizations (lines and labels) adjust dynamically based on real-time price and volume data.
---
Purpose
Identify high-probability bullish and bearish trade setups.
Define clear entry zones (using boxes) and exit levels (TP1, TP2, SL).
Incorporate volatility (via ATR) and volume into decision-making.
---
Technical Summary
Dynamically visualize support/resistance levels.
Set risk-managed trades using ATR-based stop-loss and profit levels.
Automate visual trade zones for enhanced chart clarity.
---
Candle Flip System - CFSCandle Flip System - CFS
The Candle Flip System checklist table is a tool designed for traders seeking a structured approach to decision-making. This indicator provides a visual checklist to validate critical conditions before entering a trade. It includes:
1. Previous D1 Candle Analysis:
Displays whether the previous daily candle closed bullish or bearish, indicated by intuitive markers.
2. 4-Hour Alignment Check:
Confirms if the bias of the previous 4-hour candle aligns with the previous daily candle's bias.
Outputs "YES" in green for alignment or "NO" in red for misalignment.
This indicator simplifies multi-timeframe analysis and ensures a systematic evaluation of key trading conditions, enabling traders to make more confident and disciplined decisions.
How to Use:
1. Apply the indicator to your chart.
2. Observe the table displayed in the top-right corner.
3. Use the information to validate your trading strategy before entering a trade.
Supply and Demand [tambangEA]Supply and Demand Indicator Overview
The Supply and Demand indicator on TradingView is a technical tool designed to help traders identify areas of significant buying and selling pressure in the market. By identifying zones where price is likely to react, it helps traders pinpoint key support and resistance levels based on the concepts of supply and demand. This indicator plots zones using four distinct types of market structures:
1. Rally-Base-Rally (RBR) : This structure represents a bullish continuation zone. It occurs when the price rallies (increases), forms a base (consolidates), and then rallies again. The base represents a period where buying interest builds up before the continuation of the upward movement. This zone can act as support, where buyers may step back in if the price revisits the area.
2. Drop-Base-Rally (DBR) : This structure marks a bullish reversal zone. It forms when the price drops, creates a base, and then rallies. The base indicates a potential exhaustion of selling pressure and a build-up of buying interest. When price revisits this zone, it may act as support, signaling a buying opportunity.
3. Rally-Base-Drop (RBD) : This structure signifies a bearish reversal zone. Here, the price rallies, consolidates into a base, and then drops. The base indicates a temporary balance before sellers overpower buyers. If price returns to this zone, it may act as resistance, with selling interest potentially re-emerging.
4. Drop-Base-Drop (DBD) : This structure is a bearish continuation zone. It occurs when the price drops, forms a base, and then continues dropping. This base reflects a pause before further downward movement. The zone may act as resistance, with sellers possibly stepping back in if the price revisits the area.
Features of Supply and Demand Indicator
Automatic Zone Detection : The indicator automatically identifies and plots RBR, DBR, RBD, and DBD zones on the chart, making it easier to see potential supply and demand areas.
Customizable Settings : Users can typically adjust the color and transparency of the zones, time frames for analysis, and zone persistence to suit different trading styles.
Visual Alerts : Many versions include alert functionalities, notifying users when price approaches a plotted supply or demand zone.
How to Use Supply and Demand in Trading
Identify High-Probability Reversal Zones : Look for DBR and RBD zones to identify potential areas where price may reverse direction.
Trade Continuations with RBR and DBD Zones : These zones can indicate strong trends, suggesting that price may continue in the same direction.
Combine with Other Indicators: Use it alongside trend indicators, volume analysis, or price action strategies to confirm potential trade entries and exits.
This indicator is particularly useful for swing and day traders who rely on price reaction zones for entering and exiting trades.
Sessions ny vizScript Purpose
This indicator draws a colored background during the New York trading session. It's useful for traders who want to have a visual overview of when the American (NY) trading session is active.
Main Features
NY Session Visualization - draws a gray bar in the background of the chart during NY trading hours (15:00-19:00 CET)
Customization - allows users to:
Set custom session time range
Adjust background color and transparency
Limit display to only the last 24 hours
Input Parameters
sessionRange - session time range (default 15:00-19:00 CET)
sessionColour - background color (default gray with 90% transparency)
onlyLast24Hours - toggle for showing only the last 24 hours (default false)
Technical Details
Script is written in Pine Script version 5
Uses UNIX timestamp for time period calculations
Runs as an overlay indicator (overlay=true), meaning it displays directly on the price chart
Uses the bgcolor() function for background rendering
Contains logic to check if current time is within defined session
Usage
This indicator is useful for:
Monitoring active NY trading session hours
Planning trades during the most liquid hours of the US market
Visual orientation in the chart during different trading sessions
Historical Price Levels: Week, Month, QuarterDescription:
The Historical Highs and Lows: Weekly, Monthly, Quarterly Levels indicator is designed to mark significant price levels based on the highest and lowest prices within specific historical time periods. This indicator provides insights into key price points from multiple timeframes: weekly, monthly, and quarterly. It is ideal for traders who want to monitor and analyze the critical support and resistance levels that may influence price movement.
This indicator draws horizontal lines from the highest and lowest price points of past weeks, months, and quarters, extending 10 candles into the future from these critical price levels. The indicator also provides labels to mark each of these levels, making it easy to identify important turning points in the price chart.
Key Features:
Historical Highs and Lows: The indicator marks the highest and lowest prices for each specified period—weekly, monthly, and quarterly—up to the last closed week, month, or quarter.
Dynamic Lines: The lines are drawn from the historical high/low points and extended to the right by 10 candles, representing potential future price levels of interest.
Labels: The indicator provides labels such as "Week X High", "Month X Low", and "Quarter X High", placed on the right side of the chart to highlight each significant level.
Customizable: Users can adjust the appearance of the lines, including the line style and color, to match their preferences.
Multi-Timeframe Support: The indicator works across all timeframes, ensuring that users can view relevant historical levels regardless of their chart's resolution.
How to Use:
Support and Resistance: The high and low levels marked by this indicator can act as key support and resistance zones. Price action may reverse when it approaches these levels, as they represent significant price points where the market has reversed in the past.
Reversal Points: Price often reacts strongly when it reaches these historical highs or lows. Traders can use these levels to anticipate potential reversals or breakouts.
Market Analysis: By identifying the key high and low points of different timeframes, traders can gain a deeper understanding of the market’s past behavior and use this information to make more informed trading decisions.
Usage Strategy:
Price Reversals: When price approaches one of the historical high or low levels, watch for signs of reversal, such as candlestick patterns (e.g., Doji, Engulfing) or other technical indicators (e.g., RSI, MACD). These levels often act as strong barriers, and price can reverse at these points.
Breakouts: If the price breaks through these levels, it could signal the beginning of a new trend. For example, a breakout above a historical high may suggest bullish momentum, while a breakdown below a historical low may indicate a bearish trend.
Conclusion:
The Historical Highs and Lows: Weekly, Monthly, Quarterly Levels indicator is a powerful tool for traders looking to understand and monitor key price levels. By identifying significant price points from multiple timeframes, traders can use this information to predict potential price reversals or breakouts. Given the nature of these levels, price often reacts near them, providing valuable opportunities for entry and exit points.
Large Candle Marker (Threshold in Cents)This indicator, Large Candle Marker, identifies and marks candles that exceed a specified size threshold. The size can be based on either the candle's body (difference between open and close) or the total range (difference between high and low). The threshold is entered in cents for easy configuration, and the indicator highlights these significant candles directly on the chart with a orange flag. It's perfect for spotting momentum or volatility in price movements. I use it to not enter trades after a large candle.
// INSTRUCTIONS:
// 1. Input the desired candle size threshold in cents in the settings menu.
// - For example, enter "30" for 30 cents or "50" for 50 cents.
// 2. Choose the size type:
// - Select "True" to use the candle body size (difference between open and close).
// - Select "False" to use the total range size (difference between high and low).
// 3. The script will mark candles exceeding the threshold with a red marker above the candle.
// 4. Apply this indicator to any chart to identify significant candles based on the threshold.
Pin Bar with Adaptive Zones and Price LevelsThis indicator is designed to simplify the identification and analysis of pin bar formations (commonly called "tail bars"), offering traders an adaptable and efficient tool for market insights. With added visual and numerical precision, it aids in spotting potential trade setups with clarity.
Key Features:
Dynamic Pin Bar Detection:
Highlights bullish pin bars with a customizable color (default: white).
Highlights bearish pin bars with a customizable color (default: yellow).
Price-Level Zones for Clarity:
Automatically draws a zone from the high to the low of each pin bar.
Displays the highest and lowest prices for the pin bar within the zone, making it easy to visualize potential entry, exit, or stop-loss levels.
Customizable Display Options:
Toggle visibility for bullish and bearish pin bars independently.
Option to enable or disable zones for a cleaner chart view.
Fully Adjustable Aesthetics:
Customize the colors, zone styles, and text display to suit your personal preferences or chart theme.
Purpose:
This indicator enhances chart analysis by combining pattern recognition with actionable visual and numerical data. By focusing on customizable zones and price levels, traders can efficiently identify key areas of interest and refine their strategies for better trade execution.
How It Adds Value:
Unique Utility: The inclusion of zones showing the pin bar's highest and lowest prices adds practical value, as traders can immediately see potential entry and exit prices without manually inspecting the bar.
Adaptable Features: With options to customize and toggle elements, the indicator caters to both minimalists and detailed-focused traders.
Precision in Trade Execution: The visual clarity provided by the zones supports more precise placement of entries, exits, and stop-losses, making it highly useful for both discretionary and systematic traders.
Percent % Change Since Specific Date / TimeFUNCTIONS
- User specified Date/Time of importance
- Calculate the percent change since user input date/time to current price
- Plot a line at user input date/time
USAGE
You want to see how much price has changed since a certain important date/time.
Example important date: Trump win, FED rate change, Earnings, etc.
B-Xtrender By Neal inspired from @PuppytherapyThanks to @puppytherapy for creating the original B-Xtrender indicator, available at this link: B-Xtrender by @QuantTherapy
I played around the code to have entry and exit condition. The B-Xtrender @QuantTherapy
indicator is a momentum-based tool designed to help traders identify potential trade opportunities by tracking shifts in market momentum. Using a smoothed momentum oscillator, it detects changes in trend direction and provides clear signals for entry and exit points.
Features
Momentum Detection:
Tracks market momentum using the BX-Trender Oscillator.
Green bars indicate bullish momentum, while red bars indicate bearish momentum.
Lighter shades of green/red reflect weakening momentum.
Entry and Exit Signals:
Entry Condition: A long trade is triggered when the oscillator changes from red to green .
Exit Condition: A long trade exit is triggered when the oscillator changes from green to red .
Dynamic PnL Calculation:
Automatically calculates profit or loss in percentage (%) when a trade is exited.
Positive PnL values are prefixed with `+`, and negative values are shown as `-`.
Clear Visualization:
Bar chart-style oscillator in a separate pane for better trend visualization.
Trade labels on the main price chart for clear entry and exit points.
Inputs
Short-Term Momentum Parameters:
Short - L1: Length of the first EMA for short-term momentum calculations.
Short - L2: Length of the second EMA for short-term momentum calculations.
Short - L3: RSI smoothing period applied to the short-term momentum.
Long-Term Momentum Parameters:
Long - L1: Length of the EMA for long-term momentum calculations.
Long - L2: RSI smoothing period applied to the long-term momentum.
Entry and Exit Logic
Entry Condition:
A long trade is triggered when:
The BX-Trender Oscillator changes from red to green .
This shift indicates bullish momentum.
Exit Condition:
A long trade exit is triggered when:
The BX-Trender Oscillator changes from green to red .
This shift indicates a loss of bullish momentum or the start of bearish momentum.
PnL Calculation:
When exiting a trade, the indicator calculates the profit or loss as a percentage of the entry price.
Example:
A profit is displayed as +5.67% .
A loss is displayed as -3.21% .
Visualization
Oscillator Bars:
Green Bars: Represent increasing bullish momentum.
Light Green Bars: Represent weakening bullish momentum.
Red Bars: Represent increasing bearish momentum.
Light Red Bars: Represent weakening bearish momentum.
Just make sure that you checked off the B-Xtrend oscillator off from the style so chart can be active
Trade Labels:
Entry Labels: Displayed below the candle with the text Entry, long .
Exit Labels: Displayed above the candle with the text Exit .
Bar Chart Pane:
The oscillator is displayed in a separate pane for clear trend visualization.
Default Style
Oscillator Colors:
Green for bullish momentum.
Red for bearish momentum.
Light green and light red for weaker momentum.
Trade Labels:
Green labels for entries.
Red labels for exits, with percentage PnL displayed.
Use Cases
Momentum-Based Entries:
Detects shifts in momentum from bearish to bullish for precise trade entry points.
Trend Reversal Detection:
Identifies when bullish momentum weakens, signaling an exit opportunity.
Visual Simplicity:
Offers an intuitive way to track trends with its bar chart-style oscillator and clear trade labels.
This indicator doesn't indicate that it will work perfectly. More updates on the way.
RSI Instant DivergenceThis script detects RSI divergence—a common signal indicating potential trend reversals. It compares price action and RSI behavior to identify two types of divergences:
1- Bearish Divergence (Sell Signal):
Occurs when the price forms a higher high while RSI drops (weaker momentum).
A label appears above the candle, and an alert is triggered: "Divergence: Sell Signal."
2 -Bullish Divergence (Buy Signal):
Occurs when the price makes a lower low while RSI rises (stronger momentum).
A label appears below the candle, and an alert is triggered: "Divergence: Buy Signal."
The labels are color-coded (orange for sell, blue for buy) and include detailed RSI and price info in a tooltip. Alerts help you act immediately when divergence is detected.
This tool is perfect for spotting potential trend reversals and refining your entry/exit strategy. Let me know if you'd like to customize it further! 😊
Tooltip Feature: Each label includes a tooltip with precise RSI and price details (current and previous values) as well as the percentage change in RSI, giving you deeper insight into the divergence. This tool is great for identifying trend reversal points and includes visual labels, tooltips, and alerts to make real-time trading decisions easier. Let me know if you’d like adjustments!
HTF Multi-Asset Sync Display ProHTF Multi-Asset Sync Display Pro
A professional-grade indicator designed for advanced multi-timeframe and multi-symbol analysis. This powerful tool enables synchronized visualization of up to three different assets across various timeframes, making it perfect for correlation analysis, market structure comparison, and smart money tracking.
Overview
HTF Multi-Asset Sync Display Pro is an advanced visualization tool that allows traders to monitor up to three different symbols simultaneously on a single chart. Whether you're analyzing correlations, divergences, or inter-market relationships, this indicator provides a comprehensive solution for complex market analysis.
Usage Examples
1. Multi-Timeframe Analysis of Single Symbol
Perfect for traders focusing on market structure and order flow:
- Configure all three sets to display different higher timeframes of the chart's main symbol
- Example: On 5M chart, display 15M, 1H, and 4H timeframes
Benefits:
- Clear visualization of higher timeframe market structure
- Real-time order flow analysis across multiple timeframes
- Better context for ICT PD Arrays on higher timeframes
- Enhanced understanding of support/resistance levels
- Improved timing for entries and exits
2. Correlated Assets Analysis
Ideal for traders working with related instruments:
- Display higher timeframes of correlated assets (e.g., ES, NQ, and YM)
Benefits:
- Easy identification of divergences between correlated symbols
- Enhanced probability assessment for CRT setups
- Improved Turtle Soup trading opportunities
- Clear visualization of relative strength/weakness
- Better timing for market reversals
3. Extended Analysis with Multiple Indicators
Advanced setup for comprehensive market analysis:
- Use two instances of the indicator to display up to 6 different HTF sets
- Synchronization capabilities ensure precise alignment between indicators
Benefits:
- Extended market coverage with up to 6 HTF sets
- Perfect synchronization between indicator instances
- Comprehensive view of market structure
- Enhanced correlation analysis capabilities
- Maximum flexibility in timeframe selection
Note: The ability to combine multiple instances of the indicator, each showing three HTF sets, provides traders with unprecedented analytical capabilities while maintaining perfect synchronization across all displayed timeframes.
Key Features
Multi-Symbol Display
- Display up to three different symbols simultaneously
- Up to 12 candles for each symbol
- Customizable colors and styles for each symbol
- Adjustable vertical offsets for optimal visual arrangement
- Flexible scale factor for precise price movement comparison
Comprehensive Timeframe Support
- Intraday: 1, 2, 3, 4, 5, 6, 10, 15, 30, 45, 60, 90, 120, 180, 240 minutes
- Daily: D, 2D
- Weekly: W, 2W
- Monthly: M
- Compatibility between all minutes timeframes for synchronization
Dual Synchronization Modes
Auto Mode
- Automatic alignment based on relative price levels
- Perfect for quick visual comparison
Manual Mode
- Precise synchronization based on candle closing times
- Ideal for detailed technical analysis
Session Markers
- Two configurable session lines (e.g., Regular Open and True Day Open)
- Adjustable line length, style, and color
- Flexible timezone support for global markets
Visual Customization
- Fully customizable candle appearance including wicks
- Optional vertical lines for better time orientation
- Scalability for optimal price movement comparison
- Professional labeling system
Trading Applications
Correlation Analysis
- Monitor relationships between currency pairs
- Analyze crypto/stock correlations
- Identify divergences between related instruments
- Track inter-market relationships
Smart Money Analysis
- Identify accumulation zones
- Detect manipulation phases
- Track distribution phases
- Analyze institutional levels
- Monitor smart money footprints
ICT Price Delivery (PD) Arrays Analysis
- Enhanced visualization for manual PD Arrays identification
- Clear display of higher timeframe price action
- Improved visibility of potential PD Array structures
- Better context for manual analysis
Visual aid for ICT concepts identification
- Helps traders manually spot potential Breaker Blocks and Order Blocks
- Clearer view for identifying Inefficient Price Points
- Better context for Fair Value Gaps analysis
- Enhanced visibility for Mitigation Points and Liquidity Voids detection
Note: This indicator provides enhanced visualization tools to support manual ICT analysis. It does not automatically detect or mark PD Arrays or other ICT concepts - it serves as a visual aid for traders who understand and manually apply ICT concepts in their analysis.
Market Structure Analysis
- Compare price structure across timeframes
- Identify key levels on multiple timeframes
- Analyze session breakouts and swings
- Track market structure shifts
Candle Range Theory (CRT)
- Compare candle ranges across timeframes
- Identify potential breakout/breakdown levels
- Analyze relationships between HTF and LTF candle ranges
- Recognize reversal points at HTF range extremes
Turtle Soup Strategy Enhancement
- Identify false breakouts
- Validate breakouts by comparing LTF momentum with HTF structure
- Precise entry and exit level determination
Trading Efficiency
Time Management
- All necessary information on one chart
- Eliminate timeframe switching
- Quick market condition analysis
- Enhanced trading efficiency
Decision Making
- Instant market structure overview
- Quick key level identification
- Efficient trade setup confirmation
- Better entry and exit timing
Note
For optimal results, we recommend starting by setting the Base Price Level to the approximate price level of the main symbol, then adjusting the vertical offsets of other symbols according to your preferences.
Adjustable ORB with ORB multipliers "Adjustable ORB with ORB Multipliers," calculates and visually represents the Opening Range Breakout (ORB) based on a user-defined timeframe (defaulting to 15 minutes). It identifies the high and low of the opening range and shades the area between these levels in blue for clear visualization. The indicator then computes additional levels at multiples of the opening range—specifically 1x and 2x the range distance above and below the ORB. These multiplier levels are plotted on the chart (with white lines for 1x levels and yellow lines for 2x levels) and are labeled accordingly ("1x" and "2x") on the left side of each line for easy reference. Users can choose to display or hide the 1x and 2x levels through input options, allowing for customization based on trading preferences. This tool aids traders in identifying potential breakout zones and setting target levels based on the initial market movement of the day.