KINGThis indicator generates buy and sell signals based on specific candle patterns involving the size of the candle's body and wicks. A buy signal is triggered when a large bearish candle (body twice the size of its wicks) is followed by a bullish candle with a long lower wick (twice the size of its body and upper wick), and the close is above the low of the bearish candle, while the low of the current candle is lower. A sell signal occurs when a large bullish candle is followed by a candle with a long upper wick, and the close is below the high of the bullish candle, while the high of the current candle is higher. The indicator includes a reset mechanism to avoid premature signals when large candles with contradicting patterns appear.
Candlestick analysis
Large Candle Detector (6-Candle Comparison)This indicator identifies large price candles that are bigger than the previous six candles, helping traders spot potential breakout or reversal signals. By highlighting significant candles compared to recent price action, it provides insights into key moments of increased volatility or momentum shifts in the market.
BTC Arcturus IndicatorBTC Arcturus Indicator: This indicator is designed to create buy and sell signals based on the market value of Bitcoin. It also predicts potential market tops with the Pi Cycle Top indicator.
How Does It Work?
1. MVRVZ (Market Value to Realized Value-Z Score) Calculation:
MC: Bitcoin's market cap (Market Cap) is pulled daily from Glassnode data.
MCR: Realized Market Cap of Bitcoin is taken daily from Coinmetrics data.
MVRVZ: It is calculated by dividing the difference between Bitcoin's market value and realized market value by one standard deviation. This value indicates whether the market is overvalued or undervalued.
2. Reception and Warning Signals:
Buy Signal: When MVRVZ falls below the -0.255 threshold value, the indicator gives a "Buy" signal. This indicates that Bitcoin is undervalued and may be a buying opportunity.
Warning Signal: A warning signal turns on when MVRVZ exceeds the threshold value of 2.765. This indicates that the market is approaching saturation and caution is warranted.
3. Tracking the Highest MVRVZ Value:
The indicator records the highest MVRVZ value in the last 10 candlesticks. This value is used to determine whether the market has reached its highest risk levels.
4. Warning Display:
If the MVRVZ value matches the highest value in the last 10 bars and this warning has not been displayed before, a "Warning" signal is displayed.
Once the warning signal is shown, no further warnings are shown for 10 candles.
5. Pi Cycle Top Indicator:
Pi Cycle Top: This indicator predicts Bitcoin tops by comparing two moving averages (350-day and 111-day). If the short-term moving average falls below the long-term moving average, this is considered a sell signal.
The indicator displays this signal with the label "Sell", indicating a potential market top.
User Guide:
Green Buy Signal: It means Bitcoin is cheap and offers a buying opportunity.
Yellow Warning Signal: Indicates that Bitcoin has reached possible profit taking points and caution should be exercised.
Red Sell Signal: Indicates that Bitcoin has reached market saturation and it may be appropriate to sell.
Decoding the Volume of candlesThe indicator is designed for traders who are more interested in market structures and price action using volumes. Volume analysis can help traders build a clearer understanding of zones of buyer and seller interest, as well as liquidity gathering points (traders' stop levels).
Key Features:
The indicator visualizes on the chart the volumes selected according to the trader's chosen settings.
The indicator highlights candle volumes in selected colors, where the volume is greater individually than the volumes of the trader's chosen number of preceding candles. Or the volume that is greater than the sum of volumes of the trader's chosen number of preceding candles.
The indicator mark selected volumes on the chart based on the type of candle. The candle type (1, 2, or 3) is determined by its result (close) relative to other candles.
Volume marked for a type 3 candle draws the trader’s attention to the lack of results from the applied volume compared to the previous candle, indicating potential weakness of the candle’s owner. This is especially important in buyer or seller context areas.
Volume marked for a type 2 candle highlights the presence of results from the applied volume but only relative to the previous candle. In buyer or seller context areas, this can signal weakness of the candle’s owner.
Volume marked for a type 1 candle signals a strong result from the applied volume, indicating potential strength of the candle’s owner.
The marking of volumes can be displayed either on the main chart or on the volume chart, depending on the trader's preference. Colors and symbols for marking can be customized on the Style tab.
Volumes can be filtered on both the volume chart and the main chart according to their marking. This feature can be useful, for example, for traders who don’t work with signs of buyer or seller weakness. In such cases, they can filter out volumes only for type 1 candles.
Good luck exploring the impact of volumes on price behavior!
Grandfather-Father-Son RSI Buy Indicator-only for daily TFGrandfather-Father-Son RSI Buy and Sell Indicator
This script identifies buy and sell opportunities by combining RSI values across multiple timeframes to capture market trends and reversals. The "Grandfather-Father-Son" concept breaks down RSI analysis into three key timeframes:
Grandfather (Monthly): Represents the long-term trend, helping to filter trades that align with the overall market direction.
Father (Weekly): Provides intermediate-term momentum, confirming market conditions before signaling entry or exit points.
Son (Daily): Tracks short-term corrections and movements to pinpoint precise buy and sell opportunities.
Key Features:
Buy Signal: A buy signal is triggered when:
Monthly RSI (Grandfather) and Weekly RSI (Father) are both above 70.
Daily RSI (Son) is between 40 and 45, signaling a potential market pullback before resuming the upward trend.
The indicator checks for alignment across these timeframes to generate a reliable buy signal.
Sell Signal: A sell signal occurs when the Daily RSI (Son) crosses above 70, indicating a potential overbought condition.
Multi-Timeframe Analysis: The script pulls data from higher timeframes (monthly and weekly) to ensure that signals reflect larger market trends rather than short-term fluctuations.
Instructions:
Optimal Timeframe: This script works best on the Daily timeframe, as it uses Monthly and Weekly RSI for trend confirmation. The indicator will display a warning if applied to other timeframes to ensure it is used optimally.
Trend Alignment: The strategy ensures that buy signals are triggered only when there is a strong uptrend in both the Grandfather (Monthly) and Father (Weekly) RSI, while sell signals are based on potential overbought conditions in the Son (Daily) RSI.
Limitations:
Timeframe Dependency: Signals are based on higher timeframe data (Weekly and Monthly), which may only update at the close of those respective time periods. Therefore, it is designed to work in real-time but will be most reliable when trading in alignment with these longer-term trends.
Replay Mode: The script has been optimized to function correctly during live market conditions, with no reliance on future data (no lookahead). This ensures signals appear accurately during both backtesting and live trading.
Disclaimer:
This script is for educational purposes and should be used with caution. Always backtest before using in live trading and adjust parameters to fit your trading strategy and risk management plan.
Custom Date CVDThis indicator allows setting a custom date for the beginning of cumulative volume delta calculations.
Why is it important? CVD shows aggressiveness of buyers and sellers. And in order for a bull run to sustain you need aggressive buyers hitting the ask. If the price goes up, but CVD goes down - unlikely this bull trend will last long.
You might want to choose a recent top or bottom as the start point and check whether the aggressiveness of market participants corresponds to the price movement since that peak. For example on the chart above we can see that the price was going up and down, but the aggressiveness clearly points down. Does it mean that we will have a long bear market? No. It means that until the aggressiveness starts pointing up we should not expect a bull market. It might happen tomorrow, or might happen in a month. Nobody knows. But until it starts happening - don't expect the real bull.
Additionally, candles where the aggressiveness went the opposite direction from the price are marked with a blue dot above them.
Note: the smaller the custom time frame of the indicator - the more correct the results are. However, the drawback is that shorter the lookback period will be. The actual length will depend on your subscription level and the number of subcandles of the selected instrument.
EMA14 Second Time BUY/SELL AlertsEMA14 Crossover Strategy with Conditional BUY/SELL Alerts
This powerful script provides dynamic BUY and SELL alerts based on the interaction between price action and the EMA14 (Exponential Moving Average 14). Ideal for traders looking to capitalize on trend reversals and breakout patterns, this indicator helps you time entries and exits with precision.
Key Features:
Second-Time Crossover Alerts: The script tracks when the price crosses the EMA14 for the second time. This adds confirmation to price movements and helps filter out false signals.
Conditional BUY/SELL Alerts:
BUY Alert: Triggered when the price closes above the EMA14 after a previous SELL signal, indicating a potential trend reversal or breakout to the upside.
SELL Alert: Triggered when the price closes below the EMA14 after a previous BUY signal, signaling a possible shift to the downside.
Advanced Crossover Tracking:
The script counts each crossover of the price relative to the EMA14, generating a BUY or SELL signal on the second instance to provide additional confirmation of trend strength.
Visual Alerts: Labels are plotted directly on the chart to highlight when a BUY or SELL signal has occurred, providing immediate visual feedback for traders to react in real-time.
How It Works:
The script combines the simplicity of EMA14 with enhanced logic that tracks both crossovers and closes relative to the moving average. This ensures that the signals are based not only on quick movements but also on price confirmation, reducing noise and false breakouts.
This script is perfect for traders who rely on moving average strategies and want additional filtering to confirm trends and optimize trade timing.
Charan_Trading_IndicatorCharan_Trading_Indicator Overview:
The Charan_Trading_Indicator combines several technical analysis tools, including Bollinger Bands, RSI (Relative Strength Index), VWAP (Volume-Weighted Average Price), and ATR (Average True Range), to provide buy and sell signals. The script incorporates multiple strategies, such as crack snap setups, overbought/oversold levels, and trend continuation indicators, all tailored for precise market entry and exit points.
Key Components:
RSI (Relative Strength Index):
The indicator uses RSI to detect overbought (RSI > 70) and oversold (RSI < 30) market conditions.
Alerts are triggered when prices are within the specified buy/sell range and RSI crosses these thresholds.
Bollinger Bands:
Bollinger Bands are calculated based on a configurable moving average and standard deviation.
The script identifies potential buy signals when the price dips below the lower Bollinger Band and recovers, and sell signals when the price exceeds the upper Bollinger Band and retraces.
Crack Snap Strategies:
The indicator incorporates multiple variations of the crack snap strategy:
Buy Signals: Triggered when price opens below the lower Bollinger Band and closes above it, alongside certain conditions in previous candles.
Sell Signals: Triggered when price opens above the upper Bollinger Band and closes below it, with similar candle patterns.
Variations such as 3-candle (3C) and 4-candle (4C) versions refine the crack snap setups for more robust signals.
Isolated Candle Conditions:
The indicator tracks isolated candles, where the entire candle lies above or below the Bollinger Bands, to identify potential reversal points.
Trend Continuation Signals:
Conditions based on the candle range and previous highs/lows allow the indicator to generate signals for trend continuation:
Buy signals when price breaks above the previous two highs.
Sell signals when price breaks below the previous two lows.
VWAP (Volume-Weighted Average Price):
The indicator integrates VWAP to give additional support and resistance levels, ensuring signals align with volume trends.
ATR-Based Stop Loss:
For both buy and sell conditions, the script plots stop-loss levels based on the ATR (Average True Range), giving dynamic risk management levels.
Buy/Sell Ranges:
The user can set minimum and maximum price ranges for buy and sell signals, ensuring that the indicator only generates alerts within desired price ranges.
How It Works:
Buy Signals: The script generates buy signals based on multiple conditions, including the crack snap strategy, oversold RSI levels, and trend continuation setups. When these conditions are met, green triangles appear below the price bars, and an alert is triggered.
Sell Signals: Sell signals are triggered when the opposite conditions are met (overbought RSI, crack snap sell setups, trend breaks), and red triangles appear above the price bars.
Visual Indicators: The script plots upper and lower Bollinger Bands, stop loss levels, and VWAP on the chart, providing a comprehensive view of market conditions and support/resistance levels.
This indicator is versatile, combining multiple technical tools for robust decision-making in trading. It generates alerts, plots visual markers, and integrates risk management, making it a well-rounded tool for technical analysis.
This indicator is versatile, combining multiple technical tools for robust decision-making in trading. It generates alerts, plots visual markers, and integrates risk management, making it a well-rounded tool for technical analysis.
Yesterday's Levels with 50% wick and Equilibrium## Script Description
This Pine Script indicator highlights key levels from the previous day’s daily candle on any timeframe chart. It focuses exclusively on marking the following:
1. **Previous Day’s High, Low, Open, and Close**:
- Horizontal lines are drawn to indicate the previous day's high, low, open, and close prices.
- These lines are white and extend across the chart.
2. **50% of Candle Wicks**:
- If the previous day’s candle has wicks, two additional lines mark 50% of the top wick and 50% of the bottom wick.
- These lines are green and dotted, representing half the wick’s height.
3. **Equilibrium (50% of the Full Candle)**:
- A horizontal red line marks the midpoint (equilibrium) of the entire previous day’s candle, from high to low.
- This line is thicker than the others to emphasize the equilibrium level.
The script works by focusing only on the previous day’s daily candle, ensuring that it doesn’t plot lines for any older candles. These levels are visible on all timeframes.
RCYC Bullish Bearish Indicator
Summary: The RCYC Bullish Bearish Indicator is a custom trading tool designed to help traders identify potential bullish and bearish conditions in the market using a combination of KDJ and RSI indicators. This indicator uses color-coded candles to visually represent bullish and bearish signals, making it easy to identify trend changes on the chart. The script is particularly useful for traders who prefer visual signals and want to incorporate both trend momentum (KDJ) and relative strength (RSI) in their analysis.
Description:
The RCYC Bullish Bearish Indicator is a unique mashup of the KDJ and RSI indicators, optimized to provide a clear visual representation of market conditions through color-coded candles. This indicator not only identifies the potential trend shifts but also provides alerts for significant crossover points, enhancing a trader's ability to make informed decisions.
How It Works:
KDJ Calculation:
The KDJ is a variation of the Stochastic Oscillator that includes the %J line, which can go beyond the typical 0-100 range of %K and %D.
The KDJ component of this indicator calculates the highest high and lowest low over a specified period (KDJ Length), using these values to derive the %K line.
The %D line is a smoothed version of %K, and the %J line is derived from %K and %D using the formula: J = 3 * %K - 2 * %D.
This indicator focuses on the behavior of the %J line in relation to a mid-point level (50), identifying crossovers and crossunders that signal potential shifts in market sentiment.
RSI Calculation:
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It is widely used to identify overbought or oversold conditions.
In this indicator, RSI values are adjusted and plotted to align visually with the KDJ values, providing a complementary momentum analysis.
Crossover Logic and Candle Coloring:
The indicator tracks two main events:
CrossOver50: When the %J line crosses above the 50 level, indicating potential bullish momentum.
CrossUnder50: When the %J line crosses below the 50 level, indicating potential bearish momentum.
Depending on the crossover events, the script changes the color of the candles on the chart:
Red candles on the initial crossover above 50, followed by dark blue candles to maintain bullish sentiment.
Yellow candles on the initial crossover below 50, followed by light blue candles to maintain bearish sentiment.
Alerts:
The indicator includes alert conditions for both bullish and bearish signals:
Red Candle Alert: Notifies the trader when the %J line crosses above 50.
Yellow Candle Alert: Notifies the trader when the %J line crosses below 50.
These alerts allow traders to react promptly to key market signals without continuously monitoring the chart.
Usage and Benefits:
This indicator is designed for traders looking to combine momentum and trend analysis into a single visual tool. It is particularly useful for those trading in trending markets or looking for entry/exit signals based on momentum shifts.
The color-coded candles provide an intuitive way to assess market conditions at a glance, reducing the complexity associated with analyzing multiple indicators separately.
By integrating both KDJ and RSI, the RCYC Bullish Bearish Indicator offers a balanced approach to trend detection and momentum confirmation, making it versatile for various trading styles, including scalping, swing trading, and position trading.
Originality and Usefulness:
While the indicator builds upon the familiar concepts of KDJ and RSI, it uniquely merges them into a cohesive visual tool with distinct crossover-based alerts and candle coloring.
This approach makes the indicator original, as it simplifies the interpretation of complex signals into straightforward visual cues, enhancing the decision-making process for traders who prefer chart-based analysis.
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.
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.