Candle Series AnalysisThis advanced indicator is designed to analyze and predict potential market movements based on historical candle series patterns. It goes beyond simple candle-by-candle analysis by examining entire series of consecutive bullish or bearish candles, providing a more comprehensive view of market trends and potential reversals.
The indicator works by identifying the current series of candles (either bullish or bearish) and calculating its percentage change from the start to the current price. It then searches through historical data to find similar candle series patterns, comparing their characteristics to the current one. The analysis includes the series type (bullish or bearish), length (number of candles), and percentage change.
One of the key features of this indicator is its ability to adjust for varying degrees of similarity. Users can set a similarity threshold, allowing them to control how closely historical patterns must match the current one to be considered in the analysis. This flexibility enables traders to fine-tune the indicator to their specific needs and market conditions.
The indicator displays its findings in a customizable table on the chart. The table provides valuable information such as the current series type, length, and percentage change. It also shows the number of similar historical patterns found and the average price change that occurred a specified number of bars after these similar patterns.
Traders can use this information to gain insights into potential future price movements. For example, if the indicator finds that similar bullish series in the past were often followed by a continued uptrend, it might suggest a higher probability of further gains. Conversely, if bearish series typically led to reversals, it could signal a potential buying opportunity.
The script offers extensive customization options. Users can adjust the analysis period, projection length, similarity threshold, table position, text size, and color scheme. This flexibility allows traders to integrate the indicator seamlessly into their existing chart setups and trading strategies.
I personally find this indicator particularly useful for analyzing market behavior in assets that tend to exhibit trending behavior or are subject to momentum effects. It can be especially valuable in markets driven by retail sentiment, such as certain cryptocurrencies or popular stocks. In these markets, the psychology behind consecutive bullish or bearish candles can often create predictable patterns that this indicator aims to identify and quantify.
For instance, in crypto markets, a series of strong bullish candles might indicate growing enthusiasm among retail investors. The indicator can help assess whether such enthusiasm typically leads to further gains or if it often precedes a reversal. This insight can be crucial for timing entries and exits or for setting appropriate stop-loss and take-profit levels.
This indicator is provided for informational and educational purposes only. It should not be considered as financial advice or a recommendation to buy, sell, or hold any financial instrument. Past performance does not guarantee future results, and all trading carries inherent risks. Users should always conduct their own research, consider their financial situation, and consult with a qualified financial advisor before making any investment decisions. The creator of this indicator is not responsible for any losses incurred from its use. Remember that financial markets can be highly unpredictable, and no indicator can guarantee accurate predictions of future price movements.
Indicators and strategies
Candle % Change StrategyThis indicator is designed to analyze the percentage change of candles and provide insights into potential future price movements based on historical patterns. It calculates the percentage change of the current candle and compares it to similar candles in the past, offering a statistical view of what typically happens after such price movements.
The strategy works by identifying candles with similar percentage changes to the current one, either bullish or bearish, and then calculating the average price change that occurred a specified number of bars after these similar candles. This information can be valuable for traders looking to understand potential market reactions following significant price movements.
The indicator displays its findings in a customizable table on the chart. The table shows the current candle's percentage change, the number of similar candles found in the historical data, and the average price change that occurred after these similar candles. Users can adjust various settings such as the number of periods to analyze, the number of forward bars to look ahead, the position and text size of the table, and color schemes.
One of the key features of this indicator is its ability to adapt to both bullish and bearish scenarios. It automatically detects whether the current candle is bullish or bearish and adjusts its analysis accordingly. This makes it versatile for different market conditions and trading strategies.
The script allows for extensive customization. Users can modify the look and feel of the indicator by adjusting colors, table position, and text size to suit their preferences and chart setup. This flexibility ensures that the indicator can be integrated seamlessly into various trading environments and styles.
Personally, I find this indicator particularly useful for analyzing market reactions following large bearish candles. It can provide valuable insights into how the market typically responds to significant downward price movements, which can be crucial for timing entries or exits in a trade.
This strategy can be especially interesting for symbols that are heavily traded by retail investors, such as certain cryptocurrencies. In these markets, emotional reactions to large price movements can sometimes create predictable patterns, which this indicator aims to identify and quantify.
This indicator is for informational and educational purposes only. It should not be considered as financial advice or a recommendation to buy or sell any financial instrument. Past performance does not guarantee future results, and all trading carries risk. Users should always conduct their own research and consider their financial situation before making any investment decisions. The creator of this indicator is not responsible for any losses incurred from its use.
Median Speed BarThe "Median Speed Bar" is a custom trading indicator designed to classify market candlesticks based on their volatility relative to historical price ranges. It calculates two median price ranges: a short-term median using a customizable period and a long-term median over a much larger timeframe. These medians are based on either the difference between the opening and closing prices or the high and low prices of the candlesticks, depending on user input. The percentage ratio of the short-term median to the long-term median is used to categorize the current candlestick into one of four types: EXTREME, FAST, NORMAL, or SLOW. Each category is linked to customizable thresholds, which are set by the user as percentages.
The script then displays the classification of the current bar in a table at the bottom right corner of the chart, offering an easily readable overview of current market conditions. If the bar's percentage exceeds the extreme threshold, it's classified as "EXTREME" and highlighted in red. Other categories—FAST, NORMAL, and SLOW—are visually distinguished by different colors (orange, green, and blue, respectively). This allows traders to quickly assess volatility and make informed decisions based on how the current price action compares to historical medians.
AndreundCristianIndicator Overview:
The "Trade Signals with Volume" indicator is a custom script that generates buy and sell signals based on the crossover of two moving averages (a fast one and a slow one) and adds a volume filter to validate these signals. It plots these signals directly on the chart, using arrows or labels to indicate where buy and sell signals occur.
Key Features:
Moving Averages (MA):
The indicator uses two Simple Moving Averages (SMA): a fast SMA and a slow SMA.
A buy signal is triggered when the fast MA crosses above the slow MA, signaling potential bullish momentum.
A sell signal is triggered when the fast MA crosses below the slow MA, indicating potential bearish momentum.
Volume Filter:
To ensure that signals are more reliable, the indicator only triggers a buy or sell signal if the volume is above a certain threshold. This threshold can be adjusted by the user in the input settings.
For example, if the volume exceeds 100,000 (or any set value), and a crossover occurs, the signal is validated.
Visual Representation:
Buy signals are represented with green labels or arrows below the price bars.
Sell signals are represented with red labels or arrows above the price bars.
The MAs are also plotted on the chart for visual reference.
Input Parameters:
Fast Moving Average Length: The number of periods for the fast SMA (default is 9 periods).
Slow Moving Average Length: The number of periods for the slow SMA (default is 21 periods).
Volume Threshold: The minimum volume required to validate a buy or sell signal (default is 100,000).
NYSE, Euronext, and Shanghai Stock Exchange Hours IndicatorNYSE, Euronext, and Shanghai Stock Exchange Hours Indicator
This script is designed to enhance your trading experience by visually marking the opening and closing hours of major global stock exchanges: the New York Stock Exchange (NYSE), Euronext, and Shanghai Stock Exchange. By adding vertical lines and background fills during trading sessions, it helps traders quickly identify these critical periods, potentially informing better trading decisions.
Features of This Indicator:
NYSE, Euronext, and Shanghai Stock Exchange Hours: Displays vertical lines at market open and close times for these three exchanges. You can easily switch between showing or hiding the different exchanges to customize the indicator for your needs.
Background Fill: Highlights the trading hours of these exchanges using faint background colors, making it easy to spot when markets are in session. This feature is crucial for timing trades around overlapping trading hours and volume peaks.
Customizable Visuals: Adjust the color, line style (solid, dotted, dashed), and line width to match your preferences, making the indicator both functional and visually aligned with your chart's aesthetics.
How to Use the Indicator:
Add the Indicator to Your Chart: Add the script to your chart from the TradingView script library. Once added, the indicator will automatically plot vertical lines at the opening and closing times of the NYSE, Euronext, and Shanghai Stock Exchange.
Customize Display Settings: Choose which exchanges to display by enabling or disabling the NYSE, Euronext, or Shanghai sessions in the indicator settings. This allows you to focus only on the exchanges that are relevant to your trading strategy.
Adjust Visual Properties: Customize the appearance of the vertical lines and background fill through the settings. Modify the color of each exchange, adjust the line style (solid, dotted, dashed), and control the line thickness to suit your chart preferences. The background fill can also be customized to clearly highlight active trading sessions.
Identify Key Market Hours: Use the vertical lines and background fills to identify the market open and close times. This is particularly useful for understanding how price action changes during specific trading hours or for finding high liquidity periods when multiple markets are open simultaneously.
Adapt Trading Strategies: By knowing when major stock exchanges are open, you can adapt your trading strategy to take advantage of potential price movements, increased volatility, or volume. This can help you avoid low-liquidity times and capitalize on more active trading periods.
This indicator is especially valuable for traders focusing on cross-market dynamics or those interested in understanding how different sessions influence market liquidity and price action. With this tool, you can gain insight into market conditions and adapt your trading strategies accordingly. The clean visual separation of session times helps you maintain context, whether you're trading Forex, stocks, or cryptocurrencies.
Disclaimer: This script is intended for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions. Trading involves risk, and past performance is not indicative of future results.
- Trading Bot – TopBot Anomaly Robot Strategy -- Introduction -
This strategy is based on a search for abnormal market price movements relative to a time-shifted main moving average. Different variations of the main moving average are created and shifted proportionally rather than linearly, giving the strategy greater reactivity and serving as position entry points. What's more ? This strategy stands out with a major innovation, allowing position exits to be set on variations in the moving average (and not on the moving average itself, like all strategies that close positions on return to the moving average), which greatly improves actual results.
- Detailed operation of the strategy -
It defines a function that calculates various moving averages (depending on the type of moving average defined by the user) and the chosen length. The function takes into account different types of moving averages: SMA, PCMA, EMA, WMA, DEMA, ZLEMA and HMA, and is offset in time so that it can be an entry or exit condition in real time (otherwise you'd have to wait for the next candle for the moving average to be calculated).
It calculates shifted variants (semi-parallel) as a percentage of this main moving average, high and low, to define position entry points (depending on user settings, up to 10 shifted levels for ten position entries for each direction). By calculating shifts as percentages rather than fixed values, the resulting deviations are not parallel to the main moving average, but can be used to detect sudden price contractions. By adjusting these deviations proportionally, we can observe variations relative to the main moving average more clearly, enabling us to detect dynamic support and resistance zones that adapt to market fluctuations. The fact that they are not strictly parallel avoids too rigid an interpretation and gives a more nuanced reading of trends, capturing small divergences that could indicate more subtle changes in market dynamics.
The most distinctive feature of this strategy concerns position exits: the script calculates two new moving averages shifted in proportion to the main moving average (adjustable) to define position exit price levels.
The strategy enters position when one of the deviations from the position entry moving average is crossed, and exits position when the deviation from the position exit moving average is crossed.
Position entry can be single or up to ten entry levels per direction to smooth trades. Differentiated settings are available for Longs and Shorts.
In this type of strategy, the return to the moving average is generally used as the position exit point, but this strategy incorporates a unique feature: the position exit can be made on a deviation from the moving average, adjustable and differentiated for Long and Short positions.
This is a major change compared to other strategies using a moving-average position exit, since the result is thatchanging the position exit point considerably improves the strategy's results .
Backtest with a classic exit back to the moving average :
Backtest with an exit back on an (adjustable) derivative of the moving average :
- “Ready to use” and user-adjustable parameters -
The strategy interface has been optimized for easy creation of trading robots, with all settings underlying the calculations and numerous options for optimization. Here are the contents of the strategy parameters interface:
In addition, important information about strategy settings and results is displayed directly on the chart. The percentage profit displayed may differ slightly from that of the backtest, as it includes potential profits from open trades (strategy.openprofit) in its calculation.
- Conditions, options and settings for graph and backtest presentation -
Here are the conditions and settings for the graph presented on the screen:
The strategy is set for 10 possible LONG and SHORT entries
10% of capital in x2 leverage is invested at each position entry (i.e. 20% of capital under backtest conditions)
The backtest runs for 14 months: from 08/17/2023 to 08/19/2024
It is carried out on PENDLEUSDT.P on BitGet Swap in 4H
LONGS strategy settings: 0.18 - 0.19 - 0.2 - 0.21 - 0.22 - 0.23 - 0.24 - 0.25 - 0.26 - 0.275 - LONGS output deviation: 0.03 (3%)
Strategy settings for SHORTS: 0.21 - 0.22 - 0.23 - 0.24 - 0.25 - 0.26 - 0.27 - 0.28 - 0.29 - 0.3 - LONGS output deviation: 0.032 (3.2%)
All other settings are strategy defaults - Broker fees + spread are set at 0.13% per trade
We can see several interesting points:
The strategy has very high winrate if set to this objective
The settings here have not been “over-optimized”, i.e. all 10 entries are unused, leaving room for larger-than-expected market movements in the future. In this particular case, it is set to favor safety over profitability optimization, but other approaches are possible to maximize profitability.
The result is 277.75% , thanks to the strategy's adjustment of position exit levels. With a conventional exit at the moving average, results are only 204.47%, a significant difference.
- How to adjust and apply the strategy? -
Generally speaking, the strategy works well on a large proportion of cryptocurrencies, especially for LONG positions. The recommended timeframes are: 30M-45M-1H-2H-3H-4H and the most appropriate timeframe will vary according to the cryptocurrency. It is also possible, with certain assets, to run the strategy on shorter timeframes such as 5M or 15M with success.
The strategy can be used with a single position entry level, maximizing capital utilization on each trade and/or having several strategies active on a single account at the same time
It can also be used in a “safe” way, using up to ten successive entries to smooth out unforeseen market movements and minimize risk as much as possible. In this case, enter positions with 1/10 of the capital each time, for a setting of ten entries, and give preference to a single active bot per account so that all positions can be covered (a fixed dollar amount, not a percentage, is then recommended)
The recommended leverage is x1 or x2 for controlled long-term trading, especially with ten entry levels, although sometimes higher leverage could be considered with controlled risk.
Here's how to set up the strategy:
Start by finding a cryptocurrency displaying a nice curve with the default settings
Then try out the default settings on all timeframes, and select the timeframe with the best curve or the best result
Deactivate shorts
Set the first long triggerlevel to the value that gives the best result
(optional): Change the moving average type, period and data source to find the most optimized setting before proceeding to the next step
Set the 10thlong inputlevel to the last value modifying the result
Set the 8 intermediate input levels, distributing them as evenly as possible
Then adjust the output level of the longs, which can greatly improve the results
Temporarily deactivate the longs, activate the shorts and follow the same process
Reactivate longs and shorts
- How to program robots for automated trading using this strategy -
If you want to use this strategy for automated trading, it's very simple. All you need is an account with a cryptocurrency broker that allows APIs, and an intermediary between TradinView and your broker who will manage your orders.
Here's how it works:
On your intermediary, create a bot that will manage the details of your orders (amount, single or multiple entries, exit conditions). This bot is linked to the broker via an API and will be able to place real orders. Each bot has four different signals that enable it to be activated via a webhook. When one of the signals is received, it executes the orders for you.
On TradingView, set the strategy to a suitable asset and timeframe. Once set, enter in the strategy parameters the signals specific to the bot you've created. Confirm and close the parameters.
Still on TradingView, create an alarm based on your set strategy (on the strategy tester). Give the alarm the name of your choice and in “Message” enter only{{strategy.order.comment}}.
In alarm notifications, activate the webhook and enter the webhook of your trading intermediary. Confirm the alarm.
As long as the alarm is activated in TradingView, the strategy will monitor the market and send an order to enter or exit a position as soon as the conditions are met. Your bot will receive the instruction and place orders with your broker. Subsequent changes to the strategy settings do not change those stored in the alarm. If you wish to change the settings for one of your bots, simply delete the old alarm and create a new one.
Note: In your bot settings, on your intermediary, make sure to allow: - Multiple inputs - A single output signal to close all positions - Stoploss disabled (if necessary, use the strategy one)
Portfolio SnapShot v0.3Here is a Tradingview Pinescript that I call "Portfolio Snapshot". It is based on two other separate scripts that I combined, modified and simplified - shoutout to RedKTrader (Portfolio Tracker - Table Version) and FriendOfTheTrend (Portfolio Tracker For Stocks & Crypto) for their inspiration and code. I was using both of these scripts, and decided to combine the two and increase the number of stocks to 20. I was looking for an easy way to track my entire portfolio (scattered across 5 accounts) PnL on a total and stock basis. PnL - that's it, very simple by design. The features are:
1) Track PnL across multiple accounts, from inception and current day.
2) PnL is reported in two tables, at the portfolio level and individual stock level
3) Both tables can be turned on/off and placed anywhere on the chart.
4) Input up to 20 assets (stocks, crypto, ETFs)
The user has to manually calculate total shares and average basis for stocks in multiple accounts, and then inputs this in the user input dialog. I update mine as each trade is made, or you can just update once a week or so.
I've pre-loaded it with the major indices and sector ETFs, plus URA, GLD, SLV. 100 shares of each, and prices are based on the close Jan 2 2024. So if you don't want to track your portfolio, you can use it to track other things you find interesting, such as annual performance of each sector.
OBV based on Heikin-AshiDescription
This indicator calculates the On-Balance Volume (OBV) based on Heikin-Ashi candles rather than regular candlesticks.
OBV based on Heikin-Ashi: The OBV is calculated based on Heikin-Ashi candle trends. Volume is added when the Heikin-Ashi close is above the open (bullish) and subtracted when the close is below the open (bearish).
Volume Analysis: This approach helps traders identify significant volume shifts in a smoother trend environment, reducing market noise that often accompanies traditional candlestick charts.
説明
このインジケーターは、通常のローソク足ではなく、平均足(Heikin-Ashi)を基にオンバランス・ボリューム(OBV)を計算します。
平均足に基づくOBV: OBVは、平均足のトレンドに基づいて計算されます。平均足の終値が始値を上回った場合(陽線)は出来高が加算され、終値が始値を下回った場合(陰線)は出来高が減算されます。
出来高分析: この手法により、通常のローソク足チャートで発生するノイズを軽減し、滑らかなトレンド環境で重要な出来高の変化を把握できます。
Prometheus Fractal-Based TrendThe Fractal-Based Trend indicator is a tool that uses fractals to try and detect which direction an underlying will continue to go.
Calculation:
A bullish fractal occurs when the current bar's high is lower than the previous bar high, and the previous bar's high is higher than both the high from two bars ago and the high from three bars ago.
A bearish fractal happens when the current bar's low is higher than the previous bar's low, and the previous bar's low is lower than both the low from two bars ago and the low from three bars ago.
When a bullish or bearish fractal forms, the corresponding value stored is the previous bar high for a bearish fractal or the previous bar's low for a bullish fractal.
The trade scenarios are when these fractals occur, a green or red label being plotted on the chart for whatever direction it predicts.
Trade examples:
We see on this daily chart of AMEX:SPY that the fractals represent the potential for a directional trade that can last a few days. The more volatile a chart is the more of these fractals we can see.
We see on this 5 minute chart for NASDAQ:TSLA there is way more activity, there are more sporadic candles on a lower time frame, so we can see more anomalies in the price action.
We see this to be true for BITSTAMP:BTCUSD even on a daily time frame, since it is very volatile. There are a lot of these labels plotted.
This is the perspective we aim to provide. We encourage traders to not follow indicators blindly. No indicator is 100% accurate. This one can give you a different perspective of price strength with volatility. We encourage any comments about desired updates or criticism!
Memecoin TrackerMemecoin Z-Score Tracker with Buy/Sell Table - Technical Explanation
How it Works:
This indicator calculates the Z-scores of various memecoins based on their price movements, using historical funding rates across multiple exchanges. A Z-score measures the deviation of the current price from its moving average, expressed in standard deviations. This provides insight into whether a coin is overbought (positive Z-score) or oversold (negative Z-score) relative to its recent history.
Key Components:
- Z-Score Calculation
- The lookback period is dynamically adjusted based on the chart’s timeframe to ensure consistency across different time intervals:
- For lower timeframes (e.g., minutes), the base lookback period is scaled to match approximately 240 minutes.
- For daily and higher timeframes, the base lookback period is fixed (e.g., 14 bars).
Memecoin Selection:
The indicator tracks several popular memecoins, including DOGE, SHIB, PEPE, FLOKI, and others.
Funding rates are fetched from exchanges like Binance, Bybit, and MEXC using the request.security() function, ensuring accurate real-time price data.
Thresholds for Buy/Sell Signals:
Users can set custom Z-score thresholds for buy (oversold) and sell (overbought) signals:
Default upper threshold: 2.5 (indicates overbought condition).
Default lower threshold: -2.5 (indicates oversold condition).
When a memecoin’s Z-score crosses above or below these thresholds, it signals potential buy or sell conditions.
Buy/Sell Table:
A table with two columns (BUY and SELL) is dynamically populated with memecoins that are currently oversold (buy signal) or overbought (sell signal).
Each column can hold up to 20 entries, providing a clear overview of current market opportunities.
Visual Feedback:
The Z-scores of each memecoin are plotted as a line on the chart, with color-coded feedback:
Red for overbought (Z-score > upper threshold),
Green for oversold (Z-score < lower threshold),
Other colors indicate neutral conditions.
Horizontal lines representing the upper and lower thresholds are plotted for reference.
How to Use It:
Adjust Thresholds:
You can modify the upper and lower Z-score thresholds in the settings to customize sensitivity. Lower thresholds will increase the likelihood of triggering buy/sell signals for smaller price deviations, while higher thresholds will focus on more extreme conditions.
View Real-Time Signals:
The table shows which memecoins are currently oversold (buy column) or overbought (sell column), updating dynamically as price data changes. Traders can monitor this table to identify trading opportunities quickly.
Use with Different Timeframes:
The Z-score lookback period adjusts automatically based on the chart's timeframe, making this indicator suitable for intraday and long-term traders.
Use shorter timeframes (e.g., 1-minute, 5-minute charts) for faster signals, while longer timeframes (e.g., daily, weekly) may yield more stable, trend-based signals.
Who It Is For:
Short-Term Traders: Those looking to capitalize on short-term price imbalances (e.g., day traders, scalpers) can use this indicator to identify quick buy/sell opportunities as memecoins oscillate around their moving averages.
Swing Traders: Swing traders can use the Z-score tracker to identify overbought or oversold conditions across multiple memecoins and ride the reversals back toward equilibrium.
Crypto Enthusiasts and Memecoin Investors: Anyone involved in the volatile memecoin market can use this tool to better time entries and exits based on market extremes.
This indicator is for traders seeking quantitative analysis of price extremes in memecoins. By tracking the Z-scores across multiple coins and dynamically updating buy/sell opportunities in a table, it provides a systematic approach to identifying trade setups.
Fetch Z-scoreThis script is enspired by the creator of the Z-score probability indicator made by www.tradingview.com
I took his calculation for the z-score and created my own strategy based on that z-score.
What is z-score? The Z-score represents how far the current price deviates from the moving average, measured in terms of standard deviations
What does this script do with the Z-score?
The script offers several customizable options, including displaying buy and sell signals based on Z-score thresholds and overlaying these signals directly on the chart or below/above the bars.
The idea is that when the Z-score exceeds a certain treshold, a count will start. The count will lead to a signal. For example: Say the Z-score dipped below -1. From there, the script will by default count whether the current Z-score is higher than the Z-score of the past 10 datapoints. If so, a buy signal will be printed on the chart. The idea is that the Z-score will creep up after a low, making sure you buy earyly in the new uptrend, making this a trend followiung system, with early trend detection.
You can choose whether you want the buy and sell signals on the seperate pane, or on the chart by toggeling a simple setting.
What are my favorite settings?
- Timeframe: weekly
- SMA Length: 75
- Z score buy treshold: -1.5
- Z score sell treshold: 3
- Lookback buy period: 20
- Lookback sell period: 20
Market Phases [OmegaTools]The Market Phases indicator utilizes the Detrended Price Oscillator (DPO) to assess various asset classes, bonds, or stock sectors across different market phases. It offers users the ability to monitor and compare trends in multiple markets through a normalized DPO approach, providing insights into relative overbought or oversold conditions. The indicator supports three distinct modes: "Asset Classes," "Bonds," and "Stock Sectors," allowing flexibility in market analysis based on user preference.
Key Features:
Detrended Price Oscillator (DPO) Calculation: The DPO is computed to remove longer-term trends and focus on shorter-term cyclical behavior. The indicator applies normalization using linear interpolation to smooth out the values for better comparison across different markets.
Three Analysis Modes:
Asset Classes: Compares the DPO for major asset classes, including stocks (S&P 500), bonds (US 10-Year), commodities (Gold), and the US Dollar Index (DXY).
Bonds: Analyzes the DPO across various bond categories such as investment-grade bonds (LQD), high-yield bonds (HYG), emerging market bonds (EMB), and corporate bonds.
Stock Sectors: Provides insight into key stock sectors, including Technology (XLK), Utilities (XLU), Financials (XLF), and Healthcare (XLV).
Real-Time Plotting:
The indicator plots the DPO values of the selected assets, bonds, or sectors on the chart. It provides a visual representation of the market phases, helping to identify potential market reversals or trends. Each plot is color-coded for clarity:
Blue: Asset/Sector 1
Red: Asset/Sector 2
Green: Asset/Sector 3
Orange: Asset/Sector 4
Table Display:
A dynamic table is displayed on the chart, showing the DPO values for the selected mode's assets or sectors. This allows quick comparison and evaluation of market trends.
Inputs:
DPO Length: Defines the lookback period for DPO calculation, adjustable between 10 and 500.
Normalization Length: Sets the length for normalizing the DPO values, with options ranging from 100 to 2000.
Mode: Choose between "Asset Classes," "Bonds," or "Stock Sectors" for tailored market analysis.
This tool is perfect for traders seeking to identify cyclical market phases, compare different asset classes, or monitor sector rotation dynamics. Use it to align your trading strategies with broader market trends and uncover potential trading opportunities across multiple markets.
Liquidations Zones [ChartPrime]The Liquidation Zones indicator is designed to detect potential liquidation zones based on common leverage levels such as 10x, 25x, 50x, and 100x. By calculating percentage distances from recent pivot points, the indicator shows where leveraged positions are most likely to get liquidated. It also tracks buy and sell volumes in these zones, helping traders assess market pressure and predict liquidation scenarios. Additionally, the indicator features a heat map mode to highlight areas where orders and stop-losses might be clustered.
⯁ KEY FEATURES AND HOW TO USE
⯌ Leverage Zones Detection :
The indicator identifies zones where positions with leverage ratios of 100x, 50x, 25x, and 10x are at risk of liquidation. These zones are based on percentage moves from recent pivots: a 1% move can liquidate 100x positions, a 4% move affects 25x positions, and so on.
⯌ Liquidated Zones and Volume Tracking :
The indicator displays liquidated zones by plotting gray areas where the price potentually liquidate positons. It calculates the volume needed to liquidate positions in these zones, showing volume from bullish candles if short positions were liquidated and volume from bearish candles for long positions. This feature helps traders assess the risk of liquidation as the price approaches these zones.
⯌ Buy/Sell Volume Calculation :
Buy and sell volumes are calculated from the most recent pivot high or low. For buy volume, only bullish candles are considered, while for sell volume, only bearish candles are summed. This data helps traders gauge the strength of potential liquidation in different zones.
Example of buy and sell volume tracking in active zones:
⯌ Liquidity Heat Map :
In heat map mode, the indicator visualizes potential liquidity areas where orders and stop-losses may be clustered. This map highlights zones that are likely to experience liquidations based on leverage ratios. Additionally, it tracks the highest and lowest price levels for the past 100 bars, while also displaying buy and sell volumes. This feature is useful for predicting market moves driven by liquidation events.
⯁ USER INPUTS
Length : Determines the number of bars used to calculate pivots for liquidation zones.
Extend : Controls how far the liquidation zones are extended on the chart.
Leverage Options : Toggle options to display zones for different leverage levels: 10x, 25x, 50x, and 100x.
Display Heat Map : Enables or disables the liquidity heat map feature.
⯁ CONCLUSION
The Liquidation Zones indicator provides a powerful tool for identifying potential liquidation zones, tracking volume pressure, and visualizing liquidity areas on the chart. With its real-time updates and multiple features, this indicator offers valuable insights for managing risk and anticipating market moves driven by leveraged positions.
Zero Lag MA For loop | RocheurIntroducing Rocheur's Zero-Lag Moving Average For Loop (ZLMAFL)
The Zero-Lag Moving Average For Loop (ZLMAFL) is an advanced trading indicator designed to provide traders with an edge in identifying trends and reversals with greater precision. By combining the power of the Zero-Lag Exponential Moving Average ( ZLEMA ) with a for-loop scoring mechanism, this tool offers a refined approach to tracking market movements.
Understanding the Zero-Lag Exponential Moving Average ( ZLEMA )
The Zero-Lag Exponential Moving Average ( ZLEMA ) is a sophisticated moving average developed by John Ehlers in his 2001 book, "Rocket Science for Traders." Unlike traditional moving averages that introduce a lag in their calculations, ZLEMA aims to eliminate this lag, providing a more accurate representation of price movements. By filtering out short-term fluctuations, ZLEMA offers a clearer view of the market’s true direction.
ZLEMA is particularly effective for detecting trends in fast-moving markets and helps traders respond more quickly to changing conditions. Its ability to reduce lag makes it a valuable tool for generating signals with greater accuracy.
Calculation Logic: For-Loop Scoring Mechanism
The For Loop Scoring mechanism compares the magnitude of each ZLEMA value in the series and sums the results to generate a score. This score forms the backbone of the signal generation system:
Long Signals: Generated when the score surpasses the defined long threshold (default set at 40). This indicates a strong bullish trend, signaling potential upward momentum.
Short Signals: Triggered when the score crosses under the short threshold (default set at -10). This suggests a bearish trend or potential downside risk.
Visual Representation
To provide traders with an intuitive understanding of the market’s current condition, the ZLMAFL uses a color-coded bar system:
Green Bars: Represent a bullish trend, indicating a potential buy signal. When the score exceeds the long threshold, the bars turn green, signaling strong upward momentum.
Red Bars: Indicate a bearish trend, suggesting a sell signal. When the score falls below the short threshold, the bars turn red, highlighting potential downside risk.
This visual representation allows traders to quickly assess market conditions at a glance, aiding in faster decision-making.
Thresholds & Customization
To adapt to different trading strategies and preferences, the ZLMAFL offers customizable settings:
Length: Defaulted to 7 periods, this controls the calculation window for ZLEMA .
Long/Short Thresholds: Traders can fine-tune sensitivity to market conditions.
Visualization Options: The indicator provides various visual aids, including color-coded bars and background shading to clarify trend direction.
Trading Applications
The ZLMAFL is versatile and suited to various market conditions:
Trend Following: The scoring mechanism helps confirm trends and minimize false signals.
Risk Management: Clearly defined signals assist in position management, helping traders reduce risk and improve entry and exit precision.
Final Note
Integrating the ZLMAFL into your trading strategy can enhance your ability to detect trends and make more informed decisions. Always backtest thoroughly and adjust the parameters to suit your trading style. As with any tool, past performance does not guarantee future success, but the ZLEMA ’s reduced lag and the for-loop scoring mechanism offer a potent combination for modern traders.
Default settings:
Length: 7
a: 1
b: 75
DYNAMIC USD MOMENTUM INDICATOR
Hello traders,
Welcome to my script, an indicator helping you to quickly see the performance of USD in constant daily comparison to other currencies.
This script requests price data from other charts but displays overbought and oversold labels on any selected chart currency pair.
See attached images to spot high probability reversal days when USD is in extremes against multiple other currencies. The output labels represent the currency traded against USD and reaching overbought and oversold zoned on a dynamic RSI scale.
Suggested pairs with higher co relation to stronger or weaker dollar:
AUD/USD, CAD/USD, EUR/USD, GBP/USD, NZD/USD
CHF/USD and JPY/USD require more in depth analysis of individual performance of JPY AND CHF
Ehlers Loops [BigBeluga]The Ehlers Loops indicator is based on the concepts developed by John F. Ehlers, which provide a visual representation of the relationship between price and volume dynamics. This tool helps traders predict future market movements by observing how price and volume data interact within four distinct quadrants of the loop, each representing different combinations of price and volume directions. The unique structure of this indicator provides insights into the strength and direction of market trends, offering a clearer perspective on price behavior relative to volume.
🔵 KEY FEATURES & USAGE
● Four Price-Volume Quadrants:
The Ehlers Loops chart consists of four quadrants:
+Price & +Volume (top-right) – Typically indicates a bullish continuation in the market.
-Price & +Volume (bottom-right) – Generally shows a bearish continuation.
+Price & -Volume (top-left) – Typically indicates an exhaustion of demand with a potential reversal.
-Price & -Volume (bottom-left) – Indicates exhaustion of supply and near trend reversal.
By watching how symbols move through these quadrants over time, traders can assess shifts in momentum and volume flow.
● Price and Volume Scaling in Standard Deviations:
Both price and volume data are individually filtered using HighPass and SuperSmoother filters, which transform them into band-limited signals with zero mean. This scaling allows traders to view data in terms of its deviation from the average, making it easier to spot abnormal movements or trends in both price and volume.
● Loops Trajectories with Tails:
The loops draw a trail of price and volume dynamics over time, allowing traders to observe historical price-volume interactions and predict future movements based on the curvature and direction of the rotation.
● Price & Volume Histograms:
On the right side of the chart, histograms for each symbol provide a summary of the most recent price and volume values. These histograms allow traders to easily compare the strength and direction of multiple assets and evaluate market conditions at a glance.
● Flexible Symbol Display & Customization:
Traders can select up to five different symbols to be displayed within the Ehlers Loops. The settings also allow customization of symbol size, colors, and visibility of the histograms. Additionally, traders can adjust the LPPeriod and HPPeriod to change the smoothness and lag of the loops, with a shorter LPPeriod offering more responsiveness and a longer HPPeriod emphasizing longer-term trends.
🔵 USAGE
🔵 SETTINGS
Low pass Period: default is 10 to
obtain minimum lag with just a little smoothing.
High pass Period: default is 125 (half of the year if Daily timeframe) to capture the longer term moves.
🔵 CONCLUSION
The Ehlers Loops indicator offers a visually rich and highly customizable way to observe price and volume dynamics across multiple assets. By using band-limited signals and scaling data into standard deviations, traders gain a powerful tool for identifying market trends and predicting future movements. Whether you're tracking short-term fluctuations or long-term trends, Ehlers Loops can help you stay ahead of the market by offering key insights into the relationship between price and volume.
UTC Discipline TradingReminder for Disciplined Trading:
1.Trend Trading – We only open positions in the direction of the trend to take advantage of market momentum.
2.SMC Zones – We trade only within zones defined by the Smart Money Concept (SMC) indicator, identifying key market points.
3.Risk 0.5% – Each position carries a maximum risk of 0.5% of total capital, minimizing potential losses and maintaining risk control.
4.3RR – Every trade must have a risk-to-reward ratio (RR) of 3:1, meaning the potential reward should be three times greater than the risk.
5.DDD -1.5% – When the daily loss reaches -1.5%, trading for the day is closed to avoid further losses.
6.DW 2+% – When daily profit reaches 2%, trading for the day ends. However, if profit exceeds 2%, you may risk an additional amount, and in case of a loss, the day will close with at least 2% profit.
Zone Color PatternZone Color Pattern indicator depicts the color pattern of zones on chart. This will help the user to identify the zones on Chart.
Green Zone is indicated by Green color.
Red Zone is indicated by Red Color.
Gray Zone is indicated by Gray Zone.
Zone Color Pattern indicator is based on 3 moving averages. Long term, Medium term and Short Term.By default they are 200, 50 and 20.
When you are on long term trend the position of MAs is 20 MA is on top,then comes 50 MA and 200 MA is positioned below 50 MA.The position of respective MAs change during down trend.
The color patterns display the distance between different MAs .The widening and contraction of space between different Moving Averages indicate the movement and direction of price.
Basically price tend to move in and move away from Average. This action tend to create a space between price and MAs.Color patterns between price and MAs reflect the gap between the price and M|As .All these effects can be visualized on chart in relevant colors to infer the status of price, movement, cross over by the User.
Buy trades are preferred when close is in Green Zone and price is above MA20.
Sell trades are preferred when close is in Red Zone and price is below MA20
Trades may be avoided when close is in Gray Zone.
Long Up Trend and Down Trend respective color triangle shapes and arrows on chart indicate the trends and direction.
The chart understanding has to be supplemented with other regular indicators along with appropriate risk reward techniques by user.
Table indicate difference between Last Price traded and Day open price.
Other columns in table display the position of close in different Zones.
DISCLAIMER: For educational and entertainment purpose only .Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security/ies or investment/s.
HTFCandlesLibLibrary "HTFCandlesLib"
Library to get detailed higher timeframe candle information
method tostring(this, delimeter)
Returns OHLC values, BarIndex of higher and lower timeframe candles in string format
Namespace types: Candle
Parameters:
this (Candle) : Current Candle object
delimeter (string) : delimeter to join the string components of the candle
Returns: String representation of the Candle
method draw(this, bullishColor, bearishColor, printDescription)
Draws the current candle using boxes and lines for body and wicks
Namespace types: Candle
Parameters:
this (Candle) : Current Candle object
bullishColor (color) : color for bullish representation
bearishColor (color) : color for bearish representation
printDescription (bool) : if set to true prints the description
Returns: Current candle object
getCurrentCandle(ltfCandles)
Gets the current candle along with reassigned ltf components. To be used with request.security to capture higher timeframe candle data
Parameters:
ltfCandles (array) : Lower timeframe Candles array
Returns: Candle object with embedded lower timeframe key candles in them
Candle
Candle represents the data related to a candle
Fields:
o (series float) : Open price of the candle
h (series float) : High price of the candle
l (series float) : Low price of the candle
c (series float) : Close price of the candle
lo (Candle) : Lower timeframe candle that records the open price of the current candle.
lh (Candle) : Lower timeframe candle that records the high price of the current candle.
ll (Candle) : Lower timeframe candle that records the low price of the current candle.
lc (Candle) : Lower timeframe candle that records the close price of the current candle.
barindex (series int) : Bar Index of the candle
bartime (series int) : Bar time of the candle
last (Candle) : Link to last candle of the series if any
Japan Stock Market Indices Performance TableYou can display the performance of the Nikkei 225 Futures and major indices of the Japanese stock market for the day in a table format on your chart.
The 5-Minute Change Rate shows the change from the opening price of the most recent 5-minute candlestick.
The Daily Change Rate displays the change from the opening price at 09:00 GMT+9 on the current trading day.
Since the Japanese stock market opens at 09:00 GMT+9 , the values for Nikkei 225 Futures, USD/JPY, and EUR/JPY are also calculated based on their opening prices at that time. This script was created because, while brokerage apps allow you to see the comparison to the previous day's close for each index, they do not display the rate of change from the current day's opening price.
Notes:
All values are reset each trading day at 09:00 GMT+9.
If you have not purchased real-time market data from the Tokyo Stock Exchange and Osaka Exchange, data may be delayed by 20 minutes and may not display correctly.
The Tokyo Stock Exchange sector indices are distributed in real-time at 15-second intervals from the TSE, so this script aligns with that timing.
当日の日経225先物と日本株式市場の主要指数のパフォーマンスを表形式でチャート上に表示することができます。
5分変化率は直近の5分足の始値からの変化率、当日変化率は当日09:00の始値からの変化率を表示しています。
日本株式市場が開くのが GMT+9 09:00 のため、それに合わせて日経225先物、ドル円、ユーロ円も GMT+9 09:00 時点の始値を元に各値を算出しています。
各指数の前日比は証券会社のアプリで見れるものの、当日始値からの変化率が見れないため作成しました。
補足
各営業日の朝(GMT+9 09:00)に各値はリセットされます。
Tokyo Stock ExchangeとOsaka Exchangeのreal-time market dataを購入していない場合、データが20分遅れになるため正常に表示されない可能性があります。
東証業種別株価指数は東証から配信されるのが15秒間隔でのリアルタイムになるため、このスクリプトもそれに準ずる形となっています。
XAUUSD Multi-Timeframe Trend AnalyzerOverview
The "XAUUSD Multi-Timeframe Trend Analyzer" is an advanced script designed to provide a comprehensive analysis of the XAUUSD (Gold/US Dollar) trend across multiple timeframes simultaneously. By combining several key technical indicators, this tool helps traders quickly assess the market direction and trend strength for M15, M30, H1, H4, and D1 timeframes.
Multi-Timeframe Analysis: Displays the trend direction and strength across M15, M30, H1, H4, and D1 timeframes, allowing for a complete overview in a single glance.
Comprehensive Indicator Blend: Utilizes six popular technical indicators to determine the trend—Moving Averages, RSI, MACD, Bollinger Bands, DMI, and Parabolic SAR.
Trend Strength Scoring: Provides a numerical trend strength score (from -6 to 6) based on the alignment of the indicators, with positive values indicating uptrends and negative values for downtrends.
Visual Table Display: Displays results in a color-coded table (green for uptrend, red for downtrend, yellow for neutral) with a strength score for each timeframe, helping traders quickly assess market conditions.
How It Works
This script calculates the overall trend and its strength for each selected timeframe by analyzing six widely-used technical indicators:
Moving Averages (MA): The script uses a Fast and a Slow Moving Average. When the Fast MA crosses above the Slow MA, it indicates an uptrend. When the Fast MA crosses below, it signals a downtrend.
Relative Strength Index (RSI): The RSI is used to assess momentum. An RSI value above 50 suggests bullish momentum, while a value below 50 suggests bearish momentum.
Moving Average Convergence Divergence (MACD): MACD measures momentum and trend direction. When the MACD line crosses above the signal line, it signals bullish momentum; when it crosses below, it signals bearish momentum.
Bollinger Bands: These measure price volatility. When the price is above the middle Bollinger Band, the script considers the trend to be bullish, and when it's below, bearish.
Directional Movement Index (DMI): The DMI compares positive directional movement (DI+) and negative directional movement (DI-). A stronger DI+ over DI- signals an uptrend and vice versa.
Parabolic SAR: This indicator is used for determining potential trend reversals and setting stop-loss levels. If the price is above the Parabolic SAR, it indicates an uptrend, and if below, a downtrend.
Trend Strength Calculation
The script calculates a trend strength score for each timeframe:
Each indicator adds or subtracts 1 to the score based on whether it aligns with an uptrend or a downtrend.
A score of 6 indicates a Strong Uptrend, with all indicators aligned bullishly.
A score of -6 indicates a Strong Downtrend, with all indicators aligned bearishly.
Intermediate scores (e.g., 2 or -2) indicate Weak Uptrend or Weak Downtrend, suggesting that not all indicators are in agreement.
A score between 1 and -1 indicates a Neutral trend, suggesting uncertainty in the market.
How to Use
Assess Trend Direction and Strength: The table provides an easy-to-read summary of the trend and its strength on different timeframes. Look for timeframes where the strength is high (either 6 for a strong uptrend or -6 for a strong downtrend) to confirm the market’s overall direction.
Use in Conjunction with Other Strategies: This indicator is designed to provide a comprehensive view of the market. Traders should combine it with other strategies, such as price action analysis or candlestick patterns, to further confirm their trades.
Trend Reversal or Continuation: A weak trend (e.g., a strength of 2 or -2) could signal a possible reversal or a trend that has lost momentum. Strong trends (with a strength of 6 or -6) indicate higher confidence in trend continuation.
Multiple Timeframe Confirmation: Look for alignment across multiple timeframes to confirm the strength and direction of the trend before entering trades. For example, if M15, M30, and H1 are all showing a strong uptrend, it suggests a higher probability of the trend continuing.
Customization Options
- Adjustable Indicators: Users can modify the length and parameters of the Moving Averages, RSI, MACD, Bollinger Bands, DMI, and Parabolic SAR to suit their trading style.
- Flexible Timeframes: You can toggle between different timeframes (M15, M30, H1, H4, D1) to focus on the intervals most relevant to your strategy.
Ideal For
- Traders looking for a detailed, multi-timeframe trend analysis tool for XAUUSD.
- Traders who rely on trend-following strategies and need confirmation across multiple timeframes.
- Those who prefer a multi-indicator approach to avoid false signals and improve the accuracy of their trades.
Disclaimer
This indicator is for informational and educational purposes only. It is recommended to combine this with proper risk management strategies and your own analysis. Past performance does not guarantee future results. Always perform your own due diligence before making trading decisions.
STANDARD DEVIATION INDICATOR BY WISE TRADERWISE TRADER STANDARD DEVIATION SETUP: The Ultimate Volatility and Trend Analysis Tool
Unlock the power of STANDARD DEVIATIONS like never before with the this indicator, a versatile and comprehensive tool designed for traders who seek deeper insights into market volatility, trend strength, and price action. This advanced indicator simultaneously plots three sets of customizable Deviations, each with unique settings for moving average types, standard deviations, and periods. Whether you’re a swing trader, day trader, or long-term investor, the STANDARD DEVIATION indicator provides a dynamic way to spot potential reversals, breakouts, and trend-following opportunities.
Key Features:
STANDARD DEVIATIONS Configuration : Monitor three different Bollinger Bands at the same time, allowing for multi-timeframe analysis within a single chart.
Customizable Moving Average Types: Choose from SMA, EMA, SMMA (RMA), WMA, and VWMA to calculate the basis of each band according to your preferred method.
Dynamic Standard Deviations: Set different standard deviation multipliers for each band to fine-tune sensitivity for various market conditions.
Visual Clarity: Color-coded bands with adjustable thicknesses provide a clear view of upper and lower boundaries, along with fill backgrounds to highlight price ranges effectively.
Enhanced Trend Detection: Identify potential trend continuation, consolidation, or reversal zones based on the position and interaction of price with the three bands.
Offset Adjustment: Shift the bands forward or backward to analyze future or past price movements more effectively.
Why Use Triple STANDARD DEVIATIONS ?
STANDARD DEVIATIONS are a popular choice among traders for measuring volatility and anticipating potential price movements. This indicator takes STANDARD DEVIATIONS to the next level by allowing you to customize and analyze three distinct bands simultaneously, providing an unparalleled view of market dynamics. Use it to:
Spot Volatility Expansion and Contraction: Track periods of high and low volatility as prices move toward or away from the bands.
Identify Overbought or Oversold Conditions: Monitor when prices reach extreme levels compared to historical volatility to gauge potential reversal points.
Validate Breakouts: Confirm the strength of a breakout when prices move beyond the outer bands.
Optimize Risk Management: Enhance your strategy's risk-reward ratio by dynamically adjusting stop-loss and take-profit levels based on band positions.
Ideal For:
Forex, Stocks, Cryptocurrencies, and Commodities Traders looking to enhance their technical analysis.
Scalpers and Day Traders who need rapid insights into market conditions.
Swing Traders and Long-Term Investors seeking to confirm entry and exit points.
Trend Followers and Mean Reversion Traders interested in combining both strategies for maximum profitability.
Harness the full potential of STANDARD DEVIATIONS with this multi-dimensional approach. The "STANDARD DEVIATIONS " indicator by WISE TRADER will become an essential part of your trading arsenal, helping you make more informed decisions, reduce risks, and seize profitable opportunities.
Who is WISE TRADER ?
Wise Trader is a highly skilled trader who launched his channel in 2020 during the COVID-19 pandemic, quickly building a loyal following. With thousands of paid subscribed members and over 70,000 YouTube subscribers, Wise Trader has become a trusted authority in the trading world. He is known for his ability to navigate significant events, such as the Indian elections and stock market crashes, providing his audience with valuable insights into market movements and volatility. With a deep understanding of macroeconomics and its correlation to global stock markets, Wise Trader shares informed strategies that help traders make better decisions. His content covers technical analysis, trading setups, economic indicators, and market trends, offering a comprehensive approach to understanding financial markets. The channel serves as a go-to resource for traders who want to enhance their skills and stay informed about key market developments.
Distance between EMA 50-100/100-150This script calculates and plots the percentage difference between the 50-period, 100-period, and 150-period Exponential Moving Averages (EMA) on a TradingView chart. The aim is to provide a clear visual representation of the market's momentum by analyzing the distance between key EMAs over time.
Key features of this script:
1. EMA Calculation : The script computes the EMA values for 50, 100, and 150 periods and calculates the percentage difference between EMA 50 and 100, and between EMA 100 and 150.
2. Custom Threshold : Users can adjust a threshold percentage to highlight significant divergences between the EMAs. A default threshold is set to 0.1%.
3. Visual Alerts : When the percentage difference exceeds the threshold, a visual marker appears on the chart:
Green Circles for bullish momentum (positive divergence),
Red Circles for bearish momentum (negative divergence),
Diamonds to indicate the first occurrence of new bullish or bearish signals, allowing users to catch fresh market trends.
4. Dynamic Plotting : The script plots two lines representing the percentage difference for each EMA pair, offering a quick and intuitive way to monitor trends.
Ideal for traders looking to gauge market direction using the relationship between multiple EMAs, this script simplifies analysis by focusing on key moving average interactions.