Центральные осцилляторы
Madhan_HMT_Ultimate_StrategyThis indicator is a trend-following strategy designed to identify buy and sell signals based on price action relative to dynamic channels and smoothing mechanisms. It uses two separate sets of parameters that adjust to market conditions, with each set of parameters acting as an independent trend filter. The indicator creates arrows on the chart to signal potential trade entries, with these arrows appearing when the price crosses certain thresholds established by the indicator's internal calculation.
The strategy can be customized with various parameters, including:
Stop loss and take profit levels based on multiple options: ATR (Average True Range), fixed points, or percentage-based values.
Trading mode options that allow the user to choose whether the strategy trades both long and short positions, or restricts trades to only one direction (long or short).
The indicator visually represents the entry levels, stop loss, and take profit levels, with backgrounds filling to highlight potential risk and reward areas. By adjusting the parameters, traders can tailor the indicator to suit different market conditions and their risk tolerance.
Moving Average Simple Tool [OmegaTools]This TradingView script is a versatile Moving Average Tool that offers users multiple moving average types and a customizable overbought and oversold (OB/OS) sensitivity feature. It is designed to assist in identifying potential price trends, reversals, and momentum by using different average calculations and providing visual indicators for deviation levels. Below is a detailed breakdown of the settings, functionality, and visual elements within the Moving Average Simple Tool.
Indicator Overview
Indicator Name: Moving Average Simple Tool
Short Title: MA Tool
Purpose: Provides a choice of six moving average types with configurable sensitivity, which helps traders identify trend direction, potential reversal zones, and overbought or oversold conditions.
Input Parameters
Source (src): This option allows the user to select the data source for the moving average calculation. By default, it is set to close, but users can choose other options like open, high, low, or any custom price data.
Length (lnt): Defines the period length for the moving average. By default, it is set to 21 periods, allowing users to adjust the moving average sensitivity to either shorter or longer periods.
Average Type (mode): This input defines the moving average calculation type. Six types of averages are available:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
RMA (Rolling Moving Average)
Middle Line: Calculates the average between the highest and lowest price over the period specified in Length. This is useful for a mid-range line rather than a traditional moving average.
Sensitivity (sens): This parameter controls the sensitivity of the overbought and oversold levels. The sensitivity value can range from 1 to 40, where a lower value represents a higher sensitivity and a higher value allows for smoother OB/OS zones.
Color Settings:
OS (Oversold Color, upc): The color applied to deviation areas that fall below the oversold threshold.
OB (Overbought Color, dnc): The color applied to deviation areas that exceed the overbought threshold.
Middle Line Color (midc): A gradient color that visually blends between overbought and oversold colors for smoother visual transitions.
Calculation Components
Moving Average Calculation (mu): Based on the chosen Average Type, this calculation derives the moving average or middle line value for the selected source and length.
Deviation (dev): The deviation of the source value from the moving average is calculated. This is useful to determine whether the current price is significantly above or below the average, signaling potential buying or selling opportunities.
Overbought (ob) and Oversold (os) Levels: These levels are calculated using a linear percentile interpolation based on the deviation, length, and sensitivity inputs. The higher the sensitivity, the narrower the overbought and oversold zones, allowing users to capture more frequent signals.
Visual Elements
Moving Average Line (mu): This line represents the moving average based on the selected calculation method and is plotted with a dynamic color based on deviation thresholds. When the deviation crosses into overbought or oversold zones, it shifts to the corresponding OB/OS colors, providing a visual indication of potential trend reversals.
Deviation Plot (dev): This plot visualizes the deviation values as a column plot, with colors matching the overbought, oversold, or neutral states. This helps users to quickly assess whether the price is trending or reverting back to its mean.
Overbought (ob) and Oversold (os) Levels: These levels are plotted as fixed lines, helping users identify when the deviation crosses into overbought or oversold zones.
X-Force Selector中文說明
X-Force 篩選者 是基於 Mark Minervini 概念設計的強勢標的篩選指標,旨在幫助交易者捕捉市場中的極端強勢標的。此指標運用多重篩選條件,使交易者能在價格達到特定關鍵位置時精準進場,專注於上漲動能強勁、突破阻力較小的標的。
指標篩選條件
100% 關鍵價位:當價格位於365根K棒的最低點的100%之上時,顯示該標的處於強勢區域,具備顯著的上漲動能。
25% 高點價位:同時,當價格位於365根K棒的高點以下25%之上時,代表該標的上方阻力較小,是一個潛在的突破信號。
滿足以上兩個條件的標的才會被視為進場機會,這符合 Minervini 所強調的「專注於強勢標的」的策略。Minervini 的概念強調當標的價格突破關鍵價位時,可能帶來更高的回報潛力,且風險相對較小。
加密貨幣與時間周期的應用
在加密貨幣交易中,1小時到4小時的小時間框架適合使用100%、66%、33%這些百分比範圍參數,以反映市場的高波動特性。對於更短周期,建議進一步縮小百分比,以提高指標對短期波動的敏感度,並增強篩選結果的準確性。
靈活的篩選與戰警風格
此指標的設計結合了 Minervini 的概念和戰警風格,旨在精準鎖定極具潛力的突破標的。X-Force 篩選者適合追隨趨勢的交易者,尤其是熱衷於 Mark Minervini 策略的投資者,使交易者能夠專注於市場中最具上漲動能的標的,實現更精確的進場決策。
English Description
X-Force Selector is a powerful trend-filtering indicator inspired by Mark Minervini’s trading concepts, designed to help traders capture assets with extreme strength in the market. By applying multiple filtering criteria, this indicator enables precise entry decisions when price reaches specific key levels, focusing on assets with strong upward momentum and minimal resistance.
Indicator Selection Criteria
100% Key Price Level: When the price is above 100% of the lowest low over the past 365 bars, it indicates the asset is in a strong zone with substantial upward momentum.
25% High Price Level: Additionally, when the price is within 25% below the 365-bar high, it signals reduced resistance above, indicating potential for a breakout.
Assets meeting both criteria are considered potential entry opportunities, aligning with Minervini's strategy of “focusing on strong assets.” Minervini’s concept emphasizes capturing high-potential assets as they break through critical levels, aiming for higher returns with relatively low risk.
Application to Cryptocurrency and Timeframes
In cryptocurrency trading, shorter timeframes such as 1H to 4H are well-suited for the 100%, 66%, and 33% thresholds, reflecting the high volatility of crypto markets. For even smaller timeframes, it is recommended to reduce these percentages to enhance the indicator’s sensitivity to short-term fluctuations, improving the accuracy of filtered results.
Flexible Filtering with a Battle-Ready Style
With a design inspired by Minervini's concepts and a battle-ready scanning approach, the X-Force Selector precisely locks onto high-potential breakout candidates. This indicator is ideal for trend-following traders, especially those applying Mark Minervini’s strategies, enabling them to concentrate on assets with the strongest upward momentum for precise entry decisions.
Pulse DPO: Major Cycle Tops and Bottoms█ OVERVIEW
Pulse DPO is an oscillator designed to highlight Major Cycle Tops and Bottoms .
It works on any market driven by cycles. It operates by removing the short-term noise from the price action and focuses on the market's cyclical nature.
This indicator uses a Normalized version of the Detrended Price Oscillator (DPO) on a 0-100 scale, making it easier to identify major tops and bottoms.
Credit: The DPO was first developed by William Blau in 1991.
█ HOW TO READ IT
Pulse DPO oscillates in the range between 0 and 100. A value in the upper section signals an OverBought (OB) condition, while a value in the lower section signals an OverSold (OS) condition.
Generally, the triggering of OB and OS conditions don't necessarily translate into swing tops and bottoms, but rather suggest caution on approaching a market that might be overextended.
Nevertheless, this indicator has been customized to trigger the signal only during remarkable top and bottom events.
I suggest using it on the Daily Time Frame , but you're free to experiment with this indicator on other time frames.
The indicator has Built-in Alerts to signal the crossing of the Thresholds. Please don't act on an isolated signal, but rather integrate it to work in conjunction with the indicators present in your Trading Plan.
█ OB SIGNAL ON: ENTERING OVERBOUGHT CONDITION
When Pulse DPO crosses Above the Top Threshold it Triggers ON the OB signal. At this point the oscillator line shifts to OB color.
When Pulse DPO enters the OB Zone, please beware! In this Area the Major Players usually become Active Sellers to the Public. While the OB signal is On, it might be wise to Consider Selling a portion or the whole Long Position.
Please note that even though this indicator aims to focus on major tops and bottoms, a strong trending market might trigger the OB signal and stay with it for a long time. That's especially true on young markets and on bubble-mode markets.
█ OB SIGNAL OFF: EXITING OVERBOUGHT CONDITION
When Pulse DPO crosses Below the Top Threshold it Triggers OFF the OB signal. At this point the oscillator line shifts to its normal color.
When Pulse DPO exits the OB Zone, please beware because a Major Top might just have occurred. In this Area the Major Players usually become Aggressive Sellers. They might wind up any remaining Long Positions and Open new Short Positions.
This might be a good area to Open Shorts or to Close/Reverse any remaining Long Position. Whatever you choose to do, it's usually best to act quickly because the market is prone to enter into panic mode.
█ OS SIGNAL ON: ENTERING OVERSOLD CONDITION
When Pulse DPO crosses Below the Bottom Threshold it Triggers ON the OS signal. At this point the oscillator line shifts to OS color.
When Pulse DPO enters the OS Zone, please beware because in this Area the Major Players usually become Active Buyers accumulating Long Positions from the desperate Public.
While the OS signal is On, it might be wise to Consider becoming a Buyer or to implement a Dollar-Cost Averaging (DCA) Strategy to build a Long Position towards the next Cycle. In contrast to the tops, the OS state usually takes longer to resolve a major bottom.
█ OS SIGNAL OFF: EXITING OVERSOLD CONDITION
When Pulse DPO crosses Above the Bottom Threshold it Triggers OFF the OS signal. At this point the oscillator line shifts to its normal color.
When Pulse DPO exits the OS Zone, please beware because a Major Bottom might already be in place. In this Area the Major Players become Aggresive Buyers. They might wind up any remaining Short Positions and Open new Long Positions.
This might be a good area to Open Longs or to Close/Reverse any remaining Short Positions.
█ WHY WOULD YOU BE INTERESTED IN THIS INDICATOR?
This indicator is built over a solid foundation capable of signaling Major Cycle Tops and Bottoms across many markets. Let's see some examples:
Early Bitcoin Years: From 0 to 1242
This chart is in logarithmic mode in order to properly display various exponential cycles. Pulse DPO is properly signaling the major early highs from 9-Jun-2011 at 31.50, to the next one on 9-Apr-2013 at 240 and the epic top from 29-Nov-2013 at 1242.
Due to the massive price movements, the OB condition stays pinned during most of the exponential price action. But as you can see, the OB condition quickly vanishes once the Cycle Top has been reached. As the market matures, the OB condition becomes more exceptional and triggers much closer from the Cycle Top.
With regards to Cycle Bottoms, the early bottom of 2 after having peaked at 31.50 doesn’t get captured by the indicator. That is the only cycle bottom that escapes the Pulse DPO when the bottom threshold is set at a value of 5. In that event, the oscillator low reached 6.95.
Bitcoin Adoption Spreading: From 257 to 73k
This chart is in logarithmic mode in order to properly display various exponential cycles. Pulse DPO is properly signaling all the major highs from 17-Dec-2017 at 19k, to the next one on 14-Apr-2021 at 64k and the most recent top from 9-Nov-2021 at 68k.
During the massive run of 2017, the OB condition still stayed triggered for a few weeks on each swing top. But on the next cycles it started to signal only for a few days before each swing top actually happened. The OB condition during the last cycle top triggered only for 3 days. Therefore the signal grows in focus as the market matures.
At the time of publishing this indicator, Bitcoin printed a new All Time High (ATH) on 13-Mar-2024 at 73k. That run didn’t trigger the OB condition. Therefore, if the indicator is correct the Bitcoin market still has some way to grow during the next months.
With regards to Cycle Bottoms, the bottom of 3k after having peaked at19k got captured within the wide OS zone. The bottom of 15k after having peaked at 68k got captured too within the OS accumulation area.
Gold
Pulse DPO behaves surprisingly well on a long standing market such as Gold. Moving back to the 197x years it’s been signaling most Cycle Tops and Bottoms with precision. During the last cycle, it shows topping at 2k and bottoming at 1.6k.
The current price action is signaling OB condition in the range of 2.5k to 2.7k. Looking at past cycles, it tends to trigger on and off at multiple swing tops until reaching the final cycle top. Therefore this might indicate the first wave within a potential gold run.
Oil
On the Oil market, we can see that most of the cycle tops and bottoms since the 80s got signaled. The only exception being the low from 2020 which didn’t trigger.
EURUSD
On Forex markets the Pulse DPO also behaves as expected. Looking back at EURUSD we can see the marketing triggering OB and OS conditions during major cycle tops and bottoms from recent times until the 80s.
S&P 500
On the S&P 500 the Pulse DPO catched the lows from 2016 and 2020. Looking at present price action, the recent ATH didn’t trigger the OB condition. Therefore, the indicator is allowing room for another leg up during the next months.
Amazon
On the Amazon chart the Pulse DPO is mirroring pretty accurately the major swings. Scrolling back to the early 2000s, this chart resembles early exponential swings in the crypto space.
Tesla
Moving onto a younger tech stock, Pulse DPO captures pretty accurately the major tops and bottoms. The chart is shown in logarithmic scale to better display the magnitude of the moves.
█ SETTINGS
This indicator is ideal for identifying major market turning points while filtering out short-term noise. You are free to adjust the parameters to align with your preferred trading style.
Parameters : This section allows you to customize any of the Parameters that shape the Oscillator.
Oscillator Length: Defines the period for calculating the Oscillator.
Offset: Shifts the oscillator calculation by a certain number of periods, which is typically half the Oscillator Length.
Lookback Period: Specifies how many bars to look back to find tops and bottoms for normalization.
Smoothing Length: Determines the length of the moving average used to smooth the oscillator.
Thresholds : This section allows you to customize the Thresholds that trigger the OB and OS conditions.
Top: Defines the value of the Top Threshold.
Bottom: Defines the value of the Bottom Threshold.
DeNoised Momentum [OmegaTools]The DeNoised Momentum by OmegaTools is a versatile tool designed to help traders evaluate momentum, acceleration, and noise-reduction levels in price movements. Using advanced mathematical smoothing techniques, this script provides a "de-noised" view of momentum by applying filters to reduce market noise. This helps traders gain insights into the strength and direction of price trends without the distractions of market volatility. Key components include a DeNoised Moving Average (MA), a Momentum line, and Acceleration bars to identify trend shifts more clearly.
Features:
- Momentum Line: Measures the percentage change of the de-noised source price over a specified look-back period, providing insights into trend direction.
- Acceleration (Ret) Bars: Visualizes the rate of change of the source price, helping traders identify momentum shifts.
- Normal and DeNoised Moving Averages: Two moving averages, one based on close price (Normal MA) and the other on de-noised data (DeNoised MA), enable a comparison of smoothed trends versus typical price movements.
- DeNoised Price Data Plot: Displays the current de-noised price, color-coded to indicate the relationship between the Normal and DeNoised MAs, which highlights bullish or bearish conditions.
Script Inputs:
- Length (lnt): Sets the period for calculations (default: 21). It influences the sensitivity of the momentum and moving averages. Higher values will smooth the indicator further, while lower values increase sensitivity to price changes.
The Length does not change the formula of the DeNoised Price Data, it only affects the indicators calculated on it.
Indicator Components:
1. Momentum (Blue/Red Line):
- Calculated using the log of the percentage change over the specified period.
- Blue color indicates positive momentum; red indicates negative momentum.
2. Acceleration (Gray Columns):
- Measures the short-term rate of change in momentum, shown as semi-transparent gray columns.
3. Moving Averages:
- Normal MA (Purple): A standard simple moving average (SMA) based on the close price over the selected period.
- DeNoised MA (Gray): An SMA of the de-noised source, reducing the effect of market noise.
4. DeNoised Price Data:
- Represented as colored circles, with blue indicating that the Normal MA is above the DeNoised MA (bullish) and red indicating the opposite (bearish).
Usage Guide:
1. Trend Identification:
- Use the Momentum line to assess overall trend direction. Positive values indicate upward momentum, while negative values signal downward momentum.
- Compare the Normal and DeNoised MAs: when the Normal MA is above the DeNoised MA, it indicates a bullish trend, and vice versa for bearish trends.
2. Entry and Exit Signals:
- A change in the Momentum line's color from blue to red (or vice versa) may indicate potential entry or exit points.
- Observe the DeNoised Price Data circles for early signs of a trend reversal based on the interaction between the Normal and DeNoised MAs.
3. Volatility and Noise Reduction:
- By utilizing the DeNoised MA and de-noised price data, this indicator helps filter out minor fluctuations and focus on larger price movements, improving decision-making in volatile markets.
Long Short MomentumThis indicator is designed to visualize short-term and long-term momentum trends.The indicator calculates two momentum lines based on customizable lengths: a short momentum (Short Momentum) over a smaller period and a long momentum (Long Momentum) over a longer period. These lines are plotted relative to the chosen price source, typically the closing price.
The histogram, colored dynamically based on momentum direction, gives visual cues:
Green: Both short and long momentum are positive, indicating an upward trend.
Red: Both are negative, indicating a downward trend.
Gray: Mixed momentum, suggesting potential trend indecision.
The Most Powerful TQQQ EMA Crossover Trend Trading StrategyTQQQ EMA Crossover Strategy Indicator
Meta Title: TQQQ EMA Crossover Strategy - Enhance Your Trading with Effective Signals
Meta Description: Discover the TQQQ EMA Crossover Strategy, designed to optimize trading decisions with fast and slow EMA crossovers. Learn how to effectively use this powerful indicator for better trading results.
Key Features
The TQQQ EMA Crossover Strategy is a powerful trading tool that utilizes Exponential Moving Averages (EMAs) to identify potential entry and exit points in the market. Key features of this indicator include:
**Fast and Slow EMAs:** The strategy incorporates two EMAs, allowing traders to capture short-term trends while filtering out market noise.
**Entry and Exit Signals:** Automated signals for entering and exiting trades based on EMA crossovers, enhancing decision-making efficiency.
**Customizable Parameters:** Users can adjust the lengths of the EMAs, as well as take profit and stop loss multipliers, tailoring the strategy to their trading style.
**Visual Indicators:** Clear visual plots of the EMAs and exit points on the chart for easy interpretation.
How It Works
The TQQQ EMA Crossover Strategy operates by calculating two EMAs: a fast EMA (default length of 20) and a slow EMA (default length of 50). The core concept is based on the crossover of these two moving averages:
- When the fast EMA crosses above the slow EMA, it generates a *buy signal*, indicating a potential upward trend.
- Conversely, when the fast EMA crosses below the slow EMA, it produces a *sell signal*, suggesting a potential downward trend.
This method allows traders to capitalize on momentum shifts in the market, providing timely signals for trade execution.
Trading Ideas and Insights
Traders can leverage the TQQQ EMA Crossover Strategy in various market conditions. Here are some insights:
**Scalping Opportunities:** The strategy is particularly effective for scalping in volatile markets, allowing traders to make quick profits on small price movements.
**Swing Trading:** Longer-term traders can use this strategy to identify significant trend reversals and capitalize on larger price swings.
**Risk Management:** By incorporating customizable stop loss and take profit levels, traders can manage their risk effectively while maximizing potential returns.
How Multiple Indicators Work Together
While this strategy primarily relies on EMAs, it can be enhanced by integrating additional indicators such as:
- **Relative Strength Index (RSI):** To confirm overbought or oversold conditions before entering trades.
- **Volume Indicators:** To validate breakout signals, ensuring that price movements are supported by sufficient trading volume.
Combining these indicators provides a more comprehensive view of market dynamics, increasing the reliability of trade signals generated by the EMA crossover.
Unique Aspects
What sets this indicator apart is its simplicity combined with effectiveness. The reliance on EMAs allows for smoother signals compared to traditional moving averages, reducing false signals often associated with choppy price action. Additionally, the ability to customize parameters ensures that traders can adapt the strategy to fit their unique trading styles and risk tolerance.
How to Use
To effectively utilize the TQQQ EMA Crossover Strategy:
1. **Add the Indicator:** Load the script onto your TradingView chart.
2. **Set Parameters:** Adjust the fast and slow EMA lengths according to your trading preferences.
3. **Monitor Signals:** Watch for crossover points; enter trades based on buy/sell signals generated by the indicator.
4. **Implement Risk Management:** Set your stop loss and take profit levels using the provided multipliers.
Regularly review your trading performance and adjust parameters as necessary to optimize results.
Customization
The TQQQ EMA Crossover Strategy allows for extensive customization:
- **EMA Lengths:** Change the default lengths of both fast and slow EMAs to suit different time frames or market conditions.
- **Take Profit/Stop Loss Multipliers:** Adjust these values to align with your risk management strategy. For instance, increasing the take profit multiplier may yield larger gains but could also increase exposure to market fluctuations.
This flexibility makes it suitable for various trading styles, from aggressive scalpers to conservative swing traders.
Conclusion
The TQQQ EMA Crossover Strategy is an effective tool for traders seeking an edge in their trading endeavors. By utilizing fast and slow EMAs, this indicator provides clear entry and exit signals while allowing for customization to fit individual trading strategies. Whether you are a scalper looking for quick profits or a swing trader aiming for larger moves, this indicator offers valuable insights into market trends.
Incorporate it into your TradingView toolkit today and elevate your trading performance!
Z-Score RSI StrategyOverview
The Z-Score RSI Indicator is an experimental take on momentum analysis. By applying the Relative Strength Index (RSI) to a Z-score of price data, it measures how far prices deviate from their mean, scaled by standard deviation. This isn’t your traditional use of RSI, which is typically based on price data alone. Nevertheless, this unconventional approach can yield unique insights into market trends and potential reversals.
Theory and Interpretation
The RSI calculates the balance between average gains and losses over a set period, outputting values from 0 to 100. Typically, people look at the overbought or oversold levels to identify momentum extremes that might be likely to lead to a reversal. However, I’ve often found that RSI can be effective for trend-following when observing the crossover of its moving average with the midline or the crossover of the RSI with its own moving average. These crossovers can provide useful trend signals in various market conditions.
By combining RSI with a Z-score of price, this indicator estimates the relative strength of the price’s distance from its mean. Positive Z-score trends may signal a potential for higher-than-average prices in the near future (scaled by the standard deviation), while negative trends suggest the opposite. Essentially, when the Z-Score RSI indicates a trend, it reflects that the Z-score (the distance between the average and current price) is likely to continue moving in the trend’s direction. Generally, this signals a potential price movement, though it’s important to note that this could also occur if there’s a shift in the mean or standard deviation, rather than a meaningful change in price itself.
While the Z-Score RSI could be an insightful addition to a comprehensive trading system, it should be interpreted carefully. Mean shifts may validate the indicator’s predictions without necessarily indicating any notable price change, meaning it’s best used in tandem with other indicators or strategies.
Recommendations
Before putting this indicator to use, conduct thorough backtesting and avoid overfitting. The added parameters allow fine-tuning to fit various assets, but be careful not to optimize purely for the highest historical returns. Doing so may create an overly tailored strategy that performs well in backtests but fails in live markets. Keep it balanced and look for robust performance across multiple scenarios, as overfitting is likely to lead to disappointing real-world results.
XAUUSD 10-Minute StrategyThis XAUUSD 10-Minute Strategy is designed for trading Gold vs. USD on a 10-minute timeframe. By combining multiple technical indicators (MACD, RSI, Bollinger Bands, and ATR), the strategy effectively captures both trend-following and reversal opportunities, with adaptive risk management for varying market volatility. This approach balances high-probability entries with robust volatility management, making it suitable for traders seeking to optimise entries during significant price movements and reversals.
Key Components and Logic:
MACD (12, 26, 9):
Generates buy signals on MACD Line crossovers above the Signal Line and sell signals on crossovers below the Signal Line, helping to capture momentum shifts.
RSI (14):
Utilizes oversold (below 35) and overbought (above 65) levels as a secondary filter to validate entries and avoid overextended price zones.
Bollinger Bands (20, 2):
Uses upper and lower Bollinger Bands to identify potential overbought and oversold conditions, aiming to enter long trades near the lower band and short trades near the upper band.
ATR-Based Stop Loss and Take Profit:
Stop Loss and Take Profit levels are dynamically set as multiples of ATR (3x for stop loss, 5x for take profit), ensuring flexibility with market volatility to optimise exit points.
Entry & Exit Conditions:
Buy Entry: T riggered when any of the following conditions are met:
MACD Line crosses above the Signal Line
RSI is oversold
Price drops below the lower Bollinger Band
Sell Entry: Triggered when any of the following conditions are met:
MACD Line crosses below the Signal Line
RSI is overbought
Price moves above the upper Bollinger Band
Exit Strategy: Trades are closed based on opposing entry signals, with adaptive spread adjustments for realistic exit points.
Backtesting Configuration & Results:
Backtesting Period: July 21, 2024, to October 30, 2024
Symbol Info: XAUUSD, 10-minute timeframe, OANDA data source
Backtesting Capital: Initial capital of $700, with each trade set to 10 contracts (equivalent to approximately 0.1 lots based on the broker’s contract size for gold).
Users should confirm their broker's contract size for gold, as this may differ. This script uses 10 contracts for backtesting purposes, aligned with 0.1 lots on brokers offering a 100-contract specification.
Key Backtesting Performance Metrics:
Net Profit: $4,733.90 USD (676.27% increase)
Total Closed Trades: 526
Win Rate: 53.99%
Profit Factor: 1.44 (1.96 for Long trades, 1.14 for Short trades)
Max Drawdown: $819.75 USD (56.33% of equity)
Sharpe Ratio: 1.726
Average Trade: $9.00 USD (0.04% of equity per trade)
This backtest reflects realistic conditions, with a spread adjustment of 38 points and no slippage or commission applied. The settings aim to simulate typical retail trading conditions. However, please adjust the initial capital, contract size, and other settings based on your account specifics for best results.
Usage:
This strategy is tuned specifically for XAUUSD on a 10-minute timeframe, ideal for both trend-following and reversal trades. The ATR-based stop loss and take profit levels adapt dynamically to market volatility, optimising entries and exits in varied conditions. To backtest this script accurately, ensure your broker’s contract specifications for gold align with the parameters used in this strategy.
COT Trendfilter + SignalsCOT Trendfilter + Signals Indicator
Data Processing and Usage: The COT indicator processes Commitments of Traders (COT) data provided by the CFTC. Users can select from various participant groups, including Commercials, Large Speculators, and Small Speculators. However, it is important to note that the signal logic of the indicator is exclusively applicable to the net positions of Commercials. This is because Commercials tend to trade contrarily, meaning their trading decisions often run against the prevailing market trend.
Functionality of the Indicators
1. Cycle COT
The cCOT is an enhanced version of the classic RSI. It incorporates additional smoothing based on market vibrations, along with adaptive upper and lower bands based on cyclical memory. The cCOT uses the current dominant cycle length as input and highlights trading signals when the signal line crosses above or below the adaptive bands. Compared to the standard RSI, the cCOT responds more quickly to market movements.
For detailed information on the cCOT, please refer to Chapter 4 "Fine tuning technical indicators" in the book "Decoding the Hidden Market Rhythm, Part 1" by Lars von Thienen.
2. Adaptive Ultra-Smooth Momentum Indicator
The Adaptive Ultra-Smooth Momentum Indicator (CSI) provides an optimized momentum oscillator based on the current dominant cycle. It addresses three common issues with standard indicators: excessive false signals, signal delay, and the need for length adjustments. The CSI offers adaptive smoothing, zero delay, and accurate detection of turning points.
For further information about the CSI, please refer to Chapter 10 "Cycle Swing Indicator: Trading the swing of the dominant cycle" in the book "Decoding the Hidden Market Rhythm, Part 1" by Lars von Thienen.
Signals and Validation
The indicator generates various trading signals:
cCOT:
A buy signal is indicated by an airplane emoji (🛫), while a sell signal is marked by another airplane emoji (🛬).
COT Momentum:
A buy signal is shown by the symbol “∿” in green, while a sell signal is represented by the same symbol in red.
Standard COT Index (Willco):
A buy signal is depicted by a “B” (in green), while a sell signal is shown by an “S” (in red).
Additionally, the validity of the signals is checked. If a previous signal becomes invalid in the following week, it is marked with a gray “x,” indicating that these signals may not be reliable. Users can also switch between net positions, long, and short to analyze the most relevant data for them.
Background Color
The color in the channel can indicate the strength of the Commercials' long-term trend. A channel background color signals an active long-, short-term trend, while no color suggests that there is no clear long-term trend present.
Strange behavior
When only a sharp spike is displayed and the rest is flat, the length settings of the Cycle Length Index should be increased. This can occur when the length is too short, resulting in an unusual spike to properly generate the channel.
Disclaimer
The use of this indicator and the generated signals is at your own risk. The author assumes no responsibility for trading decisions made based on these signals. Please be aware that trading financial instruments involves risks.
SuperATR 7-Step Profit - Strategy [presentTrading] Long time no see!
█ Introduction and How It Is Different
The SuperATR 7-Step Profit Strategy is a multi-layered trading approach that integrates adaptive Average True Range (ATR) calculations with momentum-based trend detection. What sets this strategy apart is its sophisticated 7-step take-profit mechanism, which combines four ATR-based exit levels and three fixed percentage levels. This hybrid approach allows traders to dynamically adjust to market volatility while systematically capturing profits in both long and short market positions.
Traditional trading strategies often rely on static indicators or single-layered exit strategies, which may not adapt well to changing market conditions. The SuperATR 7-Step Profit Strategy addresses this limitation by:
- Using Adaptive ATR: Enhances the standard ATR by making it responsive to current market momentum.
- Incorporating Momentum-Based Trend Detection: Identifies stronger trends with higher probability of continuation.
- Employing a Multi-Step Take-Profit System: Allows for gradual profit-taking at predetermined levels, optimizing returns while minimizing risk.
BTCUSD 6hr Performance
█ Strategy, How It Works: Detailed Explanation
The strategy revolves around detecting strong market trends and capitalizing on them using an adaptive ATR and momentum indicators. Below is a detailed breakdown of each component of the strategy.
🔶 1. True Range Calculation with Enhanced Volatility Detection
The True Range (TR) measures market volatility by considering the most significant price movements. The enhanced TR is calculated as:
TR = Max
Where:
High and Low are the current bar's high and low prices.
Previous Close is the closing price of the previous bar.
Abs denotes the absolute value.
Max selects the maximum value among the three calculations.
🔶 2. Momentum Factor Calculation
To make the ATR adaptive, the strategy incorporates a Momentum Factor (MF), which adjusts the ATR based on recent price movements.
Momentum = Close - Close
Stdev_Close = Standard Deviation of Close over n periods
Normalized_Momentum = Momentum / Stdev_Close (if Stdev_Close ≠ 0)
Momentum_Factor = Abs(Normalized_Momentum)
Where:
Close is the current closing price.
n is the momentum_period, a user-defined input (default is 7).
Standard Deviation measures the dispersion of closing prices over n periods.
Abs ensures the momentum factor is always positive.
🔶 3. Adaptive ATR Calculation
The Adaptive ATR (AATR) adjusts the traditional ATR based on the Momentum Factor, making it more responsive during volatile periods and smoother during consolidation.
Short_ATR = SMA(True Range, short_period)
Long_ATR = SMA(True Range, long_period)
Adaptive_ATR = /
Where:
SMA is the Simple Moving Average.
short_period and long_period are user-defined inputs (defaults are 3 and 7, respectively).
🔶 4. Trend Strength Calculation
The strategy quantifies the strength of the trend to filter out weak signals.
Price_Change = Close - Close
ATR_Multiple = Price_Change / Adaptive_ATR (if Adaptive_ATR ≠ 0)
Trend_Strength = SMA(ATR_Multiple, n)
🔶 5. Trend Signal Determination
If (Short_MA > Long_MA) AND (Trend_Strength > Trend_Strength_Threshold):
Trend_Signal = 1 (Strong Uptrend)
Elif (Short_MA < Long_MA) AND (Trend_Strength < -Trend_Strength_Threshold):
Trend_Signal = -1 (Strong Downtrend)
Else:
Trend_Signal = 0 (No Clear Trend)
🔶 6. Trend Confirmation with Price Action
Adaptive_ATR_SMA = SMA(Adaptive_ATR, atr_sma_period)
If (Trend_Signal == 1) AND (Close > Short_MA) AND (Adaptive_ATR > Adaptive_ATR_SMA):
Trend_Confirmed = True
Elif (Trend_Signal == -1) AND (Close < Short_MA) AND (Adaptive_ATR > Adaptive_ATR_SMA):
Trend_Confirmed = True
Else:
Trend_Confirmed = False
Local Performance
🔶 7. Multi-Step Take-Profit Mechanism
The strategy employs a 7-step take-profit system
█ Trade Direction
The SuperATR 7-Step Profit Strategy is designed to work in both long and short market conditions. By identifying strong uptrends and downtrends, it allows traders to capitalize on price movements in either direction.
Long Trades: Initiated when the market shows strong upward momentum and the trend is confirmed.
Short Trades: Initiated when the market exhibits strong downward momentum and the trend is confirmed.
█ Usage
To implement the SuperATR 7-Step Profit Strategy:
1. Configure the Strategy Parameters:
- Adjust the short_period, long_period, and momentum_period to match the desired sensitivity.
- Set the trend_strength_threshold to control how strong a trend must be before acting.
2. Set Up the Multi-Step Take-Profit Levels:
- Define ATR multipliers and fixed percentage levels according to risk tolerance and profit goals.
- Specify the percentage of the position to close at each level.
3. Apply the Strategy to a Chart:
- Use the strategy on instruments and timeframes where it has been tested and optimized.
- Monitor the positions and adjust parameters as needed based on performance.
4. Backtest and Optimize:
- Utilize TradingView's backtesting features to evaluate historical performance.
- Adjust the default settings to optimize for different market conditions.
█ Default Settings
Understanding default settings is crucial for optimal performance.
Short Period (3): Affects the responsiveness of the short-term MA.
Effect: Lower values increase sensitivity but may produce more false signals.
Long Period (7): Determines the trend baseline.
Effect: Higher values reduce noise but may delay signals.
Momentum Period (7): Influences adaptive ATR and trend strength.
Effect: Shorter periods react quicker to price changes.
Trend Strength Threshold (0.5): Filters out weaker trends.
Effect: Higher thresholds yield fewer but stronger signals.
ATR Multipliers: Set distances for ATR-based exits.
Effect: Larger multipliers aim for bigger moves but may reduce hit rate.
Fixed TP Levels (%): Control profit-taking on smaller moves.
Effect: Adjusting these levels affects how quickly profits are realized.
Exit Percentages: Determine how much of the position is closed at each TP level.
Effect: Higher percentages reduce exposure faster, affecting risk and reward.
Adjusting these variables allows you to tailor the strategy to different market conditions and personal risk preferences.
By integrating adaptive indicators and a multi-tiered exit strategy, the SuperATR 7-Step Profit Strategy offers a versatile tool for traders seeking to navigate varying market conditions effectively. Understanding and adjusting the key parameters enables traders to harness the full potential of this strategy.
MACD Cloud with Moving Average and ATR BandsThe algorithm implements a technical analysis indicator that combines the MACD Cloud, Moving Averages (MA), and volatility bands (ATR) to provide signals on market trends and potential reversal points. It is divided into several sections:
🎨 Color Bars:
Activated based on user input.
Controls bar color display according to price relative to ATR levels and moving average (MA).
Logic:
⚫ Black: Potential bearish reversal (price above the upper ATR band).
🔵 Blue: Potential bullish reversal (price below the lower ATR band).
o
🟢 Green: Bullish trend (price between the MA and upper ATR band).
o
🔴 Red: Bearish trend (price between the lower ATR band and MA).
o
📊 MACD Bars:
Description:
The MACD Bars section is activated by default and can be modified based on user input.
🔴 Red: Indicates a bearish trend, shown when the MACD line is below the Signal line (Signal line is a moving average of MACD).
🔵 Blue: Indicates a bullish trend, shown when the MACD line is above the Signal line.
Matching colors between MACD Bars and MACD Cloud visually confirms trend direction.
MACD Cloud Logic: The MACD Cloud is based on Moving Average Convergence Divergence (MACD), a momentum indicator showing the relationship between two moving averages of price.
MACD and Signal Lines: The cloud visualizes the MACD line relative to the Signal line. If the MACD line is above the Signal line, it indicates a potential bullish trend, while below it suggests a potential bearish trend.
☁️ MA Cloud:
The MA Cloud uses three moving averages to analyze price direction:
Moving Average Relationship: Three MAs of different periods are plotted. The cloud turns green when the shorter MA is above the longer MA, indicating an uptrend, and red when below, suggesting a downtrend.
Trend Visualization: This graphical representation shows the trend direction.
📉 ATR Bands:
The ATR bands calculate overbought and oversold limits using a weighted moving average (WMA) and ATR.
Center (matr): Shows general trend; prices above suggest an uptrend, while below indicate a downtrend.
Up ATR 1: Marks the first overbought level, suggesting a potential bearish reversal if the price moves above this band.
Down ATR 1: Marks the first oversold level, suggesting a possible bullish reversal if the price moves below this band.
Up ATR 2: Extends the overbought range to an extreme, reinforcing the possibility of a bearish reversal at this level.
Down ATR 2: Extends the oversold range to an extreme, indicating a stronger bullish reversal possibility if price reaches here.
Español:
El algoritmo implementa un indicador de análisis técnico que combina la nube MACD, promedios móviles (MA) y bandas de volatilidad (ATR) para proporcionar señales sobre tendencias del mercado y posibles puntos de reversión. Se divide en varias secciones:
🎨 Barras de Color:
- Activado según la entrada del usuario.
- Controla la visualización del color de las barras según el precio en relación con los niveles de ATR y el promedio móvil (MA).
- **Lógica:**
- ⚫ **Negro**: Reversión bajista potencial (precio por encima de la banda superior ATR).
- 🔵 **Azul**: Reversión alcista potencial (precio por debajo de la banda inferior ATR).
- 🟢 **Verde**: Tendencia alcista (precio entre el MA y la banda superior ATR).
- 🔴 **Rojo**: Tendencia bajista (precio entre la banda inferior ATR y el MA).
### 📊 Barras MACD:
- **Descripción**:
- La sección de barras MACD se activa por defecto y puede modificarse según la entrada del usuario.
- 🔴 **Rojo**: Indica una tendencia bajista, cuando la línea MACD está por debajo de la línea de señal (la línea de señal es una media móvil de la MACD).
- 🔵 **Azul**: Indica una tendencia alcista, cuando la línea MACD está por encima de la línea de señal.
- La coincidencia de colores entre las barras MACD y la nube MACD confirma visualmente la dirección de la tendencia.
### 🌥️ Nube MACD:
- **Lógica de la Nube MACD**: Basada en el indicador de convergencia-divergencia de medias móviles (MACD), que muestra la relación entre dos medias móviles del precio.
- **Líneas MACD y de Señal**: La nube visualiza la relación entre la línea MACD y la línea de señal. Si la línea MACD está por encima de la de señal, indica una tendencia alcista potencial; si está por debajo, sugiere una tendencia bajista.
### ☁️ Nube MA:
- **Relación entre Medias Móviles**: Se trazan tres medias móviles de diferentes períodos. La nube se vuelve verde cuando la media más corta está por encima de la más larga, indicando una tendencia alcista, y roja cuando está por debajo, sugiriendo una tendencia bajista.
- **Visualización de Tendencias**: Proporciona una representación gráfica de la dirección de la tendencia.
### 📉 Bandas ATR:
- Las bandas ATR calculan límites de sobrecompra y sobreventa usando una media ponderada y el ATR.
- **Centro (matr)**: Muestra la tendencia general; precios por encima indican tendencia alcista y debajo, bajista.
- **Up ATR 1**: Marca el primer nivel de sobrecompra, sugiriendo una reversión bajista potencial si el precio sube por encima de esta banda.
- **Down ATR 1**: Marca el primer nivel de sobreventa, sugiriendo una reversión alcista potencial si el precio baja por debajo de esta banda.
- **Up ATR 2**: Amplía el rango de sobrecompra a un nivel extremo, reforzando la posibilidad de reversión bajista.
- **Down ATR 2**: Extiende el rango de sobreventa a un nivel extremo, sugiriendo una reversión alcista más fuerte si el precio alcanza esta banda.
Nova Volume Indicator (NVI) by SplitzMagicNova Volume Indicator
The Nova Volume Indicator is an innovative trading tool designed to enhance your trading strategy by analysing volume momentum and market dynamics. This indicator empowers traders to make informed decisions by providing clear and actionable buy and sell signals based on real-time data.
How It Works:
The Nova Volume Indicator utilizes advanced algorithms to assess volume changes and price movements. Key features include:
Volume Momentum Calculation: By evaluating the relationship between price changes and volume, the indicator identifies significant momentum shifts, enabling traders to pinpoint entry and exit points with precision.
Trend Direction Filter: The indicator includes a price filter that determines the prevailing market trend based on a moving average. This ensures that trades align with the overall market direction, enhancing the probability of success.
Alert System: With customizable alert thresholds, users receive notifications when momentum crosses defined levels, keeping them informed of potential trading opportunities without the need for constant monitoring.
No Trade Signal: A black background on the histogram indicates that there are no valid trading opportunities at that moment. Use this feature to avoid entering trades during uncertain market conditions.
How to Use the Nova Volume Indicator for Entries:
Identifying the Trend: Before making any trades, check the indicator's trend direction. If the price is above the moving average, focus on bullish signals; if below, look for bearish signals.
Spotting Entries:
Buy Signal: Look for a green histogram bar indicating positive volume momentum. Enter a trade at the close of the candle when the momentum score exceeds your alert threshold and the price is above the moving average.
Sell Signal: A red histogram bar signals negative volume momentum. Enter a short position at the close of the candle when the momentum score falls below the alert threshold and the price is below the moving average.
Setting Stops and Targets: Place your stop-loss below the recent swing low for buy trades or above the recent swing high for sell trades. Aim for a minimum 1:2 risk-to-reward ratio to maximize your profitability.
Customizable Settings:
The Nova Volume Indicator offers several input settings to help you tailor the indicator to your unique trading style:
Signal Period: Adjust the period for calculating the signal line (EMA of momentum score). A shorter period reacts quickly, while a longer one smooths the signals.
Volatility Period: Control the lookback period for assessing market volatility. Shorter periods capture recent fluctuations, and longer periods provide a broader view of price behavior.
Price Filter MA Length: Set the period for the moving average used to filter trades based on price action, helping determine the trend direction.
Alert Threshold: Define the level at which the indicator signals potential buying or selling opportunities. Customize this setting to suit your trading preferences.
The Nova Volume Indicator is a powerful addition to any trader’s toolkit, designed to simplify decision-making and improve trading outcomes. Whether you're a beginner or a seasoned trader, this indicator offers the insights you need to navigate the markets confidently. Explore its customizable features to create a unique trading experience tailored to your needs. Start using the Nova Volume Indicator today and elevate your trading journey!
Any questions you may have or if you have anything to input to improve this then please leave a comment.
Trendfilter AD1
The "Trendfilter AD1" indicator is a versatile tool for trend detection that combines volume changes, price ranges, ATR (Average True Range), and moving averages. It also considers the momentum of True High/Low over a specified period (PROFF). The indicator integrates various mathematical calculations to measure market trends and volatility. Key features include the use of Powerbar colors, which indicate significant activity from large market participants.
Trendfilter LW
The Trendfilter LW section of the script calculates trend strength by comparing short-term and long-term simple moving averages (SMA) of closing prices, and by assessing cumulative price differences. The result is displayed as a histogram, with positive values indicating bullish trends and negative values indicating bearish trends. This helps traders visualize the strength and direction of long-term and short-term trends.
Trendfilter SP
The Trendfilter SP section combines volume changes, ATR data, and Z-score calculations to smooth out trend signals and provide a clearer assessment of market trends. It uses these data points to filter out noise and highlight significant trend changes. The combined Z-score, smoothed by an EMA, offers precise trend indications and helps traders identify whether the prevailing market forces are bullish or bearish.
What is it for?
The indicator helps traders identify trends and assess market volatility. By combining volume and price movements, it highlights potential trend reversals and shifts in market strength. The calculation of True High/Low (PROFF) measures market momentum over a set period, providing insights into price dynamics. The indicator also uses color-coded bars to represent different levels of market activity and trend strength, with Powerbar colors specifically highlighting major market moves driven by large traders.
How is it used?
Traders can customize the indicator through settings such as Volume Change Periods, EMA periods, and the True High/Low period (PROFF). The indicator generates signals based on significant volume and price fluctuations, with trends displayed through color-coded bars. The Trendfilter LW section calculates trend strength using SMA and cumulative price differences, while the Trendfilter SP section combines volume and ATR data with Z-score calculations to smooth out trend signals. These elements together provide a clear picture of market direction and strength.
EMA Ribbon + ADX MomentumHere's a description for your TradingView indicator publication:
The EMA Ribbon + ADX Momentum indicator combines exponential moving averages (EMA) with the Average Directional Index (ADX) to identify strong trends and potential trading opportunities. This powerful tool offers:
🎯 Key Features:
EMA Ribbon (10, 21, 34, 55) for trend direction
ADX integration for trend strength confirmation
Clear visual signals with color-coded backgrounds
Real-time trend status display
Strength metrics with exact percentage values
📊 How It Works:
EMA Ribbon: Four EMAs form a ribbon pattern that shows trend direction through their stacking order
ADX Integration: Confirms trend strength when above the threshold (default 25)
Visual Signals:
Green background: Strong bullish trend
Red background: Strong bearish trend
Gray background: Neutral or weak trend
📈 Trading Signals:
STRONG BULL: EMAs properly stacked bullish + high ADX + DI+ > DI-
STRONG BEAR: EMAs properly stacked bearish + high ADX + DI- > DI+
BULL/BEAR TREND: Shows regular trend conditions without strength confirmation
NEUTRAL: No clear trend structure
🔧 Customizable Parameters:
ADX Length: Adjust trend calculation period
ADX Threshold: Modify strength confirmation level
ADX Panel Toggle: Show/hide the ADX indicator panel
💡 Best Uses:
Trend following strategies
Entry/exit timing
Trade confirmation
Market structure analysis
Risk management tool
This indicator helps traders identify not just trend direction, but also trend strength, making it particularly useful for both position entry timing and risk management. The clear visual signals and real-time metrics make it suitable for traders of all experience levels.
Note: As with all technical indicators, best results are achieved when used in conjunction with other forms of analysis and proper risk management.
3CRGANG - TMASlope3CRGANG - TMASlope: Slope-Based Trend Insights with Multi-Timeframe Support
The 3CRGANG - TMASlope indicator is crafted to provide traders with precise trend insights by analyzing the slope of the TMA (Triangular Moving Average). This tool goes beyond traditional indicators, focusing on slope detection to help traders gauge momentum and trend direction across multiple timeframes.
Key Features of TMASlope
Multi-Timeframe Trend Alignment : TMASlope includes a table showing trend statuses for up to three selected timeframes. This helps traders check for trend consistency across timeframes, providing a clearer picture of overall momentum.
Color-Coded Histogram for Quick Reference : The histogram visually distinguishes between uptrends, downtrends, and ranging markets. This color-coded display offers an at-a-glance understanding of market conditions.
Adaptability to Different Markets : In markets where volume data may be missing, TMASlope is designed to adapt, ensuring that the indicator remains effective and reliable in any environment.
User-Centric Design and Customization
TMASlope is designed with simplicity and customization in mind. Traders can adjust threshold settings to match their specific trading style. The indicator also includes customizable color themes and visual alerts to support more intuitive decision-making.
Visual Alerts and Practical Use
The indicator’s trend status table provides “Buy Only,” “Sell Only,” or “Ranging” signals based on momentum. The histogram offers further visual guidance for when to consider entering, holding, or exiting trades.
Example of TMASlope in Action
In volatile or low-volume markets, TMASlope helps traders make sense of price movements by delivering stable, clear signals. The multi-timeframe trend table supports strategic alignment by confirming trends across timeframes, helping traders make informed choices in any market condition.
EMD Oscillator (Zeiierman)█ Overview
The Empirical Mode Decomposition (EMD) Oscillator is an advanced indicator designed to analyze market trends and cycles with high precision. It breaks down complex price data into simpler parts called Intrinsic Mode Functions (IMFs), allowing traders to see underlying patterns and trends that aren’t visible with traditional indicators. The result is a dynamic oscillator that provides insights into overbought and oversold conditions, as well as trend direction and strength. This indicator is suitable for all types of traders, from beginners to advanced, looking to gain deeper insights into market behavior.
█ How It Works
The core of this indicator is the Empirical Mode Decomposition (EMD) process, a method typically used in signal processing and advanced scientific fields. It works by breaking down price data into various “layers,” each representing different frequencies in the market’s movement. Imagine peeling layers off an onion: each layer (or IMF) reveals a different aspect of the price action.
⚪ Data Decomposition (Sifting): The indicator “sifts” through historical price data to detect natural oscillations within it. Each oscillation (or IMF) highlights a unique rhythm in price behavior, from rapid fluctuations to broader, slower trends.
⚪ Adaptive Signal Reconstruction: The EMD Oscillator allows traders to select specific IMFs for a custom signal reconstruction. This reconstructed signal provides a composite view of market behavior, showing both short-term cycles and long-term trends based on which IMFs are included.
⚪ Normalization: To make the oscillator easy to interpret, the reconstructed signal is scaled between -1 and 1. This normalization lets traders quickly spot overbought and oversold conditions, as well as trend direction, without worrying about the raw magnitude of price changes.
The indicator adapts to changing market conditions, making it effective for identifying real-time market cycles and potential turning points.
█ Key Calculations: The Math Behind the EMD Oscillator
The EMD Oscillator’s advanced nature lies in its high-level mathematical operations:
⚪ Intrinsic Mode Functions (IMFs)
IMFs are extracted from the data and act as the building blocks of this indicator. Each IMF is a unique oscillation within the price data, similar to how a band might be divided into treble, mid, and bass frequencies. In the EMD Oscillator:
Higher-Frequency IMFs: Represent short-term market “noise” and quick fluctuations.
Lower-Frequency IMFs: Capture broader market trends, showing more stable and long-term patterns.
⚪ Sifting Process: The Heart of EMD
The sifting process isolates each IMF by repeatedly separating and refining the data. Think of this as filtering water through finer and finer mesh sieves until only the clearest parts remain. Mathematically, it involves:
Extrema Detection: Finding all peaks and troughs (local maxima and minima) in the data.
Envelope Calculation: Smoothing these peaks and troughs into upper and lower envelopes using cubic spline interpolation (a method for creating smooth curves between data points).
Mean Removal: Calculating the average between these envelopes and subtracting it from the data to isolate one IMF. This process repeats until the IMF criteria are met, resulting in a clean oscillation without trend influences.
⚪ Spline Interpolation
The cubic spline interpolation is an advanced mathematical technique that allows smooth curves between points, which is essential for creating the upper and lower envelopes around each IMF. This interpolation solves a tridiagonal matrix (a specialized mathematical problem) to ensure that the envelopes align smoothly with the data’s natural oscillations.
To give a relatable example: imagine drawing a smooth line that passes through each peak and trough of a mountain range on a map. Spline interpolation ensures that line is as smooth and close to reality as possible. Achieving this in Pine Script is technically demanding and demonstrates a high level of mathematical coding.
⚪ Amplitude Normalization
To make the oscillator more readable, the final signal is scaled by its maximum amplitude. This amplitude normalization brings the oscillator into a range of -1 to 1, creating consistent signals regardless of price level or volatility.
█ Comparison with Other Signal Processing Methods
Unlike standard technical indicators that often rely on fixed parameters or pre-defined mathematical functions, the EMD adapts to the data itself, capturing natural cycles and irregularities in real-time. For example, if the market becomes more volatile, EMD adjusts automatically to reflect this without requiring parameter changes from the trader. In this way, it behaves more like a “smart” indicator, intuitively adapting to the market, unlike most traditional methods. EMD’s adaptive approach is akin to AI’s ability to learn from data, making it both resilient and robust in non-linear markets. This makes it a great alternative to methods that struggle in volatile environments, such as fixed-parameter oscillators or moving averages.
█ How to Use
Identify Market Cycles and Trends: Use the EMD Oscillator to spot market cycles that represent phases of buying or selling pressure. The smoothed version of the oscillator can help highlight broader trends, while the main oscillator reveals immediate cycles.
Spot Overbought and Oversold Levels: When the oscillator approaches +1 or -1, it may indicate that the market is overbought or oversold, signaling potential entry or exit points.
Confirm Divergences: If the price movement diverges from the oscillator's direction, it may indicate a potential reversal. For example, if prices make higher highs while the oscillator makes lower highs, it could be a sign of weakening trend strength.
█ Settings
Window Length (N): Defines the number of historical bars used for EMD analysis. A larger window captures more data but may slow down performance.
Number of IMFs (M): Sets how many IMFs to extract. Higher values allow for a more detailed decomposition, isolating smaller cycles within the data.
Amplitude Window (L): Controls the length of the window used for amplitude calculation, affecting the smoothness of the normalized oscillator.
Extraction Range (IMF Start and End): Allows you to select which IMFs to include in the reconstructed signal. Starting with lower IMFs captures faster cycles, while ending with higher IMFs includes slower, trend-based components.
Sifting Stopping Criterion (S-number): Sets how precisely each IMF should be refined. Higher values yield more accurate IMFs but take longer to compute.
Max Sifting Iterations (num_siftings): Limits the number of sifting iterations for each IMF extraction, balancing between performance and accuracy.
Source: The price data used for the analysis, such as close or open prices. This determines which price movements are decomposed by the indicator.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Volume-Adjusted Schaff Trend Cycle (VASTC)Volume-Adjusted Schaff Trend Cycle (VASTC)
The VASTC is a fairly fast-moving oscillator designed to identify trends early and signal when trends may be nearing their end. While it can be used for both trend-following and mean-reversion strategies , it shines in trend-following setups. It’s particularly useful for catching the start of a trend and giving early warnings that a trend might end soon, making it a valuable addition to a multi-indicator system.
How It Works:
The VASTC adapts the traditional Schaff Trend Cycle by adjusting the MACD component with volume data. This volume-adjusted MACD is run through two stochastic processes , applying exponential smoothing to enhance responsiveness. Volume sensitivity allows the VASTC to adapt dynamically to periods of high or low trading activity, providing more reliable trend signals.
Recommended Use:
Use VASTC in confluence with other indicators to confirm trend entries and exits. It’s best for identifying early trend setups rather than sustaining prolonged trend trades. When used alongside other indicators, especially those with a longer-term outlook or momentum based trend indicators, you’ll gain a clearer signal for potential exits or entries. Always backtest the VASTC on your chosen assets to determine the most effective input parameters, as the defaults may not suit all markets or assets. Different assets behave differently, and adjustments in parameters can improve its ability to analyze the assets you're looking at.
Parameters:
Length : Sets the primary smoothing length.
Fast/Slow Length : Adjust the speed of the volume-adjusted MACD component.
Factor : Controls the final smoothing applied to the STC.
Overbought/Oversold Levels : Defines overbought/oversold levels.
Experiment with these settings to customize the VASTC to your trading strategy and asset.
Disclaimer : This indicator is a tool to complement your trading analysis and should not be used in isolation. Always backtest and use other confluence signals for best results. The assets I looked at when making this indicator are almost certainly different than what you're looking at.
Dynamic Volume-Based Buy/Sell IndicatorThis script provides a powerful volume-based indicator that visualizes buy and sell volumes, issues alerts for volume spikes, and adjusts color intensity dynamically based on volume size. It includes customizable settings for volume averaging and thresholds, making it adaptable to various trading strategies.
Divergence for Many Indicators v4 Screener▋ INTRODUCTION:
The “Divergence for Many Indicators v4 Screener” is developed to provide an advanced monitoring solution for up to 24 symbols simultaneously. It efficiently collects signals from multiple symbols based on the “ Divergence for Many Indicators v4 ” and presents the output in an organized table. The table includes essential details starting with the symbol name, signal price, corresponding divergence indicator, and signal time.
_______________________
▋ CREDIT:
The divergence formula adapted from the “ Divergence for Many Indicators v4 ” script, originally created by @LonesomeTheBlue . Full credit to his work.
_______________________
▋ OVERVIEW:
The chart image can be considered an example of a recorded divergence signal that occurred in $BTCUSDT.
_______________________
▋ APPEARANCE:
The table can be displayed in three formats:
1. Full indicator name.
2. First letter of the indicator name.
3. Total number of divergences.
_______________________
▋ SIGNAL CONFIRMATION:
The table distinguishes signal confirmation by using three different colors:
1. Not-Confirmed (Orange): The signal is not confirmed yet, as the bar is still open.
2. Freshly Confirmed (Green): The signal was confirmed 1 or 2 bars ago.
3. Confirmed (Gray): The signal was confirmed 3 or more bars ago.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Table Settings
(1) Table location on the chart.
(2) Table’s cells size.
(3) Chart’s timezone.
(4) Sorting table.
- Signal: Sorts the table by the latest signals.
- None: Sorts the table based on the input order.
(5) Table’s colors.
(6) Signal Confirmation type color. Explained above in the SIGNAL CONFIRMATION section
Section(2): Divergence for Many Indicators v4 Settings
As seen on the Divergence for Many Indicators v4
* Explained above in the APPEARANCE section
Section(3): Symbols
(1) Enable/disable symbol in the screener.
(2) Entering a symbol.
_______________________
▋ FINAL COMMENTS:
For best performance, add the Screener indicator to an active symbol chart, such as QQQ, SPY, AAPL, BTCUSDT, ES, EURUSD, etc., and avoid mixing symbols from different market allocations.
The Divergence for Many Indicators v4 Screener indicator is not a primary tool for making trading decisions.
Momentum Flow OscillatorIndicator Overview: Momentum Flow Oscillator (MFO)
The Momentum Flow Oscillator (MFO) is a powerful tool for detecting shifts in market momentum. It combines a momentum-based calculation with a dynamic ribbon of moving averages to help traders identify trend reversals, continuations, and market consolidations. The MFO offers a clear visual representation of market conditions and assists traders in making informed decisions based on the relationship between momentum and its underlying trends.
The MFO line (green) is plotted alongside a Base Line (black) and a series of moving averages (ribbon). The ribbon is composed of five moving averages of different lengths, which allow traders to spot trends, momentum shifts, and potential trade opportunities. It is important to note that the ribbon tends to be a slower-moving component of the indicator, providing long-term trend signals rather than quick, reactive signals.
Components of the Indicator:
Momentum Flow Index (MFI):
This green line is the core of the indicator, representing market momentum derived from price and volume action. It reacts to changes in market dynamics and helps identify periods of strength and weakness.
Base Line (Black Line):
The black line is a 200-period moving average of the momentum flow. This acts as a dynamic support/resistance level for the MFI, smoothing out the price action over a longer period and providing a clearer trend signal.
Moving Averages Ribbon:
The ribbon is composed of five moving averages with different periods (100, 125, 150, 175, and 200). These moving averages create a visual "ribbon" that helps identify trends and consolidations, allowing traders to visualize the market’s momentum over different time frames.
The ribbon acts as a slower-moving indicator, helping to confirm long-term trends. Traders should keep in mind that the ribbon provides signals with a lag, making it ideal for trend-following rather than quick, short-term trades.
How to Use the Momentum Flow Oscillator (MFO):
1. Bullish Momentum Signals:
When the MFI (green line) crosses above the Base Line and the SMA ribbon, it indicates increasing momentum in the market. This signal is particularly strong when the MFI stays above the ribbon for an extended period.
Trade Example: Traders can use this as a buy signal when the MFI crosses above the ribbon, indicating that momentum is shifting to the upside. If the ribbon starts fanning out, it suggests the market is trending strongly upward, which may support a long position.
2. Bearish Momentum Signals:
When the MFI crosses below the Base Line and the SMA ribbon, it signals decreasing momentum. This is a bearish sign, indicating that the market may be preparing for a downturn.
Trade Example: A trader can use the cross below the ribbon as a sell signal or consider entering a short position when momentum weakens. If the ribbon fans out in a downward direction, it suggests the market is trending lower, and a short position may be warranted.
3. Neutral or Caution Signals:
When the MFI fluctuates within the SMA ribbon or crosses in and out frequently, the market may be in a consolidation phase or range-bound. In this situation, the trend is uncertain, and momentum is not strong enough to break decisively in either direction.
Trade Example: Traders may want to avoid taking new positions when the MFI is moving sideways within the ribbon, as this indicates indecision in the market. Waiting for a breakout above or below the ribbon can provide clearer signals for trading.
4. Trend Confirmation with Ribbon Expansion:
When the SMA ribbon expands, it indicates strong momentum in the direction of the trend. A clear widening of the ribbon with the MFI above (bullish) or below (bearish) signals a strong, sustainable trend.
Trade Example: As the ribbon expands, it confirms the strength of the trend, and traders can use this as confirmation to either hold an existing position or add to it.
5. Reversal Signals from Ribbon Contraction:
When the SMA ribbon contracts or the MFI crosses back and forth over the Base Line, it signals a potential reversal or a weakening of the existing trend.
Trade Example: In these cases, traders might consider closing positions or preparing for a reversal, as the contraction often signals a potential breakout in the opposite direction.
Example of Using the MFO in Trading:
In the provided chart image, you can see the MFI moving below the Base Line and the SMA ribbon for an extended period. This indicates bearish momentum, and traders could use this signal to enter a short position or avoid long positions until the MFI shows signs of crossing back above the ribbon. When the MFI crosses above the ribbon, it can signal a potential bullish reversal, indicating it might be time to re-enter long positions or close short positions.
Additional Trading Tips:
Combine with Other Indicators: The MFO can be used in combination with other technical tools such as volume-based indicators, trendlines, or oscillators like RSI or MACD to confirm signals and increase accuracy.
Use Different Time Frames: Traders can apply the MFO on different time frames (e.g., daily, weekly) to capture both short-term and long-term trends. Crossovers in longer time frames provide stronger confirmation of trend direction.
Conservative Entry: For more conservative traders, waiting for the MFI to fully cross above or below the ribbon (rather than within it) can help filter out false signals and avoid entering trades during consolidation phases.
Conclusion:
The Momentum Flow Oscillator offers traders a versatile and visual approach to gauging market momentum and trend strength. By observing the interaction between the MFI and the SMA ribbon, traders can spot trend changes early, confirm existing trends, and stay out of choppy, sideways markets. Keep in mind that the ribbon is a slower-moving part of the indicator—perfect for trend-following strategies but less ideal for fast, reactive trades. Use this indicator to increase your confidence in your trading decisions and improve your ability to capture trends in the market.
3CRGANG - HISTOGRAMThe 3CRGANG - HISTOGRAM is a breakthrough tool, developed to consolidate multiple oscillators, including their Fibonacci-modified versions, into a single, streamlined indicator. This isn’t just a combination of tools—i t’s a carefully engineered solution built to address the nuanced challenges traders face, such as market noise, varying data availability, and trend alignment across multiple timeframes.
Behind the scenes, significant debugging ensures it performs flawlessly even in situations where volume data isn’t provided by brokers. With automatic adjustments that adapt to different conditions, the indicator allows traders to remain focused on decision-making. Every enhancement, from signal optimization to noise reduction, reflects careful design choices to provide practical, actionable insights.
This tool is designed to give traders clarity, speed, and an edge, enabling them to focus on the markets without worrying about technical details.
How It’s Different from Basic Indicators
Rather than simply mashing up popular indicators like MACD, RSI, and more , —it’s a strategic tool designed to detect key momentum shifts, divergences, and trends in real time.
This script combines Fibonacci-modified oscillators and classic indicators in a unique way, providing multi-dimensional insights to enhance your trading decisions.
Reduce market noise: Fast and slow averages are used to generate histograms that filter out false signals.
Optimize alerts: Fibonacci-based calculations fine-tune oscillators to detect trends at key turning points.
Multi-timeframe momentum: This allows for tracking higher timeframe momentum while making decisions on lower timeframes—a powerful feature for trend alignment.
Key Features and Unique Value
Oscillator Flexibility: Choose from multiple oscillators to fit your strategy, including both momentum-based and volatility-based approaches.
Fibonacci Enhancements: These versions increase precision, providing greater confidence in signals at critical levels.
MTF Compatibility: Analyze higher timeframe momentum on shorter charts to maintain alignment with the broader trend.
Custom Alerts: Color-coded histograms and moving averages provide visual cues to keep your trades in sync with momentum changes.
How It Works
The indicator plots fast and slow averages for the selected oscillator, and the difference between these averages forms the histogram. Custom color coding shows whether momentum is increasing or weakening. The proprietary modification factor adjusts the signal sensitivity, allowing traders to fine-tune the indicator for their strategy.
Visual Alerts:
Green Bars: Indicate bullish momentum.
Red Bars: Suggest bearish momentum.
Buy Only / Sell Only Zones: Alert traders when the indicator suggests favoring either long or short trades.
This indicator minimizes false signals by blending momentum oscillators with volume-weighted filters and smooth moving averages, ensuring better signal quality.
Use Case: Like a Traffic Light for Your Trades
Green means Go: Enter or hold long positions during green bars, signaling upward momentum.
Red means Stop (or Go Short): Exit long positions or enter short trades when red bars appear, indicating bearish momentum.
The Buy Only and Sell Only alerts help traders stay aligned with dominant trends and avoid counter-trend trades in high-momentum phases.
Real-World Examples :
Divergences (BTCUSD):
When the price action ranges, wedges, or behaves unusually, the histogram—being highly sensitive — alerts traders ahead of potential reversals or continuation moves.
This gives traders more time to assess market conditions and prepare their strategy before momentum shifts.
Multi-Timeframe Momentum (ADAUSD):
Momentum from a higher timeframe aligns with the trend on a lower timeframe, helping traders time their entries accurately.
The Priceless Edge for Traders
The 3CRGANG offers more than just another way to analyze markets—it provides a priceless edge by streamlining multiple indicators into a single tool. With the flexibility to switch between oscillators, multi-timeframe momentum tracking, and proprietary enhancements, it’s designed to help traders stay ahead in both trending and volatile markets.
Disclaimer
This indicator is a trading tool designed to provide insights into market trends, but it does not guarantee results. Trading involves risk, and past performance does not predict future outcomes. Use it alongside proper risk management practices.