Volume Candle Colors RKA script that changes the color of the candle to blue when the volume of the current candle is more than 5 times the Average volume of the previous number of candles on different timeframes. The color of the candle is grey when the volume is less than the average volume of the last number of candles. In a bullish trend, color of the candle is green, and in a bearish trend, color is red. additionally the 9 EMA and the 20 EMA are on the chart. all these features are customizable and variable with different timeframes.
How It Works
Volume-Based Candle Coloring:
Blue Candle:
Checks if the current volume is greater than volumeMultiplier (e.g., 5x) the highest volume of the last nCandles.
Gray Candle:
Compares the current volume with the average volume over the last avgVolumePeriod candles.
If the current volume is lower, the candle is colored gray.
Trend-Based Candle Coloring:
Bullish Trend (Red Candle):
The current close price is greater than the SMA of the last trendPeriod candles.
Bearish Trend (Green Candle):
The current close price is less than the SMA of the last trendPeriod candles.
Exponential Moving Averages (EMAs):
9 EMA (short-term trend) helps identify quick price momentum shifts.
20 EMA (medium-term trend) smoothens price movements and identifies general market direction.
These EMAs can act as dynamic support and resistance levels.
How to Use
Apply this indicator to any chart (e.g., stocks, forex, crypto).
Adjust the timeframe and parameters to fit your trading strategy.
Interpretation:
Blue Candles indicate high activity moments (potential breakouts or reversals).
Gray Candles signify low activity, often seen in consolidation phases.
Red Candles confirm a bullish trend, suggesting potential buy opportunities.
Green Candles confirm a bearish trend, suggesting potential sell opportunities.
EMA Guidance:
Use the 9 EMA for quick decisions in fast markets.
Use the 20 EMA to confirm broader market trends and avoid whipsaws.
Trendtrading
Bitnode Market Sentiment IndicatorThe Bitnod Market Sentiment Indicator leverages volume analysis and price action to detect significant market movements, providing buy and sell signals based on large volume spikes and price trends. Ideal for traders looking to capture market psychology and spot accumulation or distribution phases, this indicator combines trend-following and volume-based signals to highlight key entry and exit points.
Pivot High/Low [s3]This is a technical analysis tool that identifies significant price pivot points (highs and lows) in the market. It looks for both major and minor pivot points, which can help traders identify potential support and resistance levels, trend reversals, and breakout opportunities.
How Pivot Points Are Calculated:
The indicator uses a straightforward "higher than everything around it" or "lower than everything around it" approach:
For Pivot Highs:
- The indicator looks at a specific bar and compares it to bars before and after it
- For a major pivot high: It checks 50 bars to the left and 20 bars to the right
- If the bar's high price is higher than ALL bars within this range, it's marked as a pivot high
- Think of it like a mountain peak - it needs to be the highest point compared to everything around it
For Pivot Lows:
- Same concept but reversed - looking for valleys instead of peaks
- Checks the same ranges (50 left, 20 right)
- The bar's low price must be lower than ALL surrounding bars
- Like finding the bottom of a valley - it needs to be the lowest point in the area
Key Features:
1. Two types of pivot points:
- Major pivots (using longer lookback periods of 50 bars left, 20 bars right)
- Minor pivots (using half the lookback periods - 25 left, 10 right)
2. Visual elements:
- Triangle markers above/below bars for pivot points
- Dotted lines extending from pivot points
- Color coding: Green for lows (support), Red for highs (resistance)
- Major pivots are more prominent than minor pivots
3. Customizable alerts for:
- Formation of new pivot points
- Breakouts above/below pivot levels
Trading Applications:
1. Support and Resistance:
- Major pivot levels act as strong support (lows) and resistance (highs)
- Multiple touches of these levels increase their significance
- Minor pivots can indicate intermediate support/resistance levels
2. Trend Analysis:
- Higher highs and higher lows = Uptrend
- Lower highs and lower lows = Downtrend
- Breaking of major pivot levels can signal trend changes
3. Entry/Exit Signals:
- Long entries: When price bounces off major pivot lows
- Short entries: When price rejects from major pivot highs
- Take profits: At opposite pivot levels
- Stop losses: Just beyond the entry pivot level
4. Breakout Trading:
- Breaking above major pivot highs suggests bullish momentum
- Breaking below major pivot lows suggests bearish momentum
- Use the alert system to catch breakouts early
Settings Customization:
- Adjust lookback periods based on your timeframe
- Toggle visibility of markers and lines
- Customize colors for better visibility
- Enable/disable specific types of alerts
Risk Management Tips:
1. Don't rely solely on pivot points - combine with other indicators
2. Wait for confirmation of bounces/rejections before entering trades
3. Use proper position sizing based on stop loss placement
4. Consider market context and overall trend when trading pivot levels
This indicator is particularly useful for swing traders and position traders who focus on key market turning points and trend changes. It helps identify significant price levels where the market has previously shown reaction, making it valuable for both trend following and counter-trend strategies.
EASY Mode -Machine learning & Artificial intelligence techniqueTL:DR
I've created a new indicator script AND strategy script (shown here) to showcase a usable machine learning technique commonly referred to as a neural network. The scripts can be set to alert you when to buy and when to sell. To evaluate the ability of the indicator, I set the order size to 100%, because I wanted to directly compare it to the buy and hold of Bitcoin. Sure enough, Bitcoin buy and hold gained 200%, but in the same time period, this trading strategy gained 600% on over 300 trades. Now obviously, fees, commission, and slippage must also be considered in REAL trading. The reason I backtested without those is because this is a comparison test between the indicator and the buy & hold strategy. Once this shows comparison test shows success, then you can add in commission, fees, and slippage. If commission, fees and slippage is too high per return of each trade, then you can increase the timeframe to reduce the number of trades and increase the profit return of each trade.
Below is how the indicator works. If you have any questions, or feedback, please leave them in the comments section!
The Neural Network Proxy Strategy by NHBprod blends the principles of advanced technical analysis with neural network-inspired weight allocation. Designed for traders looking to capture dynamic market trends and reversals, this strategy employs a weighted combination of three proven indicators: RSI, MACD, and EMA. By normalizing and integrating these components, the Neural Network Proxy provides clear, actionable signals tailored for diverse market conditions and trading styles.
💫 Indicator Architecture
The Neural Network Proxy leverages a multi-indicator framework inspired by neural network logic. It calculates a composite proxy value that highlights the relative strength, momentum, and price positioning in real time. The system dynamically identifies trends, reversals, and critical turning points with a streamlined approach to filtering market noise.
By assigning customizable weights to RSI, MACD, and EMA signals, this strategy ensures adaptability across different assets and timeframes. The algorithm excels at detecting shifts in market sentiment, enabling traders to act with confidence.
📊 Technical Composition and Calculation
The Neural Network Proxy is a dynamic trend-following and reversal-detection system composed of:
Relative Strength Index (RSI): Measures momentum and normalizes values for -1 to 1 scaling.
MACD Line vs Signal Line: Highlights momentum shifts with normalized differences.
Exponential Moving Average (EMA): Captures price deviations from the trend for mean-reversion analysis.
Weighted Neural Proxy: Combines normalized values using trader-adjustable weights.
📈 Key Indicators and Features
The Neural Network Proxy Strategy provides:
Trend and Reversal Detection: Signals appear when the proxy crosses key thresholds:
Long Entry: Proxy > 0.5 confirms bullish strength.
Short Entry: Proxy < -0.5 confirms bearish momentum.
Adaptive Weighting: Fine-tune weights (w1, w2, w3) to emphasize momentum, trend, or mean-reversion signals.
Customizable Parameters: Adjust RSI, MACD, and EMA lengths to match your trading style.
High-Visibility Visualization: Tracks proxy values and threshold levels with bold, color-coded plots.
⚡️ Practical Applications and Examples
✅ Add the Strategy:
Add the Neural Network Proxy Strategy to your TradingView chart and enable backtesting.
Fine-tune input parameters for optimal performance on your chosen timeframe and asset.
👀 Monitor Proxy Values:
Watch for proxy levels crossing +0.5 for bullish trends and -0.5 for bearish trends.
Use the trend lines (green/red) as visual markers for signal confirmation.
🎯 Execute Trades:
Long signals (📈) trigger when price action confirms a bullish reversal above the 0.5 threshold.
Short signals (📉) trigger when price action validates bearish momentum below -0.5.
🔔 Set Alerts:
Configure alerts for long and short entries to stay on top of critical market movements.
Key parameters to optimize:
RSI Length: Control sensitivity to price momentum.
MACD Fast/Slow: Adjust trend strength detection.
EMA Length: Tune for longer-term trend alignment.
Weights: Experiment with w1, w2, and w3 to prioritize specific indicators.
Line Break Chart StrategyHello All!
We should not pass this year without a gift!
My last publication in 2024 is Complete Line Break Chart Strategy with many features!
What is Line Break Chart?
" Line Break is a Japanese chart style that disregards time intervals and only focuses on price movements, similar to the Kagi and Renko chart styles. Line Break charts form a series of up and down bars (referred to as lines). Up lines represent rising prices, and down lines represent falling prices. New confirmed lines only form on the chart when closing prices break the range covered by previous lines. Users can control the number of past lines used in the calculation via the "Number of Lines" input in the chart settings. The typical "Number of Lines" setting is 3, meaning the chart forms a new up line when the closing price is above the high prices of the last three lines, and it forms a new down line when the closing price is below the past three lines' low prices. If the current price is higher, it is an up line and if it is lower, it is a down line. If the current closing price is the same or the move in the opposite direction is not large enough to warrant a reversal, l then no new line is draw n" by Tradingview. You can find it here
Now let's start examining the features of the indicator:
By using Line break reversals it shows trend on the main chart. You can create alert .
Moreover, you can decide which trade should be taken by using Risk Management in the indicator. You can set the " Maximum Risk " and then if the risk is more than you set then the trade is not taken. When trend changed it checks the distance between reversal level and open price and compare it with the Maximum Risk
Breakout:
It can find breakouts and shows on the chart. You can create alert for breakouts
It can show breakouts on the main chart:
Flip-Flops:
Upon looking at set of price break charts, the trader will notice that there are instances when uptrend blocks is followed by one reversal block, and then by a reversal to a series of uptrend blocks. The opposite is also possible: a series of downtrend blocks is followed by one reversal box and then by an immediate reversal to downtrend. This price action is called a " Flip-Flop ". This structure usually produces trend continuation signal. when we see this then we better use Buy/Sell stop order. lets see this on the chart:
Temporal Sequence Table:
Sequence frequency shows the frequency distribution of the number of sequential highs and the number of sequential lows that have been generated. This is quite important to the trader who is seeking to join a trend or put on a trade when the price break reverses into a new trend direction. For example, if the pattern over the past year has been that there never were more than nine consecutive high closes, it would make sense not to enter a position late into the sequence of new high closes.
also you can see market structure. I have tried to formalize it and show it under the table. so you can understand if it's choppy market.
"Number of Lines" has very important role. While using low time frames such seconds/minutes time frame you may want to choose higher number of lines such 5,6. ( this may minimize the risk of a whipsaw )
Gaps feature:
You can set Gaps on/off. if Gaps on then you can see how long it takes for each box
Reversal and Continuation Probability:
The script calculated Reversal level and Continuation probability of the trend by using Sequence frequency.
It also shows unconfirmed box and current closing price level:
Last but not least it has Overlay option for all items, and can show all items in the main chart!
P.S. I added alerts :)
Wish you all a happy new year!
Enjoy!
Catalyst TrendCatalyst Trend – A Comprehensive Trend and Regime Analyzer
The Catalyst Trend indicator was designed to dynamically and intuitively merge various classic analytical techniques. The goal is to filter out short-term market noise and reveal reliable trend phases or potential turning points. Below is a detailed explanation of its core elements and practical usage.
1. Concept and Idea
Multidimensional Trend Detection
This indicator goes beyond a simple momentum or volatility focus. It factors in multiple measurements to provide a more well-rounded market perspective.
Versatile Indicator Fusion
Linear Regression (LinReg): Multiple LinReg calculations are combined to smooth out price fluctuations and produce a robust trendline—known here as the “Cycle Reduced Line.”
ADX (Average Directional Index): Measures trend strength.
RSI (Relative Strength Index): Flags potential overbought or oversold conditions, in both the current timeframe and a higher timeframe.
ATR (Average True Range): Assesses volatility; used to dynamically adjust calculation lengths.
By weaving these elements together, the indicator adds value beyond simply stacking multiple indicators. It adapts to real-time market conditions, aiming to highlight genuine trends and reduce false signals.
2. Key Functions and Calculations
Dynamic Length & Smoothing
A blend of volatility (ATR), ADX values, and RSI inputs determines how many candles are used in the LinReg calculations and how heavily the data is smoothed.
This allows the indicator to respond promptly during periods of high volatility, while automatically adjusting to filter out unnecessary noise in quieter phases.c
Cycle Reduced Line
The script averages several offset LinReg calculations to produce a cleaner overall signal. Random outliers are thus minimized, making the trend path more visually consistent.
An additional EMA smoothing (“Final Smoothing”) further stabilizes this trendline, reducing the impact of minor price fluctuations.
Channel Bands (Optional)
These bands are derived from the standard deviation of the price residual (the difference between the smoothed price and the trendline).
They highlight potential over-extension zones: the upper band can mark short-term overbought areas, while the lower band might indicate oversold conditions.
Trend and Sideways Determination
Slope Calculation: The slope of the trendline (comparing the current bar to the previous one) helps identify short-term directional shifts.
DX Threshold: Once the ADX surpasses a user-defined threshold and the slope is positive, it may indicate a developing uptrend. Similarly, if the slope is negative and ADX > threshold, it could signal a potential downtrend.
Multi-Level Color Coding
Original Mode: Interpolated colors reflect uptrends, downtrends, and sideways phases, factoring in metrics like ADX and RSI.
Single Color: For a neutral look, the indicator can be displayed in one uniform color.
HTF RSI: This mode uses the higher-timeframe RSI to color the trendline (Long/Short/Neutral), offering a quick gauge of overarching market pressure.
3. Use Cases and Interpretation
Timeframes & Markets
The indicator is versatile and adapts well to different intervals, from 5-minute charts to weekly views.
It can be applied to various markets—crypto, forex, stocks—since volatility and trend strength are universal concepts.
Signal Recognition
Color Swings into a more pronounced upward hue (e.g., green) may signal mounting strength.
Neutral or mixed tones often point to sideways phases, which breakout traders might watch for potential price surges.
A shift to downward colors (e.g., red) may indicate a growing bearish trend.
Channel Bands & Volatility
When the bands spread widely, it’s wise to proceed with caution: abrupt spikes above the upper band or below the lower band can flag rapid short-term extremes.
These bands are more of a reference for potential overextension than a strict buy or sell trigger.
Additional Confirmations
Not a standalone panacea: The Catalyst Trend indicator is an analytical tool, best used alongside other methods such as volume analysis or price action (candlestick patterns, support/resistance levels) to bolster confidence in trading decisions.
4. Practical Tips
Parameter Adjustments
Depending on the market—crypto vs. traditional currency pairs—different ADX, RSI, or smoothing periods may be more effective. Experiment with the settings to tailor the indicator to your preferred timeframe.
Strategic Integration
Trailing Stops: For those riding a trend, the trendline or the channel bands may serve as a reference to trail stop-loss orders.
Trend Confirmation: Using RSI and ADX filters can help traders avoid sideways markets or stay the course when the trend is strong.
5. Important Final Notes
No Guarantee of Profits
No indicator can predict the future. Markets are inherently volatile and often unpredictable.
Responsible Risk Management
Test the indicator in a demo environment or with smaller positions before committing to large trades.
Intelligent Support & Resistance Lines (MTF)This script automatically detects and updates key Support & Resistance (S/R) levels using a higher timeframe (MTF) approach. By leveraging volume confirmation, levels are only identified when significant volume (relative to the SMA of volume) appears. Each level is drawn horizontally in real time, and whenever the market breaks above a resistance level (and retests it), the script automatically converts that resistance into support. The opposite occurs if the market breaks below a support level.
Key Features:
Multi-Timeframe (MTF) Data
Select a higher timeframe for more robust S/R calculations.
The script fetches High, Low, Volume, and SMA of Volume from the chosen timeframe.
Automatic Role Reversal
Resistance becomes Support if a breakout retest occurs.
Support becomes Resistance if a breakdown retest occurs.
Dynamic Line Width & Labeling
Each S/R line’s thickness increases with additional touches, making frequently tested levels easier to spot.
Labels automatically display the number of touches (e.g., “R 3” or “S 2”) and can have adjustable text size.
Volume Threshold
Only significant pivots (where volume exceeds a specified multiplier of average volume) are plotted, reducing noise.
Horizontal Offset for Clarity
Lines are drawn with timestamps instead of bar_index, ensuring that old levels remain visible without chart limitations.
Adjustable Maximum Levels
Maintain a clean chart by limiting how many S/R lines remain at once.
How It Works:
Pivot Detection: The script identifies swing highs and lows from the higher timeframe (timeframeSR).
Volume Check: Only pivots with volume ≥ (SMA Volume * volumeThreshold) qualify.
Line Creation & Updates: New lines are drawn at these pivots, labeled “R #” or “S #,” indicating how many times they’ve been touched.
Role Reversal: If price breaks above a resistance and retests it from above, that line is removed from the resistance array and re-created in the support array (and vice versa).
Inputs:
Timeframe for S/R: Choose the higher timeframe for S/R calculations.
Swing Length: Number of bars to consider in a pivot calculation.
Minimum Touches: Minimum required touches before drawing or updating a level.
Volume Threshold (Multiplier): Determines how much volume (relative to SMA) is needed to confirm a pivot.
Maximum Number of Levels: Caps how many S/R lines can be shown at once.
Color for Resistance & Color for Support: Customize your preferred colors for lines and labels.
Label Size: Select from "tiny", "small", "normal", "large", or "huge" to resize the labels.
Disclaimer:
This script is intended for educational purposes and should not be interpreted as financial or investment advice. Always conduct your own research or consult a qualified professional before making trading decisions.
Trend Trader-Remastered StrategyOfficial Strategy for Trend Trader - Remastered
Indicator: Trend Trader-Remastered (TTR)
Overview:
The Trend Trader-Remastered is a refined and highly sophisticated implementation of the Parabolic SAR designed to create strategic buy and sell entry signals, alongside precision take profit and re-entry signals based on marked Bill Williams (BW) fractals. Built with a deep emphasis on clarity and accuracy, this indicator ensures that only relevant and meaningful signals are generated, eliminating any unnecessary entries or exits.
Please check the indicator details and updates via the link above.
Important Disclosure:
My primary objective is to provide realistic strategies and a code base for the TradingView Community. Therefore, the default settings of the strategy version of the indicator have been set to reflect realistic world trading scenarios and best practices.
Key Features:
Strategy execution date&time range.
Take Profit Reduction Rate: The percentage of progressive reduction on active position size for take profit signals.
Example:
TP Reduce: 10%
Entry Position Size: 100
TP1: 100 - 10 = 90
TP2: 90 - 9 = 81
Re-Entry When Rate: The percentage of position size on initial entry of the signal to determine re-entry.
Example:
RE When: 50%
Entry Position Size: 100
Re-Entry Condition: Active Position Size < 50
Re-Entry Fill Rate: The percentage of position size on initial entry of the signal to be completed.
Example:
RE Fill: 75%
Entry Position Size: 100
Active Position Size: 50
Re-Entry Order Size: 25
Final Active Position Size:75
Important: Even RE When condition is met, the active position size required to drop below RE Fill rate to trigger re-entry order.
Key Points:
'Process Orders on Close' is enabled as Take Profit and Re-Entry signals must be executed on candle close.
'Calculate on Every Tick' is enabled as entry signals are required to be executed within candle time.
'Initial Capital' has been set to 10,000 USD.
'Default Quantity Type' has been set to 'Percent of Equity'.
'Default Quantity' has been set to 10% as the best practice of investing 10% of the assets.
'Currency' has been set to USD.
'Commission Type' has been set to 'Commission Percent'
'Commission Value' has been set to 0.05% to reflect the most realistic results with a common taker fee value.
Market Flow Volatility Oscillator (AiBitcoinTrend)The Market Flow Volatility Oscillator (AiBitcoinTrend) is a cutting-edge technical analysis tool designed to evaluate and classify market volatility regimes. By leveraging Gaussian filtering and clustering techniques, this indicator provides traders with clear insights into periods of high and low volatility, helping them adapt their strategies to evolving market conditions. Built for precision and clarity, it combines advanced mathematical models with intuitive visual feedback to identify trends and volatility shifts effectively.
👽 How the Indicator Works
👾 Volatility Classification with Gaussian Filtering
The indicator detects volatility levels by applying Gaussian filters to the price series. Gaussian filters smooth out noise while preserving significant price movements. Traders can adjust the smoothing levels using sigma parameters, enabling greater flexibility:
Low Sigma: Emphasizes short-term volatility.
High Sigma: Captures broader trends with reduced sensitivity to small fluctuations.
👾 Clustering Algorithm for Regime Detection
The core of this indicator is its clustering model, which classifies market conditions into two distinct regimes:
Low Volatility Regime: Calm periods with reduced market activity.
High Volatility Regime: Intense periods with heightened price movements.
The clustering process works as follows:
A rolling window of data is analyzed to calculate the standard deviation of price returns.
Two cluster centers are initialized using the 25th and 75th percentiles of the data distribution.
Each price volatility value is assigned to the nearest cluster based on its distance to the centers.
The cluster centers are refined iteratively, providing an accurate and adaptive classification.
👾 Oscillator Generation with Slope R-Values
The indicator computes Gaussian filter slopes to generate oscillators that visualize trends:
Oscillator Low: Captures low-frequency market behavior.
Oscillator High: Tracks high-frequency, faster-changing trends.
The slope is measured using the R-value of the linear regression fit, scaled and adjusted for easier interpretation.
👽 Applications
👾 Trend Trading
When the oscillator rises above 0.5, it signals potential bullish momentum, while dips below 0.5 suggest bearish sentiment.
👾 Pullback Detection
When the oscillator peaks, especially in overbought or oversold zones, provide early warnings of potential reversals.
👽 Indicator Settings
👾 Oscillator Settings
Sigma Low/High: Controls the smoothness of the oscillators.
Smaller Values: React faster to price changes but introduce more noise.
Larger Values: Provide smoother signals with longer-term insights.
👾 Window Size and Refit Interval
Window Size: Defines the rolling period for cluster and volatility calculations.
Shorter windows: adapt faster to market changes.
Longer windows: produce stable, reliable classifications.
Disclaimer: This information is for entertainment purposes only and does not constitute financial advice. Please consult with a qualified financial advisor before making any investment decisions.
Linear Regression Channel [TradingFinder] Existing Trend Line🔵 Introduction
The Linear Regression Channel indicator is one of the technical analysis tool, widely used to identify support, resistance, and analyze upward and downward trends.
The Linear Regression Channel comprises five main components : the midline, representing the linear regression line, and the support and resistance lines, which are calculated based on the distance from the midline using either standard deviation or ATR.
This indicator leverages linear regression to forecast price changes based on historical data and encapsulates price movements within a price channel.
The upper and lower lines of the channel, which define resistance and support levels, assist traders in pinpointing entry and exit points, ultimately aiding better trading decisions.
When prices approach these channel lines, the likelihood of interaction with support or resistance levels increases, and breaking through these lines may signal a price reversal or continuation.
Due to its precision in identifying price trends, analyzing trend reversals, and determining key price levels, the Linear Regression Channel indicator is widely regarded as a reliable tool across financial markets such as Forex, stocks, and cryptocurrencies.
🔵 How to Use
🟣 Identifying Entry Signals
One of the primary uses of this indicator is recognizing buy signals. The lower channel line acts as a support level, and when the price nears this line, the likelihood of an upward reversal increases.
In an uptrend : When the price approaches the lower channel line and signs of upward reversal (e.g., reversal candlesticks or high trading volume) are observed, it is considered a buy signal.
In a downtrend : If the price breaks the lower channel line and subsequently re-enters the channel, it may signal a trend change, offering a buying opportunity.
🟣 Identifying Exit Signals
The Linear Regression Channel is also used to identify sell signals. The upper channel line generally acts as a resistance level, and when the price approaches this line, the likelihood of a price decrease increases.
In an uptrend : Approaching the upper channel line and observing weakness in the uptrend (e.g., declining volume or reversal patterns) indicates a sell signal.
In a downtrend : When the price reaches the upper channel line and reverses downward, this is considered a signal to exit trades.
🟣 Analyzing Channel Breakouts
The Linear Regression Channel allows traders to identify price breakouts as strong signals of potential trend changes.
Breaking the upper channel line : Indicates buyer strength and the likelihood of a continued uptrend, often accompanied by increased trading volume.
Breaking the lower channel line : Suggests seller dominance and the possibility of a continued downtrend, providing a strong sell signal.
🟣 Mean Reversion Analysis
A key concept in using the Linear Regression Channel is the tendency for prices to revert to the midline of the channel, which acts as a dynamic moving average, reflecting the price's equilibrium over time.
In uptrends : Significant deviations from the midline increase the likelihood of a price retracement toward the midline.
In downtrends : When prices deviate considerably from the midline, a return toward the midline can be used to identify potential reversal points.
🔵 Settings
🟣 Time Frame
The time frame setting enables users to view higher time frame data on a lower time frame chart. This feature is especially useful for traders employing multi-time frame analysis.
🟣 Regression Type
Standard : Utilizes classical linear regression to draw the midline and channel lines.
Advanced : Produces similar results to the standard method but may provide slightly different alignment on the chart.
🟣 Scaling Type
Standard Deviation : Suitable for markets with stable volatility.
ATR (Average True Range) : Ideal for markets with higher volatility.
🟣 Scaling Coefficients
Larger coefficients create broader channels for broader trend analysis.
Smaller coefficients produce tighter channels for precision analysis.
🟣 Channel Extension
None : No extension.
Left: Extends lines to the left to analyze historical trends.
Right : Extends lines to the right for future predictions.
Both : Extends lines in both directions.
🔵 Conclusion
The Linear Regression Channel indicator is a versatile and powerful tool in technical analysis, providing traders with support, resistance, and midline insights to better understand price behavior. Its advanced settings, including time frame selection, regression type, scaling options, and customizable coefficients, allow for tailored and precise analysis.
One of its standout advantages is its ability to support multi-time frame analysis, enabling traders to view higher time frame data within a lower time frame context. The option to use scaling methods like ATR or standard deviation further enhances its adaptability to markets with varying volatility.
Designed to identify entry and exit signals, analyze mean reversion, and assess channel breakouts, this indicator is suitable for a wide range of markets, including Forex, stocks, and cryptocurrencies. By incorporating this tool into your trading strategy, you can make more informed decisions and improve the accuracy of your market predictions.
Trend Condition [TradersPro]
OVERVIEW
The Trend Condition Indicator measures the strength of the bullish or bearish trend by using a ribbon pattern of exponential moving averages and scoring system. Trend cycles naturally expand and contract as a normal part of the cycle. It is the rhythm of the market. Perpetual expansion and contraction of trend.
As trend cycles develop the indicator shows a compression of the averages. These compression zones are key locations as trends typically expand from there. The expansion of trend can be up or down.
As the trend advances the ribbon effect of the indicator can be seen as each average expands with the price action. Once they have “fanned” the probability of the current trend slowing is high.
This can be used to recognize a powerful trend may be concluding. Traders can tighten stops, exit positions or utilize other prudent strategies.
CONCEPTS
Each line will display green if it is higher than the prior period and red if it is lower than the prior period. If the average is green it is considered bullish and will score one point in the bullish display. Red lines are considered bearish and will score one point in the bearish display.
The indicator can then be used at a quick glance to see the number of averages that are bullish and the number that are bearish.
A trader may use these on any tradable instrument. They can be helpful in stock portfolio management when used with an index like the S&P 500 to determine the strength of the current market trend. This may affect trade decisions like possession size, stop location and other risk factors.
Multi-Timeframe Stochastic Alert [tradeviZion]# Multi-Timeframe Stochastic Alert : Complete User Guide
## 1. Introduction
### What is the Multi-Timeframe Stochastic Alert?
The Multi-Timeframe Stochastic Alert is an advanced technical analysis tool that helps traders identify potential trading opportunities by analyzing momentum across multiple timeframes. It combines the power of the stochastic oscillator with multi-timeframe analysis to provide more reliable trading signals.
### Key Features and Benefits
- Simultaneous analysis of 6 different timeframes
- Advanced alert system with customizable conditions
- Real-time visual feedback with color-coded signals
- Comprehensive data table with instant market insights
- Motivational trading messages for psychological support
- Flexible theme support for comfortable viewing
### How it Can Help Your Trading
- Identify stronger trends by confirming momentum across multiple timeframes
- Reduce false signals through multi-timeframe confirmation
- Stay informed of market changes with customizable alerts
- Make more informed decisions with comprehensive market data
- Maintain trading discipline with clear visual signals
## 2. Understanding the Display
### The Stochastic Chart
The main chart displays three key components:
1. ** K-Line (Fast) **: The primary stochastic line (default color: green)
2. ** D-Line (Slow) **: The signal line (default color: red)
3. ** Reference Lines **:
- Overbought Level (80): Upper dashed line
- Middle Line (50): Center dashed line
- Oversold Level (20): Lower dashed line
### The Information Table
The table provides a comprehensive view of stochastic readings across all timeframes. Here's what each column means:
#### Column Explanations:
1. ** Timeframe **
- Shows the time period for each row
- Example: "5" = 5 minutes, "15" = 15 minutes, etc.
2. ** K Value **
- The fast stochastic line value (0-100)
- Higher values indicate stronger upward momentum
- Lower values indicate stronger downward momentum
3. ** D Value **
- The slow stochastic line value (0-100)
- Helps confirm momentum direction
- Crossovers with K-line can signal potential trades
4. ** Status **
- Shows current momentum with symbols:
- ▲ = Increasing (bullish)
- ▼ = Decreasing (bearish)
- Color matches the trend direction
5. ** Trend **
- Shows the current market condition:
- "Overbought" (above 80)
- "Bullish" (above 50)
- "Bearish" (below 50)
- "Oversold" (below 20)
#### Row Explanations:
1. ** Title Row **
- Shows "🎯 Multi-Timeframe Stochastic"
- Indicates the indicator is active
2. ** Header Row **
- Contains column titles
- Dark blue background for easy reading
3. ** Timeframe Rows **
- Six rows showing different timeframe analyses
- Each row updates independently
- Color-coded for easy trend identification
4. **Message Row**
- Shows rotating motivational messages
- Updates every 5 bars
- Helps maintain trading discipline
### Visual Indicators and Colors
- ** Green Background **: Indicates bullish conditions
- ** Red Background **: Indicates bearish conditions
- ** Color Intensity **: Shows strength of the signal
- ** Background Highlights **: Appear when alert conditions are met
## 3. Core Settings Groups
### Stochastic Settings
These settings control the core calculation of the stochastic oscillator.
1. ** Length (Default: 14) **
- What it does: Determines the lookback period for calculations
- Higher values (e.g., 21): More stable, fewer signals
- Lower values (e.g., 8): More sensitive, more signals
- Recommended:
* Day Trading: 8-14
* Swing Trading: 14-21
* Position Trading: 21-30
2. ** Smooth K (Default: 3) **
- What it does: Smooths the main stochastic line
- Higher values: Smoother line, fewer false signals
- Lower values: More responsive, but more noise
- Recommended:
* Day Trading: 2-3
* Swing Trading: 3-5
* Position Trading: 5-7
3. ** Smooth D (Default: 3) **
- What it does: Smooths the signal line
- Works in conjunction with Smooth K
- Usually kept equal to or slightly higher than Smooth K
- Recommended: Keep same as Smooth K for consistency
4. ** Source (Default: Close) **
- What it does: Determines price data for calculations
- Options: Close, Open, High, Low, HL2, HLC3, OHLC4
- Recommended: Stick with Close for most reliable signals
### Timeframe Settings
Controls the multiple timeframes analyzed by the indicator.
1. ** Main Timeframes (TF1-TF6) **
- TF1 (Default: 10): Shortest timeframe for quick signals
- TF2 (Default: 15): Short-term trend confirmation
- TF3 (Default: 30): Medium-term trend analysis
- TF4 (Default: 30): Additional medium-term confirmation
- TF5 (Default: 60): Longer-term trend analysis
- TF6 (Default: 240): Major trend confirmation
Recommended Combinations:
* Scalping: 1, 3, 5, 15, 30, 60
* Day Trading: 5, 15, 30, 60, 240, D
* Swing Trading: 15, 60, 240, D, W, M
2. ** Wait for Bar Close (Default: true) **
- What it does: Controls when calculations update
- True: More reliable but slightly delayed signals
- False: Faster signals but may change before bar closes
- Recommended: Keep True for more reliable signals
### Alert Settings
#### Main Alert Settings
1. ** Enable Alerts (Default: true) **
- Master switch for all alert notifications
- Toggle this off when you don't want any alerts
- Useful during testing or when you want to focus on visual signals only
2. ** Alert Condition (Options) **
- "Above Middle": Bullish momentum alerts only
- "Below Middle": Bearish momentum alerts only
- "Both": Alerts for both directions
- Recommended:
* Trending Markets: Choose direction matching the trend
* Ranging Markets: Use "Both" to catch reversals
* New Traders: Start with "Both" until you develop a specific strategy
3. ** Alert Frequency **
- "Once Per Bar": Immediate alerts during the bar
- "Once Per Bar Close": Alerts only after bar closes
- Recommended:
* Day Trading: "Once Per Bar" for quick reactions
* Swing Trading: "Once Per Bar Close" for confirmed signals
* Beginners: "Once Per Bar Close" to reduce false signals
#### Timeframe Check Settings
1. ** First Check (TF1) **
- Purpose: Confirms basic trend direction
- Alert Triggers When:
* For Bullish: Stochastic is above middle line (50)
* For Bearish: Stochastic is below middle line (50)
* For Both: Triggers in either direction based on position relative to middle line
- Settings:
* Enable/Disable: Turn first check on/off
* Timeframe: Default 5 minutes
- Best Used For:
* Quick trend confirmation
* Entry timing
* Scalping setups
2. ** Second Check (TF2) **
- Purpose: Confirms both position and momentum
- Alert Triggers When:
* For Bullish: Stochastic is above middle line AND both K&D lines are increasing
* For Bearish: Stochastic is below middle line AND both K&D lines are decreasing
* For Both: Triggers based on position and direction matching current condition
- Settings:
* Enable/Disable: Turn second check on/off
* Timeframe: Default 15 minutes
- Best Used For:
* Trend strength confirmation
* Avoiding false breakouts
* Day trading setups
3. ** Third Check (TF3) **
- Purpose: Confirms overall momentum direction
- Alert Triggers When:
* For Bullish: Both K&D lines are increasing (momentum confirmation)
* For Bearish: Both K&D lines are decreasing (momentum confirmation)
* For Both: Triggers based on matching momentum direction
- Settings:
* Enable/Disable: Turn third check on/off
* Timeframe: Default 30 minutes
- Best Used For:
* Major trend confirmation
* Swing trading setups
* Avoiding trades against the main trend
Note: All three conditions must be met simultaneously for the alert to trigger. This multi-timeframe confirmation helps reduce false signals and provides stronger trade setups.
#### Alert Combinations Examples
1. ** Conservative Setup **
- Enable all three checks
- Use "Once Per Bar Close"
- Timeframe Selection Example:
* First Check: 15 minutes
* Second Check: 1 hour (60 minutes)
* Third Check: 4 hours (240 minutes)
- Wider gaps between timeframes reduce noise and false signals
- Best for: Swing trading, beginners
2. ** Aggressive Setup **
- Enable first two checks only
- Use "Once Per Bar"
- Timeframe Selection Example:
* First Check: 5 minutes
* Second Check: 15 minutes
- Closer timeframes for quicker signals
- Best for: Day trading, experienced traders
3. ** Balanced Setup **
- Enable all checks
- Use "Once Per Bar"
- Timeframe Selection Example:
* First Check: 5 minutes
* Second Check: 15 minutes
* Third Check: 1 hour (60 minutes)
- Balanced spacing between timeframes
- Best for: All-around trading
### Visual Settings
#### Alert Visual Settings
1. ** Show Background Color (Default: true) **
- What it does: Highlights chart background when alerts trigger
- Benefits:
* Makes signals more visible
* Helps spot opportunities quickly
* Provides visual confirmation of alerts
- When to disable:
* If using multiple indicators
* When preferring a cleaner chart
* During manual backtesting
2. ** Background Transparency (Default: 90) **
- Range: 0 (solid) to 100 (invisible)
- Recommended Settings:
* Clean Charts: 90-95
* Multiple Indicators: 85-90
* Single Indicator: 80-85
- Tip: Adjust based on your chart's overall visibility
3. ** Background Colors **
- Bullish Background:
* Default: Green
* Indicates upward momentum
* Customizable to match your theme
- Bearish Background:
* Default: Red
* Indicates downward momentum
* Customizable to match your theme
#### Level Settings
1. ** Oversold Level (Default: 20) **
- Traditional Setting: 20
- Adjustable Range: 0-100
- Usage:
* Lower values (e.g., 10): More conservative
* Higher values (e.g., 30): More aggressive
- Trading Applications:
* Potential bullish reversal zone
* Support level in uptrends
* Entry point for long positions
2. ** Overbought Level (Default: 80) **
- Traditional Setting: 80
- Adjustable Range: 0-100
- Usage:
* Lower values (e.g., 70): More aggressive
* Higher values (e.g., 90): More conservative
- Trading Applications:
* Potential bearish reversal zone
* Resistance level in downtrends
* Exit point for long positions
3. ** Middle Line (Default: 50) **
- Purpose: Trend direction separator
- Applications:
* Above 50: Bullish territory
* Below 50: Bearish territory
* Crossing 50: Potential trend change
- Trading Uses:
* Trend confirmation
* Entry/exit trigger
* Risk management level
#### Color Settings
1. ** Bullish Color (Default: Green) **
- Used for:
* K-Line (Main stochastic line)
* Status symbols when trending up
* Trend labels for bullish conditions
- Customization:
* Choose colors that stand out
* Match your trading platform theme
* Consider color blindness accessibility
2. ** Bearish Color (Default: Red) **
- Used for:
* D-Line (Signal line)
* Status symbols when trending down
* Trend labels for bearish conditions
- Customization:
* Choose contrasting colors
* Ensure visibility on your chart
* Consider monitor settings
3. ** Neutral Color (Default: Gray) **
- Used for:
* Middle line (50 level)
- Customization:
* Should be less prominent
* Easy on the eyes
* Good background contrast
### Theme Settings
1. **Color Theme Options**
- Dark Theme (Default):
* Dark background with white text
* Optimized for dark chart backgrounds
* Reduces eye strain in low light
- Light Theme:
* Light background with black text
* Better visibility in bright conditions
- Custom Theme:
* Use your own color preferences
2. ** Available Theme Colors **
- Table Background
- Table Text
- Table Headers
Note: The theme affects only the table display colors. The stochastic lines and alert backgrounds use their own color settings.
### Table Settings
#### Position and Size
1. ** Table Position **
- Options:
* Top Right (Default)
* Middle Right
* Bottom Right
* Top Left
* Middle Left
* Bottom Left
- Considerations:
* Chart space utilization
* Personal preference
* Multiple monitor setups
2. ** Text Sizes **
- Title Size Options:
* Tiny: Minimal space usage
* Small: Compact but readable
* Normal (Default): Standard visibility
* Large: Enhanced readability
* Huge: Maximum visibility
- Data Size Options:
* Recommended: One size smaller than title
* Adjust based on screen resolution
* Consider viewing distance
3. ** Empowering Messages **
- Purpose:
* Maintain trading discipline
* Provide psychological support
* Remind of best practices
- Rotation:
* Changes every 5 bars
* Categories include:
- Market Wisdom
- Strategy & Discipline
- Mindset & Growth
- Technical Mastery
- Market Philosophy
## 4. Setting Up for Different Trading Styles
### Day Trading Setup
1. **Timeframes**
- Primary: 5, 15, 30 minutes
- Secondary: 1H, 4H
- Alert Settings: "Once Per Bar"
2. ** Stochastic Settings **
- Length: 8-14
- Smooth K/D: 2-3
- Alert Condition: Match market trend
3. ** Visual Settings **
- Background: Enabled
- Transparency: 85-90
- Theme: Based on trading hours
### Swing Trading Setup
1. ** Timeframes **
- Primary: 1H, 4H, Daily
- Secondary: Weekly
- Alert Settings: "Once Per Bar Close"
2. ** Stochastic Settings **
- Length: 14-21
- Smooth K/D: 3-5
- Alert Condition: "Both"
3. ** Visual Settings **
- Background: Optional
- Transparency: 90-95
- Theme: Personal preference
### Position Trading Setup
1. ** Timeframes **
- Primary: Daily, Weekly
- Secondary: Monthly
- Alert Settings: "Once Per Bar Close"
2. ** Stochastic Settings **
- Length: 21-30
- Smooth K/D: 5-7
- Alert Condition: "Both"
3. ** Visual Settings **
- Background: Disabled
- Focus on table data
- Theme: High contrast
## 5. Troubleshooting Guide
### Common Issues and Solutions
1. ** Too Many Alerts **
- Cause: Settings too sensitive
- Solutions:
* Increase timeframe intervals
* Use "Once Per Bar Close"
* Enable fewer timeframe checks
* Adjust stochastic length higher
2. ** Missed Signals **
- Cause: Settings too conservative
- Solutions:
* Decrease timeframe intervals
* Use "Once Per Bar"
* Enable more timeframe checks
* Adjust stochastic length lower
3. ** False Signals **
- Cause: Insufficient confirmation
- Solutions:
* Enable all three timeframe checks
* Use larger timeframe gaps
* Wait for bar close
* Confirm with price action
4. ** Visual Clarity Issues **
- Cause: Poor contrast or overlap
- Solutions:
* Adjust transparency
* Change theme settings
* Reposition table
* Modify color scheme
### Best Practices
1. ** Getting Started **
- Start with default settings
- Use "Both" alert condition
- Enable all timeframe checks
- Wait for bar close
- Monitor for a few days
2. ** Fine-Tuning **
- Adjust one setting at a time
- Document changes and results
- Test in different market conditions
- Find your optimal timeframe combination
- Balance sensitivity with reliability
3. ** Risk Management **
- Don't trade against major trends
- Confirm signals with price action
- Use appropriate position sizing
- Set clear stop losses
- Follow your trading plan
4. ** Regular Maintenance **
- Review settings weekly
- Adjust for market conditions
- Update color scheme for visibility
- Clean up chart regularly
- Maintain trading journal
## 6. Tips for Success
1. ** Entry Strategies **
- Wait for all timeframes to align
- Confirm with price action
- Use proper position sizing
- Consider market conditions
2. ** Exit Strategies **
- Trail stops using indicator levels
- Take partial profits at targets
- Honor your stop losses
- Don't fight the trend
3. ** Psychology **
- Stay disciplined with settings
- Don't override system signals
- Keep emotions in check
- Learn from each trade
4. ** Continuous Improvement **
- Record your trades
- Review performance regularly
- Adjust settings gradually
- Stay educated on markets
Trend, Chart Patterns & Market Structure Indicator [TradeDots]The "Trend, Chart Patterns & Market Structure Indicator" is engineered to identify pivotal price action points, revealing shifts in market dynamics. This tool aids traders to simplify any trading market in recognizing significant price levels, enhancing decision-making in diverse market conditions.
📝 HOW IT WORKS
Pivot Identification
The indicator detects pivots in price action using a complex mathematical model by analyzing a window of candlesticks to capture significant reversal patterns. It examines a series of bars, focusing on their open, high, low, close, and changes in these values, to pinpoint potential market turning points.
Support and Resistance Lines
Calculation: Automatically draws lines at key price pivots in bullish and bearish markets.
Significance: Aligning support and resistance levels highlights strong demand or supply zones, reinforcing trading biases. When multiple lines converge near a price level, it indicates robust support or resistance, as many traders focus on these levels for placing trades.
Chart Patterns Analysis
Formation: Utilizes four pivots to identify patterns such as ascending/descending channels, contraction, and expansion patterns.
Visualization: Background colors (green for bullish, red for bearish) help identify market trends.
Market Structure Shifts
Detection: Identifies price breakouts above or below previous support and resistance, indicating changes in market structure.
Confirmation: Highlights shifts in market character, aiding in trend reversal anticipation.
Types of Market Structure Shifts
Channel Breakout: The price breaks out from the current channel's resistance level.
Rev. Breakout: The price breaks out from a contraction pattern, moving in the opposite direction of the previous market trend.
Continuation Breakout: The price breaks out from a contraction pattern, continuing the previous market trend.
Change of Character (ChoCh): The price breaks out from either support or resistance, causing a change in the market trend.
🛠️ HOW TO USE
Chart Visualization
Color Coding: Background colors signify market trends, with green indicating bullish and red indicating bearish conditions.
Pattern Recognition: Identifies and labels patterns, providing insights into current market sentiment.
Reversal Signals
Signal Labels: Detects shifts in market structure indicating potential entry and exit points.
❗️LIMITATIONS
Market Noise: Accuracy may decrease in volatile and noisy markets.
Trend Confirmation Delay: Market trends are only confirmed once the price breaks out from support or resistance, potentially causing delays.
RISK DISCLAIMER
Trading involves substantial risk, and most traders may incur losses. All content, tools, scripts, articles, and education provided by TradeDots are for informational and educational purposes only.
McCrayTrendTraders often rely on price breaking above or below the 50-day moving average (50D-MA) as a buy/sell signal. However, this approach frequently results in false breakouts, especially during low-volatility periods when price compression precedes major moves. To address this issue, we use an 8-day exponential moving average (8D-EMA) to represent price and focus on the crossovers between the 8D-EMA and the 48D-EMA as entry/exit signals. This method reduces noise in low-volatility conditions, enables earlier trend entries, and helps traders stay in trends longer.
The indicator incorporates a 111-day EMA (111D-EMA) to define market bias:
• Above the 111D-EMA: Bias is long, favoring buying and selling into cash.
• Below the 111D-EMA: Bias is short, favoring selling and buying into cash.
An exception to this rule occurs when a bullish cross happens within 40% of the 200-week moving average (200W-MA), as these conditions historically signal optimal times to acquire BTC.
Signals:
Buy signals:
• A bullish cross while price is above the 111D-EMA.
• A bullish cross near the 200W-MA threshold (optional setting).
Sell signals:
• A bearish cross while price is below the 111D-EMA.
Exit signals:
• Both EMAs turn red (for long trades) or green (for short trades).
• The shading between the 111D-EMA and 200W-MA turns red (for longs) or green (for shorts), if enabled.
Reversal opportunities:
• A buy or sell label during an exit signal may indicate a reversal point, allowing traders to take profit and reopen positions in the opposite direction.
The methodology behind this indicator has generated 132% alpha since October 6, 2015. Special thanks to Anurag Parashar for refining the stylistic elements of the indicator.
Correlation Confluence Trend IndicatorCorrelation Confluence Trend Indicator
Overview
The Correlation Confluence Trend Indicator combines exponential moving averages (EMAs) and statistical correlation measures to identify high-confidence trend alignments between an asset and a benchmark. By filtering signals through correlation strength, this indicator highlights opportunities when the asset and benchmark move together. In other words, it defines a trend and then uses correlation strength and the trend of a second asset to identify high-confidence trends.
Key Features
Dual EMA Trend Analysis :
Calculates fast and slow EMAs for both the asset and the selected benchmark (e.g., SPY) to identify bullish and bearish trends.
Correlation Strength Filtering :
Evaluates correlation between the asset and benchmark, identifying stronger-than-average relationships based on the mean and standard deviation.
Background Color Coding :
- Green : Strong correlation, both asset and benchmark bullish.
- Aqua : Weak correlation, both asset and benchmark bullish.
- Red : Strong correlation, both asset and benchmark bearish.
- Fuchsia : Weak correlation, both asset and benchmark bearish.
- Orange : Strong correlation, benchmark bullish, asset bearish.
- Yellow : Weak correlation, benchmark bullish, asset bearish.
- Purple : Strong correlation, benchmark bearish, asset bullish.
- Lime : Weak correlation, benchmark bearish, asset bullish.
Visual Trend Indicators :
Plots fast and slow EMAs for the asset, dynamically colored based on aggregate trend signals. The color of this corresponds to the main trend signal.
Inputs
Benchmark Symbol : Symbol of the benchmark asset to compare against.
Fast EMA Length : Period for the fast EMA calculation.
Slow EMA Length : Period for the slow EMA calculation.
Correlation Length : Number of bars for correlation calculation.
Correlation Mean Length : Number of bars for mean and standard deviation calculation.
Std Dev Multiplier : Multiplier for standard deviation to define correlation strength. When the correlation is Std Dev Multiplier standard deviations above the mean, it counts as a strong correlation.
Set Background Color : Toggle background coloring on or off.
Notes
This indicator is primarily designed for trend-following strategies. By combining trend analysis and correlation filtering, it ensures that signals occur during aligned market conditions, reducing false signals.
Before incorporating this indicator into your trading strategy:
Always backtest on historical data to evaluate its performance before committing capital.
Use proper risk management to control position sizes and mitigate potential losses.
Remember that no indicator guarantees success. I'm quite proud of this one, but it's not the holy grail.
Weighted Average Strength Index (WASI)Weighted Average Strength Index (WASI)
The Weighted Average Strength Index (WASI) is a variation of the standard RSI. It uses the Weighted Moving Average (WMA) instead of the Running Moving Average (RMA), making it more responsive to recent price changes. The hypothesis is that this weighted calculation might better capture momentum shifts, providing traders with more timely insights.
How to Use:
Backtest WASI on your preferred assets and timeframes to evaluate its effectiveness for your strategy.
Use for trend following or mean reversion :
- Overbought/Oversold (OB/OS) levels can signal potential mean-reversion opportunities.
- Midline (50 level) crossovers can be used for trend-following strategies.
- WASI and its moving average (MA) crossovers offer additional trend-following or reversal signals.
Parameters and Their Functions:
WASI Length: Determines the number of periods for WASI calculation. A longer length smooths the indicator but increases lag, while a shorter length makes it more sensitive. (When in doubt, go longer).
Source: The price source for the calculation (e.g., close, open, high, or low).
MA Type: Specifies the type of moving average applied to the WASI (options include SMA, EMA, WMA, HMA, and others).
MA Length: The number of periods for the moving average used on the WASI. Higher will lead to a smoother moving average.
Indicator Features:
Dynamic OB/OS Levels: Default overbought (70) and oversold (30) levels help identify potential reversal zones.
Midline Crossover: WASI crossing above or below the 50 level may indicate a trend shift.
WASI-MA Crossover: Crossovers between WASI and its moving average can signal trend-following or mean-reversion opportunities.
Disclaimer:
This indicator is a tool for analysis and should be used in conjunction with other forms of analysis or confirmation. Past performance does not guarantee future results.
TechniTrendMasterIntroducing "TechniTrendMaster"
The TechniTrendMaster indicator is designed to bring clarity and depth to your trading strategy. This indicator combines robust trend analysis with volume insights, giving you a comprehensive view of the market’s pulse. Let's break down the features.
🔵 Analysis Mode
TechniTrendMaster's Analysis Mode provides various configurations tailored to specific market behaviors. Here are the options you can utilize:
🔹Strong Movements: Focuses on powerful market shifts, ideal for capturing major trend changes and high-momentum moves. Perfect for identifying strong breakout opportunities.
🔹Reversal: Detects potential turning points in the market, signaling when a trend might be about to change direction, allowing for well-timed entries and exits.
🔹Consolidations: Spots periods of low volatility where the market moves sideways, helping you avoid trading traps and anticipate breakout scenarios.
🔹Momentum-Driven: Prioritizes momentum in the market, identifying when the force behind price movement is accelerating or decelerating.
🔹Balanced: Offers a well-rounded view of the market by weighing both trend direction and volume equally, making it suitable for stable market conditions.
🔹Volatility Adapted: Adjusts to periods of increased or decreased volatility, providing accurate signals regardless of market conditions.
🔹Trend Confirmation: Confirms the strength and sustainability of a trend, allowing traders to enter trades with higher confidence.
🔹Short-Term Scalping: Tailored for traders who focus on Short-Term and Scalp trades, offering rapid insights for intraday or short-term trading strategies.
🔵 Trend Analysis Mode
The Trend Analysis Mode allows you to customize how trends are detected and analyzed:
🔹Default: A balanced mode for general use, offering reliable trend identification across different market conditions.
🔹Aggressive: A more sensitive setting that reacts quickly to market changes, ideal for traders looking to capitalize on smaller, quicker movements.
🔹Conservative: Takes a cautious approach, favoring long-term stability over short-term fluctuations, perfect for risk-averse traders.
🔹Volatility Aware: Focuses on adapting to volatility shifts, giving accurate trend signals even in erratic markets.
🔹Range Bound: Targets horizontal price movements and channel trades, helping traders take advantage of well-defined ranges.
🔵 Divergence
Divergence is a powerful tool within TechniTrendMaster, highlighting discrepancies between price movement and underlying volume. These differences can indicate potential reversals or trend continuations before they are visible on price charts alone.
🔵 Hidden Divergence
Hidden divergence is a subtle yet crucial signal that reveals when an existing trend might resume after a temporary correction. This mode provides early detection of trend continuity opportunities, giving traders a significant advantage in timing.
🔵 Divergence Mode
TechniTrendMaster includes different divergence detection settings to suit your analysis style:
🔹Standard: Captures typical divergence patterns for general analysis.
🔹Short-Term Focused: Concentrates on short-lived divergences, offering rapid detection of shifts for active traders.
🔹Long-Term Analysis: Highlights divergence in a broader context, which is better for understanding the overall market direction.
🔹High Sensitivity: Prioritizes capturing even the smallest shifts in the market, making it excellent for high-frequency trading or volatile environments.
🔹Low Sensitivity: Reduces market noise, only reacting to more significant changes in trend or volume. It’s perfect for traders who seek higher accuracy with fewer false signals.
🔵 Dynamic Channel
TechniTrendMaster features a Dynamic Channel, that automatically adapts to market conditions. This channel provides a visual guide to price action, adjusting in real-time based on current trends and volatility. It identifies key support and resistance zones, making it easier to spot breakouts, trend continuations, or potential reversals.
🔵 Volume Integration
Volume is a critical part of TechniTrendMaster, offering deeper insights beyond just price movement. By analyzing volume patterns alongside trends, the indicator highlights the strength and reliability of market shifts. This integration ensures that traders can distinguish between genuine movements backed by solid volume and weak trends that might not hold.
🔵 A Solution for All Trading Styles
TechniTrendMaster’s strength lies in its versatility. No matter your trading approach—be it scalping, swing trading, trend following, or range trading—this indicator adapts to your needs. Here's how it caters to different trader profiles:
🔹Scalpers get precise, quick-response insights through the Short-Term Scalping and High Sensitivity settings, helping them capture minute price movements.
🔹Swing Traders benefit from modes like Reversal, Balanced, and Momentum-Driven, which focus on identifying trends and shifts that occur over several days.
🔹Long-Term Investors will find the Conservative, Low Sensitivity, and Long-Term Analysis modes ideal for filtering noise and sticking to broader market trends.
🔹Volatility Traders can rely on the Volatility Adapted and Volatility Aware options to get accurate signals even during unpredictable periods.
🔓 Unlock Access :
Check out the Author's Instructions or Dm me to Unlock the Access.
Multifactor Buy/Sell Strategy V2 | RSI, MACD, ATR, EMA, Boll.BITGET:1INCHUSDT
This Pine Script code for TradingView is a multifactor Buy/Sell indicator that combines several technical factors to generate trading signals based on trend, volatility, and volume conditions. Here’s a breakdown of the main components and functionality:
Indicator Name
- Multifactor Buy/Sell Strategy V2 — an overlay indicator applied directly on the price chart.
### Input Parameters
The script includes multiple customizable parameters:
- RSI, EMA, MACD parameters — for setting periods and signals of MACD and RSI.
- ATR and Bollinger Bands — used for volatility analysis and level determination.
- Minimum Volatility Threshold — sets a minimum Bollinger Band width threshold for determining high volatility.
Core Indicators
1. RSI — calculated to identify oversold (below 30) and overbought (above 70) conditions.
2. EMA and MACD — calculates exponential moving averages and MACD histogram to determine trend direction.
3. ATR and Bollinger Bands — used to assess current volatility and establish dynamic upper and lower bands.
Volatility and Volume Analysis
- Determines the current ATR level and Bollinger Band width to evaluate high volatility.
- Calculates the volume moving average to track periods of increased volume during high volatility.
Trend Analysis
The script uses the difference between fast and slow EMAs to define strong trends:
- Uptrend — when the fast EMA is above the slow EMA, the price is above the fast EMA, and the trend is strong.
- Downtrend — when the fast EMA is below the slow EMA, the price is below the fast EMA, and the trend is strong.
Momentum Filter
- Based on the price change over the last three bars and compared against the minimum volatility threshold to identify strong momentum.
Buy and Sell Signal Generation
- Buy Signal: Uptrend with RSI oversold, positive MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
- Sell Signal: Downtrend with RSI overbought, negative MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
Visualization
- Buy and sell signals are displayed as green and red triangles on the chart.
- Plots for fast and slow EMAs, upper and lower bands, and Bollinger Bands.
Alerts
The script includes alert conditions for buy and sell signals, allowing notifications to be sent via email or mobile app.
Information Panel
A small table on the chart displays current volatility dataThis Pine Script code for TradingView is a multifactor Buy/Sell indicator that combines several technical factors to generate trading signals based on trend, volatility, and volume conditions. Here’s a breakdown of the main components and functionality:
Indicator Name
- Multifactor Buy/Sell Strategy V2 — an overlay indicator applied directly on the price chart.
Input Parameters
The script includes multiple customizable parameters:
- **RSI, EMA, MACD parameters** — for setting periods and signals of MACD and RSI.
- **ATR and Bollinger Bands** — used for volatility analysis and level determination.
- **Minimum Volatility Threshold** — sets a minimum Bollinger Band width threshold for determining high volatility.
Core Indicators
1. RSI — calculated to identify oversold (below 30) and overbought (above 70) conditions.
2. EMA and MACD — calculates exponential moving averages and MACD histogram to determine trend direction.
3. ATR and Bollinger Bands — used to assess current volatility and establish dynamic upper and lower bands.
Volatility and Volume Analysis
- Determines the current ATR level and Bollinger Band width to evaluate high volatility.
- Calculates the volume moving average to track periods of increased volume during high volatility.
Trend Analysis
The script uses the difference between fast and slow EMAs to define strong trends:
- Uptrend — when the fast EMA is above the slow EMA, the price is above the fast EMA, and the trend is strong.
- Downtrend — when the fast EMA is below the slow EMA, the price is below the fast EMA, and the trend is strong.
Momentum Filter
- Based on the price change over the last three bars and compared against the minimum volatility threshold to identify strong momentum.
Buy and Sell Signal Generation
- Buy Signal: Uptrend with RSI oversold, positive MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
- Sell Signal: Downtrend with RSI overbought, negative MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
Visualization
- Buy and sell signals are displayed as green and red triangles on the chart.
- Plots for fast and slow EMAs, upper and lower bands, and Bollinger Bands.
Alerts
The script includes alert conditions for buy and sell signals, allowing notifications to be sent via email or mobile app.
Information Panel
A small table on the chart displays current volatility
- Volatility Status — indicates high or low volatility.
- Bollinger Band Width — current width as a percentage.
- ATR Ratio — ratio of current ATR to long-term average ATR.
This script is suitable for trading in high-volatility conditions, combining multiple filters and factors to generate precise buy and sell signals.
Weighted CG Oscillator with ATRATR-Weighted CG Oscillator
The ATR-Weighted CG Oscillator is an enhanced version of the Center of Gravity (CG) Oscillator, originally developed by John Ehlers . By adding the Average True Range (ATR) to dynamically adjust the oscillator’s values based on market volatility, this indicator aims to make trend signals more responsive to price changes, offering an adaptive tool for trend analysis.
Functionality Overview :
The CG Oscillator, a classic trend-following indicator, has been modified here to incorporate the ATR for improved context and adaptability in different market conditions. The indicator calculates the CG Oscillator and scales it by dividing the ATR by the closing price to normalize for volatility. This creates a “weighted” CG Oscillator that generates more contextually relevant signals. A colored line shows green for long signals (above the long threshold), red for short signals (below the short threshold), and gray for neutral conditions.
Input Parameters :
CGO Length : Sets the period of the CG Oscillator calculation.
ATR Length : Determines the period of the ATR calculation. Longer periods smooth out the volatility impact.
Long Threshold : The threshold that triggers a long signal; a long (green) signal occurs when the weighted CG Oscillator crosses above this level.
Short Threshold : The threshold that triggers a short signal; a short (red) signal occurs when the weighted CG Oscillator crosses below this level.
Source : Specifies the data source for CG Oscillator calculations, with the default set to the closing price.
Recommended Use :
This indicator is designed to be an adaptive tool, not your sole resource. To ensure its effectiveness, it’s essential to backtest the indicator on your chosen asset over your preferred timeframe. Market dynamics vary, so testing the indicator’s parameters—especially the thresholds—will allow you to find the settings that best suit your strategy. While the default values work well for some scenarios, customizing the settings will help align the indicator with your unique trading style and the asset’s characteristics.
Trend Trader-RemasteredThe script was originally coded in 2018 with Pine Script version 3, and it was in invite only status. It has been updated and optimised for Pine Script v5 and made completely open source.
Overview
The Trend Trader-Remastered is a refined and highly sophisticated implementation of the Parabolic SAR designed to create strategic buy and sell entry signals, alongside precision take profit and re-entry signals based on marked Bill Williams (BW) fractals. Built with a deep emphasis on clarity and accuracy, this indicator ensures that only relevant and meaningful signals are generated, eliminating any unnecessary entries or exits.
Key Features
1) Parabolic SAR-Based Entry Signals:
This indicator leverages an advanced implementation of the Parabolic SAR to create clear buy and sell position entry signals.
The Parabolic SAR detects potential trend shifts, helping traders make timely entries in trending markets.
These entries are strategically aligned to maximise trend-following opportunities and minimise whipsaw trades, providing an effective approach for trend traders.
2) Take Profit and Re-Entry Signals with BW Fractals:
The indicator goes beyond simple entry and exit signals by integrating BW Fractal-based take profit and re-entry signals.
Relevant Signal Generation: The indicator maintains strict criteria for signal relevance, ensuring that a re-entry signal is only generated if there has been a preceding take profit signal in the respective position. This prevents any misleading or premature re-entry signals.
Progressive Take Profit Signals: The script generates multiple take profit signals sequentially in alignment with prior take profit levels. For instance, in a buy position initiated at a price of 100, the first take profit might occur at 110. Any subsequent take profit signals will then occur at prices greater than 110, ensuring they are "in favour" of the original position's trajectory and previous take profits.
3) Consistent Trend-Following Structure:
This design allows the Trend Trader-Remastered to continue signaling take profit opportunities as the trend advances. The indicator only generates take profit signals in alignment with previous ones, supporting a systematic and profit-maximising strategy.
This structure helps traders maintain positions effectively, securing incremental profits as the trend progresses.
4) Customisability and Usability:
Adjustable Parameters: Users can configure key settings, including sensitivity to the Parabolic SAR and fractal identification. This allows flexibility to fine-tune the indicator according to different market conditions or trading styles.
User-Friendly Alerts: The indicator provides clear visual signals on the chart, along with optional alerts to notify traders of new buy, sell, take profit, or re-entry opportunities in real-time.
Cross-Asset Correlation Trend IndicatorCross-Asset Correlation Trend Indicator
This indicator uses correlations between the charted asset and ten others to calculate an overall trend prediction. Each ticker is configurable, and by analyzing the trend of each asset, the indicator predicts an average trend for the main asset on the chart. The strength of each asset's trend is weighted by its correlation to the charted asset, resulting in a single average trend signal. This can be a rather robust and effective signal, though it is often slow.
Functionality Overview :
The Cross-Asset Correlation Trend Indicator calculates the average trend of a charted asset based on the correlation and trend of up to ten other assets. Each asset is assigned a trend signal using a simple EMA crossover method (two customizable EMAs). If the shorter EMA crosses above the longer one, the asset trend is marked as positive; if it crosses below, the trend is negative. Each trend is then weighted by the correlation coefficient between that asset’s closing price and the charted asset’s closing price. The final output is an average weighted trend signal, which combines each trend with its respective correlation weight.
Input Parameters :
EMA 1 Length : Sets the period of the shorter EMA used to determine trends.
EMA 2 Length : Sets the period of the longer EMA used to determine trends.
Correlation Length : Defines the lookback period used for calculating the correlation between the charted asset and each of the other selected assets.
Asset Tickers : Each of the ten tickers is configurable, allowing you to set specific assets to analyze correlations with the charted asset.
Show Trend Table : Toggle to show or hide a table with each asset’s weighted trend. The table displays green, red, or white text for each weighted trend, indicating positive, negative, or neutral trends, respectively.
Table Position : Choose the position of the trend table on the chart.
Recommended Use :
As always, it’s essential to backtest the indicator thoroughly on your chosen asset and timeframe to ensure it aligns with your strategy. Feel free to modify the input parameters as needed—while the defaults work well for me, they may need adjustment to better suit your assets, timeframes, and trading style.
As always, I wish you the best of luck and immense fortune as you develop your systems. May this indicator help you make well-informed, profitable decisions!
The Forexation: Super Trend SignalsOverview:
The Forexation: Super Trend Signals (STS) indicator was crafted to enhance visualization of market trends by integrating multiple technical analysis tools and adding logic to them so they color bullish, bearish, counter trends, and cautious trends. By combining standard and higher-timeframe Supertrends with dynamic EMAs and VWAP, STS offers a multi-dimensional view of market dynamics. This synergy allows traders to:
Assess Trend Strength and Alignment
Identify Momentum Shifts and Reversals
Gauge Market Sentiment through Volume-Weighted Pricing
Filter Out Market Noise for Clearer Signals
Key Features and Synergy:
1. Dual Supertrend Analysis:
Standard Supertrend:
Utilizes the Average True Range (ATR) and a multiplier factor to detect immediate market trends.
Customizable ATR Length and Factor to adjust sensitivity to market volatility.
Used as a guide to help follow the trend and identify where if price breaks through we can be reversing trend or entering a counter/cautious trend.
Higher Time Frame (HTF) Supertrend:
Integrates Supertrend data from a higher timeframe for a broader market perspective.
Smoothing applied via an EMA to reduce lag and false signals.
**Synergistic Effect:
Trend Alignment: By analyzing both standard and HTF Supertrends, STS identifies when short-term trends align with long-term trends, increasing the reliability of trend signals.
Dynamic Adjustments: Traders can adjust parameters to fine-tune the balance between responsiveness and stability.
2. Customized EMAs with Contextual Color-Coding:
Fast and Slow EMAs:
Customizable periods to match different trading strategies and timeframes.
EMAs are used to identify momentum shifts and potential reversals through crossovers.
Dynamic Color-Coding:
EMA lines change color based on their relationship with each other, the Supertrends, and VWAP.
Visual Interpretation:
Bullish Alignment: Fast EMA above Slow EMA, both above Supertrend and VWAP, signals strong upward momentum.
Bearish Alignment: Fast EMA below Slow EMA, both below Supertrend and VWAP, signals strong downward momentum.
Caution Zones: Misalignment or crossovers indicate potential reversals or consolidation.
**Synergistic Effect:
Momentum Confirmation: EMA crossovers are validated against Supertrend directions, reducing false signals.
Support and Resistance Zones: The area between EMAs acts as dynamic support/resistance, visualized through an optional fill.
3. VWAP Integration for Volume-Weighted Insights:
VWAP Analysis:
Calculates the average price weighted by volume, providing insights into institutional trading levels and market sentiment.
**Synergistic Effect:
Trend Validation: Confirms trend strength by analyzing whether price and EMAs are above or below VWAP.
Counter-Trend Detection: Identifies potential pullbacks or reversals when price interacts with VWAP against the prevailing trend of the standard and higher time frame SuperTrend.
4. Composite Signal Generation:
Color-Coded Market Conditions:
Bullish Signals (Green): Strong upward trends with alignment across standard + HTF Supertrend, EMAs, and price above VWAP.
Bearish Signals (Red): Strong downward trends with inverse alignment.
Caution State (Orange): Potential market reversals or uncertainty when indicators are misaligned. (Example: price above VWAP but under HTF SuperTrend)
Counter-Trend Conditions (Yellow): Signals possible pullbacks or consolidations when price or EMAs cross VWAP. (Example: Price is above VWAP & HTF SuperTrend but the EMAs and Standard SuperTrend are in a down trend)
**Synergistic Effect:
Enhanced Signal Accuracy: By requiring multiple confirmations across different indicators and timeframes, STS filters out noise and increases the probability of trends in the market.
Timely Alerts: Alerts are generated when critical conditions are met, keeping traders informed of significant market movements.
Underlying Concepts and Calculations:
Supertrend Algorithm:
Calculation:
Supertrend is calculated using ATR to set a dynamic trailing stop that follows price movements.
The indicator switches between bullish and bearish modes when price crosses the Supertrend line.
Customization:
ATR Length and Factor can be adjusted to make the Supertrend more or less sensitive to price changes.
In STS: Both standard and HTF Supertrends are used, with the HTF providing longer-term trend context.
Exponential Moving Averages (EMAs):
Calculation:
EMAs apply more weight to recent prices, making them more responsive than Simple Moving Averages (SMAs).
Crossovers between Fast and Slow EMAs signal potential momentum shifts.
Customization:
Periods for Fast and Slow EMAs are user-defined to suit different trading styles.
In STS: EMA behavior is analyzed in conjunction with Supertrend and VWAP to validate signals.
Volume Weighted Average Price (VWAP):
Calculation:
VWAP accumulates total dollars traded (price times volume) divided by total volume over a specific period.
Reflects the average price at which the instrument has traded throughout the day based on both price and volume.
**In STS:
VWAP serves as a dynamic support/resistance level.
Interaction with VWAP can indicate shifts in market sentiment, especially when combined with other indicators.
Justifying the Value of STS:
Holistic Market Analysis:
STS doesn't just merge indicators; it creates a cohesive system where each component validates and enhances the others.
This integrated approach offers a more reliable analysis than using individual indicators in isolation.
Customizable and Adaptive:
Traders have control over key parameters, allowing STS to be tailored to different markets and trading styles.
The ability to adjust sensitivity helps in adapting to varying market conditions.
Enhanced Decision-Making:
By providing clear visual cues and alerts, STS aids in quick interpretation of complex market data.
The indicator helps in identifying high-probability trend opportunities and managing risk effectively with trailing SuperTrend guidance.
Unique Signal Filtering:
The combination of multiple confirmations reduces the likelihood of false trend signals.
The use of higher timeframe data and volume-weighted analysis adds depth to trend assessment.
How to Use STS Effectively:
1. Configuring Settings:
Supertrend Settings:
Adjust ATR Length and Factor to set the desired sensitivity.
Select the Higher Time Frame for the HTF Supertrend to align with your trading horizon.
Set the Smoothing Period for the EMA applied to the HTF Supertrend.
EMA Settings:
Define periods for Fast and Slow EMAs based on your strategy.
Ensure the Fast EMA period is shorter than the Slow EMA for effective crossovers.
Color and Display Settings:
Customize colors for different market conditions to enhance visual clarity.
Choose whether to display the HTF Supertrend, EMA lines, EMA fill, and VWAP.
2. Interpreting Signals:
Bullish Scenario:
Supertrends indicate an uptrend.
Fast EMA crosses above Slow EMA, both trending upwards.
Price and EMAs are above VWAP.
Action: Consider long positions, using the standard Supertrend as a trailing stop.
Bearish Scenario:
Supertrends indicate a downtrend.
Fast EMA crosses below Slow EMA, both trending downwards.
Price and EMAs are below VWAP.
Action: Consider short positions. using the standard Supertrend as a trailing stop
Caution and Counter-Trend Signals:
Misalignment between indicators or color changes to orange/yellow.
Action: Exercise caution, tighten stops, or wait for clearer signals.
4. Setting Up Alerts:
Access the Alerts menu.
Configure alerts for:
Supertrend Direction Changes
EMA Crossovers
Price Crossing VWAP
Set alert actions and ensure they trigger on confirmed data by selecting "Once Per Bar Close."
Example Trading Strategies:
Trend Following:
Use STS to identify strong trends where all indicators are aligned.
Enter positions in the direction of the trend.
Use Supertrend lines as dynamic stop-loss levels.
Pullback Entries:
Wait for price to pull back to the EMA fill area or VWAP in a prevailing trend.
Look for bounce signals off these levels when supported by Supertrend direction.
Counter-Trend Opportunities:
Identify potential reversals when caution or counter-trend signals appear.
Confirm with additional analysis or indicators before taking positions against the main trend.
Disclaimer:
This indicator is intended to aid in technical analysis and should be used as part of a comprehensive trading strategy. It does not guarantee profits and carries the risk of loss. Trading financial instruments involves significant risk; please consult with a qualified financial advisor before making any investment decisions. Past performance is not indicative of future results.
Final Notes:
The Forexation: Super Trend Signals (STS) indicator represents a thoughtfully engineered tool that brings together multiple technical elements to provide a more nuanced understanding of market behavior. By leveraging the strengths of Supertrend, EMAs, and VWAP in unison, STS aims to enhance trading precision and confidence in the trends the market creates but also guide risk management levels for managing a trade and stop loss areas.
We are committed to continuous improvement and value user feedback. Please share your experiences and suggestions to help us refine the indicator further.
Happy Trading!
Depth Trend Indicator - RSIDepth Trend Indicator - RSI
This indicator is designed to identify trends and gauge pullback strength by combining the power of RSI and moving averages with a depth-weighted calculation. The script was created by me, Nathan Farmer and is based on a multi-step process to determine trend strength and direction, adjusted by a "depth" factor for more accurate signal analysis.
How It Works
Trend Definition Using RSI: The RSI Moving Average ( rsiMa ) is calculated to assess the current trend, using customizable parameters for the RSI Period and MA Period .
Trends are defined as follows:
Uptrend : RSI MA > Critical RSI Value
Downtrend : RSI MA < Critical RSI Value
Pullback Depth Calculation: To measure pullback strength relative to the current trend, the indicator calculates a Depth Percentage . This is defined as the portion of the gap between the moving average and the price covered by a pullback.
Depth-Weighted RSI Calculation: The Depth Percentage is then applied as a weighting factor on the RSI Moving Average , giving us a Weighted RSI line that adjusts to the depth of pullbacks. This line is rather noisy, and as such we take a moving average to smooth out some of the noise.
Key Parameters
RSI Period : The period for RSI calculation.
MA Period : The moving average period applied to RSI.
Price MA Period : Determines the SMA period for price, used to calculate pullback depth.
Smoothing Length : Length of smoothing applied to the weighted RSI, creating a more stable signal.
RSI Critical Value : The critical value (level) used in determining whether we're in an uptrend or a downtrend.
Depth Critical Value : The critical value (level) used in determining whether or not the depth weighted value confirms the state of a trend.
Notes:
As always, backtest this indicator and modify the parameters as needed for your specific asset, over your specific timeframe. I chose these defaults as they worked well on the assets I look at, but it is likely you tend to look at a different group of assets over a different timeframe than what I do.
Large pullbacks can create large downward spikes in the weighted line. This isn't graphically pleasing, but I have tested it with various methods of normalization and smoothing and found the simple smoothing used in the indicator to be best despite this.