Bitcoin Cycle Master [InvestorUnknown]The "Bitcoin Cycle Master" indicator is designed for in-depth, long-term analysis of Bitcoin's price cycles, using several key metrics to track market behavior and forecast potential price tops and bottoms. The indicator integrates multiple moving averages and on-chain metrics, offering a comprehensive view of Bitcoin’s historical and projected performance. Each of its components plays a crucial role in identifying critical cycle points:
Top Cap: This is a multiple of the Average Cap, which is calculated as the cumulative sum of Bitcoin’s price (price has a longer history than Market Cap) divided by its age in days. Top Cap serves as an upper boundary for speculative price peaks, multiplied by a factor of 35.
Time_dif() =>
date = ta.valuewhen(bar_index == 0, time, 0)
sec_r = math.floor(date / 1000)
min_r = math.floor(sec_r / 60)
h_r = math.floor(min_r / 60)
d_r = math.floor(h_r / 24)
// Launch of BTC
start = timestamp(2009, 1, 3, 00, 00)
sec_rb = math.floor(start / 1000)
min_rb = math.floor(sec_rb / 60)
h_rb = math.floor(min_rb / 60)
d_rb = math.floor(h_rb / 24)
difference = d_r - d_rb
AverageCap() =>
ta.cum(btc_price) / (Time_dif() + btc_age)
TopCap() =>
// To calculate Top Cap, it is first necessary to calculate Average Cap, which is the cumulative sum of Market Cap divided by the age of the market in days.
// This creates a constant time-based moving average of market cap.
// Once Average cap is calculated, those values are multiplied by 35. The result is Top Cap.
// For AverageCap the BTC price was used instead of the MC because it has more history
// (the result should have minimal if any deviation since MC would have to be divided by Supply)
AverageCap() * 35
Delta Top: Defined as the difference between the Realized Cap and the Average Cap, this metric is further multiplied by a factor of 7. Delta Top provides a historically reliable signal for Bitcoin market cycle tops.
DeltaTop() =>
// Delta Cap = Realized Cap - Average Cap
// Average Cap is explained in the Top Cap section above.
// Once Delta Cap is calculated, its values over time are then multiplied by 7. The result is Delta Top.
(RealizedPrice() - AverageCap()) * 7
Terminal Price: Derived from Coin Days Destroyed, Terminal Price normalizes Bitcoin’s historical price behavior by its finite supply (21 million bitcoins), offering an adjusted price forecast as all bitcoins approach being mined. The original formula for Terminal Price didn’t produce expected results, hence the calculation was adjusted slightly.
CVDD() =>
// CVDD stands for Cumulative Value Coin Days Destroyed.
// Coin Days Destroyed is a term used for bitcoin to identify a value of sorts to UTXO’s (unspent transaction outputs). They can be thought of as coins moving between wallets.
(MCR - TV) / 21000000
TerminalPrice() =>
// Theory:
// Before Terminal price is calculated, it is first necessary to calculate Transferred Price.
// Transferred price takes the sum of > Coin Days Destroyed and divides it by the existing supply of bitcoin and the time it has been in circulation.
// The value of Transferred Price is then multiplied by 21. Remember that there can only ever be 21 million bitcoin mined.
// This creates a 'terminal' value as the supply is all mined, a kind of reverse supply adjustment.
// Instead of heavily weighting later behavior, it normalizes historical behavior to today. By normalizing by 21, a terminal value is created
// Unfortunately the theoretical calculation didn't produce results it should, in pinescript.
// Therefore the calculation was slightly adjusted/improvised
TransferredPrice = CVDD() / (Supply * math.log(btc_age))
tp = TransferredPrice * 210000000 * 3
Realized Price: Calculated as the Market Cap Realized divided by the current supply of Bitcoin, this metric shows the average value of Bitcoin based on the price at which coins last moved, giving a market consensus price for long-term holders.
CVDD (Cumulative Value Coin Days Destroyed): This on-chain metric analyzes Bitcoin’s UTXOs (unspent transaction outputs) and the velocity of coins moving between wallets. It highlights key market dynamics during prolonged accumulation or distribution phases.
Balanced Price: The Balanced Price is the difference between the Realized Price and the Terminal Price, adjusted by Bitcoin's supply constraints. This metric provides a useful signal for identifying oversold market conditions during bear markets.
BalancedPrice() =>
// It is calculated by subtracting Transferred Price from Realized Price
RealizedPrice() - (TerminalPrice() / (21 * 3))
Each component can be toggled individually, allowing users to focus on specific aspects of Bitcoin’s price cycle and derive meaningful insights from its long-term behavior. The combination of these models provides a well-rounded view of both speculative peaks and long-term value trends.
Important consideration:
Top Cap did historically provide reliable signals for cycle peaks, however it may not be a relevant indication of peaks in the future.
Indicadores e estratégias
Commitment of Trader %R StrategyThis Pine Script strategy utilizes the Commitment of Traders (COT) data to inform trading decisions based on the Williams %R indicator. The script operates in TradingView and includes various functionalities that allow users to customize their trading parameters.
Here’s a breakdown of its key components:
COT Data Import:
The script imports the COT library from TradingView to access historical COT data related to different trader groups (commercial hedgers, large traders, and small traders).
User Inputs:
COT data selection mode (e.g., Auto, Root, Base currency).
Whether to include futures, options, or both.
The trader group to analyze.
The lookback period for calculating the Williams %R.
Upper and lower thresholds for triggering trades.
An option to enable or disable a Simple Moving Average (SMA) filter.
Williams %R Calculation: The script calculates the Williams %R value, which is a momentum indicator that measures overbought or oversold levels based on the highest and lowest prices over a specified period.
SMA Filter: An optional SMA filter allows users to limit trades to conditions where the price is above or below the SMA, depending on the configuration.
Trade Logic: The strategy enters long positions when the Williams %R value exceeds the upper threshold and exits when the value falls below it. Conversely, it enters short positions when the Williams %R value is below the lower threshold and exits when the value rises above it.
Visual Elements: The script visually indicates the Williams %R values and thresholds on the chart, with the option to plot the SMA if enabled.
Commitment of Traders (COT) Data
The COT report is a weekly publication by the Commodity Futures Trading Commission (CFTC) that provides a breakdown of open interest positions held by different types of traders in the U.S. futures markets. It is widely used by traders and analysts to gauge market sentiment and potential price movements.
Data Collection: The COT data is collected from futures commission merchants and is published every Friday, reflecting positions as of the previous Tuesday. The report categorizes traders into three main groups:
Commercial Traders: These are typically hedgers (like producers and processors) who use futures to mitigate risk.
Non-Commercial Traders: Often referred to as speculators, these traders do not have a commercial interest in the underlying commodity but seek to profit from price changes.
Non-reportable Positions: Small traders who do not meet the reporting threshold set by the CFTC.
Interpretation:
Market Sentiment: By analyzing the positions of different trader groups, market participants can gauge sentiment. For instance, if commercial traders are heavily short, it may suggest they expect prices to decline.
Extreme Positions: Some traders look for extreme positions among non-commercial traders as potential reversal signals. For example, if speculators are overwhelmingly long, it might indicate an overbought condition.
Statistical Insights: COT data is often used in conjunction with technical analysis to inform trading decisions. Studies have shown that analyzing COT data can provide valuable insights into future price movements (Lund, 2018; Hurst et al., 2017).
Scientific References
Lund, J. (2018). Understanding the COT Report: An Analysis of Speculative Trading Strategies.
Journal of Derivatives and Hedge Funds, 24(1), 41-52. DOI:10.1057/s41260-018-00107-3
Hurst, B., O'Neill, R., & Roulston, M. (2017). The Impact of COT Reports on Futures Market Prices: An Empirical Analysis. Journal of Futures Markets, 37(8), 763-785.
DOI:10.1002/fut.21849
Commodity Futures Trading Commission (CFTC). (2024). Commitment of Traders. Retrieved from CFTC Official Website.
Fibonacci Levels with StatsPrimary Usage:
Drawing Fibonacci Retracements
Based on the past highs and lows, Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) are calculated and displayed on the chart. The Fibonacci levels are different for positive and negative lines, respectively.
Statistical Counting Function
Records the number of times each Fibonacci level is exceeded and tracks how often price reaches that level. This data can be useful for future price forecasting.
Cueing Symbols by Pattern Matching
Symbols are added to the queue when each Fibonacci level is exceeded. Depending on whether the price is positive or negative, different symbols (1, 2, 3, etc.) are assigned, which are used to predict the next move.
Change background color
Based on the number of times the price exceeds the Fibonacci level, the background color will change to green or red. The intensity of the color changes according to the number of consecutive times the price has exceeded the Fibonacci level.
Cue Size Limitations
Past symbols are added to the queue, but a size limit is set and old symbols are deleted when the queue exceeds a certain size.
Prediction Logic
Pattern matching is used to predict the next symbol based on patterns of past symbols.
Momentum-Based Buy/Sell SignalsBuy Signal:
Triggered when ROC > threshold and the MACD line crosses above the Signal line.
Sell Signal:
Triggered when ROC < threshold and the MACD line crosses below the Signal line.
Visual Elements:
Green labels with "Buy" are displayed below the bars for buy signals.
Red labels with "Sell" are displayed above the bars for sell signals.
The background turns green during a buy signal and red during a sell signal for better visual clarity.
Advanced Position Management [Mr_Rakun]Advanced Position Management
This Pine Script code is for a strategy titled "Advanced Position Management," aimed at effective trade execution and management using multiple take profit levels, trailing stop loss, and dynamic position sizing.
Take Profit Levels: It defines up to three take profit (TP) levels, allowing partial position exits at different price thresholds. The take profit levels and their respective quantities are adjustable using inputs.
Stop Loss and Trailing Stop: The script implements an initial stop loss based on a percentage from the entry price. Additionally, it features a trailing stop that moves based on either a percentage or previous TP levels, dynamically adjusting to maximize gains while protecting profits.
Position Size: The position size is customizable and based on USD value, allowing the trader to manage risk more effectively.
Advantages:
Flexibility: Multiple take profit levels and a dynamic stop loss system allow traders to lock in profits while keeping the position open for further gains.
Risk Management: The initial stop loss and trailing stop help to limit losses and protect profits as the trade moves in the desired direction.
Automation: Once the strategy is deployed, it automatically handles entry, exit, and stop management, reducing the need for constant monitoring.
------ TR ------
Gelişmiş Pozisyon Yönetimi
Bu Pine Script kodu, Gelişmiş Pozisyon Yönetimi için kendi stratejilerinize kolayca entegre edeceğiniz bir risk yönetimidir. Çoklu kâr al seviyeleri, takip eden stop-loss ve dinamik pozisyon büyüklüğü kullanarak işlem yürütme ve yönetiminde etkilidir.
Gelişmiş Pozisyon Yönetimi
Kâr Alma Seviyeleri;
Kod, pozisyonların farklı fiyat seviyelerinde kısmi kapatılmasını sağlayan üç farklı kâr alma (TP) seviyesini tanımlar. Bu kâr alma seviyeleri ve ilgili miktarları, girişlerle ayarlanabilir.
Stop Loss ve Takip Eden Stop;
Koda, giriş fiyatından bir yüzdeye dayalı olarak başlangıçta stop-loss uygulanır. Ayrıca, fiyat hareketine göre kendini ayarlayan takip eden bir stop-loss sistemi bulunur. Ayrıca TP seviyelerini takip eden stop loss özelliğide vardır.
Avantajları:
Esneklik;
Çoklu kâr alma seviyeleri ve dinamik stop-loss sistemi, trader'ların kazançlarını kilitleyip aynı zamanda pozisyonu açık tutmalarına olanak tanır.
Risk Yönetimi;
Başlangıç stop-loss ve takip eden stop, zararı sınırlamaya ve kazançları korumaya yardımcı olur.
Otomasyon;
Strateji bir kez devreye alındığında, giriş, çıkış ve stop yönetimi otomatik olarak gerçekleştirilir, bu da sürekli takip ihtiyacını azaltır.
RSI Overlay Table with Pivot-Based Divergence and SortingThis script offers an advanced RSI-based overlay table designed to identify and highlight divergences across multiple timeframes (Daily, Weekly, Monthly) for up to 13 tickers. It employs a pivot-based detection mechanism that spots positive and negative divergences, helping traders identify potential trend reversals or continuations.
Key Features
1. Pivot-Based Divergence Detection:
The script uses pivot points to identify both positive and negative divergences using the RSI indicator and price movements.
User-adjustable pivot settings enhance detection sensitivity, providing traders with an opportunity to fine-tune divergence signals for different market conditions.
2. Multi-Timeframe Analysis:
Displays RSI values along with divergence signals for daily, weekly, and monthly timeframes.
Enables traders to monitor short-term, swing, and long-term trends on a single table, providing a comprehensive view.
3. Customizable Alerts and Visual Cues:
The script generates alerts whenever a divergence is detected, ensuring timely notifications.
Overbought and oversold levels are color-coded based on user-defined thresholds, with the "P-" and "N-" prefixes indicating positive and negative divergences, respectively.
4. User-Friendly Interface:
An intuitive table design allows for easy comparison of RSI levels and divergence signals across multiple tickers.
Offers customizable table positioning options (bottom left, center, right, or middle right) for convenient chart integration.
How to Use
Input Your Tickers: Add up to 13 tickers that you wish to monitor.
Adjust Pivot Settings: Fine-tune the 'Pivot Left Bars' and 'Pivot Right Bars' to optimize the pivot detection process.
Set Overbought/Oversold Levels: Define the RSI thresholds according to your trading strategy.
Enable Alerts: Receive notifications for divergence signals detected on any timeframe.
Concepts Underlying the Calculations
The script leverages the RSI (Relative Strength Index), a popular momentum indicator, to measure the velocity and magnitude of price changes. By comparing RSI values with pivot points, the script identifies divergences that suggest potential reversals. This method ensures more reliable signals than simple bar comparisons, as it accounts for broader market movements over time.
Why This Script Is Unique
This RSI overlay script stands out due to its multi-ticker, multi-timeframe divergence analysis and the use of pivot-based detection for higher accuracy. The integration of an alert system, combined with color-coded visual cues, makes it an actionable and comprehensive tool for traders.
Turkish Translation
RSI Overlay Tablosu - Pivot Tabanlı Uyumsuzluk ve Sıralama ile
Bu script, birden fazla zaman diliminde (Günlük, Haftalık, Aylık) 13 adede kadar seçilen hisse senetleri veya varlıklar için RSI tabanlı ayrışmaları belirleyen ve vurgulayan gelişmiş bir overlay tablosu sunar. Pivot tabanlı tespit mekanizması, trend dönüşlerini veya devamlarını belirlemeye yardımcı olacak şekilde pozitif ve negatif ayrışmaları tespit eder.
Özellikler
1. Pivot Tabanlı Uyumsuzluk Tespiti:
Pivot noktalarını kullanarak RSI göstergesi ve fiyat hareketleri arasındaki pozitif ve negatif uyumsuzlukları tespit eder.
Kullanıcı ayarlı pivot ayarları, uyumsuzluk sinyallerinin hassasiyetini artırır ve farklı piyasa koşullarına uygun hale getirir.
2. Çoklu Zaman Dilimi Analizi:
Günlük, haftalık ve aylık zaman dilimlerinde RSI değerlerini ve ayrışma sinyallerini gösterir.
Kısa vadeli, orta vadeli ve uzun vadeli trendleri tek bir tabloda izlemenize olanak tanır.
3. Kullanıcı Dostu Arayüz ve Uyarılar:
Pozitif ve negatif ayrışmaları tespit ettiğinde uyarılar oluşturur.
Kullanıcı tanımlı eşiklere göre aşırı alım ve aşırı satım seviyelerini renk kodlarıyla gösterir.
Nasıl Kullanılır
İzlemek istediğiniz varlıkları ekleyin (en fazla 13 adet).
Pivot ayarlarını yapılandırarak tespit işlemini optimize edin.
RSI eşik seviyelerini belirleyin ve uyarıları etkinleştirin.
V20 with Prices- Ashish SinghV20 with Prices
The V20 with Prices strategy is a unique tool designed to assist traders in identifying potential buy and sell levels by analyzing continuous bullish price movements (green candles). This strategy tracks streaks of green candles and calculates key price levels based on the highest and lowest points during the streak. It highlights potential reversal points, giving traders insights into where they could consider buying or selling based on price movement thresholds.
Key Features:
Tracking Green Candle Streaks: The V20 with Prices strategy identifies sequences of continuous green candles and captures the lowest price and highest price within the streak, helping traders identify potential turning points in an uptrend.
Next Buy and Sell Levels: After a streak of green candles ends, the strategy highlights:
Next Buy at: The lowest price of the streak, indicating a potential re-entry point if the price revisits this level.
Next Sell at: The highest price of the streak, indicating a potential profit-taking point if the price reaches this level again.
Both of these price levels are displayed on the chart, and traders can choose whether to show these levels via customizable input settings.
Movement Percentage Highlight: The strategy calculates the percentage movement between the lowest and highest prices in the streak. If the movement exceeds the user-defined threshold (default is 20%), it highlights these candles with a green background, allowing traders to quickly identify significant price movements.
Customizable Price Display: Users can toggle the display of the Next Buy at and Next Sell at price levels through input settings, providing full control over what is shown on the chart.
How It Works:
Green Candle Tracking: The strategy identifies a streak of green candles where the close price is higher than the open price. During this streak, the lowest low and highest high are tracked.
Price Movement Threshold: If the movement between the lowest low and highest high exceeds the user-defined threshold, the candles are highlighted with a green background.
Key Levels: After a streak of green candles ends (when a red candle appears), the Next Buy at and Next Sell at levels are stored and displayed, giving traders clear reference points for future price action.
How to Use:
Movement Threshold: Customize the movement threshold to filter significant price moves. A higher threshold reduces sensitivity to small movements, while a lower threshold increases sensitivity.
Customizable Price Display: Toggle the display of key price levels to match your trading style.
Ideal Use Cases:
Trend-following: The strategy is perfect for traders looking to identify potential re-entry points during an uptrend or take-profit points as the price reaches new highs.
Retracement Trading: Traders can monitor the Next Buy at level to capitalize on price retracements after strong upward movements.
Important Notes:
Disclaimer: This strategy is for informational purposes only and is not intended as financial advice or a buy/sell recommendation. Traders should always perform their own analysis before making any trading decisions.
Non-Repainting: This strategy does not repaint, ensuring that all displayed levels are based on actual price action.
Open Source: The logic and source code are transparent, allowing traders to modify the strategy if needed.
Indices Tracker and VOLD-Market BreadthThis is an overlay displaying DOW, Nasdaq and S&P performance for the day in real-time along with NQ and NYSE market breadth display.
Overview of the Script:
The Dow, Nasdaq, S&P Tracker section is at the top, displaying the current index values, changes, and colors.
The VOLD-Market Breadth section is below, providing the market breadth information.
Helpful to get a market view while trading stocks or options directionally.
WPR Volume Candle [Atareum]AWPRVC (Atareum WPR Volume Candles) is clearly an awesome indicator produced by AtareumFX that is based on William’s Percent Range concepts by combination with volume. This is a new approach of volume candles that is combined with R% concepts and creates such a powerful tool to trace the market and assists traders to make better decisions surly and so much accurate. You can find this new indicator more useful because it has all benefits and advantages of William’s R% and cover its disadvantages. Also it is more powerful because of using volume in its calculations and generate a new candles which is more reliable and trustworthy.
Concept:
Using William’s Percent leading periods and calculations on redesigning new candles in combination with volume, that makes unique reform candles, but these new candles with their new cloud system clearly response to any reasonable price movement with so much information.
As you know if use R% there are some misleading fake signals generate by oscillator, also it could not show any sign of price moving trend which is almost confusing for beginners or even a pro trader! And finally this oscillator is so sensitive to price change that is so creepy to use for most of traders.
This new AWPRVC solve the problem and make all of them handy and useful for you.
The cloud system which is designed in AWPRVC shows the price trend moving from Bearish Zone (-100 to -50 percent) to Bullish Zone (-50 to 0 percent). You can trust the lead moving forward of the clouds in two separate Top and Bottom (Bull and Bear) lines which solely determine the trend and power of price moving. When clouds are close to each other means we continue the trend and when they get far away from each other means we will face powerful trend in near future. If they are in Bearish Zone we continue the selling pressure and vice versa. Following picture shows good sample of Long and Short positions in compare with so many fake signals generated on original R%.
Besides the cloud system of AWPRVC which is clearly show the price trend and it is completely enough for being sure about price moving trend, you can use moving average which is designated in it to confirm the price trend, also.
Also you can see this new AWPRVC candle by using volume within its conformation, make reasonable price candles which is no so sensitive and so creepy and make your decisions come true in peace and clear sense of market moves. You can see following picture which is showing although the real price candles are so unclear and nonsense of making decision but the AWPRVC candles lead you to make true and trustable position.
As you see this new combination of Williams R% oscillator with volume and also generating a perfect new cloud system will clearly help traders even pro to trust the signals and understand whole market movement better and all of original problems of R% solved and even make a most powerful, trustworthy and useful new indicator.
Parameters:
Section 1 : Candle colour setting for flourishing just as you desire !
Section 2 : Defining Periods of R% and source of candle data in combination with determining the smoothing type of moving averages and signal period.
Section 3 : Select using Standard candles alongside with redesigned cloud calculation type and three additional moving averages which can plot on each newly generated candles and standard candles on a chart with the type mode defined in the previous section.
Note: if you want to omit any or all of these moving averages, you can use 0 in period, instead of selecting "None" in the plot moving option!
Usage :
Overall:
Regardless of the additional moving averages which will lead to so many situations of market according to their types and designs, that is four different period for new redesign AWPRVC and three period for standard chart. You can easily select periods and type for these moving averages. Also, do not forget that signal moving averages is shown only on AWPRVC chart and have two different colour for upward and downward trends. Other moving averages are plot by just one single colour.
Cloud levels are so important because AWPRVC candles show respect to them and when they break the clouds upward or downward it is surly beginning of a trend. Do not forget we have 5 levels for tracing new AWPRVC candles move as follows : Ready for Short \ Long, Surly Short \ Long and Turn Trend which is in middle range of movement percent. Each level clearly shows what it means by its name.
Support and Resistance:
Any consolidation of AWPRVC candles in Ready for Short or Long Zones means the support or resistance level due to its nature, but important thing is how long the candles lasts in there or how many times repeated in the same level in AWPRVC chart zone in future.
For plotting the support or resistance you should trace range of AWPRVC candles consolidated and plot zone in standard chart candles just like following picture.
Divergence:
When standard price candles move downward but we see upward trend in clouds of AWPRVC candles that means we should face Bullish Trend because of the divergence and vice versa. You can see perfect example in following picture.
Signal:
Alert of Long :
Bullish candle cross both cloud down and up level simultaneously.
Confirmed Long :
AWPRVC candles cross up turn trend level and pullback to cloud up level.
Take profit of Long:
Any cross down of the AWPRVC candles from surly short level of chart.
Alert of Short :
Bearish candle cross both cloud up and down level simultaneously.
Confirmed Short :
AWPRVC candles cross down turn trend level and pullback to cloud down level.
Take profit of Short:
Any cross up of the AWPRVC candles from surly long level of chart.
Notes:
Use moving averages cross of standard chart candles as lead to be in positions more as they are good representative of trend.
As long as AWPRVC candles or Cloud levels are in Bullish Zone, you can stay in Long positions.
Cloud level thickness means the power of trend and can be use as confirmation of powerful trend, so when cloud levels tight or going to cross each other it means the trend is going to be reversed.
It is the result of many years of experience in markets and there are so many details about this AWPRVC chart which I am in the experiment phase to publish in the future, so please help me with your ideas and do not hesitate to comment and inform me any suggestions or criticism.
Theoretical price by volumeThis code is used to calculate a theoretical price range based on volume and price change and display it on the chart. Specifically, it calculates the “theoretical price volatility” based on price changes and volume, from which the upper and lower price limits are derived.
The price volatility is calculated by dividing the price change by the volume as the change unit volume.
Based on this volatility, we calculate the theoretical variation relative to the current price (“Theoretical Variance Difference”).
Based on the results, **Theoretical High Price (p_price) and Theoretical Low Price (m_price)** are calculated.
The chart displays the upper and lower bounds of these theoretical prices in color, and also calculates their mean and standard deviation (in the form of a Bollinger band) and plots them.
The background color on the chart indicates whether the price is within the theoretical price range, and at the same time, the mean and standard deviation of the theoretical prices are used to visualize price movements in more detail.
This indicator helps traders understand the impact of volume on price movements and helps them determine if prices are staying within the theoretical range or if there are unusual movements.
Pivot-based Swing Highs and LowsRelease Notes for Pivot-based Swing Highs and Lows Indicator with HH, HL, LH, LL and Labels
Version 1.0.0
Release Date: 29th Sept 2024
Overview:
This Pine Script version 5 indicator is designed to identify and display Swing Highs and Swing Lows based on pivot points. The indicator visually marks Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) on the chart. The release introduces an improved visual representation with dotted lines and colored labels for easy identification of market structure, using plotshape() and line.new().
Key Features:
1. Pivot-Based Swing Identification:
The indicator uses ta.pivothigh() and ta.pivotlow() to detect significant pivot points on the chart.
The length of the pivot can be adjusted through the pivot_length parameter, allowing users to customize the sensitivity of swing identification.
2. Swing Highs and Lows with Labels:
Higher High (HH) and Lower High (LH) points are marked with green downward triangles.
Higher Low (HL) and Lower Low (LL) points are marked with red upward triangles.
The plotshape() function is used to provide clear visual markers, making it easy to spot the changes in market structure.
3. Dotted Line Visuals:
Green Dotted Lines: Connect Higher Highs (HH) and Higher Lows (HL) to their corresponding previous swings.
Red Dotted Lines: Connect Lower Highs (LH) and Lower Lows (LL) to their corresponding previous swings.
The use of color-coded dotted lines ensures better visual understanding of the trend continuation or reversal patterns.
4. Customizable Input:
The user can adjust the pivot_length parameter to fine-tune the detection of pivot highs and lows according to different timeframes or trading strategies.
Usage:
Higher High (HH): Green downward triangle, indicating a new high compared to the previous pivot high.
Lower High (LH): Green downward triangle, indicating a lower high compared to the previous pivot high.
Higher Low (HL): Red upward triangle, indicating a higher low compared to the previous pivot low.
Lower Low (LL): Red upward triangle, indicating a new lower low compared to the previous pivot low.
Dotted Lines: Connect previous swing points, helping users visualize the trend and potential market structure changes.
Improvements:
Label Substitution: In place of label.new() (which might cause issues in some environments), the indicator now uses plotshape() to provide a reliable and visually effective solution for marking swings.
Streamlined Performance: The logic for determining higher highs, lower highs, higher lows, and lower lows has been optimized for smooth performance across multiple timeframes.
Known Limitations:
No Direct Text Labels: Due to the constraints of plotshape(), text labels like "HH", "LH", "HL", and "LL" are not directly displayed. Instead, color-coded shapes are used for easy identification.
How to Use:
Apply the script to your chart via the TradingView Pine Editor.
Customize the pivot_length to suit your trading style or the timeframe you are analyzing.
Monitor the chart for marked Higher Highs, Lower Highs, Higher Lows, and Lower Lows for potential trend continuation or reversal opportunities.
Use the dotted lines to trace the evolution of market structure.
Please share your comments, thoughts. Also please follow me for more scripts in future. Mean time Happy Trading :)
Volume to Shares Outstanding Ratio IndicatorDescription:
This indicator shows the ratio of trading volume to the total number of shares outstanding.
Formula:
Volume to Shares Outstanding Ratio = (Trading Volume / Shares Outstanding) * 100
説明:
このインジケーターは、出来高を発行済株式数で割った比率を表示します。
式:
出来高の割合 = (出来高 / 発行済株式数) × 100
Wick/Tail Candle MeasurementsThis indicator runs on trading view. It was programmed with pine script v5.
Once the indicator is running you can scroll your chart to any year or date on the chart, then for the input select the date your interested in knowing the length of the tails and wicks from a bar and their lengths are measured in points.
To move the measurement, you can select the vertical bar built into the indicator AFTER clicking the green label and moving it around using the vertical bar *only*. You must click the vertical bar in the middle of the label to move the indicator calculation to another bar. You can also just select the date using the input as mentioned. This indicator calculates just one bar at a time.
measurements are from bar OPEN to bar HIGH for measured WICKS regardless of the bar being long or short and from bar OPEN to bar LOW for measured TAILS also regardless of the bar being long or short.
This indicator calculates tails and wicks including the bar body in the calculations. Basically showing you how much the market moved in a certain direction for the entire duration of that Doji candle.
Its designed to measure completed bars on the daily futures charts. (Dow Jones, ES&P500, Nasdaq, Russell 2000, etc) Although it may work well on other markets. The indicator could easily be tweaked in order to work well with other markets. It is not designed for forex markets currently.
ANN Trend PredictionThis trend indicator utilizes an artificial neural network (ANN) to predict the next market reversal within a certain range of previous candles. The larger the range of previous candles you set, the fewer reversals will be predicted, and trends will tend to last longer.
The ANN is trained on the BTCUSD 4-hour chart, so using it on other assets or timeframes may yield suboptimal results. It takes three input values: the closing price, the Stochastic RSI, and a Choppiness Indicator. Based on these inputs, the ANN categorizes the current candle as part of an uptrend, downtrend, or as undefined.
Compared to an EMA-based trend indicator, this ANN identifies reversals several candles earlier. It achieves this by detecting subtle patterns in the input values that typically appear before a market turnaround. These patterns are somewhat specific to that chosen asset and timeframe.
The results are displayed using rows of triangles that indicate the predicted price direction. The price levels of the triangles correspond to the closing price at the last reversal. The area between the triangle row and the price is colored green if the ANN correctly predicted the move, and red if it did not.
This indicator is designed to showcase the capabilities and potential of ANNs, and is not intended for actual trading use. The ANN can be trained on any other input values, assets and timeframes for several predictions tasks.
You can use the Predicted_Trend_Signal of this Indicator in any backtest indicator. In the Backtester just grap the Predicted_Trend_Signal. downtrend = 1, uptrend = -1, undefined = 0
Feel free to write me a comment.
Burst PowerThe Burst Power indicator is to be used for Indian markets where most stocks have a maximum price band limit of 20%.
This indicator is intended to identify stocks with high potential for significant price movements. By analysing historical price action over a user-defined lookback period, it calculates a Burst Power score that reflects the stock's propensity for rapid and substantial moves. This can be helpful for stock selection in strategies involving momentum bursts, swing trading, or identifying stocks with explosive potential.
Key Components
____________________
Significant Move Counts:
5% Moves: Counts the number of days within the lookback period where the stock had a positive close-to-close move between 5% and 10%.
10% Moves: Counts the number of days with a positive close-to-close move between 10% and 19%.
19% Moves: Counts the number of days with a positive close-to-close move of 19% or more.
Maximum Price Move (%):
Identifies the largest positive close-to-close percentage move within the lookback period, along with the date it occurred.
Burst Power Score:
A composite score calculated using the counts of significant moves: Burst Power =(Count5%/5) +(Count10%/2) + (Count19%/0.5)
The score is then rounded to the nearest whole number.
A higher Burst Power score indicates a higher frequency of significant price bursts.
Visual Indicators:
Table Display: Presents all the calculated data in a customisable table on the chart.
Markers on Chart: Plots markers on the chart where significant moves occurred, aiding visual analysis.
Using the Lookback Period
____________________________
The lookback period determines how much historical data the indicator analyses. Users can select from predefined options:
3 Months
6 Months
1 Year
3 Years
5 Years
A shorter lookback period focuses on recent price action, which may be more relevant for short-term trading strategies. A longer lookback period provides a broader historical context, useful for identifying long-term patterns and behaviors.
Interpreting the Burst Power Score
__________________________________
High Burst Power Score (≥15):
Indicates the stock frequently experiences significant price moves.
Suitable for traders seeking quick momentum bursts and swing trading opportunities.
Stocks with high scores may be more volatile but offer potential for rapid gains.
Moderate Burst Power Score (10 to 14):
Suggests occasional significant price movements.
May suit traders looking for a balance between volatility and stability.
Low Burst Power Score (<10):
Reflects fewer significant price bursts.
Stocks are more likely to exhibit longer, sustainable, but slower price trends.
May be preferred by traders focusing on steady growth or longer-term investments.
Note: Trading involves uncertainties, and the Burst Power score should be considered as one of many factors in a comprehensive trading strategy. It is essential to incorporate broader market analysis and risk management practices.
Customisation Options
_________________________
The indicator offers several customisation settings to tailor the display and functionality to individual preferences:
Display Mode:
Full Mode: Shows the detailed table with all components, including significant move counts, maximum price move, and the Burst Power score.
Mini Mode: Displays only the Burst Power score and its corresponding indicator (green, orange, or red circle).
Show Latest Date Column:
Toggle the display of the "Latest Date" column in the table, which shows the most recent occurrence of each significant move category.
Theme (Dark Mode):
Switch between Dark Mode and Light Mode for better visual integration with your chart's color scheme.
Table Position and Size:
Position: Place the table at various locations on the chart (top, middle, bottom; left, center, right).
Size: Adjust the table's text size (tiny, small, normal, large, huge, auto) for optimal readability.
Header Size: Customise the font size of the table headers (Small, Medium, Large).
Color Settings:
Disable Colors in Table: Option to display the table without background colors, which can be useful for printing or if colors are distracting.
Bullish Closing Filter:
Another customisation here is to count a move only when the closing for the day is strong. For this, we have an additional filter to see if close is within the chosen % of the range of the day. Closing within the top 1/3, for instance, indicates a way more bullish day tha, say, closing within the bottom 25%.
Move Markers on chart:
The indicator also marks out days with significant moves. You can choose to hide or show the markers on the candles/bars.
Practical Applications
________________________
Momentum Trading: High Burst Power scores can help identify stocks that are likely to experience rapid price movements, suitable for momentum traders.
Swing Trading: Traders looking for short- to medium-term opportunities may focus on stocks with moderate to high Burst Power scores.
Positional Trading: Lower Burst Power scores may indicate steadier stocks that are less prone to volatility, aligning with long-term investment strategies.
Risk Management: Understanding a stock's propensity for significant moves can aid in setting appropriate stop-loss and take-profit levels.
Disclaimer: Trading involves significant risk, and past performance is not indicative of future results. The Burst Power indicator is intended for educational purposes and should not be construed as financial advice. Always conduct thorough research and consult with a qualified financial professional before making investment decisions.
Custom Moving Average Ribbon with EMA Table & Text ColorComprehensive Description of the Custom Moving Average Ribbon with EMA Table & Text Color
The Custom Moving Average Ribbon with EMA Table & Text Color is a highly flexible and customizable indicator designed for traders who use multiple moving averages to assess trends, strength, and potential market reversals. It plots up to 8 moving averages (either SMA, EMA, WMA, or VWMA) on the price chart and displays a table summarizing the moving averages’ values, periods, and colors. The table also allows for the customization of the text color, making it easier to align with your chart’s theme or preference.
Key Features:
Multiple Moving Averages: You can display up to 8 moving averages (MA), each of which can be customized in terms of:
Type: SMA (Simple Moving Average), EMA (Exponential Moving Average), WMA (Weighted Moving Average), or VWMA (Volume-Weighted Moving Average).
Period: Each moving average has a user-defined period, which allows for flexibility depending on your trading style (short-term, medium-term, or long-term).
Enable/Disable: Each moving average can be independently enabled or disabled based on your preference.
Moving Average Ribbon: The indicator visualizes multiple moving averages as a ribbon, giving traders insight into the market's underlying trend. The interaction between these moving averages provides essential signals:
Uptrend: Shorter-term MAs above longer-term MAs, all sloping upward.
Downtrend: Shorter-term MAs below longer-term MAs, sloping downward.
Consolidation: MAs tightly packed, indicating low volatility or a sideways market.
Customizable Table: The indicator includes a table that displays:
The Name of each moving average (e.g., MA 1, MA 2, etc.).
The Period used for each moving average.
The Current Value of each moving average.
Color Coding for easier visual identification on the chart.
Text Color Customization: You can change the text color in the table to match your chart style or to ensure high visibility.
Responsive Design: This indicator works on any time frame, whether you're a day trader, swing trader, or long-term investor, and the table adjusts dynamically as new data comes in.
How to Use the Indicator
a) Trend Identification
The Custom Moving Average Ribbon helps in identifying trends and their strength. Here’s how you can interpret the plotted moving averages:
Uptrend (Bullish):
If the shorter-term moving averages (e.g., 5-period, 10-period) are above the longer-term moving averages (e.g., 50-period, 200-period), and all the MAs are sloping upward, it suggests a strong bullish trend.
The greater the separation between the moving averages, the stronger the uptrend.
Use the table to quickly verify the current value of each MA and confirm that the price is staying above most or all of the MAs.
Downtrend (Bearish):
When shorter-term moving averages are below the longer-term moving averages and all MAs are sloping downward, this indicates a bearish trend.
Greater separation between MAs indicates a stronger downtrend.
Neutral/Consolidating Market:
If the MAs are tightly packed and frequently crossing each other, the market is likely consolidating, and a strong trend is not in play.
In these situations, it’s better to wait for a clearer signal before taking any positions.
b) Reversal Signals
Golden Cross: When a short-term moving average (e.g., 50-period) crosses above a long-term moving average (e.g., 200-period), this is considered a bullish signal, suggesting a possible upward trend.
Death Cross: When a short-term moving average crosses below a long-term moving average, it’s considered a bearish signal, indicating a potential downward trend.
c) Using the Table for Quick Reference
The table allows you to monitor:
The current price value relative to each moving average. If the price is above most MAs, the market is likely in an uptrend, and if below, in a downtrend.
Changes in MA values: If you see values of shorter-term MAs moving closer to or crossing longer-term MAs, this could indicate a weakening trend or a potential reversal.
How to Combine this Indicator with Other Indicators for a Solid Strategy
The Custom Moving Average Ribbon is powerful on its own but can be enhanced when combined with other technical indicators to form a comprehensive trading strategy.
1. Combining with RSI (Relative Strength Index)
How It Works: RSI is a momentum oscillator that measures the speed and change of price movements, typically over 14 periods. It ranges from 0 to 100, with readings above 70 considered overbought and below 30 considered oversold.
Strategy:
Overbought in an Uptrend: If the moving average ribbon indicates an uptrend but the RSI shows the market is overbought (RSI > 70), it could signal a pullback or correction is imminent.
Oversold in a Downtrend: If the moving average ribbon indicates a downtrend but the RSI shows oversold conditions (RSI < 30), a bounce or reversal may be on the horizon.
2. Combining with MACD (Moving Average Convergence Divergence)
How It Works: MACD tracks the difference between two exponential moving averages, typically the 12-period and 26-period EMAs. It generates buy and sell signals based on crossovers and divergences.
Strategy:
Trend Confirmation: Use the MACD to confirm the direction and momentum of the trend indicated by the moving average ribbon. For example, if the MACD line crosses above the signal line while the shorter-term MAs are above the longer-term MAs, it confirms strong bullish momentum.
Divergences: Watch for divergences between price action and MACD. If price is making higher highs but MACD is making lower highs, it could signal a weakening trend, which you can verify using the moving averages.
3. Combining with Bollinger Bands
How It Works: Bollinger Bands plot two standard deviations above and below a moving average, typically the 20-period SMA. The bands widen during periods of high volatility and contract during periods of low volatility.
Strategy:
Breakout or Reversal: If price action moves above the upper Bollinger Band while the shorter-term MAs are crossing above the longer-term MAs, it confirms a strong breakout. Conversely, if price touches or falls below the lower Bollinger Band and the shorter MAs start crossing below the longer-term MAs, it indicates a potential breakdown.
Mean Reversion: In sideways markets, when the moving averages are tightly packed, Bollinger Bands can help spot mean reversion opportunities (buy near the lower band, sell near the upper band).
4. Combining with Volume Indicators
How It Works: Volume is a crucial confirmation indicator for any trend or breakout. Combining volume with the moving average ribbon can enhance your strategy.
Strategy:
Trend Confirmation: If the price breaks above the moving averages and is accompanied by high volume, it confirms a strong breakout. Similarly, if price breaks below the moving averages on high volume, it signals a strong downtrend.
Divergence: If price continues to trend in one direction but volume decreases, it could indicate a weakening trend, helping you prepare for a reversal.
Example Strategies Using the Indicator
Trend-Following Strategy:
Use the moving average ribbon to identify the main trend.
Combine with MACD or RSI for confirmation of momentum.
Enter trades when the shorter-term MAs confirm the trend and the confirmation indicator (MACD or RSI) aligns with the trend.
Exit trades when the moving averages start converging or when your confirmation indicator shows signs of reversal.
Reversal Strategy:
Wait for significant crossovers in the moving averages (Golden Cross or Death Cross).
Confirm the reversal with divergence in MACD or RSI.
Use Bollinger Bands to fine-tune your entry and exit points based on overbought/oversold conditions.
Conclusion
The Custom Moving Average Ribbon with EMA Table & Text Color indicator provides a robust framework for traders looking to use multiple moving averages to gauge trend direction, strength, and potential reversals. By combining it with other technical indicators like RSI, MACD, Bollinger Bands, and volume, you can develop a solid trading strategy that enhances accuracy, reduces false signals, and maximizes profit potential in various market conditions.
This indicator offers high flexibility with customization options, making it suitable for traders of all levels and strategies. Whether you're trend-following, scalping, or swing trading, this tool provides invaluable insights into market movements.
Open-Close Absolute Difference with Threshold CountsThe Open-Close Absolute Difference with Threshold Counts indicator is a versatile tool designed to help traders analyze the volatility and price movements within any given timeframe on their charts. This indicator calculates the absolute difference between the open and close prices for each bar, providing a clear visualization through a color-coded histogram.
Key features include:
• Timeframe Flexibility: Utilizes the current chart’s timeframe, whether it’s a 5-minute, hourly, or daily chart.
• Custom Thresholds: Allows you to set up to four custom threshold levels (Thresholds A, B, C, and D) with default values of 10, 15, 25, and 35, respectively.
• Period Customization: Enables you to define the number of bars (N) over which the indicator calculates the counts, with a default of 100 bars.
• Visual Threshold Lines: Plots horizontal dashed lines on the histogram representing each threshold for easy visual reference.
• Dynamic Counting: Counts and displays the number of times the absolute difference is less than or greater than each threshold within the specified period.
• Customizable Table Position: Offers the flexibility to position the results table anywhere on the chart (e.g., Top Right, Bottom Left).
How It Works:
1. Absolute Difference Calculation:
• For each bar on the chart, the indicator calculates the absolute difference between the open and close prices.
• This difference is plotted as a histogram:
• Green Bars: Close price is higher than the open price.
• Red Bars: Close price is lower than the open price.
2. Threshold Comparison and Counting:
• Compares the absolute difference to each of the four thresholds.
• Determines whether the difference is less than or greater than each threshold.
• Utilizes the ta.sum() function to count occurrences over the specified number of bars (N).
3. Results Table:
• Displays a table with three columns:
• Left Column: Counts where the absolute difference is less than the threshold.
• Middle Column: The threshold value.
• Right Column: Counts where the absolute difference is greater than the threshold.
• The table updates dynamically and can be positioned anywhere on the chart according to your preference.
4. Threshold Lines on Histogram:
• Plots horizontal dashed lines at each threshold level.
• Each line is color-coded for distinction:
• Threshold A: Yellow
• Threshold B: Orange
• Threshold C: Purple
• Threshold D: Blue
How to Use:
1. Add the Indicator to Your Chart:
• Open the Pine Editor on TradingView.
• Copy and paste the provided code into the editor.
• Click “Add to Chart.”
2. Configure Settings:
• Number of Bars (N):
• Set the period over which you want to calculate the counts (default is 100).
• Thresholds A, B, C, D:
• Input your desired threshold values (defaults are 10, 15, 25, 35).
• Table Position:
• Choose where you want the results table to appear on the chart:
• Options include “Top Left,” “Top Center,” “Top Right,” “Bottom Left,” “Bottom Center,” “Bottom Right.”
3. Interpret the Histogram:
• Observe the absolute differences plotted as a histogram.
• Use the color-coded bars to quickly assess whether the close price was higher or lower than the open price.
4. Analyze the Counts Table:
• Review the counts of occurrences where the absolute difference was less than or greater than each threshold.
• Use this data to gauge volatility and price movement intensity over the specified period.
5. Visual Reference with Threshold Lines:
• Refer to the horizontal dashed lines on the histogram to see how the absolute differences align with your thresholds.
Example Use Case:
Suppose you’re analyzing a 5-minute chart for a particular stock and want to understand its short-term volatility:
• Set the Number of Bars (N) to 50 to analyze the recent 50 bars.
• Adjust Thresholds based on the typical price movements of the stock, e.g., Threshold A: 0.5, Threshold B: 1.0, Threshold C: 1.5, Threshold D: 2.0.
• Position the Table at the “Top Right” for easy viewing.
By doing so, you can:
• Quickly see how often the stock experiences significant price movements within 5-minute intervals.
• Make informed decisions about entry and exit points based on the volatility patterns.
• Customize the thresholds and periods as market conditions change.
Benefits:
• Customizable Analysis: Tailor the indicator to fit various trading styles and timeframes.
• Quick Visualization: Instantly assess market volatility and price movement direction.
• Enhanced Decision-Making: Use the counts and visual cues to make more informed trading decisions.
• User-Friendly Interface: Simple configuration and clear display of information.
Note: Always test the indicator with different settings to find the configuration that best suits your trading strategy. This indicator should be used as part of a comprehensive analysis and not as the sole basis for trading decisions.
Volume-Weighted Trend Strength indexVolume-Weighted Trend Strength index (VWTSI)
Introduction
The VWTSI is a custom indicator designed to combine trend strength, volume, and volatility to give traders a comprehensive view of market dynamics. It provides flexibility by allowing you to visualize the indicator as either an oscillator or a moving average.
Features
Dual Visualization: Can be displayed either as an oscillator or as a moving average on the chart.
Volume-Weighted: Adjusts trend strength based on current volume compared to its average.
Volatility-Adjusted: Incorporates market volatility into the trend strength calculation.
Customizable: Various parameters can be fine-tuned to suit different trading environments.
How It Works
1. Trend Strength Calculation
The difference between the fast (10-period) and slow (30-period) EMAs is used to calculate trend strength, which gives a percentage-based indication of the trend's strength
2. Volatility Adjustment
The ATR-based volatility is calculated and used to amplify or reduce the trend strength based on the current market conditions
3. Volume Adjustment
The ratio of current volume to the volume SMA adds another layer of adjustment to the final VWTSI value
4. Final VWTSI Calculation
The VWTSI value is the product of trend strength, volatility factor, and volume ratio
5. Normalization
The final VWTSI is normalized to fit within a range of -100 to 100 for better visualization in oscillator mode
Customization Inputs
Fast EMA Length: Default is 10.
Slow EMA Length: Default is 30.
Volume Length: Default is 14.
Volatility Length (ATR): Default is 20.
Oscillator or MA Mode: Toggle between displaying the indicator as an oscillator or moving average.
Consecutive Beta with Dynamic Support Resistance [TrendX_]The Consecutive Beta with Dynamic Support Resistance indicator is tailored to harness trend momentum, recognize top & bottom reversals, and leverage dynamic support and resistance levels. This indicator introduces a new approach by combining the concepts of beta, consecutive counting mechanisms, and the supertrend structure, making it a fresh tool for understanding market trends and patterns.
💎 KEY FEATURES
Candle’s Relative Valuation Using Beta: The core of the TrendX indicator lies in using beta to gauge volatility. Beta serves as a measure of how an asset moves relative to the broader market, helping traders understand whether the asset is more or less volatile in different market conditions.
Counting Techniques for Momentum & Reversals: By employing counting techniques to reach a significant threshold, the indicator can measure trend momentum and spot top/bottom reversals.
Dynamic Support & Resistance: This feature relies on consecutive beta counting to dynamically adapt support and resistance levels. These levels are key in predicting potential entry and exit points following the general trend direction.
⚙️ USAGES
Initial Start and Distance: Customize the initial start point and distance for better control over trading strategies. For instance, starting at 1 and using an even distance of 2 will yield odd consecutive counting series;
Phase 1 Completion for Reversal Strategies: This initial phase focuses on identifying short-term reversals;
Phase 2 Completion for Support/Resistance: A support level forms after completing two bullish phases, while a resistance level forms after completing two bearish phases. This structure helps in clarifying trend directions when breakout these key levels.
🔎 BREAKDOWN
Phase 1:
The indicator counts consecutive candles that show a higher Beta than in previous periods over a given length. The completion of countings only succeed when the whole series is uninterruptedly counted, or else countings will be canceled. This strict adherence to consecutive counts serves to ensure that only strong, sustained momentum is recognized and also helps filter out noise, weak signals and establish the initial direction catalyst, setting up for further trend analysis.
Phase 2:
After Phase 1 ends, the Phase 2 counting mechanism begins. This phase focuses on bottom reversals through consecutive higher beta candles, and top reversals by counting lower beta candles. At this stage, interuptions will not cancel the counting process. The ability to continue counting in Phase 2 allows for a broader perspective on market behavior. Even if individual candles do not consistently meet the criteria for consecutive counts, the cumulative effect of higher or lower beta readings over time provides valuable insights into market sentiment and trend direction.
Dynamic Support & Resistance:
After Phase 2 completion, if the average of high, low, and close surpasses both recent support and resistance levels from Phase 2, an uptrend is confirmed, which the support level is displayed. If it drops below these levels, a downtrend is indicated, where resistance is displayed instead of support. The result is displayed through a colored supertrend-line (teal for uptrend, red for downtrend).
DISCLAIMER
This indicator is not financial advice, it can only help traders make better decisions. There are many factors and uncertainties that can affect the outcome of any endeavor, and no one can guarantee or predict with certainty what will occur. Therefore, one should always exercise caution and judgment when making decisions based on past performance.
Mean Reversion Indictor, Based on Standard Deviations Description:
The Reversal Candle Mean Reversion Indicator is designed for traders seeking to identify potential reversal points in the market based on key price action and volatility. This indicator combines price action analysis (sweeping prior highs or lows) with mean reversion theory, highlighting opportunities where the price tests or touches a moving average's standard deviation bands.
By focusing on these moments of price extremes, the indicator helps traders spot bullish and bearish reversal signals when the price retraces from volatile movements. These conditions often signal a return to the mean—an ideal setup for reversal traders who thrive on fading exaggerated price moves.
How It Works:
1. Price Action Reversal Signal:
* Bullish Reversal: The indicator flags a bullish signal when the current candle's low sweeps the prior candle's low, and the candle closes higher than the prior candle's close.
* Bearish Reversal: The indicator flags a bearish signal when the current candle's high sweeps the prior candle's high, and the candle closes lower than the prior candle's close.
2. Mean Reversion Confirmation:
* Mean Reversion Signal is triggered when the price touches or tests the upper or lower bands, calculated using a user-selected moving average (SMA, EMA, WMA, VWMA, or Hull MA) and standard deviation.
* The indicator combines price action and volatility, providing stronger reversal signals when the price reaches an extreme distance from the moving average.
3. Customization Options:
* Moving Average Type: Choose from SMA, EMA, WMA, VWMA, or Hull MA.
* Moving Average Length: Adjust the length of the moving average (default: 20).
* Standard Deviation Multiplier: Set the number of standard deviations for the volatility bands (default: 2.0).
* Custom Candle Colors: Choose custom colors for bullish and bearish reversal candles to easily spot signals.
How to Use for Trading Reversals:
1. Identify Extremes:
* Watch for candles where the price tests or touches the standard deviation bands. These are key moments when the price has moved significantly from the moving average, indicating a potential overbought or oversold condition.
2. Look for Reversals:
* When the price tests a band and simultaneously forms a bullish reversal pattern (sweeping the prior low and closing higher), it signals a potential mean reversion to the upside.
* When the price tests a band and forms a bearish reversal pattern (sweeping the prior high and closing lower), it signals a potential mean reversion to the downside.
3. Entry Points:
* Long Trades: Enter a long trade after a bullish signal appears (green candle) near the lower band, indicating a likely price reversal back towards the mean.
* Short Trades: Enter a short trade after a bearish signal appears (red candle) near the upper band, indicating a likely price pullback.
4. Exit Strategy:
* Set a profit target at the moving average (the mean) or a specific price level based on your strategy.
* Consider using a trailing stop to capture additional profit in case of a stronger reversal beyond the mean.
5. Risk Management:
* Place stops just below the low of the bullish reversal candle or just above the high of the bearish reversal candle to manage risk efficiently.
Engulfing Candles Alert - Multi Symbol (Miu)This indicator plots triangle shapes on each engulfing candles (bullish or bearish) on current chart.
The main use for this indication is to set alerts on multiple symbols at once.
Please follow steps below to set your alarms:
1) Add indicator to the chart
2) Go to settings
3) Check symbols you want to receive alerts (choose up to 8 different symbols)
4) Check if you want only bullish or bearish alerts or both
5) Once all is set go back to the chart and click on 3 dots to set alert in this indicator, rename your alert and confirm
6) You can remove indicator after alert is set and it'll keep working as expected
What does this indicator do?
This indicator will generate alerts anytime a candle closes and reaches bullish or bearish engulfing condition for any of symbol set.
Alert messages example: "Bullish alert on {Symbol}"
This script requests open and close information for each symbol through request.security() built-in function.
Detailed indicator description:
If current bar open is less than or equal to the previous bar close AND current bar open is less than previous bar open AND current bar close is greater than previous bar open THEN True
bullishEngulfing = (openBarCurrent <= closeBarPrevious) and (openBarCurrent < openBarPrevious) and (closeBarCurrent > openBarPrevious)
The opposite condition will be bearishEngulfing
Feel free to give feedbacks on comments section below. Enhancement suggestions are welcome =).
Enjoy!
Volume candle by MoondIndicator Description: Equal Volume Candle Chart
This indicator creates a real-time candlestick chart where each candle forms upon the completion of a specific volume threshold, rather than within fixed time intervals. The candles update dynamically based on the total volume traded, providing a unique perspective that incorporates market activity directly into price movements.
Key Features:
Dynamic Candles Based on Volume: Candles form when a defined lot size of volume is reached, making each candle represent consistent trading activity rather than a fixed time period.
Customizable Volume Lot Size: Users can easily adjust the volume threshold to suit different trading styles or asset classes.
Real-Time Market Reflection: The chart responds to changes in market volume, offering a clearer view of market intensity and momentum.
Concept Behind the Indicator: Traditional candlestick charts operate on time intervals, which can ignore the influence of volume in price changes. By basing the candle formation on equal volumes, this indicator integrates both price and traded volume into the visual representation, helping traders capture key shifts in market sentiment and activity that might be missed on time-based charts
asia session w shieldIntroduction
This Script displays the Asia Session Range
Description
The Indicator is based on UTC -7 timing but displays the Session Boxes automatically correct at your chart so you do not have to adjust any timings based on your Time Zone and don't have to do any calculations based on your UTC. It is already perfect.
You will see on default settings the blue Asia Box, the special ' invalid shield ' feature is there because first two hours are spread timing.
Most Timing-based Indicators have "bugged" boxes or don't show clean boxes at all and don't adjust at daylight savings times, we made sure that everything automatically gets adjusted so you don't have to! So the timings will always display at the correct time regarding the daylight savings times.
Combining Timing with Liquidity Zones the right way and in a clear, clean, and simple format.
Different than others this script also shows the "true" Asia range as it respects the "day open gap" which affects the Asia range in other scripts and it also covers the full 8 hours of Asia Session.
Recommended Use
The most beautiful display is on the M5 Timeframe as you have a clear overview of all sessions without losing the intraday view. You can also use it on the M1 for more details or the M15 for the bigger picture. The Template can hide on higher time frames starting from the H1 to not flood your chart with boxes.
How to use the Asia Session Range Box
Use the Asia Range Box as your intraday Guide, keep in mind that a Breakout of Asia high or low induces Liquidity and a common price behavior is a reversal after the fake breakout of that range.