[DarkTrader] Dynamic Level ProjectionThis indicator designed to enhance market analysis by projecting key price levels based on recent highs and lows. This script stands out by offering unique dynamic projections that are tailored to the latest market conditions, making it a valuable tool for both short-term and long-term traders.
Level Projection uses proprietary methods to dynamically project levels above and below recent price extremes. It employs two distinct scaling methods—Short Multiply (SM) and Long Multiply (LM)—to calculate these levels. The SM method is used to project resistance levels above recent highs, while the LM method projects support levels below recent lows. This approach ensures that the projected levels are responsive to current market trends and volatility.
How It Works :
The indicator analyzes recent market data to determine the highest and lowest prices over a customizable lookback period. Using the OHLC Lookback parameter, traders can set the duration for which these extreme prices are calculated. Based on these extremes, the indicator projects additional levels using the defined scaling methods. The result is a series of levels that help identify potential support and resistance zones in real time.
Customization Options :
Level Parameter: Defines the lengths for different projected levels.
OHLC Resolution: Selects the timeframe for OHLC data used in calculations.
Box Padding / Height: Controls the visual spacing of the projected levels on the chart.
Start Color and Extend Color: Customize the colors of the projected levels for better visual differentiation.
Real-Time Updates :
The indicator is designed to update in real-time, recalculating and redrawing levels with each new bar. This ensures that traders always see the most current projections and can make timely decisions based on the latest market data.
How to Use :
Traders should apply the indicator to their charts and customize the parameters according to their trading strategy. The projected levels will help in identifying potential support and resistance zones, which can be used to make informed trading decisions and manage risk effectively.
Трендовый анализ
Rempi Volume
Greetings, dear traders. I present to your attention the concept of a Rempi Volume indicator + info table.
Rempi Volume displays volume in a color palette, where:
gray color - very weak volume,
blue color - weak volume,
green color - normal volume,
orange color - high volume,
red color - very high volume,
purple color - ultra high volume
The indicator also supports the function of displaying a moving average, the default is 20.
The indicator can color bars on the main price chart, depending on how much volume is currently inside the bar.
The Rempi Volume indicator table has the following information for the trader:
Current Bar -information about the current bar: its volume in real time, as well as the percentage of buyers and sellers.
Previous Bar - information about the previous bar: its volume, as well as the percentage of buyers and sellers. (data is updated at bar close)
10 Bar Volume Comparison - data on the volume of buyers or sellers for the previous 10 bars on the chart.
Volume Change - changing the amount of volume between the current and previous bar, in real time.
Average Volume - average trading volume for the current day.
Market Volatility - market volatility and recommendations.
Current Trend - current trend on the market.
RSI - RSI indicator and recommendations.
/////////////////////////////////////////////////////////////
Приветствую вас уважаемые трейдеры. Вашему вниманию представляю концепт индикатора объемов Rempi Volume + информативная таблица.
Rempi Volume отображает объем в цветовой палитре , где:
серый цвет - очень слабый объем,
голубой цвет - слабый объем,
зеленый цвет - нормальный объем,
оранжевый цвет - высокий объем,
красный цвет - очень высокий объем,
фиолетовый цвет - ультра высокий объем
Также индикатор поддерживает функцию отображения скользящей средней, по умолчанию равна 20.
Индикатор может окрашивать бары на основном графике цены, в зависимости ,какой объем в данный момент внутри бара.
Таблица индикатора Rempi Volume имеет следующую информацию для трейдера:
Current Bar - информация о текущем баре: его объем в режиме реального времени, а также процентное соотношение покупателей и продавцов.
Previous Bar - информация о предыдущем баре: его объем , а также процентное соотношение покупателей и продавцов. ( данные обновляются на закрытии бара )
10 Bar Volume Comparison - данные об объеме покупателей или продавцов за предыдущие 10 баров на графике.
Volume Change - изменение количества объема между текущим и предыдущим баром,в режиме реального времени.
Average Volume - средний объем торгов за текущий день.
Market Volatility - волатильность рынка и рекомендации.
Current Trend - текущее направление рынка.
RSI - показатель RSI и рекомендации.
Deviation Adjusted MA Overview
The Deviation Adjusted MA is a custom indicator that enhances traditional moving average techniques by introducing a volatility-based adjustment. This adjustment is implemented by incorporating the standard deviation of price data, making the moving average more adaptive to market conditions. The key feature is the combination of a customizable moving average (MA) type and the application of deviation percentage to modify its responsiveness. Additionally, a smoothing layer is applied to reduce noise, improving signal clarity.
Key Components
Customizable Moving Averages
The script allows the user to select from four different types of moving averages:
Simple Moving Average (SMA): A basic average of the closing prices over a specified period.
Exponential Moving Average (EMA): Gives more weight to recent prices, making it more responsive to recent price changes.
Weighted Moving Average (WMA): Weights prices differently, favoring more recent ones but in a linear progression.
Volume-Weighted Moving Average (VWMA): Adjusts the average by trading volume, placing more weight on high-volume periods.
Standard Deviation Calculation
The script calculates the standard deviation of the closing prices over the selected maLength period.
Standard deviation measures the dispersion or volatility of price movements, giving a sense of market volatility.
Deviation Percentage and Adjustment
Deviation Percentage is calculated by dividing the standard deviation by the base moving average and multiplying by 100 to express it as a percentage.
The base moving average is adjusted by this deviation percentage, making the indicator responsive to changes in volatility. The result is a more dynamic moving average that adapts to market conditions.
The parameter devMultiplier is available to scale this adjustment, allowing further fine-tuning of sensitivity.
Smoothing the Adjusted Moving Average
After adjusting the moving average based on deviation, the script applies an additional Exponential Moving Average (EMA) with a length defined by the smoothingLength input.
This EMA serves as a smoothing filter to reduce the noise that could arise from the raw adjustments of the moving average. The smoothing makes trend recognition more consistent and removes short-term fluctuations that could otherwise distort the signal.
Use cases
The Deviation Adjusted MA indicator serves as a dynamic alternative to traditional moving averages by adjusting its sensitivity based on volatility. The script offers extensive customization options through the selection of moving average type and the parameters controlling smoothing and deviation adjustments.
By applying these adjustments and smoothing, the script enables users to better track trends and price movements, while providing a visual cue for changes in market sentiment.
Adaptive LSMA Regression OscillatorOverview:
The Adaptive LSMA Regression Oscillator is an open-source technical analysis tool designed to reflect market price deviations from an adaptive least squares moving average (LSMA). The adaptive length of the LSMA changes dynamically based on the volatility of the market, making the indicator responsive to different market conditions.
Key Features:
Adaptive Length Adjustment : The base length of the LSMA is adjusted based on market volatility, measured by the Average True Range (ATR). The more volatile the market, the longer the adaptive length, and vice versa.
Oscillator : The indicator calculates the difference between the closing price and the adaptive LSMA. This difference is plotted as a histogram, showing whether prices are above or below the LSMA.
Color-Coded Histogram:
Positive values (where price is above the LSMA) are colored green.
Negative values (where price is below the LSMA) are colored red.
Debugging Information: The adaptive length is plotted for transparency, allowing users to see how the length changes based on the multiplier and ATR.
How It Works:
Inputs:
Base Length : This defines the starting length of the LSMA. It is adjusted based on market conditions.
Multiplier : A customizable multiplier is used to control how much the adaptive length responds to changes in volatility.
ATR Period : This determines the lookback period for the Average True Range calculation, a measure of market volatility.
Dynamic Adjustment:
The length of the LSMA is dynamically adjusted by multiplying the base length by a factor derived from ATR and the average close price.
This helps the indicator adapt to different market conditions, staying shorter during low volatility and longer during high volatility.
Example Use Cases:
Trend Analysis: By observing the oscillator, traders can see when prices deviate from a dynamically adjusted LSMA. This can be used to evaluate potential trend direction or changes in market behavior.
Volatility-Responsive Indicator: The adaptive length ensures that the indicator responds appropriately in both high and low volatility environments.
Kijun_ATROVERVIEW
Kijun + ATR is an indicator that combines Lagging Kijun Base Line From Ichimoku Cloud (direction indicator) and Volatility Indicator ATR.
By combining ATR with kijun we can filter out noise from Base Line.
CALCULATIONS
Kijun is calculated by taking average of lowest and highest point of price over set lenght.
ATR is just default Tradingview Indicator that calculates average true range of price over set period of time.
WORKING
When both close > lower and not close < upper are true indicator indicate long by color limeand indicates short when close < upper by color fuchsia (Color can be changed in settings)
Indicator works best in Trending Market Regimes can have problems by signaling tops in Consolidating Market Regimes during bear markets and by sygnaling bottom in short consolidating market regimes during bull market.
Potential Divergence Checker#### Key Features
1. Potential Divergence Signals:
Potential divergences can signal a change in price movement before it occurs. This indicator identifies potential divergences instead of waiting for full confirmation, allowing it to detect signs of divergence earlier than traditional methods. This provides more flexible entry points and can act as a broader filter for potential setups.
2. Exposing Signals for External Use:
One of its advanced features is the ability to expose signals for use in other scripts. This allows users to integrate divergence signals and related entry/exit points into custom strategies or automated systems.
3. Custom Entry/Exit Timing Based on Years and Days:
The indicator provides entry and exit signals based on years and days, which could be useful for time-specific market behavior, long-term trades, and back testing.
#### Basic Usage
This indicator can check for all types of potential divergences: bullish, hidden bullish, bearish, hidden bearish. All you need to do is choose the type you want to check for under “DIVERGENCE TYPE” in the settings. On the chart, potential bullish divergences will show up as triangles below the price candles. one the chart potential bearish divergences will show up as upside down triangles above the price candles
#### Signals for Advanced Usage
You can use this indicator as a source in other indicators or strategies using the following information:
“ PD: Bull divergence signal ” will return “1” when a divergence is present and “0” when not present
“ PD: HBull divergence(hidden bull) signal ” will return “1” when a divergence is present and “0” when not present
“ PD: Bear divergence signal ” will return “1” when a divergence is present and “0” when not present
“ PD: HBear divergence(hidden bear) signal ” will return “1” when a divergence is present and “0” when not present
“ PD: enter ” signal will return a “1” when both the days and years criteria in the “entry filter settings” are met and “0” when not met.
“ PD: exit ” signal will return a “1” when the days criteria in the “exit filter settings” are met and “0” when not met.
#### Examples of Using Signals
1. If you are testing a long strategy for Bitcoin and do not want it to run during bear market years(e.g., the second year after a US presidential election), you can enable the “year and day filter for entry,” uncheck the following years in the settings: 2010, 2014, 2018, 2022, 2026, and reference the signal below in our strategy
signal: “ PD: enter ”
2. Let’s say you have a good long strategy, but want to make it a bit more profitable, you can tell the strategy not to run on days where there is potential bearish divergence and have it only run on more profitable days using these signals and the appropriate settings in the indicator
signal: “ PD: Bear divergence signal ” will return a ‘0’ with no bearish divergence present
signal: “ PD: enter ” will return a “1” if the entry falls on a specific, more profitable day chosen in the settings
#### Disclaimer
The "Potential Divergence Checker" indicator is a tool designed to identify potential market signals. It may have bugs and not do what it should do. It is not a guarantee of future trading performance, and users should exercise caution when making trading decisions based on its outputs. Always perform your own research and consider consulting with a financial advisor before making any investment decisions. Trading involves significant risk, and past performance is not indicative of future results.
Larry Connors 3 Day High/Low StrategyThe Larry Connors 3 Day High/Low Strategy is a short-term mean-reversion trading strategy that is designed to identify potential buying opportunities when a security is oversold. This strategy is based on the principles developed by Larry Connors, a well-known trading system developer and author.
Key Strategy Elements:
1. Trend Confirmation: The strategy first confirms that the security is in a long-term uptrend by ensuring that the closing price is above the 200-day moving average (condition1). This rule helps filter trades to align with the longer-term trend.
2. Short-Term Pullback: The strategy looks for a short-term pullback by ensuring that the closing price is below the 5-day moving average (condition2). This identifies potential entry points when the price temporarily moves against the longer-term trend.
3. Three Consecutive Lower Highs and Lows:
• The high and low two days ago are lower than those of the day before (condition3).
• The high and low yesterday are lower than those of two days ago (condition4).
• Today’s high and low are lower than yesterday’s (condition5).
These conditions are used to identify a sequence of declining highs and lows, signaling a short-term pullback or oversold condition in the context of an overall uptrend.
4. Entry and Exit Signals:
• Buy Signal: A buy order is triggered when all the above conditions are met (buyCondition).
• Sell Signal: A sell order is executed when the closing price is above the 5-day moving average (sellCondition), indicating that the pullback might be ending.
Risks of the Strategy
1. Mean Reversion Failure: This strategy relies on the assumption that prices will revert to the mean after a short-term pullback. In strong downtrends or during market crashes, prices may continue to decline, leading to significant losses.
2. Whipsaws and False Signals: The strategy may generate false signals, especially in choppy or sideways markets where the price does not follow a clear trend. This can lead to frequent small losses that can add up over time.
3. Dependence on Historical Patterns: The strategy is based on historical price patterns, which do not always predict future price movements accurately. Sudden market news or economic changes can disrupt the pattern.
4. Lack of Risk Management: The strategy as written does not include stop losses or position sizing rules, which can expose traders to larger-than-expected losses if conditions change rapidly.
About Larry Connors
Larry Connors is a renowned trader, author, and founder of Connors Research and TradingMarkets.com. He is widely recognized for his development of quantitative trading strategies, especially those focusing on short-term mean reversion techniques. Connors has authored several books on trading, including “Short-Term Trading Strategies That Work” and “Street Smarts,” co-authored with Linda Raschke. His strategies are known for their systematic, rules-based approach and have been widely used by traders and investment professionals.
Connors’ research often emphasizes the importance of trading with the trend, managing risk, and using statistically validated techniques to improve trading outcomes. His work has been influential in the field of quantitative trading, providing accessible strategies for traders at various skill levels.
References
1. Connors, L., & Raschke, L. (1995). Street Smarts: High Probability Short-Term Trading Strategies.
2. Connors, L. (2009). Short-Term Trading Strategies That Work.
3. Fama, E. F., & French, K. R. (1988). Permanent and Temporary Components of Stock Prices. Journal of Political Economy, 96(2), 246-273.
This strategy and its variations are popular among traders looking to capitalize on short-term price movements while aligning with longer-term trends. However, like all trading strategies, it requires rigorous backtesting and risk management to ensure its effectiveness under different market conditions.
S&P500 Market Breadth /MA20Introduction
It calculates the percentage of assets trading above their 20-day moving average (MA20), providing a clear view of market breadth and highlighting the strength of an uptrend or downtrend.
Features
• Market Breadth Analysis: The MA20 Market Breadth Indicator tracks the number of assets trading above their 20-day moving average, offering an intuitive view of the proportion of rising versus falling assets. A high breadth suggests a strong uptrend, while low breadth indicates that most assets are in a downtrend.
• Trend Following: This indicator allows traders to easily identify whether the overall market trend is healthy and upward or potentially weakening and downward.
• Simple and Intuitive: The breadth is displayed as a percentage, enabling users to quickly assess market conditions and make informed decisions.
How to Use
1. Assess Market Sentiment: When the MA20 market breadth is above the 50% zone, it indicates that the market is in a broad uptrend, favoring long positions. When it falls below 50%, it signals downward pressure, making it a time for caution or short opportunities.
2. Spot Trend Reversals: Sudden changes in market breadth, such as a sharp decline from a high level, can indicate an upcoming market reversal or correction, signaling traders to adjust their positions.
3. Confirm Trends: Combine the MA20 market breadth with other indicators, such as momentum or volume, to further validate the overall direction of the market.
Applicable Markets
This indicator works across various markets and asset classes, including but not limited to:
• Stock markets (indices and individual stocks)
• Cryptocurrencies
• Forex markets
Conclusion
The MA20 Market Breadth Indicator provides traders with a clear picture of market health, helping to identify broader trends and confirm shifts in market sentiment. It’s an essential tool for traders of all types, particularly those focused on medium to short-term trend following and market reversals.
Disclaimer
This indicator is for educational purposes only. Please use it in conjunction with your own trading strategies and adjust according to your risk tolerance.
This introduction should work well for your TradingView release. You can adjust it as needed for specific features or updates in the indicator.
Support Resistance UltimateThe "Support Resistance ULTIMATE" indicator is a comprehensive tool for traders on the TradingView platform, designed to identify key support and resistance levels using two primary techniques: pivot points and volume data. This indicator provides flexibility and customization, allowing traders to adapt it to their specific trading strategies.
KEY FEATURES
Pivot-Based Levels:
This feature calculates support and resistance levels using pivot points, which are derived from the high, low, and close prices of previous trading periods. Pivot points are crucial for forecasting potential market turning points.
Users can customize the pivot calculation by selecting the source type (either 'Close' or 'High/Low') and adjusting the lookback periods for both the left and right sides of the pivot calculation. This flexibility allows traders to adapt the indicator to different market conditions and timeframes.
Volume-Based Levels:
This option focuses on identifying support and resistance levels based on volume data, specifically the Point of Control (POC). The POC represents the price level with the highest traded volume during a specific time period, reflecting a consensus value among market participants.
The indicator includes a rolling POC calculation, allowing traders to dynamically assess areas of significant trading interest that may serve as support or resistance zones.
ADVANTAGES
Customization and Flexibility:
Traders can choose between pivot-based and volume-based levels or use both simultaneously, depending on their analysis needs. This dual approach provides a comprehensive view of market dynamics, accommodating various trading styles.
The indicator offers customizable color settings for support and resistance lines, enhancing chart readability and allowing traders to personalize their visual analysis.
Enhanced Market Insights:
By utilizing pivot points, traders can identify potential reversal or consolidation points, aiding in the prediction of market trends and the establishment of strategic entry and exit points.
Volume-based levels provide insights into market sentiment and participation, highlighting areas of strong support or resistance based on trading volume. This can improve risk management and trade execution by identifying high-probability trading zones.
Importance Scoring:
The indicator calculates the importance of each level based on the number of touches and the duration it holds. This scoring system helps traders assess the strength of support and resistance levels, with thicker lines indicating more significant levels.
This indicator is intended for educational and informational purposes only and should not be considered financial advice. Trading involves significant risk, and you should consult with a financial advisor before making any trading decisions. The performance of this indicator is not guaranteed, and past results do not predict future performance. Use at your own risk.
Dema AFR | viResearchDema AFR | viResearch
Conceptual Foundation and Innovation
The "Dema AFR" indicator combines the Double Exponential Moving Average (DEMA) with an Average True Range (ATR)-based adaptive factor to create a responsive and adaptable trend-following system. The DEMA is known for its ability to smooth price data while reducing lag, making it highly effective for trend detection. By incorporating the ATR as a volatility factor, this indicator adapts dynamically to market conditions, allowing traders to capture trends while accounting for changes in volatility. The result is the Adaptive Factor Range (AFR), which provides clear signals for potential trend shifts and helps manage risk through its adaptive nature. This combination of DEMA smoothing and an ATR-based factor enables traders to follow trends more effectively while maintaining sensitivity to changing market conditions.
Technical Composition and Calculation
The "Dema AFR" script consists of two main components: the Double Exponential Moving Average (DEMA) and the Adaptive Factor Range (AFR). The DEMA is calculated over a user-defined length, smoothing out price fluctuations while reducing lag compared to traditional moving averages. The ATR is used to create a dynamic factor that adjusts the AFR based on market volatility. The factor is calculated by multiplying the ATR by a user-defined factor value, which scales the ATR to define upper and lower bounds for the AFR. The Adaptive Factor Range is derived from the DEMA, with upper and lower bounds set by adding or subtracting the ATR-based factor from the DEMA. When the price moves outside these bounds, the AFR is adjusted, and signals are generated. If the lower bound is exceeded, the AFR adjusts upward, while exceeding the upper bound causes the AFR to adjust downward. This dynamic adjustment helps the indicator stay responsive to market movements.
Features and User Inputs
The "Dema AFR" script provides several customizable inputs, allowing traders to tailor the indicator to their strategies. The DEMA Length controls the smoothing period for the DEMA, while the ATR Period defines the window for calculating the Average True Range. The ATR Factor determines the scale of the adaptive factor, controlling how much the AFR adjusts to volatility. Additionally, customizable bar colors and alert conditions allow traders to visualize the trend direction and receive notifications when key trend shifts occur.
Practical Applications
The "Dema AFR" indicator is designed for traders who want to capture trends while adapting to market volatility. The adaptive nature of the AFR makes it responsive to trend changes, providing early signals of potential trend reversals as the AFR adjusts to market movements. By incorporating ATR into the AFR calculation, the indicator adjusts to changing volatility, helping traders manage risk by staying aligned with market conditions. The AFR also helps confirm whether a price move is supported by momentum, improving the accuracy of trade entries and exits.
Advantages and Strategic Value
The "Dema AFR" script offers a significant advantage by combining the smoothness of the DEMA with the adaptability of the ATR-based factor. This dynamic combination allows the indicator to adjust to market conditions, providing more reliable trend signals in both trending and volatile markets. The adaptive nature of the AFR reduces the risk of false signals and helps traders stay on the right side of the trend while managing risk through volatility-adjusted ranges.
Alerts and Visual Cues
The script includes alert conditions that notify traders of key trend changes. The "Dema AFR Long" alert is triggered when the AFR indicates a potential upward trend, while the "Dema AFR Short" alert signals a potential downward trend. Visual cues such as color changes in the bar chart help traders quickly identify shifts in trend direction, allowing them to make informed decisions in real time.
Summary and Usage Tips
The "Dema AFR | viResearch" indicator provides traders with a powerful tool for trend analysis by combining DEMA smoothing with an ATR-based adaptive factor. This script helps traders stay aligned with trends while accounting for market volatility, improving their ability to detect trend reversals and manage risk. By incorporating this indicator into your trading strategy, you can make more informed decisions, whether in trending or volatile market environments. The "Dema AFR" offers a reliable and flexible solution for traders at all levels.
Note: Backtests are based on past results and are not indicative of future performance.
Ema Z-score | viResearchEma Z-score | viResearch
Conceptual Foundation and Innovation
The "Ema Z-score" indicator introduces a novel method of analyzing price deviations from the mean by combining the Exponential Moving Average (EMA) with a Z-score calculation. The Z-score is a statistical measure that quantifies how far a value deviates from the mean in terms of standard deviations. By applying the Z-score to an EMA, this indicator provides traders with insights into the strength and momentum of price movements relative to a smoothed average. This enables better detection of overbought and oversold conditions, as well as potential trend reversals.
The use of the Z-score helps filter out noise and provides more robust signals by highlighting extreme deviations from the mean, allowing traders to make more informed decisions in both trending and ranging markets.
Technical Composition and Calculation
The "Ema Z-score" script consists of two main components: the Exponential Moving Average (EMA) and the Z-score calculation. The EMA is calculated over a user-defined length, smoothing price movements to provide a clearer trend line. The Z-score is then derived by measuring the deviation of the current EMA value from the mean of the EMA over a lookback period, divided by the standard deviation of the EMA during that same period.
For the Z-score calculation, the script first computes the mean EMA over the lookback period using the ta.ema function. It then calculates the standard deviation of the EMA over the same period using the ta.stdev function. The Z-score is determined by subtracting the mean EMA from the current EMA value and dividing by the standard deviation, producing a normalized measure of deviation from the average.
Features and User Inputs
The "Ema Z-score" script offers several customizable inputs that allow traders to adjust the indicator according to their strategies. The EMA Length controls the smoothing period of the EMA, while the Lookback Period defines how far back the script looks when calculating the mean and standard deviation for the Z-score. Customizable thresholds allow traders to define when the Z-score signals potential uptrends or downtrends, based on their chosen levels of deviation.
Practical Applications
The "Ema Z-score" indicator is designed for traders who want to better understand price deviations from the mean and use those insights to identify potential trading opportunities. This tool is particularly effective for:
Identifying Overbought and Oversold Conditions: The Z-score provides a quantitative measure of how far the price has deviated from the mean, helping traders spot extreme conditions that could lead to reversals. Detecting Trend Reversals: By monitoring when the Z-score crosses certain thresholds, traders can identify potential trend reversals early and adjust their positions accordingly. Confirming Trend Strength: The Z-score can help confirm whether a price move is backed by momentum or is likely to revert to the mean, providing additional context for trade entries and exits.
Advantages and Strategic Value
The "Ema Z-score" script offers a significant advantage by combining the smoothing effect of the EMA with the precision of Z-score analysis. This approach reduces the impact of market noise while highlighting meaningful deviations from the norm. The ability to quantify deviations in terms of standard deviations gives traders a statistical edge in identifying overbought or oversold conditions and potential trend shifts. This makes the "Ema Z-score" an effective tool for both trend-following and contrarian strategies.
Alerts and Visual Cues
The script includes alert conditions to notify traders of key Z-score threshold crossings. The "Ema Z-score Long" alert is triggered when the Z-score exceeds the upper threshold, signaling a potential upward trend. Conversely, the "Ema Z-score Short" alert signals a possible downward trend when the Z-score falls below the lower threshold. Visual cues such as color changes in the bar chart and Z-score plot help traders easily identify these conditions on the chart.
Summary and Usage Tips
The "Ema Z-score | viResearch" indicator offers a unique combination of EMA smoothing and Z-score analysis, giving traders a statistical measure of price deviations and improving their ability to detect overbought or oversold conditions, trend reversals, and trend confirmations. By incorporating this script into your trading strategy, you can better quantify price extremes and make more informed decisions in both volatile and stable markets. Whether you're focused on spotting early reversals or confirming ongoing trends, the "Ema Z-score" provides a reliable and customizable solution.
Note: Backtests are based on past results and are not indicative of future performance.
Dema Ema Crossover | viResearchDema Ema Crossover | viResearch
Conceptual Foundation and Innovation
The "Dema Ema Crossover" indicator combines the strengths of the Double Exponential Moving Average (DEMA) with an Exponential Moving Average (EMA) crossover strategy. The DEMA is well-known for its ability to reduce lag compared to standard moving averages, offering smoother trend-following signals. In this script, the DEMA is used as the foundation, with two EMAs applied on top of it to further refine the trend detection and crossover points. This combination provides traders with a robust tool for identifying trend shifts and potential entry or exit points.
By leveraging the faster responsiveness of the DEMA and using EMA crossovers, the "Dema Ema Crossover" indicator helps traders detect and act on trend reversals more efficiently, making it a powerful solution for capturing both short- and long-term market movements.
Technical Composition and Calculation
The "Dema Ema Crossover" script consists of three main components: the Double Exponential Moving Average (DEMA), the fast EMA, and the slow EMA. The DEMA is calculated based on the selected length and source price, providing a smooth representation of market trends. Two EMAs are then applied to the DEMA, with one being faster (shorter period) and the other slower (longer period). The crossover between these two EMAs generates the signals for trend changes.
For the DEMA, the calculation uses the ta.dema function, which reduces lag while maintaining smoothness in the moving average. The fast and slow EMAs are calculated using the ta.ema function, with the fast EMA responding more quickly to price changes, while the slow EMA captures broader trends. The crossover between these two EMAs is used to generate buy and sell signals based on the direction of the crossover.
Features and User Inputs
The "Dema Ema Crossover" script offers several customizable inputs that allow traders to tailor the indicator to their trading strategies. The DEMA Length controls how smooth the DEMA is, with a longer length creating a slower-moving average and a shorter length providing a more responsive one. The Fast EMA Length and Slow EMA Length are also customizable, allowing traders to adjust the sensitivity of the crossover signals based on their market outlook and preferred trading timeframe.
Practical Applications
The "Dema Ema Crossover" indicator is designed for traders looking for a reliable crossover strategy that combines the responsiveness of the DEMA with the precision of EMA crossovers. This tool is particularly effective for:
Identifying Trend Reversals: The crossover between the fast and slow EMAs applied to the DEMA provides early signals of potential trend reversals, allowing traders to position themselves in the market more effectively. Confirming Trend Direction: The combined effect of the DEMA and EMA crossovers helps confirm the strength of a trend, improving decision-making around trade entries and exits. Adapting to Different Market Conditions: The customizable parameters allow traders to adjust the sensitivity of the crossover signals, making the indicator suitable for both fast-moving markets and slower, trending environments.
Advantages and Strategic Value
The "Dema Ema Crossover" script offers a significant advantage by combining the smoothness of the DEMA with the accuracy of EMA crossovers. The DEMA’s ability to reduce lag while maintaining responsiveness makes it ideal for trend-following strategies, while the crossover between the fast and slow EMAs provides precise entry and exit points. This combination reduces false signals and helps traders adapt to changing market conditions, resulting in a more reliable and efficient trend-following system.
Alerts and Visual Cues
The script includes alert conditions to notify traders of key crossover events. The "Dema Ema Crossover Long" alert is triggered when the fast EMA crosses above the slow EMA, signaling a potential upward trend. Conversely, the "Dema Ema Crossover Short" alert signals a possible downward trend when the fast EMA crosses below the slow EMA. Visual cues such as colored fills between the two EMAs highlight these crossover points on the chart, helping traders quickly identify trend shifts.
Summary and Usage Tips
The "Dema Ema Crossover | viResearch" indicator provides traders with a powerful combination of the DEMA and EMA crossovers, offering a smooth yet responsive tool for detecting trend reversals and confirming trend direction. By incorporating this script into your trading strategy, you can improve your ability to capture trend changes with greater accuracy, reducing the impact of market noise. Whether you are focused on short-term market moves or long-term trends, the "Dema Ema Crossover" indicator offers a flexible and reliable solution for traders at all levels.
Note: Backtests are based on past results and are not indicative of future performance.
Hull For Loop | viResearchHull For Loop | viResearch
Conceptual Foundation and Innovation
The "Hull For Loop" indicator brings together the smoothness and responsiveness of the Hull Moving Average (HMA) with a dynamic loop-based scoring system. The HMA is known for its ability to reduce lag while maintaining smooth trend representation, making it a popular choice for traders looking for a responsive and reliable moving average. By incorporating a for loop system that compares current and past HMA values over a user-defined range, the "Hull For Loop" script generates a score that allows traders to detect potential trend changes and assess the strength of ongoing trends. This combination of the HMA and a loop-based evaluation system provides traders with a powerful tool for understanding market momentum and making informed trading decisions.
Technical Composition and Calculation
The "Hull For Loop" script consists of two key elements: the Hull Moving Average (HMA) and the For Loop Scoring System. The HMA is calculated using a weighted moving average (WMA) of the price data, adjusted to reduce lag and provide a smoother trend line. The for loop compares the current HMA to past values over a customizable range, generating a score based on whether the current HMA is higher or lower than previous values.
For the Hull Moving Average, the calculation involves applying a WMA to the source price over the selected length. The result is then used in a secondary WMA calculation to further smooth the output and reduce lag. The For Loop Scoring System evaluates the HMA over a defined range (from and to) by adding or subtracting from the score depending on whether the current HMA is higher or lower than past values. This final score reflects the overall trend strength and direction.
Features and User Inputs
The "Hull For Loop" script offers several customizable inputs, allowing traders to tailor the indicator to their strategies. The Hull Length controls the period over which the HMA is calculated, affecting how quickly the indicator responds to price changes. The Loop Range (From and To) defines the range over which the for loop compares past HMA values, offering flexibility in assessing trend strength over different timeframes. Additionally, customizable thresholds allow traders to define when the score signals an uptrend or downtrend, providing control over the indicator's sensitivity to market conditions.
Practical Applications
The "Hull For Loop" indicator is designed for traders looking to capitalize on the smooth trend representation of the HMA while gaining insights into market momentum through a loop-based scoring system. This tool is particularly effective for identifying trend reversals, as the for loop scoring system provides early signals of potential trend reversals by comparing the current HMA to past values, giving traders an advantage in volatile markets. By analyzing the HMA across a range of past values, the indicator helps confirm whether trends are gaining or losing strength, improving trade entry and exit points. The customizable parameters allow traders to adjust the indicator to different market conditions, making it suitable for both short-term and long-term strategies.
Advantages and Strategic Value
The "Hull For Loop" script provides a significant advantage by combining the smoothness of the HMA with a dynamic scoring system. The HMA's ability to reduce lag while providing a clear trend signal makes it ideal for trend-following strategies, while the loop-based scoring system adds a layer of analysis that helps reduce false signals. This combination results in a reliable tool for identifying and confirming trends, allowing traders to adapt more effectively to changing market conditions.
Alerts and Visual Cues
The script includes alert conditions to notify traders of key trend changes. The "Hull For Loop Long" alert is triggered when the score crosses the upper threshold, signaling a potential upward trend. Conversely, the "Hull For Loop Short" alert signals a possible downward trend when the score crosses below the lower threshold. Visual cues, such as changes in the background color, highlight these trend shifts on the chart, helping traders quickly identify potential market reversals.
Summary and Usage Tips
The "Hull For Loop | viResearch" indicator offers traders a robust tool for trend analysis by combining the benefits of the Hull Moving Average with a dynamic loop-based scoring system. By incorporating this script into your trading strategy, you can improve your ability to detect and confirm trends with greater accuracy, reducing the impact of market noise. Whether you are focused on identifying early trend reversals or confirming ongoing trends, the "Hull For Loop" provides a reliable and customizable solution for traders of all levels.
Note: Backtests are based on past results and are not indicative of future performance.
Mode For Loop | viResearchMode For Loop | viResearch
Conceptual Foundation and Innovation
The "Mode For Loop" indicator introduces a novel approach to market analysis by incorporating the mode calculation into a dynamic scoring system. The mode, which represents the most frequent price over a specified period, provides a robust measure of price centrality that can filter out random fluctuations and offer a clear picture of market trends. Combined with a loop-based evaluation system, this indicator generates a score that helps traders identify potential trend reversals and the strength of ongoing trends. By comparing the current mode with past values over a defined range, the "Mode For Loop" script offers traders a comprehensive tool for understanding market momentum and trend dynamics.
Technical Composition and Calculation
The "Mode For Loop" script consists of two key elements: Mode Calculation and the For Loop Scoring System. The mode represents the most frequent price point within a user-defined length. This value is calculated from the selected source price (e.g., close) and provides a smoothed central price that reflects market consensus over the period. The for loop compares the current mode to historical mode values over a customizable range. The score is calculated by evaluating whether the current mode is higher or lower than past values. A positive score indicates upward momentum, while a negative score suggests downward momentum.
For the Mode Calculation, the mode is determined using the ta.mode function, which identifies the most common price over the selected length. The loop iterates over the defined range (from and to), comparing the current mode to historical values. The score is updated by adding or subtracting based on whether the current mode is greater than or less than the past values, resulting in a total score that reflects the trend direction.
Features and User Inputs
The "Mode For Loop" script offers multiple customizable inputs, allowing traders to fine-tune the indicator to suit their strategies. The Mode Length defines the period over which the mode is calculated, controlling how the indicator smooths out price fluctuations and identifies central price trends. The Loop Range (From and To) allows users to set the range over which the mode is compared to previous values, offering flexibility in assessing trend strength over different time horizons. Customizable thresholds determine when the score signals an uptrend or downtrend, allowing traders to adjust the indicator’s sensitivity to market conditions.
Practical Applications
The "Mode For Loop" indicator is designed for traders who want to leverage the mode’s ability to filter out noise and focus on the most frequent price points. This tool can be particularly effective for detecting trend reversals, as the loop-based scoring system provides early signals of potential reversals by comparing the current mode with past values. This helps traders act before significant market shifts occur. The indicator also excels at confirming trend strength. By analyzing the mode across a range of past values, it offers a clearer view of the strength and sustainability of trends, improving trade entry and exit points. The customizable parameters enable traders to adapt the indicator to various market conditions, making it suitable for both short-term and long-term trading strategies.
Advantages and Strategic Value
The key advantage of the "Mode For Loop" script is its ability to provide a more stable and central measure of price trends using the mode calculation, while also applying a dynamic scoring system for enhanced trend detection. This combination offers traders a more reliable tool for reducing false signals and improving the accuracy of trend-following strategies. The mode’s focus on the most frequent price makes it a robust choice for understanding true market behavior, while the loop-based evaluation ensures that trends are analyzed comprehensively.
Alerts and Visual Cues
The script includes alert conditions to notify traders of key trend signals. The "Mode For Loop Long" alert signals a potential upward trend when the score exceeds the upper threshold, while the "Mode For Loop Short" alert indicates a possible downward trend when the score falls below the lower threshold. The indicator also includes visual cues, with background colors changing when the score crosses key levels, helping traders quickly identify potential shifts in market direction.
Summary and Usage Tips
The "Mode For Loop | viResearch" indicator offers a powerful combination of mode-based price smoothing and dynamic trend scoring, giving traders a detailed and responsive tool for trend analysis. By incorporating this script into your trading system, you can improve your ability to detect and confirm trends while minimizing the impact of market noise. Whether you're focused on capturing early trend reversals or confirming ongoing trends, this indicator provides a reliable and flexible solution.
Note: Backtests are based on past results and are not indicative of future performance.
Supertrend 3 + DashboardSupertrend 3 + Dashboard (English and Japanese Explanation Below)
日本語解説は下記
Supertrend 3 + Dashboard is an advanced indicator for traders who wish to monitor multiple time frames simultaneously, combining three Supertrend indicators to provide a customizable dashboard that displays trend direction across multiple time frames. This allows traders to easily identify trends and potential reversals across different time frames, making it a powerful tool in trend-following strategies.
Explanation:
・Supertrend Calculation: The Supertrend indicator is calculated using the Average True Range (ATR) to determine the trend direction. In this indicator, three Supertrend calculations are used, each with customizable ATR lengths and multipliers, allowing traders to adjust the settings to fit their trading strategy.
・Multiple Timeframes: You can set different timeframes for each Supertrend, with default values of the current chart's timeframe for the first Supertrend, 5 minutes for the second, and 15 minutes for the third. These timeframes can be adjusted to fit the trader's preferences, enabling multi-timeframe trend analysis.
・Color Logic: Each Supertrend changes color based on the trend direction. Green indicates an uptrend, while red indicates a downtrend. The lines and filled areas are color-coded to visually differentiate between bullish and bearish trends across different timeframes.
・Dashboard Feature: The customizable dashboard displays trend signals for multiple timeframes (e.g., 1 minute, 5 minutes, 15 minutes, 1 hour, daily, weekly) in a tabular format. Each cell shows the trend direction with an arrow (▲ for uptrend, ▼ for downtrend), and the background color is adjusted accordingly. The dashboard can be positioned at different corners of the chart (top-left, top-right, bottom-left, bottom-right) based on user preference.
Notes:
Please note that this indicator may be subject to changes or removal without notice. The developer cannot be held responsible for any losses incurred from trading with this indicator, so please operate at your own risk.
Supertrend 3 + Dashboardは、複数の時間軸を同時に監視したいトレーダー向けの高度なインジケーターです。3つのSupertrendインジケーターを組み合わせ、複数の時間軸にわたるトレンド方向を表示するカスタマイズ可能なダッシュボードを提供します。これにより、トレーダーは異なる時間軸でのトレンドや反転の可能性を簡単に把握でき、トレンドフォロー戦略において強力なツールとなります。
・Supertrend計算方法: Supertrendインジケーターは、平均真の範囲(ATR)を使用してトレンド方向を決定します。このインジケーターでは、3つのSupertrend計算が使用され、それぞれにカスタマイズ可能なATRの期間と倍率が設定されており、トレーダーは戦略に合わせて設定を調整できます。
・複数時間軸: 各Supertrendに対して異なる時間軸を設定できます。デフォルトでは、第一のSupertrendは現在のチャートの時間軸、第二は5分、第三は15分に設定されています。これらの時間軸はトレーダーの好みに応じて調整可能で、複数時間軸でのトレンド分析が可能です。
・色のロジック: 各Supertrendは、トレンドの方向に応じて色が変わります。緑は上昇トレンド、赤は下降トレンドを示します。異なる時間軸での強気と弱気のトレンドを視覚的に区別するために、線や塗りつぶしの色が適用されています。
・ダッシュボード機能: カスタマイズ可能なダッシュボードは、1分、5分、15分、1時間、日足、週足など、複数の時間軸にわたるトレンド信号を表形式で表示します。各セルにはトレンド方向が矢印(▲は上昇、▼は下降)で表示され、背景色もそれに応じて調整されます。ダッシュボードの位置は、ユーザーの好みに応じて、チャートの四隅(左上、右上、左下、右下)に配置できます。
注意事項: このインジケーターは予告なく変更または削除される場合があります。このインジケーターを使用しての取引による損失について、開発者は責任を負いかねますので、自己責任でご利用ください。
Harmonic Trend Pulse1. Overview
The Harmonic Trend Pulse Indicator is a technical analysis tool designed for use on price charts. It combines elements of trend detection and harmonic moving averages to provide users with visual insights into market dynamics. The indicator is adaptable to different market conditions and is structured to aid in understanding price movements without making predictions.
2. Key Parameters
The indicator's performance relies on three adjustable settings:
Length: Defines the lookback period used to calculate the midpoint of price movements based on the highest and lowest points within the selected range.
Center: A smoothing parameter that affects how sensitive the trendline is to changes in the market. Higher values lead to a smoother trendline, while lower values make it more reactive.
HMA Length: This is the length for calculating the Harmonic Moving Average (HMA), which is a weighted moving average that helps filter out noise from price data, offering a cleaner view of the underlying trend.
3. Indicator Calculation
The indicator works as follows:
Midpoint Calculation: It first calculates the midpoint of the price using the highest high and lowest low over the given Length. This midpoint is then smoothed using an Exponential Moving Average (EMA) based on the Center value.
Harmonic Moving Average (HMA):
The HMA is calculated by first applying a Weighted Moving Average (WMA) over half the HMA Length and the full HMA Length.
It then computes the final trendline using the HMA formula, which smooths out short-term price fluctuations to provide a more accurate representation of the trend.
4. Visual Interpretation
The indicator plots the HMA trendline on the chart, with its color changing based on the market's direction:
Green Line: Indicates an upward trend when the current HMA value is higher than the previous bar's HMA.
Red Line: Indicates a downward trend when the current HMA value is lower than the previous bar's HMA.
This color-coded visual allows traders to quickly identify the current market trend and assess its strength.
5. Key Benefits
Clear Trend Detection: The combination of trend logic and the harmonic moving average helps users spot market direction changes quickly.
Noise Reduction: The Harmonic Moving Average (HMA) filters out short-term price fluctuations, making it easier to observe the overall trend.
Customizable Parameters: Traders can adjust the Length, Center, and HMA Length settings to tailor the indicator's sensitivity to their preferred trading style.
6. Conclusion
The Harmonic Trend Pulse Indicator provides a flexible and effective tool for tracking market trends. By using a combination of advanced moving averages and trend detection techniques, it offers traders valuable insights into the price dynamics of various assets. Its simple yet powerful visualization helps traders make informed decisions based on current market conditions.
Median For Loop | viResearchMedian For Loop | viResearch
Conceptual Foundation and Innovation
The "Median For Loop" indicator provides an innovative approach to analyzing market data by combining the power of the Median Price with a dynamic scoring system based on a for loop mechanism. This unique script evaluates the median price of the market over a user-defined period, then applies a loop function to generate a score that helps traders detect trends, reversals, and market momentum.
The median, being a robust measure of central tendency, helps filter out noise and better represent the middle of a price range. By applying a loop function that compares the current median to historical values, this script offers a detailed view of price momentum, allowing traders to detect potential trend changes with improved accuracy.
Technical Composition and Calculation
The "Median For Loop" script is composed of two primary components:
Median Calculation: The indicator calculates the median price of the market based on the chosen input source (default is HLC3: the average of high, low, and close) and the specified length. This creates a central value around which market movements can be evaluated.
For Loop Scoring System: This system compares the current median value with past values within a user-defined range, generating a score that reflects how the market is trending. The loop mechanism dynamically sums the score based on whether the current median is higher or lower than historical medians, providing a clear signal of trend strength and direction.
Key Calculations:
Median Calculation: The median is calculated using the percentile_nearest_rank function, providing the 50th percentile of the selected price data over the given length.
For Loop Scoring:
The loop evaluates the median over a defined range (from and to), comparing the current median to historical values.
If the current median is higher than a previous value, a positive score is added; if it is lower, a negative score is added. This forms the final total score, indicating the trend strength.
Features and User Inputs
The "Median For Loop" script offers flexibility and customization options for traders to adapt it to various market conditions and trading strategies:
Median Length: Control the period over which the median price is calculated, affecting the responsiveness of the indicator to price changes.
Loop Range (From and To): Define the range over which the loop evaluates historical median values, allowing traders to adjust how far back the script looks when assessing momentum.
Thresholds: User-defined thresholds are available to specify when the score indicates an uptrend or downtrend. This provides traders with control over the sensitivity of the trend signals.
Practical Applications
The "Median For Loop" indicator is ideal for traders seeking a balanced, noise-filtered approach to trend detection. It is particularly effective for:
Detecting Early Trend Reversals: The loop-based scoring system offers early signals of potential reversals by comparing the current median with past medians, giving traders an advantage in volatile markets.
Confirming Trend Strength: By analyzing the median over time, the script helps confirm whether trends are gaining or losing momentum, improving the accuracy of trade entries and exits.
Strategic Positioning: The customizable parameters allow traders to adapt the script to various market conditions, enhancing their ability to position themselves effectively in both trending and ranging markets.
Advantages and Strategic Value
The key advantage of the "Median For Loop" script is its ability to reduce market noise by focusing on the median price while providing a dynamic scoring system for trend detection. The combination of median calculation and loop-based evaluation offers a more refined view of market momentum, reducing false signals and increasing the reliability of trend identification. This makes it a valuable tool for traders aiming to enhance their market timing and strategy development.
Alerts and Visual Cues
The script includes built-in alerts to notify traders of potential trend changes:
Median For Loop Long: Triggers when the score exceeds the upper threshold, indicating a possible upward trend.
Median For Loop Short: Triggers when the score falls below the lower threshold, signaling a potential downward trend.
Visual cues are also provided, with background colors highlighting potential trend shifts when the score crosses certain levels, offering traders an easy-to-read signal on the chart.
Summary and Usage Tips
The "Median For Loop | viResearch" indicator provides a powerful combination of median price smoothing and dynamic trend scoring, allowing traders to gain a clearer understanding of market momentum. By incorporating this script into your trading strategy, you can improve your ability to detect trends and reversals while reducing the noise that often affects price data. Whether you're focusing on early reversals or confirming the strength of existing trends, this indicator offers a reliable and customizable solution.
Note: Backtests are based on past results and are not indicative of future performance.
Cumulative Volume Delta DivergenceThe Cumulative Volume Delta Divergence is an indicator that helps traders visually assess the buying and selling pressures in the market by analyzing volume divergences over time. This indicator overlays directly on the price chart, offering insights into how volume shifts correlate with price movements.
Utility and Trading Benefit
Divergence Detection
The primary utility of this indicator lies in its ability to detect divergences between volume trends and price movements. Such divergences can signal potential price reversals, providing traders with early warnings about shifts in market sentiment.
Enhanced Decision Making
By integrating volume analysis directly with price action on the chart, the indicator aids traders in making more informed decisions regarding entry and exit points. This can be crucial for capitalizing on trends or avoiding potential losses.
Dema Vstop | viResearchTitle: Dema Vstop | viResearch
Conceptual Foundation and Innovation
The "Dema Vstop" indicator combines the Double Exponential Moving Average (DEMA) with the Volatility Stop (Vstop) concept to improve trend-following and trend-reversal signals. This script provides a more responsive and dynamic approach to identifying trends and capturing market movements by integrating these two powerful tools. It is particularly effective for traders who seek a balance between smoothing out price action and quickly adapting to volatile changes in the market.
The DEMA smooths the price action more effectively than a traditional moving average, while the Vstop introduces a volatility-adjusted stop-loss mechanism, allowing traders to adapt to the market's changing conditions. The result is a robust system that captures both trend direction and potential reversal points with improved precision.
Technical Composition and Calculation
At the core of the "Dema Vstop" script are two primary components:
Double Exponential Moving Average (DEMA): This is used to smooth the source price over a user-defined period (dema_len), making it ideal for trend identification.
Volatility Stop (Vstop): The Vstop mechanism uses the Average True Range (ATR) to adjust stop-loss levels based on market volatility, allowing the indicator to account for changes in market conditions.
Key Calculations:
DEMA Calculation: Based on the selected length and source, the DEMA smooths the price data.
Vstop Calculation: The ATR (with customizable length) is used to adjust the stop distance, and the Vstop level is calculated based on whether the price is trending up or down.
Features and User Inputs
The "Dema Vstop" script offers a high degree of customization:
DEMA Length and Source: Control the smoothness of the DEMA and the price data being smoothed.
Vstop Length: Customize the length of the ATR calculation to control how reactive the Vstop is to price volatility.
Multiplier: Adjust the sensitivity of the Vstop to market volatility. A higher multiplier results in a wider stop, while a lower multiplier tightens the stop, making it more sensitive to price changes.
Practical Applications
The "Dema Vstop" is designed for traders looking for a hybrid trend-following system that is both smooth and responsive. It can be particularly useful for:
Identifying Trends: The combination of DEMA and Vstop makes trend-following easier, helping traders stay in profitable positions longer.
Volatility Protection: The Vstop dynamically adjusts based on market volatility, providing a built-in risk management tool that reduces exposure to volatile markets.
Reversals and Entries: The Vstop helps identify potential reversals by flipping its stop level when the trend direction changes, making it effective for signaling entries and exits with improved accuracy.
Advantages and Strategic Value
The key advantage of the "Dema Vstop" script lies in its ability to offer smoother trend detection through the DEMA while dynamically adapting to volatility using the Vstop. This combination reduces false signals, providing traders with a more stable and reliable tool for trend trading. Additionally, the customizable parameters allow traders to fine-tune the indicator to suit different trading styles and market conditions.
Alerts and Visual Cues
The script comes with built-in alert conditions that trigger when a trend shift is detected:
- Dema Vstop Long: Signals a potential upward trend.
- Dema Vstop Short: Signals a potential downward trend.
These alerts ensure that traders can stay informed about critical market changes without constantly monitoring the chart.
Summary and Usage Tips
The "Dema Vstop | viResearch" script is an innovative trend-following tool that combines the smoothness of DEMA with the adaptive qualities of Vstop. By offering a customizable and dynamic system, this indicator helps traders navigate the complexities of volatile markets while reducing noise and false signals. Incorporating this script into your trading strategy can improve trend analysis and increase the accuracy of entries and exits.
Note: Backtests are based on past results and are not indicative of future performance.
Dema Supertrend | viResearchDema Supertrend | viResearch
Conceptual Foundation and Innovation
The "Dema Supertrend" indicator by viResearch combines the benefits of the Double Exponential Moving Average (DEMA) with the popular Supertrend method to provide an advanced tool for trend detection and volatility management. By integrating DEMA into the Supertrend calculation, the indicator reduces lag while enhancing responsiveness to market changes. This results in more accurate trend identification and a refined method for capturing directional movements.
Technical Composition and Calculation
The "Dema Supertrend" builds on the core principles of the Supertrend indicator by incorporating DEMA for smoother and more responsive trend detection. The key innovation lies in replacing the raw price data with the DEMA-smoothed values, allowing traders to identify trends with reduced noise and enhanced precision.
DEMA and ATR-Based Supertrend Calculation:
DEMA Calculation (demalen): The Double Exponential Moving Average is applied to the price data (hlc3 by default) over a user-defined length, providing a smoothed representation of the market trend. DEMA minimizes lag compared to simple or exponential moving averages, allowing for more timely trend identification.
Supertrend Bands (u, l): The Supertrend upper and lower bands are calculated by adding or subtracting a multiple of the Average True Range (ATR) from the DEMA value. These bands dynamically adjust to market volatility, acting as support and resistance levels to guide trading decisions.
Trend Logic (L, S): The script determines whether the price is above or below the bands to signal an uptrend (L) or downtrend (S). Crosses above or below these bands trigger visual alerts and trend changes, with alerts built in for potential long or short positions.
Trend Continuation and Reversal:
The indicator ensures that once a trend is identified, it persists until clear reversal criteria are met. This is achieved through a comparison of the current and previous values of the Supertrend bands, reducing the occurrence of false signals in volatile markets.
Features and User Inputs
The "Dema Supertrend" script offers a range of customizable options, allowing traders to tailor the indicator to different market conditions and trading strategies:
Supertrend Length: The length of the Supertrend period can be adjusted, allowing traders to control the sensitivity of the trend detection.
Multiplier: The ATR multiplier adjusts the distance between the DEMA and the Supertrend bands. A higher multiplier reduces the frequency of trend changes, while a lower multiplier increases sensitivity to price movements.
DEMA Length: The length of the DEMA calculation can be customized to smooth price data over different timeframes, helping traders capture long-term trends or short-term movements more effectively.
Practical Applications
The "Dema Supertrend" is an ideal tool for traders who seek to follow trends while minimizing the impact of market noise. Its combination of DEMA and Supertrend provides a clear, dynamic view of the market's direction, making it especially effective in volatile environments.
Key Uses:
- Trend Following: The Dema Supertrend helps traders align their positions with the prevailing market trend by providing clear signals for uptrends and downtrends based on DEMA-smoothened price action.
- Volatility Management: The integration of ATR ensures that the Supertrend bands adapt to changes in market volatility, allowing traders to avoid entering trades during choppy, unpredictable price movements.
- Signal Confirmation: The script includes visual and alert-based signals for trend continuation and reversal, enabling traders to confirm entries and exits with greater accuracy.
Advantages and Strategic Value
The "Dema Supertrend" offers several strategic advantages:
- Reduced Lag: By integrating DEMA into the Supertrend calculation, the indicator responds more quickly to price changes, reducing the lag inherent in traditional moving averages.
- Noise Reduction: The use of DEMA filters out short-term fluctuations, providing a clearer signal for traders looking to capture significant market trends.
- Dynamic Adjustments: The combination of ATR and DEMA allows the indicator to adapt to both trending and ranging markets, making it suitable for a variety of trading strategies.
Summary and Usage Tips
The "Dema Supertrend" is a powerful tool for trend-following traders, offering a precise and adaptive method for identifying and confirming market direction. Traders can experiment with different settings for the Supertrend and DEMA lengths, as well as the ATR multiplier, to optimize the indicator for various trading environments. For best results, use the "Dema Supertrend" in conjunction with other technical analysis tools to confirm trends and manage risk. Whether you're seeking to capture long-term market moves or react to short-term volatility, the "Dema Supertrend" provides a reliable and flexible solution for your trading strategy.
Inverse Fisher Oscillator [BigBeluga]The Inverse Fisher Oscillator is a powerful tool for identifying market trends and potential reversal points by applying the Inverse Fisher Transform to normalized price data. This indicator plots multiple smoothed oscillators, each color-coded to signify their relation to dynamic volatility bands. Additionally, the Butterworth filter is incorporated to further refine trend signals. The Inverse Fisher Oscillator offers traders a visually appealing and insightful approach to trend analysis and market direction detection.
🔵 KEY FEATURES
● Inverse Fisher Oscillator Visualization
Multiple Oscillators : The indicator calculates and plots six different Inverse Fisher Oscillators, each smoothed at increasing levels to provide a layered view of price momentum.
Color-Coded Signals : The oscillator lines are color-coded based on their relation to the volatility bands—green for bullish momentum, red for bearish momentum, and yellow for neutral movements.
● Butterworth Filter Integration
Filtering : The Butterworth filter is applied to mid-line Bands to reduce noise, allowing for clearer trend detection.
// Calculate constants for the Butterworth filter
float piPrd = math.pi / mid_len
float g = math.sqrt(2)
float a1 = math.exp(-g * piPrd)
float b1 = 2 * a1 * math.cos(g * piPrd)
float coef2 = b1
float coef3 = -a1 * a1
float coef1 = (1 - b1 + a1 * a1) / 4
// Source data for the Butterworth filter
float source = ifish // The first inverse Fisher Oscillator is used as the source
// Previous source and butter filter values
var float butter = na // Initialize the 'butter' variable
// Handle null values using the nz function
float prevB1 = nz(butter , source) // Use 'source' as a fallback if butter is null
float prevB2 = nz(butter , source) // Use 'source' as a fallback if butter is null
// Calculate the Butterworth filter value
butter := coef1 * (source + (2 * source ) + source ) + (coef2 * prevB1) + (coef3 * prevB2)
● Numbered Signal Marks
Signal Markers : The indicator plots numbered signals on the chart when an oscillator crosses above the upper volatility band or below the lower volatility band.
Numbered Lines : Numbers correspond to the different oscillators (1-6), helping traders easily identify which smoothing level generated the signal.
Visual Cues : The signals are color-coded—green for bullish crossovers and red for bearish crossunders—providing clear visual cues for trend accumulation phases.
Mid-Line Option : Traders can choose between plotting the Butterworth filter as a dynamic mid-line or simply displaying it as part of the bands.
Volatility Bands : Dynamic volatility bands provide additional context for interpreting the strength and sustainability of trends.
● Dashboard Display
Real-Time Market Trend Overview : The dashboard in the bottom-right corner of the chart displays the market trend based on the Inverse Fisher Oscillator for six different smoothing levels, providing a clear visual summary of market direction.
Direction Symbols : Directional symbols (up, down, or neutral) are displayed in the dashboard, color-coded to represent bullish, bearish, or neutral momentum.
Current Price Display : The dashboard also shows the current price and highlights whether it is above or below the opening price.
🔵 HOW TO USE
● Identifying Trend Reversals
Bullish Reversals : When the oscillators short period lines start to cross above the upper volatility band (green), it indicates potential bullish momentum.
Bearish Reversals : When the oscillator crosses below the lower volatility band (red), it signals potential bearish momentum.
Neutral Signals : When the oscillator remains within the bands (yellow), it suggests that the market is in a neutral or consolidating state. Traders may choose to wait for a clearer trend signal.
● Using the Dashboard for Trend Overview
Market Trend Summary : The dashboard provides a quick overview of market direction across six different smoothing levels. Green arrows indicate bullish momentum, red arrows indicate bearish momentum, and wavy lines suggest neutrality.
Price Context : The dashboard also displays the current price, helping traders quickly assess whether the price is moving in the expected direction relative to their trend analysis.
● Volatility Band Interpretation
Volatility-Based Signals : Pay attention to how the oscillators interact with the volatility bands. Strong trends will often result in oscillators staying above or below the bands, while weaker trends or consolidations will see oscillators hovering within the bands.
🔵 CUSTOMIZATION
Length and Smoothing : Adjust the length and smoothing parameters to fit different market conditions and timeframes.
Bands Multiplier : Customize the multiplier for the volatility bands to make them more or less sensitive to price changes.
Mid-Line Type : Choose whether to display the Butterworth filter as a mid-line or incorporate it into the volatility bands.
Signal Markers : Toggle on or off the number markers for signal crossovers, making it easier to identify key entry and exit points.
🔵 CONCLUSION
The Inverse Fisher Oscillator combines the power of the Inverse Fisher Transform and the Butterworth filter to provide a sophisticated approach to trend and reversal detection. By leveraging volatility-based analysis and visually intuitive signals, this indicator helps traders spot potential entry and exit points with greater clarity. The customizable dashboard display adds further value, offering a real-time summary of market conditions to enhance decision-making. Use this tool in conjunction with other technical analysis methods to develop a well-rounded trading strategy.
First Candle High Low LevelsDescription
The "First Candle High Low Levels" Pine Script indicator is designed to highlight the high and low levels of the first candle of the day on your TradingView chart. It works across different timeframes and specifically handles the Indian stock market trading hours (9:15 AM to 3:30 PM IST). The script draws a box from the start to the end of the trading session, visually marking the price range defined by the first candle of the day. Traders can customize the box's border color, fill color, and line width.
Features
Customizable Timeframe: Users can select the desired timeframe for the first candle (e.g., 5-minute, 15-minute, etc.).
Custom Box Appearance: Options to adjust the border color, fill color, and line width of the drawn box.
Auto Reset for Each New Day: The high and low of the first candle are reset daily to mark the start of the next trading day.
Accurate Market Session Handling: The box is drawn from the start of the first candle to the end of the trading session (3:30 PM IST).
Usage
Adding to Chart: Apply the script by copying it into the Pine Script editor in TradingView. Once added, the script will automatically draw a box representing the high and low of the first candle of the day.
Select Timeframe: You can adjust the First Candle Timeframe input to define which timeframe candle will be used for marking the high and low. For example, if you choose a 5-minute timeframe, the high and low of the first 5-minute candle will be used.
Customization:
Adjust the Border Color and Box Fill Color through the input settings to match your chart's style.
Modify the Box Line Width to make the box lines more or less prominent.
P.I.B. System (Pin Bar | Inside Bar) // AlgoFyreThe "P.I.B. System (Pin Bar | Inside Bar)" identifies bullish and bearish pin bars and inside bars on a price chart. It highlights potential market reversals by plotting labels and colorizing bars, providing traders with visual cues for better decision-making.
Description
The "P.I.B. System (Pin Bar | Inside Bar)" script is designed to help traders identify potential reversal points in the market by detecting bullish and bearish pin bars and inside bars. A pin bar is a candlestick pattern that indicates a potential reversal, characterized by a small body and a long wick. Inside bars are candlestick patterns where the current bar's high and low are within the previous bar's range, indicating potential consolidation before a breakout.
This script allows customization of various parameters to fine-tune the identification of pin bars and inside bars. When a pin bar or an inside bar is detected, the script plots a label on the chart and colorizes the bars to highlight these patterns. This tool is useful for traders looking to identify potential reversal points and make informed trading decisions.
Explanation of All Options
Pin-Wick Size Ratio Minimum Value : The minimum ratio of the wick size to the total candle size for a pin bar to be considered valid. Default is 0.66.
Candle Body Size Ratio Maximum Value : The maximum ratio of the body size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Handle-Wick Wick Size Ratio Maximum Value : The maximum ratio of the opposite wick size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Filter Out Small Candles : Option to filter out small candles based on the previous candle's size. Default is true.
Small Candle Size Ratio : The ratio used to determine if a candle is considered small compared to the previous candle. Default is 2.0.
Identify Inside Bars : Option to identify inside bars following a pin bar. Default is true.
Show Only P.I.B. : Option to show only the bars where a pin bar is followed by an inside bar. Default is true.
Hide Horizontal Rays : Option to hide horizontal rays drawn from the last identified pin bars. Default is false.
How to Use
To use this script, add it to your chart. Customize the input parameters to match your trading strategy. The script will automatically identify and highlight bullish and bearish pin bars and inside bars on the chart. Use the visual cues provided by the labels and colorized bars to make informed trading decisions.