ICT Vacuum BlocksThe indicator draws a box between the closing price of one candle and the opening price of the next whenever a gap occurs, helping traders easily spot potential areas of interest where the market has skipped over price levels. The boxes do not extend beyond the gap itself, keeping the chart clean and focused on the price action.
Features:
Detects both upward and downward gaps.
Non-extending boxes that accurately represent the size of each gap.
Customizable colors for up and down gaps to match your chart style.
Candlestick analysis
best indicator at 15 minut This Pine Script code builds an indicator called EMA Crossover with Historical Price Projection that combines two components:
EMA Crossover Strategy:
EMA 9 and EMA 21: The script calculates two exponential moving averages (EMAs) using the ta.ema() function. The crossover between these EMAs generates buy/sell signals.
A bullish crossover (when EMA 9 crosses above EMA 21) signals a buy.
A bearish crossover (when EMA 9 crosses below EMA 21) signals a sell.
These buy/sell signals are visualized on the chart using the plotshape() function with green and red symbols.
Historical Price Projection:
The code projects future prices based on historical price trends. It takes into account growth factors (user-defined drift percentages) to estimate future prices.
Projection Line: It draws a projection line from the anchor point (set by the user) using historical data. The drift factor allows you to control the projection's slope.
Forecasting Area: It shows an optional area around the projected price, adjusting the width with a user-defined growth factor for the forecast's uncertainty.
Key Sections:
Inputs:
User-defined inputs for controlling the growth factor, line styles, and forecasting area settings.
An anchoring point is provided to determine from which bar the price projection should start.
EMA Crossover:
The crossover conditions for EMA 9 and EMA 21 are defined, and the script generates buy and sell signals at those crossovers.
Historical Price Projection:
It stores the percentage changes between bars in barDeltaPercents.
It projects the future price based on these percentages and the user-defined drift factor.
The projected price is visualized using polyline.new(), and a shaded area can be added to show the range of price possibilities.
Execution Logic:
The script runs when the current time is greater than the anchor point.
If the anchor point is too far back in history, it gives a warning via the showInfoPanel function.
As new bars are confirmed, the drift is calculated, and the projection line and area are updated based on historical price changes.
Overall Flow:
It gathers price data up to 500 bars from the anchor point.
Based on the historical price trend, it forecasts the future price with a projection line and an optional shaded area.
The crossover logic for EMA 9 and 21 provides actionable signals on when to buy or sell.
Multi-Asset Cross Timeframe Divergence Ind. (MACDI) // AlgoFyreThe Multi-Asset Cross Timeframe Divergence Indicator (MACDI) identifies divergences in momentum like RSI across multiple assets and timeframes. It visually highlights lagging correlated asset momentum divergences, helping traders spot inefficiencies and potential trade opportunities in the following asset.
🔶 KEY FEATURES
🔸Average Momentum Trendline for Each Timeframe
The Average Momentum Trendline feature calculates the average momentum of multiple assets over specified timeframes. It uses smoothed values to determine the momentum trend for each timeframe on the average aggregated momentum of both assets. This trendline helps traders identify the overall direction of the market momentum, providing a clearer picture of potential price movements.
🔸Real-time Divergence Indication and Alert Table
The Real-time Divergence Indications and Alert Table feature visualizes detected divergences between the momentum values of the two assets across different timeframes. It identifies both bullish and bearish divergences, signaling lagging reversals in the the following asset and potential trading opportunities. When a divergence is detected, the system generates real-time visual indications on the chart and in an overview table for traders to act promptly. The alert table provides a comprehensive overview of all detected divergences, making it easier for traders to monitor and respond to market changes.
🔸Color and Size Based Labels on Price Chart based on Divergence Type
The Color and Size Based Labels feature visually represents divergences directly on the price chart. Bullish and bearish divergences are marked with distinct colors and sizes, making them easily identifiable at a glance. Larger labels indicate higher timeframes and thus generally more significance.
🔶 INSTRUCTION GUIDELINES
🔸Identify Divergence Clusters
The more divergences align, the higher the probability of a potential trend reversal in the asset. When multiple multi-timeframe divergences occur in both lower and higher timeframes within a local cluster, the probability of a reversal increases. This is valid for both for bullish and bearish divergences.
🔸Spot Low Probability Divergences
To further increase the probability, analyze the current state of the average momentum trendline. For a bullish reversal, a relatively low level of the average momentum trendline is preferred, whereas for a bearish reversal, a relatively high level is preferred.
🔶 INDIVIDUAL CONFIGURATION
🔸Leading Asset
This input allows the user to select the leading asset for the divergence analysis.
🔸Following Asset
This input allows the user to select the following asset for the divergence analysis.
🔸Higher Timeframe
This input sets the higher timeframe for the analysis.
🔸Lower Timeframe
This input sets the lower timeframe for the analysis.
🔸Show RSI Divergence
This input enables or disables the display of RSI divergence signals.
🔸RSI Length
This input sets the length of the RSI calculation.
🔸RSI Source
This input sets the source data for the RSI calculation (e.g., close price).
🔸RSI Smoothing Length
This input sets the length of the smoothing applied to the RSI values.
🔸Smoothing Method
This input sets the method used for smoothing the RSI values.
🔶 CONCLUSION
The Multi-Asset Cross Timeframe Divergence Indicator (MACDI) is a powerful tool for identifying momentum divergences across multiple assets and timeframes. Its visual cues and customizable table make it easy to use and interpret, providing valuable insights for trading decisions.
Bull/Bear Ratio By Month Table [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
This is an indicator that shows monthly bull-bear ratio in a table.
By specifying the start year and end year, the ratio will be calculated and showed based on the number of bullish and bearish lines in the monthly bar. It allows you to analyze the trend of each symbol and month (bullish / bearish). Up to 10 symbols can be specified.
You can take monthly bull-bear ratio for the past 10 or 20 years on the web, but with this indicator, you can narrow it down to the period in which you want to see the symbols you want to see. It is very convenient because you can take statistics at will.
Furthermore, if the specified ratio is exceeded, the font color can be changed to any color, making it very easy to read.
=== Parameter description ===
- From … Year of start of aggregation
- To … Year of end of aggregation
- Row Background Color … Row title background color
- Col Background Color … Column title background color
- Base Text Color … Text color
- Background Color … Background Color
- Border Color … Border Color
- Location … Location
- Text Size … Text Size
- Highlight Threshold … Ratio threshold, and color
- Display in counter? … Check if you want to show the number of times instead of the ratio
-------------------------
月別陰陽確率をテーブル表示するインジケータです。
開始年から終了年を指定することで、月足における陽線数および陰線数を元に確率を計算して表示します。
この機能により各シンボルおよび各月の特徴(買われやすい/売られやすい)を認識することができアノマリー分析が可能です。
シンボルは10個まで指定可能です。
過去10年、20年の月別陰陽確率は、Web上でよく見かけますが、このインジケータでは見たいシンボルを見たい期間に絞って、
自由自在に統計を取ることができるため大変便利です。
なお、指定した確率を上回った場合、文字色を任意の色に変更することができるため、大変見やすくなっています。
=== パラメータの説明 ===
- From … 集計開始年
- To … 集計終了年
- Row Background Color … 行タイトルの背景色
- Col Background Color … 列タイトルの背景色
- Base Text Color … テキストカラー
- Background Color … 背景色
- Border Color … 区切り線の色
- Location … 配置
- Text Size … テキストサイズ
- Highlight Threshold … 色変更する確率の閾値、および色
- Display in counter? … 確率ではなく回数表示する場合はチェックする
ICT Asian Range and KillzonesThis TradingView indicator highlights key trading sessions and their price ranges on a chart. It identifies the Asian Range and the Killzones for both the London Open and New York Open sessions. Here’s a brief breakdown:
Asian Range:
Defines the high and low price levels during the Asian trading session (between the specified start and end hours, default 00:00 to 04:00 UTC).
Plots horizontal lines to mark the highest and lowest prices reached during the Asian session.
Adds labels showing the values of these high and low points after the session ends.
London and New York Killzones:
Identifies the “Killzones” or key trading windows for the London Open (default 06:00 to 09:00 UTC) and the New York Open (default 11:00 to 14:00 UTC).
Tracks the high and low price levels within these windows and plots rectangles ("boxes") on the chart to visualize these ranges.
The boxes are color-coded and customizable, indicating potential areas of high market activity or volatility.
Customizable Visuals:
Users can adjust the colors, border widths, and other visual properties for better clarity and chart integration.
VSA Impulse with JOC and SC Forecast BoxesEnglish Description
**Script Title:** VSA Impulse with JOC and SC Forecast Boxes
**Description:**
This Pine Script™ indicator integrates Volume Spread Analysis (VSA) with impulse signals and forecast boxes to help traders visualize key market conditions and potential price movements.
**Features:**
1. **Impulse Movements**: Identifies bullish and bearish impulse movements based on price and volume changes.
- **Impulse Up**: Price is higher and volume is greater than the previous bar.
- **Impulse Down**: Price is lower and volume is greater than the previous bar.
2. **VSA Signals**: Detects specific VSA signals for analysis:
- **Stopping Action (SA)**: Bullish impulse with higher volume and price increase.
- **Spring (SP)**: Bullish impulse with lower volume and price drop.
- **No Demand (ND)**: Bearish impulse with lower volume and price increase.
- **Last Point of Support (LPS)**: Bullish impulse with higher volume and price drop.
- **Jump Over Creek (JOC)**: Bullish impulse with higher volume and price increase.
- **Selling Climax (SC)**: Bearish impulse with higher volume and price drop.
3. **Forecast Boxes**:
- **Jump Over Creek (JOC) Forecast Box**: Displays a green forecast box when a JOC signal is detected, projecting potential bullish movement.
- **Selling Climax (SC) Forecast Box**: Displays a red forecast box when an SC signal is detected, projecting potential bearish movement.
4. **Anomalous Volume Detection**: Highlights significant volume spikes above a set multiplier of the average volume with colored boxes and labels.
**Settings:**
- **Length**: Defines the period for calculating the average volume.
- **Anomalous Volume Multiplier**: Sets the threshold for identifying anomalous volumes.
- **Forecast Period**: Determines the duration for the forecast boxes.
**Visuals:**
- Colored forecast boxes for JOC (green) and SC (red) with corresponding labels.
- Signals for VSA with colored shapes and labels.
- Highlighted anomalous volumes with colored boxes and labels.
Русское описание
**Название скрипта:** Импульс VSA с прогнозными боксами JOC и SC
**Описание:**
Этот Pine Script™ индикатор интегрирует анализ объема и спреда (VSA) с импульсными сигналами и прогнозными боксами, чтобы помочь трейдерам визуализировать ключевые рыночные условия и потенциальные движения цен.
**Функции:**
1. **Импульсные движения**: Определяет бычьи и медвежьи импульсные движения на основе изменений цены и объема.
- **Импульс вверх**: Цена выше и объем больше предыдущего бара.
- **Импульс вниз**: Цена ниже и объем больше предыдущего бара.
2. **Сигналы VSA**: Обнаруживает специфические сигналы VSA для анализа:
- **Stopping Action (SA)**: Бычий импульс с увеличением объема и цены.
- **Spring (SP)**: Бычий импульс с уменьшением объема и падением цены.
- **No Demand (ND)**: Медвежий импульс с уменьшением объема и ростом цены.
- **Last Point of Support (LPS)**: Бычий импульс с увеличением объема и падением цены.
- **Jump Over Creek (JOC)**: Бычий импульс с увеличением объема и ростом цены.
- **Selling Climax (SC)**: Медвежий импульс с увеличением объема и падением цены.
3. **Прогнозные боксы**:
- **Прогнозный бокс Jump Over Creek (JOC)**: Показывает зеленый прогнозный бокс при обнаружении сигнала JOC, проецируя потенциальное бычье движение.
- **Прогнозный бокс Selling Climax (SC)**: Показывает красный прогнозный бокс при обнаружении сигнала SC, проецируя потенциальное медвежье движение.
4. **Обнаружение аномального объема**: Подчеркивает значительные всплески объема выше заданного множителя среднего объема с помощью цветных боксов и меток.
**Настройки:**
- **Length**: Определяет период для расчета среднего объема.
- **Множитель аномального объема**: Устанавливает порог для идентификации аномального объема.
- **Период прогноза**: Определяет продолжительность прогнозных боксов.
**Визуализация:**
- Цветные прогнозные боксы для JOC (зеленые) и SC (красные) с соответствующими метками.
- Сигналы VSA с цветными фигурами и метками.
- Подсвеченные аномальные объемы с цветными боксами и метками.
Prometheus Trend LinesPrometheus Trend lines is a tool that automatically plots support and resistance trend lines on your chart. These lines generally come out looking like triangles or wedges.
There are two ways that we do it, the first way we’ll cover is lookback period generated trend lines.
The two points for the lines are generated as follows, for a resistance line that is blue by default, the point furthest in the past is the highest high in the specified lookback period. 50 is the default, the point closest to the present is the current bar’s high. The opposite is true for support lines, the point furthest in the past is the lowest low, and the most present point is the current bar’s low.
The interval is created by ensuring after the lookback period is met to plot the lines, that period needs to pass again. That is so we can let the potential results of price breaking above or below the levels play out.
Lines will be plotted on the newest lookback period bar, after a period with no plot. What I mean is right after lines are plotted, users will have to wait for double the lookback period to get newer lines. So if you select 50 for your lookback value, after new lines are plotted, on the 100th bar after the new lines will be there. This is to avoid having a line on your chart change, we’d rather plot a line once, than plot it and keep changing it.
Each line is 50 bars long and all the distance in between them is 50 bars. The line is drawn simply with the shortest path from the back point to the more present one, this allows us to see breaks in the line and get a better idea of how strong the next move may be.
We see in this wedge on NASDAQ:TSLA that there were two false breaks before the price re-entered the wedge and continued falling. It could be interpreted as buyers did not have enough strength to get NASDAQ:TSLA out of a downtrend there.
We also offer an intra day line.
In this image captured with the bar replay feature we see the lines being generated with the high and low of the day, that is the method we use. Furthermore, a user may notice that the ends of the line are not at the newest bar. That is on purpose, we use the
barstate.islastconfirmedhistory
to ensure that we don’t change and plot too many lines at a given point. These two lines will reset every day as time changes and will auto use the current day high and low.
Users have the option to select a custom lookback period, as well as turn on or off the plots for either method of generating lines.
We encourage traders to not follow indicators blindly, none are 100% accurate. The lines generated are not guaranteed to be perfect support and resistance levels. We encourage the use of discretion. Please comment on any desired updates, all criticism is welcome!
Open - Candlestick-ChartIt forces the Open indicator to use the candlestick open values. For example, if you need to use a Heikin-Ashi chart with the Open indicator based on regular candlestick data, this indicator will ensure it does not change.
200 MAPD - Relative Price with candlesticks and divergenceThis is a MAPD (moving average percent difference) indicator that plots the results in candlestick format and with an option to show divergencies of a specific look back period. It's built with 200 moving average, which cannot be adjusted. A divergence is when the actual asset price moves in the opposite direction than the MAPD.
MAPD measures the percent difference of the asset price from the moving average, in this case, 200 moving average.
MAPD is my favorite indicator because it's an leading indicator, capable of predicting upcoming directions pretty accurately if you learn how to use it and how it works on your specific asset. With candlesticks instead of line you can also apply your own price action techniques.
I created this to be somewhat of a substitute for the actual price of the asset, meaning that price action analysis should be applied on this indicator and asset price is used as a secondary to spot divergencies.
The chart showing on this description is my own discretionary plotting of technical aspects. Divergencies will be enabled per default, but my preference is to have them off and plot my own analysis. And turn them on to get an overview from time to time. You can also change the look back period for the divergencies as you like.
I would say it works best from 1 hour to 1 day, maybe 1 week if you're bottom fishing in a big bear trend.
If you try it out and like it i would love to hear how you find it useful in the comments, will be helpful for me and others :)
123 Reversal Trading StrategyThe 123 Reversal Trading Strategy is a technical analysis approach that seeks to identify potential reversal points in the market by analyzing price patterns. This Pine Script™ code implements a version of this strategy, and here’s a detailed description:
Strategy Overview
Objective: The strategy aims to identify bullish reversal patterns using the 123 pattern and manage trades with a specified holding period and a 20-day moving average as an additional exit condition.
Key Components:
Holding Period: The number of days to hold a trade is adjustable, with the default set to 7 days.
Moving Average: A 200-day simple moving average (SMA) is used to determine an exitcondition based on the price crossing this average.
Pattern Recognition:
Condition 1: The low of the current day must be lower than the low of the previous day.
Condition 2: The low of the previous day must be lower than the low from three days ago.
Condition 3: The low two days ago must be lower than the low from four days ago.
Condition 4: The high two days ago must be lower than the high three days ago.
Entry Condition: All four conditions must be met for a buy signal.
Exit Condition: The position is closed either after the specified holding period or when the price reaches or exceeds the 200-day moving average.
Relevant Literature
Graham, B., & Dodd, D. L. (1934). Security Analysis. This classic work introduces fundamental analysis and technical analysis principles which are foundational to understanding patterns like the 123 reversal.
Murphy, J. J. (1999). Technical Analysis of the Financial Markets. Murphy provides an extensive overview of technical indicators and chart patterns, including reversal patterns similar to the 123 pattern.
Elder, A. (1993). Trading for a Living. Elder discusses various trading strategies and technical analysis techniques that complement the understanding of reversal patterns and their application in trading.
Risks and Considerations
Pattern Reliability: The 123 reversal pattern, like many technical patterns, is not foolproof. It can generate false signals, especially in volatile or trending markets. This may lead to losses if the pattern does not play out as expected.
Market Conditions: The strategy may perform differently under various market conditions. In strongly trending markets, reversal patterns might not be as reliable.
Lagging Indicators: The use of the 200-day moving average as an exit condition can be considered a lagging indicator. This means it reacts to price movements with a delay, which might result in late exits and missed profit opportunities.
Holding Period: The fixed holding period of 7 days may not be optimal for all market conditions or stocks. It is essential to adjust the holding period based on market dynamics and individual stock behavior.
Overfitting: The parameters used (like the number of days and moving average length) are set based on historical data. Overfitting can occur if these parameters are tailored too specifically to past data, leading to reduced performance in future scenarios.
Conclusion
The 123 Reversal Trading Strategy is designed to identify potential market reversals using specific conditions related to price lows and highs. While it offers a structured approach to trading, it is essential to be aware of its limitations and potential risks. As with any trading strategy, it should be tested thoroughly in various market conditions and adjusted according to the individual trading style and risk tolerance.
Futures Risk CalculatorFutures Risk Calculator Script - Description
The Futures Risk Calculator (FRC) is a comprehensive tool designed to help traders effectively manage risk when trading futures contracts. This script allows users to calculate risk/reward ratios directly on the chart by specifying their entry price and stop loss. It's an ideal tool for futures traders who want to quantify their potential losses and gains with precision, based on their trading account size and the number of contracts they trade.
What the Script Does:
1. Risk and Reward Calculation:
The script calculates your total risk in dollars and as a percentage of your account size based on the entry and stop-loss prices you input.
It also calculates two key levels where potential reward (Take Profit 1 and Take Profit 2) can be expected, helping you assess the reward-to-risk ratio for any trade.
2. Customizable Settings:
You can specify the size of your trading account (available $ for Futures trading) and the number of futures contracts you're trading. This allows for tailored risk management that reflects your exact trading conditions.
3. Live Chart Integration:
You add the script to your chart after opening a futures chart in TradingView. Simply click on the chart to set your Entry Price and Stop Loss. The script will instantly calculate and display the risk and reward levels based on the points you set.
Adjusting the entry and stop-loss points later is just as easy: drag and drop the levels directly on the chart, and the risk and reward calculations update automatically.
4. Futures Contract Support:
The script is pre-configured with a list of popular futures symbols (like ES, NQ, CL, GC, and more). If your preferred futures contract isn’t in the list, you can easily add it by modifying the script.
The script uses each symbol’s point value to ensure precise risk calculations, providing you with an accurate dollar risk and potential reward based on the specific contract you're trading.
How to Use the Script:
1. Apply the Script to a Futures Chart:
Open a futures contract chart in TradingView.
Add the Futures Risk Calculator (FRC) script as an indicator.
2. Set Entry and Stop Loss:
Upon applying the script, it will prompt you to select your entry price by clicking the chart where you plan to enter the market.
Next, click on the chart to set your stop-loss level.
The script will then calculate your total risk in dollars and as a percentage of your account size.
3. View Risk, Reward, and (Take Profit):
You can immediately see visual lines representing your entry, stop loss, and the calculated reward-to-risk ratio levels (Take Profit 1 and Take Profit 2).
If you want to adjust the entry or stop loss after plotting them, simply move the points on
the chart, and the script will recalculate everything for you.
4. Configure Account and Contracts:
In the script settings, you can enter your account size and adjust the number of contracts you are trading. These inputs allow the script to calculate risk in monetary terms and as a percentage, making it easier to manage your risk effectively.
5. Understand the Information in the Table:
Once you apply the script, a table will appear in the top-right corner of your chart, providing you with key information about your futures contract and the trade setup. Here's what each field represents:
Account Size: Displays your total account value, which you can set in the script's settings.
Future: Shows the selected futures symbol, along with key details such as its tick size and point value. This gives you a clear understanding of how much one point or tick is worth in dollar terms.
Entry Price: The exact price at which you plan to enter the trade, displayed in green.
Stop Loss Price: The price level where you plan to exit the trade if the market moves against you, shown in red.
Contracts: The number of futures contracts you are trading, which you can adjust in the settings.
Risk: Highlighted in orange, this field shows your total risk in dollars, as well as the percentage risk based on your account size. This is a crucial value to help you stay within your risk tolerance and manage your trades effectively.
Price Action Volumetric Order Blocks [UAlgo]"Price Action Volumetric Order Blocks" indicator aims to identify significant price zones in the market based on a combination of price action and volume analysis. It utilizes the concept of "Order Blocks," which are areas on the chart where large orders are believed to have been placed, influencing price behavior. By analyzing price swings and volume activity, the indicator attempts to highlight potential support and resistance levels.
🔶 Key Features
Swing Length: This input allows you to adjust the timeframe used to identify price swings for order block detection. A longer swing length will focus on larger timeframes and potentially capture stronger order blocks.
Show Last X Order Blocks: This controls the number of order blocks displayed on the chart. You can choose to visualize a specific number of the most recent order blocks.
Violation Check: This setting determines how the indicator identifies potential order block violations. You can choose between "Wick" or "Close" violations. A "Wick" violation occurs when the price (wick) extends beyond the order block boundaries, while a "Close" violation signifies that the closing price breaches the order block.
Hide Overlap: This option allows you to manage the display of overlapping order blocks. If set to "True," only non-overlapping order blocks will be shown, potentially offering a clearer visualization.
Colors: You can customize the color scheme for bullish (upward) and bearish (downward) order blocks to enhance visual clarity on the chart.
🔶 Interpreting the Indicator
Order Blocks: The teal-colored boxes represent bullish order blocks, indicating areas of demand where buying pressure is likely to be strong. Red-colored boxes represent bearish order blocks, indicating areas of supply where selling pressure is likely to be dominant. These zones often signal potential reversal points or consolidation areas.
Strength Calculations: The indicator calculates the relative strength of bullish and bearish blocks based on volume. A higher bullish strength indicates stronger buying pressure, while higher bearish strength suggests more selling pressure. Traders can use this information to gauge the strength of a price level and predict future price movements.
Market Structure Lines: The indicator displays horizontal lines to depict the current market structure, labeled as "MSB" (Market Sell Balance) or "BOS" (Break of Structure). These lines can help visualize the prevailing trend direction.
Order Block Violations: When a price wick or close breaches an order block (depending on the chosen violation type), the corresponding order block visualization is removed from the chart. This can signify a potential weakening of the identified support or resistance zone.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
P.I.B. System (Pin Bar | Inside Bar) // AlgoFyreThe "P.I.B. System (Pin Bar | Inside Bar)" identifies bullish and bearish pin bars and inside bars on a price chart. It highlights potential market reversals by plotting labels and colorizing bars, providing traders with visual cues for better decision-making.
Description
The "P.I.B. System (Pin Bar | Inside Bar)" script is designed to help traders identify potential reversal points in the market by detecting bullish and bearish pin bars and inside bars. A pin bar is a candlestick pattern that indicates a potential reversal, characterized by a small body and a long wick. Inside bars are candlestick patterns where the current bar's high and low are within the previous bar's range, indicating potential consolidation before a breakout.
This script allows customization of various parameters to fine-tune the identification of pin bars and inside bars. When a pin bar or an inside bar is detected, the script plots a label on the chart and colorizes the bars to highlight these patterns. This tool is useful for traders looking to identify potential reversal points and make informed trading decisions.
Explanation of All Options
Pin-Wick Size Ratio Minimum Value : The minimum ratio of the wick size to the total candle size for a pin bar to be considered valid. Default is 0.66.
Candle Body Size Ratio Maximum Value : The maximum ratio of the body size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Handle-Wick Wick Size Ratio Maximum Value : The maximum ratio of the opposite wick size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Filter Out Small Candles : Option to filter out small candles based on the previous candle's size. Default is true.
Small Candle Size Ratio : The ratio used to determine if a candle is considered small compared to the previous candle. Default is 2.0.
Identify Inside Bars : Option to identify inside bars following a pin bar. Default is true.
Show Only P.I.B. : Option to show only the bars where a pin bar is followed by an inside bar. Default is true.
Hide Horizontal Rays : Option to hide horizontal rays drawn from the last identified pin bars. Default is false.
How to Use
To use this script, add it to your chart. Customize the input parameters to match your trading strategy. The script will automatically identify and highlight bullish and bearish pin bars and inside bars on the chart. Use the visual cues provided by the labels and colorized bars to make informed trading decisions.
EagleVision.V33 - Inside Pin Bar EagleVision.V33 is a specialized indicator designed for traders who focus on price action. It detects and highlights the Inside Pin Bar candle pattern, a key signal that can indicate potential market reversals or trend continuations. This tool is invaluable for traders who rely on precise candlestick patterns to make data-driven decisions.
Features:
• Customizable Pattern Highlighting: EagleVision.V33 allows traders to choose custom colors to highlight Inside Pin Bar patterns directly on the chart. This makes identifying critical trading signals straightforward, even in busy market conditions.
• Pin Bar Candle Customization: Beyond just highlighting, the indicator enables users to change the color of the detected pin bar itself, ensuring that crucial patterns are immediately visible and easy to track.
• Versatile Timeframe Application: The indicator can be applied across various timeframes, from intraday (1 minute, 5 minutes) to longer-term charts (daily, weekly). Users can easily switch between timeframes within the settings, making it adaptable to different trading strategies.
• Enhanced Visual Clarity with Background Highlighting: For traders who prefer additional emphasis, EagleVision.V33 offers an option to apply a background color that highlights the entire region where the Inside Pin Bar pattern is detected.
How It Works:
• Inside Bar Identification: The indicator first identifies an Inside Bar, where a candle’s high and low fall within the range of the preceding candle (the mother bar). This is a foundational pattern in price action trading.
• Pin Bar Detection: It then checks if the candle is a Pin Bar, characterized by a small body and a prominent wick (either upper or lower), which typically signals potential market turning points.
• Pattern Highlighting & Visualization: Upon detecting both conditions (Inside Bar and Pin Bar), EagleVision.V33 highlights the pattern using customizable shapes and colors, and optionally applies a background shade to further enhance visibility.
Use Cases:
• Reversals at Key Levels: The Inside Pin Bar pattern often appears at significant support or resistance levels, signaling potential reversals. EagleVision.V33 helps traders spot these opportunities early.
• Trend Continuations: In trending markets, this pattern can confirm the continuation of a trend, providing traders with the confidence to hold positions or enter new ones.
Customization Options:
• Pattern Highlight Color: Choose a distinct color for the label or shape that marks the Inside Pin Bar pattern, making it stand out against other chart elements.
• Pin Bar Candle Color: Customize the color of the Pin Bar itself, ensuring that it is immediately recognizable on the chart.
• Background Highlighting: Optionally apply a background color to the chart area where the pattern is detected, further enhancing visual clarity and making it easier to spot potential trading opportunities.
Why EagleVision.V33 Stands Out:
EagleVision.V33 is not just another pattern detection tool; it’s engineered for precision and clarity, with highly customizable features that cater to the unique needs of price action traders. By combining both Inside Bar and Pin Bar detection, it offers a powerful edge, providing traders with actionable insights directly on their charts.
S&R Tracker [CHE]Dynamic S&R Tracker
1. Introduction to the Tool
Purpose:
The Dynamic S&R Tracker is a powerful TradingView tool designed to automatically detect and display support and resistance levels across multiple timeframes. It dynamically adjusts based on the current chart’s timeframe, making it easier for traders to identify key price levels for both shortterm and longterm analysis.
Key Features:
Dynamic adjustment of support and resistance levels based on realtime market conditions
Simultaneous visualization of support and resistance for two different timeframes
Automatic selection of optimal timeframes for accurate and efficient analysis
2. Functionality
Automatic Timeframe Selection:
The Dynamic S&R Tracker uses a smart function to automatically adjust the analysis timeframe based on the market’s current conditions. It selects the appropriate intervals (e.g., 1 hour, 1 day, 1 month) for displaying support and resistance levels, reducing the need for manual intervention.
Support and Resistance Identification:
The tool calculates and identifies key pivot highs and lows, which act as support and resistance levels. These levels are displayed for two timeframes at once, giving a comprehensive view of the market's shortterm and longterm trends.
3. Benefits
Efficiency:
With automatic adjustments, traders save time by not having to manually change timeframes or recalculate levels.
Enhanced Market Insight:
By analyzing two timeframes simultaneously, the tool provides a broader market perspective, helping traders spot potential reversal points and breakouts.
Customizability:
Though dynamic, the Dynamic S&R Tracker offers flexibility for manual adjustments, allowing traders to finetune the analysis based on personal preferences or market strategies.
4. Visualization
Support and Resistance Levels:
The tool uses clear visual markers—green for support and red for resistance—making it easy to spot critical price zones on the chart.
Informative Timeframe Display:
The tracker includes a customizable information box that shows the selected timeframes used in the analysis, keeping the user informed at all times.
5. Conclusion
The Dynamic S&R Tracker is an essential tool for traders seeking an automated, precise, and flexible way to analyze support and resistance across multiple timeframes. By offering dynamic adjustments and clear visual feedback, it simplifies the decisionmaking process and provides deeper market insights.
Ideal for traders who need a streamlined and adaptable solution to better navigate market trends.
1 (or) 5-Minute Scalping Strategy - KGP1-Minute Scalping Strategy - KGP
Overview: This indicator is designed for short-term traders who engage in 1 (or) 5-minute scalping. It combines several technical analysis tools to provide buy and sell signals, helping traders make informed decisions quickly.
Key Features:
VWAP (Volume Weighted Average Price):
Purpose: VWAP provides the average price a security has traded at throughout the day, based on both volume and price.
Usage: Helps identify the overall trend and potential entry points. When the price is above VWAP, it indicates a bullish trend; when below, it indicates a bearish trend.
RSI (Relative Strength Index):
Purpose: RSI measures the speed and change of price movements, indicating overbought or oversold conditions.
Usage: The RSI values between 30 and 70 are used to filter trades. A value above 70 indicates overbought conditions, while below 30 indicates oversold conditions.
Custom OBV (On Balance Volume):
Purpose: OBV uses volume flow to predict changes in stock price.
Usage: Helps confirm the strength of a trend. Increasing OBV indicates accumulation (buying pressure), while decreasing OBV indicates distribution (selling pressure).
Multi-Timeframe Analysis:
Purpose: Confirms signals by analyzing RSI on a higher timeframe (5-minute chart).
Usage: Ensures that signals on the 1-minute chart align with the broader trend on the 5-minute chart, reducing false signals.
Signals:
Buy Signal:
Triggered when the price crosses above the VWAP, and the RSI is between 50 and 70 on both the 1-minute and 5-minute charts.
Visual Cue: A green “BUY” label appears below the bar.'
Sell Signal:
Triggered when the price crosses below the VWAP, and the RSI is between 30 and 50 on both the 1-minute and 5-minute charts.
Visual Cue: A red “SELL” label appears above the bar.
Alerts:
Buy Alert: Notifies you when a buy signal is detected.
Sell Alert: Notifies you when a sell signal is detected.
Additional Visuals:
VWAP Line: Plotted in blue to show the average price based on volume.
OBV Line: Plotted in purple to indicate volume flow.
RSI Line: Plotted in orange with horizontal lines at 70 (overbought) and 30 (oversold) levels.
VWAP and MA Crossover SignalsDescription: The VWAP and 20 MA Crossover Indicator is a powerful trading tool designed to capitalize on trend reversals and momentum shifts. This indicator overlays two key technical analysis tools on the price chart: the Volume Weighted Average Price (VWAP) and the 20-period Moving Average (MA).
Functionality:
VWAP: Represents the average price a security has traded at throughout the day, based on volume and price. It is a measure of the market's trend and trading volume.
20 MA: Offers a smoothed average of the closing prices over the last 20 periods, providing a glimpse of the underlying trend.
Signals:
Buy Signal: Generated when the VWAP crosses above the 20-period MA, suggesting an upward momentum and a potential bullish trend reversal.
Sell Signal: This occurs when the VWAP crosses below the 20-period MA, indicating a downward momentum and a potential bearish trend reversal.
Usage: This indicator is ideal for traders focusing on intraday and swing trading strategies, providing clear visual cues for entry and exit points based on the interaction between VWAP and the 20 MA. By identifying key crossover points, traders can make informed decisions about potential bullish or bearish movements in the market.
Application: To use this indicator, simply add it to your TradingView chart setup. The buy and sell signals will be displayed directly on the chart, allowing for easy interpretation and quick action. Adjust the settings to fit your specific trading strategy or market conditions.
Next Candle Predictor with Auto HedgingThe "Next Candle Predictor with Auto Hedging" is a Pine Script indicator designed for use on TradingView. It combines predictive analysis and basic hedging techniques to assist traders in making informed decisions. Here's a detailed explanation suitable for public sharing on TradingView:
Overview
This script predicts the closing price of the next candle based on the current candle's open and close prices. It also includes an auto hedging feature that suggests potential hedging levels to mitigate risk based on the predicted price movement. The indicator is particularly useful for traders looking to enhance their trading strategies with predictive analytics.
Key Features
Next Candle Prediction:
The indicator analyzes the current candle's data (open and close prices) to predict whether the next candle will close higher or lower.
If the current candle is bullish (close > open), it predicts a higher close for the next candle. Conversely, if the candle is bearish, it predicts a lower close.
Auto Hedging:
The script calculates a hedging level based on the predicted close price.
If the predicted close indicates a bullish move, the hedge level is set slightly below the predicted close, suggesting where a trader might consider placing a hedge. If the prediction indicates a bearish move, the hedge level is set above the predicted close.
Elliott Wave Analysis:
The script includes a basic implementation of identifying significant price movements, akin to Elliott Wave analysis, by detecting peaks and troughs over a specified number of bars (wave length).
This can help traders identify potential trend reversals or continuations.
How It Works
Input Parameters: Users can customize the waveLength parameter, which determines how many bars back the script looks to identify significant highs and lows.
Peak and Trough Detection: The script identifies the highest high and lowest low within the specified wave length, plotting these points on the chart for visual reference.
Prediction Logic: The predicted close is calculated based on the current candle's behavior, allowing traders to anticipate price movements.
Hedging Level Calculation: The script dynamically calculates a hedging level based on the predicted close, providing a visual cue for potential risk management strategies.
Visual Representation
The indicator plots:
Elliott Wave Highs: Marked in green.
Elliott Wave Lows: Marked in red.
Predicted Close: Shown as a blue step line.
Hedge Level: Displayed as an orange step line.
Benefits
Enhanced Decision-Making: By providing predictions and potential hedging levels, traders can make more informed decisions about entering or exiting positions.
Risk Management: The auto hedging feature helps traders manage risk by suggesting levels where they might place hedges against adverse price movements.
Customizable: The script allows for user-defined parameters, making it adaptable to different trading strategies and market conditions.
Conclusion
The "Next Candle Predictor with Auto Hedging" indicator is a powerful tool for traders seeking to enhance their trading strategies with predictive analytics and risk management techniques. By utilizing this indicator, traders can gain insights into potential price movements and make more informed trading decisions.
Feel free to explore the script, customize it to fit your trading style, and engage with the TradingView community for further insights and improvements!
Related
MMDN-Pin BarThis Pine Script code is designed to highlight Pin Bars on a TradingView chart by changing their color to yellow. A Pin Bar is a type of candlestick pattern that typically indicates a potential reversal in the market. The script uses specific conditions to identify bullish and bearish Pin Bars based on the size of the candlestick body and the length of the shadows (wicks).
1. Calculate Body and Shadows:
body: The absolute difference between the close and open prices.
upshadow: The upper shadow, calculated differently depending on whether the close is higher or lower than the open.
downshadow: The lower shadow, calculated similarly.
2. Define Pin Bar Conditions:
pinbar_h: Identifies a bullish Pin Bar if the previous candle's close is greater than its open, the previous candle's body is larger than the current candle's body, the upper shadow is more than half the size of the body, and the upper shadow is more than twice the size of the body.
pinbar_l: Identifies a bearish Pin Bar with similar conditions but for the lower shadow.
Set Pin Bar Color:
barcolor: Changes the color of the identified Pin Bars to yellow.
Introducing the "Smart Money Trap" (SMT) IndicatorThe "Smart Money Trap" (SMT) indicator is a powerful tool designed for simultaneous analysis of multiple currency pairs and their correlations. This indicator allows you to effortlessly visualize divergences and correlations between various currency pairs on a single chart, enhancing your ability to perform in-depth technical analysis.
Key Features:
Multi-Currency Comparison:
The SMT indicator enables you to view the following currency pairs simultaneously:
EUR/USD (Euro to US Dollar)
GBP/USD (British Pound to US Dollar)
USD/JPY (US Dollar to Japanese Yen)
DXY (US Dollar Index)
Correlation and Divergence Analysis:
By overlaying these currency pairs, the SMT indicator helps you identify correlations and divergences between them, which can signal potential trading opportunities.
Customizable Timeframes:
The indicator automatically adjusts to the current chart’s timeframe, ensuring that your analysis is always in sync with the selected period.
Enhanced Decision-Making:
With the ability to visualize multiple currency pairs and their relationships, you can make more informed trading decisions and better understand market dynamics.
The SMT indicator is a valuable tool for traders looking to track and analyze currency pair interactions and identify trading signals based on their correlations and divergences.
Duo Multi-Time Period Charts# Duo Multi-Time Period Charts
## Description
The Duo Multi-Time Period Charts indicator is a versatile tool designed to visualize price action across two different timeframes simultaneously. It overlays color-coded boxes on your chart, representing the price range for each period in both timeframes. This allows traders to easily identify trends, support, and resistance levels across multiple time horizons.
## Key Features
- Displays two user-defined timeframes (default: Daily and Weekly)
- Customizable calculation methods: High/Low Range, True Range, or Heikin Ashi Range
- Color-coded boxes for easy trend identification (bullish/bearish)
- Optional labels showing open and/or close prices
- Fully customizable colors for boxes and labels
## How It Works
1. The indicator creates boxes for each period in both selected timeframes.
2. Box colors change based on whether the close is higher (bullish) or lower (bearish) than the open.
3. Box heights are determined by the selected calculation method:
- High/Low Range: Uses the period's high and low
- True Range: Incorporates the previous close for more volatility representation
- Heikin Ashi Range: Uses a modified candlestick calculation for smoother trends
4. Optional labels display open and/or close prices for each period.
## Use Cases
- Multi-timeframe analysis: Compare short-term and long-term trends at a glance
- Support and resistance identification: Easily spot key levels across different timeframes
- Trend confirmation: Use the color-coding to confirm trend direction and strength
- Volatility assessment: Compare box sizes to gauge relative volatility between timeframes
## Customization
Users can customize various aspects of the indicator, including:
- Timeframes for analysis
- Calculation method for price ranges
- Color schemes for bullish and bearish periods in both timeframes
- Label content and colors
- Visibility options for boxes and labels
## Recommendation
For optimal clarity, it is recommended to enable price labels for only one timeframe. Displaying labels for both timeframes simultaneously may lead to cluttered and difficult-to-read charts, especially on shorter timeframes or when the two selected periods are close in duration.
This indicator is perfect for traders who want to incorporate multi-timeframe analysis into their trading strategy without cluttering their charts with multiple indicators. By following the label recommendation, users can maintain a clean chart while still benefiting from the multi-timeframe insights provided by the indicator.
Wick Strength [MS]Overview
The Wick Strength indicator is a unique script designed to measure and visualize the relative strength of candlestick wicks over time. By analyzing the relationship between upper and lower wicks, this indicator provides insights into potential market dynamics and price action patterns.
How It Works
The Wick Strength indicator calculates the "strength" of candlestick wicks by comparing the upward and downward movements within each candle's range. This calculation results in a dynamic line plot that represents the evolving wick strength across your chosen timeframe.
Strength is not range-bound, allowing the score to reach extremes and be compared relatively across time.
Interpretation
Positive values indicate stronger upper wicks (potential bearish pressure)
Negative values suggest stronger lower wicks (potential bullish pressure)
Extreme readings might signal overextended moves or potential reversals
Key Features
Measures relative wick strength candle by candle
Smooths the values by summation based on user preference
Adaptable to all timeframes and markets
Potential Applications
While extensive backtesting has not been performed, the Wick Strength indicator may offer valuable insights for:
Identifying potential divergences between price action and wick strength
Spotting changes in market sentiment or volatility
Complementing other technical analysis tools for a more comprehensive trading approach
Developing unique trading strategies based on wick behavior
ICT Unicorn | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Unicorn Indicator! This indicator is built around the ICT's "Unicorn" strategy. The strategy uses Breaker Blocks and Fair Value Gaps for entry confirmation. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Unicorn Indicator :
Implementation of ICT's Unicorn Strategy
Toggleable Retracement Entry Method
3 Different TP / SL Methods
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The ICT Unicorn entry model merges the concepts of Breaker Blocks and Fair Value Gaps (FVGs), offering a distinct method for identifying trade opportunities. By integrating these two elements, we can have a position entry with stop-loss and take-profit targets on the potential support & resistance zones. This model is particularly reliable for trade entry, as it combines two powerful entry techniques.
An ICT Unicorn Model consists of a FVG which is overlapping with a Breaker Block of the same type. Here is an example :
When a FVG overlaps with a Breaker Block of the same type, the indicator gives a Buy or Sell signal depending on the FVG type (Bullish & Bearish). If the "Require Retracement" option is enabled in the settings, the signals are not given immediately. Instead, the current price of the ticker will need to touch the FVG once more before the signals are given.
After the Buy or Sell signal, the indicator immediately draws the take-profit (TP) and stop-loss (SL) targets. The indicator has three different TP & SL modes, explained in the "Settings" section of this write-up.
You can set up alerts for entry and TP & SL signals, and also check the current performance of the indicator and adjust the settings accordingly to the current ticker using the backtesting dashboard.
🚩 UNIQUENESS
This indicator is an all-in-one suit for the ICT's Unicorn concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. Different and customizable algorithm modes will help the trader fine-tune the indicator for the asset they are currently trading. Three different TP / SL modes are available to suit your needs. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️ SETTINGS
1. General Configuration
FVG Detection Sensitivity -> You may select between Low, Normal, High or Extreme FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivies resulting in spotting bigger FVGs, and higher sensitivies resulting in spotting all sizes of FVGs.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order & breaker blocks.
Require Retracement ->
a) Disabled : The entry signal is given immediately once a FVG overlaps with a Breaker Block of the same type.
b) Enabled : The current price of the ticker will need to touch the FVG once more before the entry signal is given.
2. TP / SL
TP / SL Method ->
a) Unicorn : This is the default option. The SL will be set to the lowest low of the last 100 bars with an extra offset in a Buy signal. For Sell signals, the SL will be set to the highest high of the last 100 bars with an extra offset. The TP is then set to a value using the SL value and maintaining a risk-reward ratio.
b) Dynamic: The TP / SL zones will be auto-determined by the algorithm based on the Average True Range (ATR) of the current ticker.
c) Fixed : You can adjust the exact TP / SL ratios from the settings below.
Dynamic Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.