Dual EMA Proportion Variance | JeffreyTimmermansDual EMA Proportion Variance
The "Dual EMA Proportion Variance" Indicator provides a robust way to analyze price trends, volatility, and momentum using dual EMA calculations combined with percentile-based thresholds. This approach enables traders to identify significant bullish and bearish trends while incorporating smoothing and tailoring options for better adaptability.
Key Features
Dual EMA with Proportion Variance
DEMA Calculation: Computes the Dual Exponential Moving Average (DEMA) based on a user-defined length and source.
Proportion Thresholds: Uses percentile-based thresholds (e.g., 60/45, 60/40, 55/45, or 55/40) to determine upper and lower bounds for trend detection. Percentile thresholds help identify key levels of market behavior based on historical data.
Momentum and Volatility Analysis
Momentum Calculation: Computes momentum based on proximity to percentile levels, smoothed using a simple moving average (SMA) if enabled.
Volatility Incorporation: Uses the standard deviation (SD) of the lower percentile (PerDown) to define additional levels of significance.
Smoothing and Trend Calculation
Smoothing Options: Enables optional smoothing for momentum and trend values, helping reduce noise.
EMA Confluence: Adds an additional EMA overlay to enhance the trend confirmation process.
Customizable Visuals
Background Coloring: Dynamically changes the background color based on trend direction (bullish or bearish).
Momentum Plotting: Displays smoothed momentum and EMA confluence lines on the chart, with clear visual differentiation.
Alerts
Bullish Signal: Triggers when the trend transitions from neutral or bearish to bullish.
Bearish Signal: Triggers when the trend transitions from neutral or bullish to bearish.
Inputs Overview
DEMA Inputs
Length (DemaLen): Defines the length of the Dual EMA calculation.
Source (DemaSrc): Allows selection of price data (e.g., high, low, close) for the DEMA computation.
Proportion Settings
Proportion Length (PerLen): Defines the lookback period for percentile calculations.
Proportion Type (pertype): Choose from predefined combinations (e.g., 60/45, 60/40) to customize thresholds.
Smoothing Options
Enable Smoothing (UseSmoothing): Toggle to enable or disable smoothing.
Smoothing Length (SmoothingLen): Specifies the lookback period for smoothing.
Standard Deviation
Length (SDlen): Length of the lookback period used to calculate the standard deviation.
Tailoring
Bullish/Bearish Colors (ColUp/ColDown): Customizable colors for bullish and bearish trends.
Background Colors (ShowBGCol): Toggle to enable or disable background coloring.
Momentum Plot (PlotMomentum): Toggle to show or hide the momentum plot.
EMA Confluence
Enable Extra EMA (IncludeEma): Adds an additional EMA layer for trend confirmation.
Length (EmaLen): Defines the length of the EMA.
Indicator Behavior
Trend Detection
Bullish Trend: When the smoothed momentum (smoothedPT) is above zero and higher than the EMA (if enabled).
Bearish Trend: When the smoothed momentum is below zero and lower than the EMA (if enabled).
Signal Generation
Bullish Signal: Triggered on a crossover of smoothedTrend from negative to positive.
Bearish Signal: Triggered on a crossunder of smoothedTrend from positive to negative.
Customizations
Percentile Adjustments: Choose from various proportion thresholds to suit specific market conditions.
Smoothing Options: Fine-tune the level of noise reduction by adjusting smoothing parameters.
Visual Tailoring: Customize chart visuals, including colors, momentum plots, and background highlights.
EMA Inclusion: Optionally enable the extra EMA for more conservative trend confirmation.
Use Cases
Momentum Trading: Identify bullish or bearish momentum shifts based on percentile levels.
Volatility Assessment: Incorporate standard deviation levels to evaluate price volatility.
Trend Following: Align trades with dominant market trends using percentile thresholds and EMA confirmation.
Alerts for Automation: Set alerts for real-time notifications of potential trade opportunities.
This indicator provides flexibility and precision, making it suitable for a variety of trading styles, including trend following, swing trading, and momentum-based strategies.
This script is inspired by "Patito_1" . However, it is more advanced and includes additional features and options.
-Jeffrey
Trends
Dual EMA Volatility Barrier | JeffreyTimmermansDual EMA Volatility Barrier
The "Dual EMA Volatility Barrier" indicator combines the power of the Double Exponential Moving Average (DEMA) with volatility-based stops to provide a robust trend-following system. This indicator helps traders identify and confirm trends, offering a way to filter out noise using volatility measures like the Average True Range (ATR) and a higher timeframe filter for additional trend validation.
Key Features
Dual Exponential Moving Average (DEMA):
DEMA Calculation: A more responsive moving average that reduces lag compared to standard EMAs. This helps detect trend changes faster.
Source Customization: Allows traders to choose the source (default is close), which can help adapt the strategy for different market conditions.
Volatility Barrier (Vstop):
Volatility-Based Stops: The Vstop is calculated using the Average True Range (ATR) multiplied by a user-defined factor. This forms a dynamic stop level that adjusts based on market volatility.
Trend Direction: The Vstop adapts to whether the market is in an uptrend or downtrend, providing a stop-loss level that moves accordingly.
Higher Timeframe Trend Filter:
Higher Timeframe DEMA: The higher timeframe filter uses a DEMA from a larger timeframe to confirm the trend direction. Only consider bullish signals if the price is above the higher timeframe DEMA.
Customizable Higher Timeframe: Traders can select any timeframe (e.g., D for daily) to check the trend from a higher perspective.
Signal Generation:
Bullish Signal: Triggered when the trend is up, and the price is above the higher timeframe DEMA, with a corresponding Vstop change indicating an upward trend.
Bearish Signal: Triggered when the trend is down and the price is below the higher timeframe DEMA, with a corresponding Vstop change indicating a downward trend.
Trend Reversals: Identifies key trend reversals by showing the transition between uptrend and downtrend states.
Plotting and Visuals:
DEMA and Vstop Plot: The indicator plots both the DEMA and the Vstop on the chart, providing a visual guide for trend and volatility.
Background Color Fill: The area between the DEMA and Vstop is filled with a color (green for bullish, red for bearish) to provide a clear visual representation of the trend.
Signal Labels: Plot arrows and labels ("Bullish" and "Bearish") directly on the chart to highlight trend changes.
Dashboard:
Ticker & Timeframe Display: The dashboard in the bottom-right corner shows the current symbol (ticker) and timeframe, along with the current trend (Bullish or Bearish).
Real-Time Updates: The dashboard updates in real time, providing traders with quick insights into the current market conditions.
Alerts:
Bullish Alert: Activated when the trend is bullish and confirmed by the higher timeframe DEMA.
Bearish Alert: Activated when the trend is bearish and confirmed by the higher timeframe DEMA.
Customizable Messages: Alerts provide details about the ticker and trend conditions for easy action.
Improvements:
Higher Timeframe Filtering: The higher timeframe DEMA filter ensures that traders align their trades with the broader market trend, improving the overall accuracy of signals.
Volatility-Based Stops: The ATR-based volatility stops allow for adaptive risk management that responds to changing market conditions.
Dynamic Signal Detection: The bullish and bearish signals change in real time, providing actionable insights for traders.
Visual and Dashboard Updates: The chart visually reflects the trend and volatility dynamics, while the dashboard provides summary information at a glance.
Customizable Alerts: Alerts based on trend changes make it easy to stay informed without constantly monitoring the chart.
Use Cases:
Trend Following: Ideal for identifying and following strong trends by combining short-term and long-term trend indicators.
Volatility-Based Risk Management: Use the Vstop to manage trade exits, as it adjusts to market volatility.
Higher Timeframe Confirmation: Use the higher timeframe DEMA to ensure that the trade aligns with the overall market trend.
Alerts for Real-Time Action: Set alerts to notify when the market signals a shift, whether bullish or bearish.
The Dual EMA Volatility Barrier is a powerful tool for traders seeking to combine trend-following with volatility management. The integration of DEMA, ATR, and a higher timeframe filter allows for a more nuanced understanding of market conditions, ensuring traders can make informed decisions with minimal lag.
This script is inspired by "viResearch" . However, it is more advanced and includes additional features and options.
-Jeffrey
RSI Team Synergy | JeffreyTimmermansRSI Team Synergy
The "RSI Team Synergy" indicator is an advanced and highly customizable tool that integrates a Double RSI (DRSI) approach for comprehensive trend and momentum analysis. It utilizes two layers of RSI calculations, along with optional smoothing and various moving average types, to enhance signal accuracy. The dynamic visuals and alerts make this indicator a valuable resource for traders aiming to optimize their strategies.
Key Features
Double RSI (DRSI) Calculation
First RSI (Primary Layer): Captures the core price momentum using a configurable period.
Second RSI (DRSI Layer): Applies a second RSI calculation to the smoothed first RSI, refining signals and amplifying trend accuracy.
Double RSI Formula: Combines the smoothed RSI layers into a single robust indicator that adapts to market conditions.
Smoothing and Advanced Moving Averages
Optional Smoothing: Enables users to reduce noise by applying smoothing to both RSI layers.
Advanced MA Options: Supports multiple MA types, including SMA, EMA, WMA, RMA, DEMA, TEMA, VWMA, ZLEMA, and HMA. These can be applied to tailor the indicator to specific trading conditions.
Separate Configurations: Independent smoothing lengths and types for each RSI layer provide unparalleled customization.
Threshold and Signal System
Long Threshold: Highlights bullish conditions when the Double RSI exceeds the threshold.
Short Threshold: Signals bearish conditions when the Double RSI falls below the threshold.
Directional State: Tracks the overall direction using a state-based signal system (bullish, bearish, or neutral).
Dynamic Visualization
Oscillator Color Coding: Green shades for bullish momentum. Red shades for bearish momentum. Dynamic gradients for smoother transitions.
Glow Effect: Optional glowing lines enhance the visual clarity of the oscillator.
Threshold Lines: Configurable dashed horizontal lines to mark critical levels for easy reference.
Bar Color Integration
Bar Coloring: Matches bar colors to the oscillator's direction for cohesive visualization.
Advanced Control: Toggle bar coloring on/off without affecting other plots.
Alerts
Bullish Signal Alert: Triggers when the Double RSI crosses above the long threshold.
Bearish Signal Alert: Triggers when the Double RSI crosses below the short threshold.
Custom Messages: Alerts are equipped with descriptive messages for actionable insights.
Signal Arrows
Bullish Arrow (↑): Marks upward trends directly on the chart.
Bearish Arrow (↓): Highlights downward trends, ensuring traders never miss an opportunity.
Improvements
Customizable Thresholds: Adjustable long and short thresholds allow traders to fine-tune sensitivity.
Enhanced Smoothing Control: Separate smoothing options for each RSI layer provide flexibility in noise reduction.
Multiple MA Types: Extensive support for advanced moving averages to suit diverse trading preferences.
Color-Coded Oscillator: Improves trend visibility with gradient-based coloring and optional glow effects.
Signal Detection: Clear and intuitive arrows directly on the chart for quick signal interpretation.
Alerts and Notifications: Comprehensive alert conditions keep traders informed in real-time.
Use Cases
Momentum Analysis: Identify sustained bullish or bearish trends using the Double RSI calculation.
Noise Reduction: Utilize smoothing and advanced MA options to remove market noise.
Reversal Detection: Spot potential trend reversals with threshold-based signals.
Customizable Strategies: Tailor the indicator for scalping, swing trading, or long-term analysis.
The RSI Team Synergy indicator combines precision, flexibility, and intuitive design, making it an essential tool for traders at all levels. With its innovative Double RSI approach and advanced customization options, it provides actionable insights for mastering market trends.
This script is inspired by "Clokivez" . However, it is more advanced and includes additional features and options.
-Jeffrey
General Ehlers Oscillator | JeffreyTimmermansGeneral Ehlers Oscillator
The "General Ehlers Oscillator" is a powerful, technical indicator designed to provide traders with precise insights into market trends, reversals, and momentum. Built upon Dr. John Ehlers' innovative methodologies, this tool leverages advanced signal processing techniques to deliver near-zero lag with exceptional sensitivity to trend changes. Contact us via direct message to request access to this exclusive indicator.
Designed for multi-timeframe usability, the oscillator operates seamlessly across all intervals, from 1-second candles to monthly charts. Its outputs are normalized within a consistent range of -3.0 to +3.0, ensuring clarity and uniformity in identifying overbought, oversold, and midline conditions. With enhancements and added functionality, the General Ehlers Oscillator is a comprehensive tool for traders seeking to refine their analysis and improve trade timing.
This script is inspired by the Wizard: "ImmortalFreedom" . However, it is more advanced and includes additional features and options.
Core Methodology
The General Ehlers Oscillator employs cutting-edge techniques to enhance trend-following and reversal detection:
TrendFlex Calculation: Retains trend information while being highly responsive to reversals.
Zero-Lag Averaging: Near-zero lag processing ensures that signals are timely and reliable.
Bounded Output: Oscillator values are normalized between -3.0 and +3.0, allowing consistent interpretation across all timeframes.
Key Features
The General Ehlers Oscillator combines advanced calculations with user-friendly customization options to meet the needs of diverse trading strategies.
Adjustable Thresholds
Additional threshold levels have been introduced, offering more granular insights into overbought and oversold conditions.
Enhanced Threshold Coloring
Improved visual cues allow traders to quickly interpret the oscillator's position relative to key thresholds, making it easier to identify significant market conditions.
Dynamic Alerts
Real-time alerts provide notifications for critical events, such as midline crosses, extreme values, and reversal points, ensuring you never miss an important signal.
Dashboard Integration
The oscillator now features an integrated dashboard that displays key information at a glance. Traders can monitor critical metrics and oscillator conditions across multiple timeframes, ensuring comprehensive situational awareness.
Dynamic Label for TrendFlex
A dynamic label overlays the chart, providing immediate feedback on the oscillator’s TrendFlex readings and reinforcing its usability as a trend-confirmation and reversal tool.
Practical Applications
The General Ehlers Oscillator supports a variety of trading strategies, including:
Trend Confirmation: Use midline crossings and the slope of the oscillator to confirm ongoing trends.
Reversal Detection: Identify key turning points in the market with high sensitivity to reversals.
Mean-Reversion Strategies: Spot overbought and oversold conditions using oscillator extremes, signaling potential reversion opportunities.
Enhanced Utility
Reversal Sensitivity
The oscillator’s ability to detect reversals is enhanced by additional threshold levels and dynamic visual cues, helping traders act decisively at critical turning points.
Multi-Timeframe Consistency
With a bounded range of -3.0 to +3.0, the oscillator maintains consistent behavior across all timeframes, offering reliable insights for both intraday and long-term analysis.
Comprehensive Alerts
Set custom alerts for threshold breaches, midline crossings, and reversal signals to stay ahead of market movements.
Visual Enhancements
Improved threshold coloring and dynamic labels make interpreting market conditions faster and more intuitive, reducing analysis time and decision-making delays.
Recent Updates
The General Ehlers Oscillator has been significantly improved with the following updates:
Additional Thresholds: More thresholds have been added, providing detailed insights into varying levels of market conditions.
Enhanced Threshold Coloring: Thresholds are now color-coded with improved clarity, making it easier to identify critical zones.
Dynamic Alerts: Real-time alerts for trading, reversal points, and threshold breaches ensure timely notifications of key events.
Integrated Dashboard: The new dashboard consolidates critical information, offering a clear overview of oscillator behavior across timeframes.
Dynamic TrendFlex Label: A dynamic label overlays the chart, displaying real-time TrendFlex values and reinforcing the oscillator’s analytical capabilities.
Why Use the General Ehlers Oscillator?
The General Ehlers Oscillator combines advanced methodologies with enhanced usability, making it an indispensable tool for traders.
Advanced Signal Processing: Built on Dr. John Ehlers’ innovative techniques.
Bounded Range: Consistent performance with a normalized range of -3.0 to +3.0.
Enhanced Alerts: Stay on top of critical market events with dynamic alerts.
Visual Improvements: Clear, intuitive visuals ensure faster interpretation and decision-making.
Customizable Features: Tailor the oscillator’s behavior to suit your trading style and market conditions.
Whether you’re focused on trend-following, mean-reversion, or volatility analysis, the General Ehlers Oscillator provides the tools and insights you need to navigate complex market conditions with confidence. However, the General Ehlers Oscillator works best in trend-following regimes.
-Jeffrey
Improved Target Oscillator | JeffreyTimmermansImproved Target Oscillator
The Improved Target Oscillator is a versatile technical indicator that identifies trends, reversals, and market momentum. Designed to work effectively across various markets, this oscillator excels at capturing longer-term market trends, making it ideal for traders focused on sustained price movements. By using advanced mathematical techniques and dynamic visualization, the oscillator provides actionable insights, helping traders navigate complex market environments with confidence.
Key features include:
A dynamic oscillator line to reflect market momentum and reversals.
Clear gradient-based coloring to distinguish between bullish and bearish conditions.
Signal highlights for potential entry and exit points based on trend shifts.
This tool is particularly useful for identifying extended trends and provides a clean, intuitive interface for assessing market dynamics.
Improvements in the Improved Target Oscillator
Smoothing Feature:
Added an optional smoothing toggle, allowing the use of SMA or EMA for reducing noise.
Provides flexibility through adjustable smoothing length, enhancing clarity in choppy markets.
Alerts for Trade Opportunities:
Built-in alert conditions for bullish and bearish signals.
Allows traders to receive notifications when critical trend changes occur, ensuring they never miss an opportunity.
Customizable to integrate seamlessly into trading workflows.
Enhanced Visualization:
Introduced dynamic gradients for bullish and bearish conditions with improved customization options.
Provides clearer differentiation of momentum changes, improving interpretability.
Signal Highlights:
Improved visual cues for bullish and bearish signals with precise dot indicators.
Offers better alignment with oscillator momentum shifts, ensuring actionable insights.
Adaptability:
Tuned for use in capturing longer-term market trends, emphasizing its effectiveness in identifying sustained movements.
Adjusted oscillator sensitivity with a levels multiplier for better scalability across various market conditions.
Level Markers:
Clearer delineation of key oscillator levels, including half and full normalized levels for improved context.
A neutral line explicitly plotted for easier trend and momentum identification.
Summary
The Improved Target Oscillator combines a sophisticated mathematical foundation with practical visualization enhancements to deliver a more intuitive and precise tool for market analysis. With added flexibility, improved signals, and tailored features for longer-term trends, this oscillator is an essential resource for traders looking to refine their strategies.
-Jeffrey
WMA Killer Ratio Analysis | JeffreyTimmermansWMA Killer Ratio Analysis
The WMA Killer Ratio Analysis is a highly responsive trend-following indicator designed to deliver quick and actionable insights on the ETHBTC ratio. By utilizing advanced smoothing methods and normalized thresholds, this tool efficiently identifies market trends. Let’s dive into the details:
Core Mechanics
1. Smoothing with Standard Deviations
The WMA Killer Ratio Analysis begins by smoothing source price data using standard deviations, which measure the typical variance in price movements. This creates dynamic deviation levels:
Upper Deviation: Marks the high boundary, indicating potential overbought conditions.
Lower Deviation: Marks the low boundary, signaling potential oversold conditions.
These levels are integrated with the Weighted Moving Average (WMA), filtering out market noise and honing in on significant price shifts.
2. Weighted WMA Bands
The WMA is further refined with dynamic weighting:
Upper Weight: Expands the WMA, creating an Upper Band to capture extreme price highs.
Lower Weight: Compresses the WMA, forming a Lower Band to reflect price lows.
This adaptive dual-weighting system highlights potential areas for trend reversals or continuations with precision.
3. Normalized WMA (NWMA) Analysis
The Normalized WMA adds a deeper layer of trend evaluation: It calculates the percentage change between the source price and its smoothed average. Positive NWMA values suggest overbought conditions, while negative NWMA values point to oversold conditions.
Traders can customize long (buy) and short (sell) thresholds to align signal sensitivity with their strategy and market conditions.
Signal Logic
Buy (Long) Signals: Triggered when the price remains above the lower deviation level and the NWMA crosses above the long threshold. Indicates a bullish trend and potential upward momentum.
Sell (Short) Signals: Triggered when the price dips below the upper deviation level and the NWMA falls beneath the short threshold. Suggests bearish momentum and a potential downward trend.
Note: The WMA Killer Ratio Analysis is most effective when paired with other forms of analysis, such as volume, higher time-frame trends, or fundamental data.
Visual Enhancements
The WMA Killer Ratio Analysis emphasizes usability with clear and dynamic plotting features:
1. Color-Coded Trend Indicators: The indicator changes color dynamically to represent trend direction. Users can customize colors to suit specific trading pairs (e.g., ETHBTC, SOLBTC).
2. Threshold Markers: Dashed horizontal lines represent long and short thresholds, giving traders a visual reference for signal levels.
3. Deviation Bands with Fill Areas: Upper and Lower Bands are plotted around the WMA. Shaded regions highlight deviation zones, making trend boundaries easier to spot.
4. Signal Arrows and Bar Coloring: Arrows or triangles appear on the chart to mark potential buy (upward) or sell (downward) points. Candlesticks are color-coded based on the prevailing trend, allowing traders to interpret the market direction at a glance.
Customization Options
Adjustable Thresholds: Tailor the sensitivity of long and short signals to your strategy.
Dynamic Weighting: Modify upper and lower band weights to adapt the WMA to varying market conditions.
Source Selection: Choose the preferred input for price data smoothing, such as closing price or an average (hl2).
The WMA Killer Ratio Analysis combines rigorous mathematical analysis with intuitive visual features, providing traders with a reliable way to identify trends and make data-driven decisions. While it excels at detecting key market shifts, its effectiveness increases when integrated into a broader trading strategy.
-Jeffrey
Day Pattern IndicatorDay Pattern Indicator
The Day Pattern Indicator is designed to help traders analyze daily trends and patterns in their selected markets. This tool highlights specific days of the week on the chart with unique, semi-transparent colored bars. Each day is customizable, allowing users to toggle the visibility of Monday through Sunday to focus on days most relevant to their trading strategy. Ideal for identifying potential patterns in cryptocurrency, forex, or stock markets, the indicator is perfect for traders seeking insights into weekday or weekend market behavior. Simple, effective, and visually intuitive!
Dynamic Buy/Sell VisualizationDynamic Trend Visualization Indicator
Description:
This simple and easy to use indicator has helped me stay in trades longer.
This indicator is designed to visually represent potential buy and sell signals based on the crossover of two Simple Moving Averages (SMA). It's crafted to assist traders in identifying trend directions in a straightforward manner, making it an excellent tool for both beginners and experienced traders.
Features:
Customizable Moving Averages: Users can adjust the period length for both short-term (default: 10) and long-term (default: 50) SMAs to suit their trading strategy.
Visual Signals: Dynamic lines appear at the points of SMA crossover, with labels to indicate 'BUY' or 'SELL' opportunities.
Color and Style Customization: Customize the appearance of the buy and sell lines for better chart readability.
Alert Functionality: Alerts are set up to notify users when a crossover indicating a buy or sell condition occurs.
How It Works:
A 'BUY' signal is generated when the short-term SMA crosses above the long-term SMA, suggesting an upward trend.
A 'SELL' signal is indicated when the short-term SMA crosses below the long-term SMA, pointing to a potential downward trend.
Use Cases:
Trend Following: Ideal for markets with clear trends. For example, if trading EUR/USD on a daily chart, setting the short SMA to 10 days and the long SMA to 50 days might help in capturing longer-term trends.
Scalping: In a volatile market, setting shorter periods (e.g., 5 for short SMA and 20 for long SMA) might catch quicker trend changes, suitable for scalping.
Examples of how to use
* Short-term for Quick Trades:
SMA 5 and SMA 21:
Purpose: This combination is tailored for day traders or those looking to engage in scalping. The 5 SMA will react rapidly to price changes, providing early signals for buy or sell opportunities. The 21 SMA, being a Fibonacci number, offers a slightly longer-term view to confirm the short-term trend, helping to filter out minor fluctuations that might lead to false signals.
* Middle-term for Swing Trading:
SMA 10 and SMA 50:
Purpose: Suited for swing traders who aim to capitalize on medium-term trends. The 10 SMA picks up on immediate market movements, while the 50 SMA gives insight into the medium-term direction. This setup helps in identifying when a short-term trend aligns with a longer-term trend, providing a good balance for trades that might last several days to a couple of weeks.
* Long-term Trading:
SMA 50 and SMA 200:
Purpose: Investors focusing on long-term trends would benefit from this pair. The crossover of the 50 SMA over the 200 SMA can indicate the beginning or end of major market trends, ideal for making decisions about long-term holdings that might span months or years.
Example Strategy if not using the Buy / Sell Label Alerts:
Entry Signal: Enter a long position when the shorter SMA crosses above the longer SMA. For example:
SMA 10 crosses above SMA 50 for a medium-term bullish signal.
Exit Signal: Consider exiting or initiating a short position when:
SMA 10 crosses below SMA 50, suggesting a bearish turn in the medium-term trend.
Confirmation: Use these crossovers in conjunction with other indicators like volume or momentum indicators for better confirmation. For instance, if you're using the 5/21 combination, look for volume spikes on crossovers to confirm the move's strength.
When Not to Use:
Sideways or Range-Bound Markets: The indicator might generate many false signals in a non-trending market, leading to potential losses.
High Volatility Without Clear Trends: Rapid price movements without a consistent direction can result in misleading crossovers.
As a Standalone Tool: It should not be used in isolation. Combining with other indicators like RSI or MACD for confirmation can enhance trading decisions.
Practical Example:
Buy Signal: If you're watching Apple Inc. (AAPL) on a weekly chart, a crossover where the 10-week SMA moves above the 50-week SMA could suggest a buying opportunity, especially if confirmed by volume increase or other technical indicators.
Sell Signal: Conversely, if the 10-week SMA dips below the 50-week SMA, it might be time to consider selling, particularly if other bearish signals are present.
Conclusion:
The "Dynamic Trend Visualization" indicator provides a visual aid for trend-following strategies, offering customization and alert features to streamline the trading process. However, it's crucial to use this in conjunction with other analysis methods to mitigate the risks of false signals or market anomalies.
Legal Disclaimer:
This indicator is for educational purposes only. It does not guarantee profits or provide investment advice. Trading involves risk; please conduct thorough or consult with a financial advisor. The creator is not responsible for any losses incurred. By using this indicator, you agree to these terms.
Gaps Trend [ChartPrime]The Gaps Trend - ChartPrime indicator is designed to detect Fair Value Gaps (FVGs) in the market and apply a trailing stop mechanism based on those gaps. It identifies both bullish and bearish gaps and provides traders with a way to manage trades dynamically as gaps appear. The indicator visually highlights gaps and uses the detected momentum to assess trend direction, helping traders identify price imbalances caused by strong buy or sell pressure.
⯁ KEY FEATURES & HOW TO USE
⯌ Fair Value Gap (FVG) Detection :
The indicator automatically detects both bullish and bearish FVGs, identifying gaps between candle highs and lows. Bullish gaps are shown in green, and bearish gaps in purple. These gaps indicate price imbalances driven by strong momentum, such as when there is significant buying or selling pressure.
Use : Traders can use FVG detection to identify periods of high price momentum, offering insight into potential continuation or exhaustion of trends.
⯌ Trailing Stop Feature Based on FVGs :
A core feature of this indicator is the trailing stop mechanism, which adjusts dynamically based on the identified FVGs. When a bullish gap is detected, the trailing stop is placed below the price to capture upward momentum, while bearish gaps result in a trailing stop placed above the price. This feature helps traders stay in trends while protecting profits as the price moves.
Use : The trailing stop follows the momentum of the price, ensuring that traders can stay in profitable trades during strong trends and exit when the momentum shifts.
bullish set up
bearish set up
⯌ Trend Direction Indication :
The indicator colors the chart according to the current trend direction based on the position of the price relative to the trailing stop. Green indicates an uptrend (bullish gap), while purple shows a downtrend (bearish gap). This provides traders with a quick visual assessment of trend direction based on the presence of gaps.
Use : Traders can monitor the chart's color to stay aligned with the market’s trend, staying long during green phases and short during purple ones.
⯌ Gap Size Filtering :
Each detected gap is assigned a numerical ranking based on its size, with larger gaps having higher rankings. The gap size filter allows traders to only display gaps that meet a minimum size threshold, focusing on the most impactful gaps in terms of price movement.
Use : Traders can use the filter to focus on gaps of a certain size, filtering out smaller, less significant gaps. The numerical ranking helps identify the largest and most influential gaps for decision-making.
⯌ FVG Level Visualization :
The indicator can display dashed lines marking the levels of previously filled FVGs. These levels represent areas where price once experienced a gap and later filled it. Monitoring these levels can provide traders with key reference points for potential reactions in price.
Use : Traders can use these gap levels to track where price has filled gaps and potentially use these levels as zones for entry, exit, or assessing market behavior.
⯁ USER INPUTS
Filter Gaps : Adjust the size threshold to filter gaps by their size ranking.
Show Gap Levels : Toggle the display of dashed lines at filled FVG levels.
Enable Trailing Stop : Activate or deactivate the trailing stop feature based on FVGs.
Trailing Stop Length : Set the number of bars used to calculate the trailing stop.
Bullish/Bearish Colors : Customize the colors representing bullish and bearish gaps.
⯁ CONCLUSION
The Gaps Trend indicator combines Fair Value Gap detection with a dynamic trailing stop feature to help traders manage trades during periods of high price momentum. By detecting gaps caused by strong buy or sell pressure and applying adaptive stops, the indicator provides a powerful tool for riding trends and managing risk. The additional ability to filter gaps by size and visualize previously filled gaps enhances its utility for both trend-following and risk management strategies.
RSItrendsThis is to my friends and to my sons to use.
What Is the Relative Strength Index (RSI)?
The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security.
The RSI is displayed as an oscillator (a line graph) on a scale of zero to 100. The indicator was developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, New Concepts in Technical Trading Systems.
1
The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.
Volumatic S/R Levels [BigBeluga]THE VOLUMATIC S/R LEVELS
The Volumatic S/R Levels [ BigBeluga ] is an advanced technical analysis tool designed to identify and visualize significant support and resistance levels based on volume and price action.
The core concept of this indicator is to highlight areas where large volume and significant price movements coincide. It does this by plotting horizontal lines at price levels where unusually large candles (in terms of price range) occur alongside high trading volume. These lines represent potential support and resistance levels that are likely to be more significant due to the increased market activity they represent.
⬤ Key Features
Dynamic S/R Level Identification: Automatically detects and displays support and resistance levels from high volume candles.
Volume-Weighted Visualization: Uses line color to see positive or negative volume and box size to represent the strength of each level
Positive and Negative Volume:
Box Size Based on Volume:
Adaptive Levels Color: Adjusts level color based on price above or below level
Real-time Level Extension: Extends identified levels to the right side of the chart for better visibility
Volume and Percentage Labels: Displays volume information and relative strength percentage for each level
Dashed Levels: Displays levels with which price have interact multiple times
Dashboard: Shows max and min level information for quick reference
⬤ How to Use
Identify Key Levels: Look for horizontal lines representing potential support and resistance areas
Assess Level Strength:
- Thicker boxes indicate stronger levels, on which price reacts more
Monitor Price Interactions: Watch how price reacts when approaching these levels for potential trade setups
Volume Confirmation: Use the volume boxes to confirm the significance of each level
Relative Strength Analysis: Check the percentage labels to understand each level's importance relative to others
Trend Analysis: Use the color of the levels (lime for bullish, orange for bearish) to understand the overall market sentiment at different price points
Quick Reference: Utilize the dashboard to see the strongest and weakest levels at a glance
⬤ Customization
Levels Strength: Adjust the minimum threshold for level strength identification (default: 2.4)
Levels Amount: Set the maximum number of levels to display on the chart (max: 20)
The Volumatic S/R Levels indicator provides traders with a sophisticated tool for identifying key price levels backed by significant volume. By visualizing these levels directly on the chart and providing detailed volume and relative strength information, it offers valuable insights into potential areas of support, resistance, and price reversal. The addition of a ranking system and dashboard further enhances the trader's ability to quickly assess the most significant levels. This indicator is particularly useful for traders focusing on volume analysis and those looking to enhance their understanding of market structure. As with all technical tools, it's recommended to use this indicator in conjunction with other forms of analysis for comprehensive trading decisions.
CofG Oscillator w/ Added Normalizations/TransformationsThis indicator is a unique study in normalization/transformation techniques, which are applied to the CG (center of gravity) Oscillator, a popular oscillator made by John Ehlers.
The idea to transform the data from this oscillator originated from observing the original indicator, which exhibited numerous whips. Curious about the potential outcomes, I began experimenting with various normalization/transformation methods and discovered a plethora of interesting results.
The indicator offers 10 different types of normalization/transformation, each with its own set of benefits and drawbacks. My personal favorites are the Quantile Transformation , which converts the dataset into one that is mostly normally distributed, and the Z-Score , which I have found tends to provide better signaling than the original indicator.
I've also included the option of showing the mean, median, and mode of the data over the period specified by the transformation period. Using this will allow you to gather additional insights into how these transformations effect the distribution of the data series.
I've also included some notes on what each transformation does, how it is useful, where it fails, and what I've found to be the best inputs for it (though I'd encourage you to play around with it yourself).
Types of Normalization/Transformation:
1. Z-Score
Overview: Standardizes the data by subtracting the mean and dividing by the standard deviation.
Benefits: Centers the data around 0 with a standard deviation of 1, reducing the impact of outliers.
Disadvantages: Works best on data that is normally distributed
Notes: Best used with a mid-longer transformation period.
2. Min-Max
Overview: Scales the data to fit within a specified range, typically 0 to 1.
Benefits: Simple and fast to compute, preserves the relationships among data points.
Disadvantages: Sensitive to outliers, which can skew the normalization.
Notes: Best used with mid-longer transformation period.
3. Decimal Scaling
Overview: Normalizes data by moving the decimal point of values.
Benefits: Simple and straightforward, useful for data with varying scales.
Disadvantages: Not commonly used, less intuitive, less advantageous.
Notes: Best used with a mid-longer transformation period.
4. Mean Normalization
Overview: Subtracts the mean and divides by the range (max - min).
Benefits: Centers data around 0, making it easier to compare different datasets.
Disadvantages: Can be affected by outliers, which influence the range.
Notes: Best used with a mid-longer transformation period.
5. Log Transformation
Overview: Applies the logarithm function to compress the data range.
Benefits: Reduces skewness, making the data more normally distributed.
Disadvantages: Only applicable to positive data, breaks on zero and negative values.
Notes: Works with varied transformation period.
6. Max Abs Scaler
Overview: Scales each feature by its maximum absolute value.
Benefits: Retains sparsity and is robust to large outliers.
Disadvantages: Only shifts data to the range , which might not always be desirable.
Notes: Best used with a mid-longer transformation period.
7. Robust Scaler
Overview: Uses the median and the interquartile range for scaling.
Benefits: Robust to outliers, does not shift data as much as other methods.
Disadvantages: May not perform well with small datasets.
Notes: Best used with a longer transformation period.
8. Feature Scaling to Unit Norm
Overview: Scales data such that the norm (magnitude) of each feature is 1.
Benefits: Useful for models that rely on the magnitude of feature vectors.
Disadvantages: Sensitive to outliers, which can disproportionately affect the norm. Not normally used in this context, though it provides some interesting transformations.
Notes: Best used with a shorter transformation period.
9. Logistic Function
Overview: Applies the logistic function to squash data into the range .
Benefits: Smoothly compresses extreme values, handling skewed distributions well.
Disadvantages: May not preserve the relative distances between data points as effectively.
Notes: Best used with a shorter transformation period. This feature is actually two layered, we first put it through the mean normalization to ensure that it's generally centered around 0.
10. Quantile Transformation
Overview: Maps data to a uniform or normal distribution using quantiles.
Benefits: Makes data follow a specified distribution, useful for non-linear scaling.
Disadvantages: Can distort relationships between features, computationally expensive.
Notes: Best used with a very long transformation period.
Conclusion
Feel free to explore these normalization/transformation techniques to see how they impact the performance of the CG Oscillator. Each method offers unique insights and benefits, making this study a valuable tool for traders, especially those with a passion for data analysis.
Volume Storm Trend [ChartPrime]The Volume Storm Trend (VST) indicator is a robust tool for traders looking to analyze volume momentum and trend strength in the market. By incorporating key volume-based calculations and dynamic visualizations, VST provides clear insights into market conditions.
Components:
Calculating the median of the source data.
Volume Power Calculation: The indicator calculates the "heat power" and "cold power" by applying an Exponential Moving Average (EMA) to the median of volume data arrays.
// ---------------------------------------------------------------------------------------------------------------------}
// 𝙄𝙉𝘿𝙄𝘾𝘼𝙏𝙊𝙍 𝘾𝘼𝙇𝘾𝙐𝙇𝘼𝙏𝙄𝙊𝙉𝙎
// ---------------------------------------------------------------------------------------------------------------------{
max_val = 1000
src = close
source = ta.median(src, len)
heat.push(src > source ? (volume > max_val ? max_val : volume) : 0)
heat.remove(0)
cold.push(src < source ? (volume > max_val ? max_val : volume) : 0)
cold.remove(0)
heat_power = ta.ema(heat.median(), 10)
cold_power = ta.ema(cold.median(), 10)
Visualization:
Gradient Colors: The indicator uses gradient colors to visualize bullish volume and bearish volume powers, providing a clear contrast between rising and falling trends.
Bars Fill Color: The color fill between high and low prices changes based on whether the heat power is greater than the cold power.
Bottom Line: A zero line with changing colors based on the dominance of heat or cold power.
Weather Symbols: Visual indicators ("☀" for hot weather and "❄" for cold weather) appear on the chart when the heat and cold powers crossover, helping traders quickly identify trend changes.
Inputs:
Source: The input data source, typically the closing price.
Median Length: The period length for calculating the median of the source. Default is 40.
Volume Length: The period length for calculating the average volume. Default is 3.
Show Weather: A toggle to display weather symbols on the chart. Default is false.
Temperature Type: Allows users to choose between Celsius (°C) and Fahrenheit (°F) for temperature display.
Show Weather Function:
The `Show Weather?` function enhances the VST indicator by displaying weather symbols ("☀" for hot and "❄" for cold) when there are significant crossovers between heat power and cold power. This feature adds a visual cue for potential market tops and bottoms. When the market heats to a high temperature, it often indicates a potential top, signaling traders to consider exiting long positions or preparing for a reversal.
Additional Features:
Dynamic Table Display: A table displays the current "temperature" on the chart, indicating market heat based on the calculated heat and cold powers.
The Volume Storm Trend indicator is a powerful tool for traders
looking to enhance their market analysis with volume and momentum insights, providing a clear and visually appealing representation of key market dynamics.
Global Net Liquidity (TG fork)Worldwide net liquidity, with trend coloring.
Global Net Liquidity attempts to represent worldwide net liquidity, and is defined as: Fed + Japan + China + UK + ECB - RRP - TGA , Where the first five components are central bank assets.
On TradingView, the indicator can be reproduced with the following equations: Global Net Liquidity = FRED:WALCL + FRED:JPNASSETS * FX_IDC:JPYUSD + CNCBBS * FX_IDC:CNYUSD + GBCBBS * FX:GBPUSD + ECBASSETSW * FX:EURUSD + RRPONTSYD + WTREGEN
However, this indicator adds a moving average cloud, and margin coloring, which eases historical trend assessment at a glance.
This indicator can be seen as an alternative representation of the accumulation/distribution indicator (and hence the same terms can be used in this description).
The Moving Average Cloud is simply the filling between the moving average (by default an EMA) and the current value. This feature was inspired by D7R ACC/DIST closed-source indicator, kudos to D7R for making such neat visual indicators.
Usage instructions:
Blue is more likely a phase of accumulation because the current value is above its historical price as defined by the moving average,
red is when this is more likely a phase of distribution.
Yellow is when the difference is below the margin, so we consider it is insignificant and that the trend is undecided. This can be disabled by setting the margin to 0.
While the color indicates if it's more likely an accumulation (blue) or distribution (red) phase or undecided (yellow), the cloud's vertical size allows to assess the strength of this tendency and the horizontal size the momentum, so that the bigger the cloud, the stronger the accumulation (if cloud is blue) or distribution (if cloud is red).
Why is that so? This is because the cloud represents the difference between the current tendency and the moving averaged past one, so a bigger cloud represents a bigger departure from recently observed tendencies. In practice, when there is accumulation, a pump in price can be expected soon, or if it already happened then it means it is indeed supported by volume, whereas if distribution, either a dump is to be expected soon, or if it already happened it means it's supported by volume.
Or maybe not necessarily a dump, but if there is a move upward in price, but the indicator indicates a strong distribution, then it means that the price movement is not supported and may not be sustainable (reversal may happen at anytime), whereas if price is going upward AND there is an accumulation (blue coloring) then it is more sustainable. This can be used to adapt strategies accordingly (risk on/risk off depending on whether there is concordance of both price and accumulation/distribution).
This indicator also includes sentiment signals that can be used to trigger alarms.
This indicator is a remix of Dharmatech's, who authored the first this Global Net Liquidity equation, kudos to them! Please show them some love if you like this indicator!
Lin Reg (Linear Regression) Support and Resistance by xxMargauxLin Reg (Linear Regression) Support & Resistance by xxMargaux 💸
This indicator plots three linear regression lines (Lin Reg) on the price chart, providing insights into potential support and resistance levels. It calculates Lin Reg lines based on user-defined lengths and sources.
This indicator's settings were initially configured for MNQ1! (E-Mini Nasdaq 100 futures contracts). But works as intended on any security and on any timeframe.
When price is below a given Lin Reg line, that line will be red and may serve as resistance as price moves up towards the line. That is, it may be a potential short entry opportunity. When price is above a given Lin Reg line, that line will be green and may serve as support as price continues up from the line. That is, it may be a potential long entry opportunity.
When price starts to break sideways or down through the Lin Reg lines, this may signal a reversal from uptrend to downtrend. When price starts to break sideways or up through the Lin Reg Lines, this may signal a reversal from downtrend to uptrend. In very strong trends, breaking through the lines briefly may provide an entry opportunity, but be cautious because a trend reversal may also be possible.
Inputs:
Length of Price Lin Reg Lines: Customize the lengths of the three Lin Reg lines.
Source for Price Lin Reg Lines: Choose the source for each Lin Reg line.
Source for Security Price: Select the price source for the security.
Features:
Trend Analysis: Assists in visualizing price trends based on the relationship between the security price and Lin Reg lines, which will be colored according to whether price is above or below each Lin Reg line.
Customizable Colors: When price is above a Lin Reg line that line will be green. When price is below a Lin Reg line, that line will be red.
Here's a beginner-friendly explanation of linear regression lines 💡
Best-Fit Line: Imagine you have a scatter plot of closing prices on a chart. Linear regression aims to find the straight line that best fits the overall trend of these data points. It's like drawing a line through the center of the data that minimizes the distance between the line and each data point.
Trend Identification: Once the linear regression line is plotted on a price chart, it provides a visual representation of the trend. If the price is generally rising, the linear regression line will slope upwards. If the price is falling, the line will slope downwards. This helps traders identify whether the trend is bullish (upward) or bearish (downward).
Support and Resistance: Linear regression lines can also act as dynamic support and resistance levels. When the price is above the linear regression line, it may act as support, meaning the price tends to bounce off the line and continue higher. Conversely, when the price is below the line, it may act as resistance, with the price encountering selling pressure and potentially reversing lower.
Reversal Signals: Changes in the slope or direction of the linear regression line can signal potential trend reversals. For example, if the price breaks above a downward-sloping linear regression line, it may indicate a shift from a downtrend to an uptrend, and vice versa.
Adjustable Parameters: Traders can customize the length of the linear regression line by adjusting the period over which it's calculated. Shorter periods may be more sensitive to recent price changes, while longer periods may provide a smoother trend line.
Wavelet & Fourier Smoothed Volume zone oscillator (W&)FSVZO Indicator id:
USER;e7a774913c1242c3b1354334a8ea0f3c
(only relevant to those that use API requests)
MEANINGFUL DESCRIPTION:
The Volume Zone oscillator breaks up volume activity into positive and negative categories. It is positive when the current closing price is greater than the prior closing price and negative when it's lower than the prior closing price. The resulting curve plots through relative percentage levels that yield a series of buy and sell signals, depending on level and indicator direction.
The Wavelet & Fourier Smoothed Volume Zone Oscillator (W&)FSVZO is a refined version of the Volume Zone Oscillator, enhanced by the implementation of the Discrete Fourier Transform. Its primary function is to streamline price data and diminish market noise, thus offering a clearer and more precise reflection of price trends.
By combining the Wavalet and Fourier aproximation with Ehler's white noise histogram, users gain a comprehensive perspective on volume-related market conditions.
HOW TO USE THE INDICATOR:
The default period is 2 but can be adjusted after backtesting. (I suggest 5 VZO length and NoiceR max length 8 as-well)
The VZO points to a positive trend when it is rising above the 0% level, and a negative trend when it is falling below the 0% level. 0% level can be adjusted in setting by adjusting VzoDifference. Oscillations rising below 0% level or falling above 0% level result in natural trend.
ORIGINALITY & USFULLNESS:
Personal combination of Fourier and Wavalet aproximation of a price which results in less noise Volume Zone Oscillator.
The Wavelet Transform is a powerful mathematical tool for signal analysis, particularly effective in analyzing signals with varying frequency or non-stationary characteristics. It dissects a signal into wavelets, small waves with varying frequency and limited duration, providing a multi-resolution analysis. This approach captures both frequency and location information, making it especially useful for detecting changes or anomalies in complex signals.
The Discrete Fourier Transform (DFT) is a mathematical technique that transforms discrete data from the time domain into its corresponding representation in the frequency domain. This process involves breaking down a signal into its individual frequency components, thereby exposing the amplitude and phase characteristics inherent in each frequency element.
This indicator utilizes the concept of Ehler's Universal Oscillator and displays a histogram, offering critical insights into the prevailing levels of market noise. The Ehler's Universal Oscillator is grounded in a statistical model that captures the erratic and unpredictable nature of market movements. Through the application of this principle, the histogram aids traders in pinpointing times when market volatility is either rising or subsiding.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is oscillator?
Oscillators are chart indicators that can assist a trader in determining overbought or oversold conditions in ranging (non-trending) markets.
What is volume zone oscillator?
Price Zone Oscillator measures if the most recent closing price is above or below the preceding closing price.
Volume Zone Oscillator is Volume multiplied by the 1 or -1 depending on the difference of the preceding 2 close prices and smoothed with Exponential moving Average.
What does this mean?
If the VZO is above 0 and VZO is rising. We have a bullish trend. Most likely.
If the VZO is below 0 and VZO is falling. We have a bearish trend. Most likely.
Rising means that VZO on close is higher than the previous day.
Falling means that VZO on close is lower than the previous day.
What if VZO is falling above 0 line?
It means we have a high probability of a bearish trend.
Thus the indicator returns 0 when falling above 0 (or rising bellow 0) and we combine higher and lower timeframes to gauge the trend.
In the next Image you can see that trend is positive on 4h, neutral on 12h and positive on 1D. That means trend is positive.
I am sorry, the chart is a bit messy. The idea is to use the indicator over more than 1 Timeframe.
What is approximation and smoothing?
They are mathematical concepts for making a discrete set of numbers a
continuous curved line.
Fourier and Wavelet approximation of a close price are taken from aprox library.
Key Features:
You can tailor the indicator to your preferences with adjustable parameters such as VZO length, noise reduction settings, and smoothing length.
Volume Zone Oscillator (VZO) shows market sentiment with the VZO, enhanced with Exponential Moving Average (EMA) smoothing for clearer trend identification.
Noise Reduction leverages Euler's White noise capabilities for effective noise reduction in the VZO, providing a cleaner and more accurate representation of market dynamics.
Choose between the traditional Fast Fourier Transform (FFT), the innovative Double Discrete Fourier Transform (DTF32) and Wavelet soothed Fourier soothed price series to suit your analytical needs.
Image of Wavelet transform with FAST settings, Double Fourier transform with FAST settings. Improved noice reduction with SLOW settings, and standard FSVZO with SLOW settings:
Fast setting are setting by default:
VZO length = 2
NoiceR max Length = 2
Slow settings are:
VZO length = 5 or 7
NoiceR max Length = 8
As you can see fast setting are more volatile. I suggest averaging fast setting on 4h 12h 1d 2d 3d 4d W and M Timeframe to get a clear view on market trend.
What if I want long only when VZO is rising and above 15 not 0?
You have set Setting VzoDifference to 15. That reduces the number of trend changes.
Example of W&FSVZO with VzoDifference 15 than 0:
VZO crossed 0 line but not 15 line and that's why Indicator returns 0 in one case an 1 in another.
What is Smooth length setting?
A way of calculating Bullish or Bearish FSVZO.
If smooth length is 2 the trend is rising if:
rising = VZO > ta.ema(VZO, 2)
Meaning that we check if VZO is higher that exponential average of the last 2 elements.
If smooth length is 1 the trend is rising if:
rising = VZO_ > VZO_
Rising is boolean value, meaning TRUE if rising and FALSE if falling.
Mathematical equations presented in Pinescript:
Fourier of the real (x axis) discrete:
x_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
x_1 = array.get(x, 0) + array.get(x, 1) * math.cos( -2 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -4 * math.pi * _dir / 3 )
x_2 = array.get(x, 0) + array.get(x, 1) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -8 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -8 * math.pi * _dir / 3 )
Euler's Noice reduction with both close and Discrete Furrier approximated price.
w = (dft1*src - dft1 *src ) / math.sqrt(math.pow(math.abs(src- src ),2) + math.pow(math.abs(dft1 - dft1 ),2))
filt := na(filt ) ? 0 : c1 * (w*dft1 + nz(w *dft1 )) / 2.0 /math.abs(dft1 -dft1 ) + c2 * nz(filt ) - c3 * nz(filt )
Usecase:
First option:
Select the preferred version of DFT and noise reduction settings based on your analysis requirements.
Leverage the script to identify Bullish and Bearish trends, shown with green and red triangle.
Combine Different Timeframes to accurately determine market trend.
Second option:
Pull the data with API sockets to automate your trading journey.
plot(close, title="ClosePrice", display=display.status_line)
plot(open, title="OpenPrice", display=display.status_line)
plot(greencon ? 1 : redcon ? -1 : 0, title="position", display=display.status_line)
Use ClosePrice, OpenPrice and "position" titles to easily read and backtest your strategy utilising more than 1 Time Frame.
Indicator id:
USER;e7a774913c1242c3b1354334a8ea0f3c
(only relevant to those that use API requests)
Ranges With Targets [ChartPrime]The Ranges With Targets indicator is a tool designed to assist traders in identifying potential trading opportunities on a chart derived from breakout trading. It dynamically outlines ranges with boxes in real-time, providing a visual representation of price movements. When a breakout occurs from a range, the indicator will begin coloring the candles. A green candle signals a long breakout, suggesting a potential upward movement, while a red candle indicates a short breakout, suggesting a potential downward movement. Grey candles indicate periods with no active trade. Ranges are derived from daily changes in price action.
This indicator builds upon the common breakout theory in trading whereby when price breaks out of a range; it may indicate continuation in a trend.
Additionally, users have the ability to customize their risk-reward settings through a multiplier referred to as the Target input. This allows traders to set their Take Profit (TP) and Stop Loss (SL) levels according to their specific risk tolerance and trading strategy.
Furthermore, the indicator offers an optional stop loss setting that can automatically exit losing trades, providing an additional layer of risk management for users who choose to utilize this feature.
A dashboard is provided in the top right showing the statistics and performance of the indicator; winning trades; losing trades, gross profit and loss and PNL. This can be useful when analyzing the success of breakout trading on a particular asset or timeframe.
MA + MACD alert TrendsThis is a strategy/combination of warning indicators using 6MA+MACD.
The strategy details are as follows: This is a simple warning strategy created so that we don't have to monitor the candlestick chart too often.
Note: This isn't an entry strategy; it's a signaling strategy for upcoming trends. For maximum efficiency, we should incorporate more formulas into the command. In the case below, I use Fibonacci to enter the command.
This strategy setting works for a 15-minute time frame, but it can still work for different time frames.
It has been working well with Gold and USOIL for the last two years, as well as with currency pairs like EURUSD and many others.
Components:
EMA100 + EMA200 + MA400 + MA800
MACD (timeframe greater than 1 timeframe)
Fibonacci retreat.
Uptrend alert:
Candles on both EMAs (100-200) + 2 SMAs (400-800)
In the previous 80 candles:
EMA100 cross up to EMA200
At the same time, the MACD cross up 0.
The uptrend warning will trigger when EMA6 cuts down to MA10. That's when the price creates the top and we'll wait for the market to go back to the Fibonacci threshold of 0.618 and start buying (or wait for markets to break up the trendline to buy).
Downtrend alert:
Candles are below both EMAs ( 100-200 ) + 2 SMAs ( 400-800 )
In the previous 80 candles:
EMA100 cross down to EMA200
At the same time, the MACD cross down zero.
The downtrend warning will trigger when EMA6 cuts to MA10. That's when the price creates a bottom and we'll wait for the market to go back to the Fibonacci threshold of 0.618 and start selling (or wait for the market to break down the trendline to sell).
Recommended RR: 1:1
If you have any questions please let me know!
Machine Learning: Gaussian Process Regression [LuxAlgo]We provide an implementation of the Gaussian Process Regression (GPR), a popular machine-learning method capable of estimating underlying trends in prices as well as forecasting them.
While this implementation is adapted to real-time usage, do remember that forecasting trends in the market is challenging, do not use this tool as a standalone for your trading decisions.
🔶 USAGE
The main goal of our implementation of GPR is to forecast trends. The method is applied to a subset of the most recent prices, with the Training Window determining the size of this subset.
Two user settings controlling the trend estimate are available, Smooth and Sigma . Smooth determines the smoothness of our estimate, with higher values returning smoother results suitable for longer-term trend estimates.
Sigma controls the amplitude of the forecast, with values closer to 0 returning results with a higher amplitude. Do note that due to the calculation of the method, lower values of sigma can return errors with higher values of the training window.
🔹 Updating Mechanisms
The script includes three methods to update a forecast. By default a forecast will not update for new bars (Lock Forecast).
The forecast can be re-estimated once the price reaches the end of the forecasting window when using the "Update Once Reached" method.
Finally "Continuously Update" will update the whole forecast on any new bar.
🔹 Estimating Trends
Gaussian Process Regression can be used to estimate past underlying local trends in the price, allowing for a noise-free interpretation of trends.
This can be useful for performing descriptive analysis, such as highlighting patterns more easily.
🔶 SETTINGS
Training Window: Number of most recent price observations used to fit the model
Forecasting Length: Forecasting horizon, determines how many bars in the future are forecasted.
Smooth: Controls the degree of smoothness of the model fit.
Sigma: Noise variance. Controls the amplitude of the forecast, lower values will make it more sensitive to outliers.
Update: Determines when the forecast is updated, by default the forecast is not updated for new bars.
Machine Learning Momentum Oscillator [ChartPrime]The Machine Learning Momentum Oscillator brings together the K-Nearest Neighbors (KNN) algorithm and the predictive strength of the Tactical Sector Indicator (TSI) Momentum. This unique oscillator not only uses the insights from TSI Momentum but also taps into the power of machine learning therefore being designed to give traders a more comprehensive view of market momentum.
At its core, the Machine Learning Momentum Oscillator blends TSI Momentum with the capabilities of the KNN algorithm. Introducing KNN logic allows for better handling of noise in the data set. The TSI Momentum is known for understanding how strong trends are and which direction they're headed, and now, with the added layer of machine learning, we're able to offer a deeper perspective on market trends. This is a fairly classical when it comes to visuals and trading.
Green bars show the trader when the asset is in an uptrend. On the flip side, red bars mean things are heading down, signaling a bearish movement driven by selling pressure. These color cues make it easier to catch the sentiment and direction of the market in a glance.
Yellow boxes are also displayed by the oscillator. These boxes highlight potential turning points or peaks. When the market comes close to these points, they can provide a heads-up about the possibility of changes in momentum or even a trend reversal, helping a trader make informed choices quickly. These can be looked at as possible reversal areas simply put.
Settings:
Users can adjust the number of neighbours in the KNN algorithm and choose the periods they prefer for analysis. This way, the tool becomes a part of a trader's strategy, adapting to different market conditions as they see fit. Users can also adjust the smoothing used by the oscillator via the smoothing input.
Speed RailsCentered around a Variable Moving Average (Rail Line). The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility. Adjusted the settings of the VMA to move closer to price(quicker). This gives the user the ability to catch moves at support/resistance levels for added confluence.
In addition to the Rail Line or VMA, the indicator makes use of Bollinger Bands in two ways. First, it displays when the Bollinger Bands are in a squeeze and the potential direction of the breakout. The "squeeze" is the central concept of Bollinger Bands. When the bands come close together, constricting the moving average, it is called a squeeze. A squeeze signals a period of low volatility and is considered by traders to be a potential sign of future increased volatility and possible trading opportunities. The Bollinger Bands are also utilized to highlight when price action might reverse. This signals when price closes outside of the bands, quickly reverts and closes within the bands
Dots = Short Term Trend
Rails Bar Color = Medium Term Trend
Rail Line (VMA) = Long Term Trend
Squeeze = Shaded Orange Cloud
Combined with traditional support/resistance levels:
True Accumulation/Distribution (TG fork)An accumulation/distribution indicator that works better against gaps and with trend coloring.
Accumulation/Distribution was developed by Marc Chaikin to provide insight into strength of a trend by measuring flow of buy and sell volume .
The fact that A/D only factors current period's range for calculating the volume multiplier causes problem with price gaps. They are ignored or even misinterpreted.
True Accumulation/Distribution solves the problem by using True Range instead of only relying on current period's high and low.
Most of the time, True A/D reverts to producing the same values as the original A/D. The difference between True A/D and original A/D can be better seen when a gap has occurred, True A/D has handles it better than Accumulation/Distribution which a bearish close in period's range cause it to misinterpret the strong buy pressure as sell volume
The Moving Average Cloud is simply the filling between the moving average and the True A/D. This feature was inspired by D7R ACC/DIST closed-source indicator, kudos to D7R for making such neat visual indicators (but unfortunately all closed source!).
This indicator was made to extend the original work by adding MTF support and a moving average cloud and coloring.
If you like this indicator, please show the original author RezzaHmt some love:
Stock Market Emotion Index (SMEI)Implementation of Charlie Q. Yang's research paper “The stock market emotion index”, subtitle “A New Sentiment Measure Using Enhanced OBV and Money Flow Indicators”, (2007) where he combined “five simple emotion statistics” - Close Emotion Statistic (CES), Money Flow Statistic (MFS), Supply Demand Statistic (SDS), Relative Strength Statistic (RSS), and Psychological Level Statistic (PLS) - into one indicator.
Quotations:
“The index calculation is solely based on observed short term market volatility as reflected by each day’s trading volume, open, high, low, and close prices”
“The basic premise of Dow theory is that the market discounts everything, including the emotions of all traders. The fundamentals of a company do not change suddenly when its daily stock price is fluctuating as driven by human emotions that are often irrational. However, over a longer time period, a company's fundamentals do change. Again, different types of human emotions, triggered by the flow of material events, are moving the stock price trend up or down. This paper summarizes the author’s attempt in understanding primary trend extent and duration by proposing a new sentiment measure using statistical analysis of stock market human emotion.”
Even though “indicator is intended for identifying primary trend cycles that typically last one year or longer“ where Mr. Yang used a fixed averaging length of 260 days and only days as time frame, my implementation has been changed slightly to accommodate for all time frames and to adapt faster using shorter averaging (timeframe dependent).
How to use it:
Positive values indicating a bullish trend and negative values indicating a bearish trend. Background color is set to green or red accordingly.
Positive and negative bar to bar changes are indicated with green and red to show bar to bar (ultra short term) trends.
(No financial advise, use for testing purposed only)