Trend Following Moving AveragesWhile analysing a chart, one of the biggest problem is to see if there is trend or not. While thinking about it, I found the idea to analyse moving averages in channel and their momentum according to channel width. I already published it as Trend Following Bar as you see at bottom of the chart.
How it Works?
On each bar it creates a channel by highest/lowest point of a MA. highest point is upper line and lowest point is lower line of the MA channel,
It gets highest and lowest point of last 300 bars, (say Price Channel )
If the width of MA channel is greater than certain rate of price channel then it decides there is trend
After it decided there is trend, it calculates the rate between channel and MA. Bigger result means stronger trend.
According to rate of MA channel and the price channel , MA Line becomes lighter/darker. so when you look at the MA Line's color you can see the trend strength.
Some details about my idea:
Options:
You can choose following MA types as source: EMA, SMA , RMA, WMA , VWMA
"Period to Check Trend" is the period to create MA channel. Bigger period cause more sensitivity.
"Trend Channel Rate %" is rate of price channel . Price channel created by using highest/lowest of last 300 bars. I did this to make the script works on all time frames correctly.
"Use Linear Regression" is used to get rid of noise. it may cause 1-2 bars latency.
Trend Following Bar script:
All comments are welcome!.
Enjoy!
Cerca negli script per "trend"
Trend spider glueThis script works on all market types.
This script will show you when to long, short, exit (stop loss) and Take profit.
Signals take into account various elements such as momentum, volume , moving averages and long term trend analysis. Stop loss function is included to show you when a signal is invalidated.
Use this strategy strictly, patiently and with discipline to prevent unneeded losses, this will result in long term consistent profits.
This script has been set to work best on the intraday time frames, however it also works on the longer timeframes. Use the settings tab to dilute the indicators to ur own market.
Lastly, this indicator will not give signals if the market is not trending.
PM me here to get a free trial for the indicator !
HAPPY TRADING <3
Version 2 will be coming soon which will integerate more elements to allow for more accurate signals and faster stop losses !
disclaimer: although this indicator is taking many elements into account and is highly accurate the market is never certain, we are not responsible for any losses the script may result in as we are not financial advisors.
Trend Following BarWhile analysing a chart, one of the biggest problem is to see if there is trend or not. While thinking about it, I found the idea to analyse moving averages in channel and their momentum according to channel width.
How it Works?
On each bar it creates a channel by highest/lowest point of a MA. highest point is upper line and lowest point is lower line of the MA channel,
It gets highest and lowest point of last 300 bars, (say Price Channel)
If the width of MA channel is greater than certain rate of price channel then it decides there is trend
After it decided there is trend, it calculates the rate between channel and MA. Bigger result means stronger trend.
According to rate of MA channel and the price channel, bar color becomes lighter/darker. so when you look at the bar color you can see the trend strength.
Some details about my idea:
Options:
You can choose following MA types as source: EMA, SMA, RMA, WMA, VWMA
"Period to Check Trend" is the period to create MA channel. Bigger period cause more sensitivity.
"Trend Channel Rate %" is rate of price channel. Price channel created by using highest/lowest of last 300 bars. I did this to make the script works on all time frames correctly.
"Use Linear Regression" is used to get rid of noise. it may cause 1-2 bars latency.
All comments are welcome!.
Enjoy!
Trend Follower - Light Mode | jhFollow up script for my Trend Follower script.
I'm used to dark mode, so I coded a few key plots in white, so those are changed into black on the script.
Notably:
- > 1 ATR in black dots along the baseline
- Current and previous ATR text labels to the right of the price
- A text label spacing input that allows you to adjust the spacing for text label from price.
This is a trend following system that combines 3 indicators which provide different functionalities, also a concept conceived by VP's No Nonsense FX / NNFX method.
1. Baseline
The main baseline filter is an indicator called Modular Filter created by Alex Grover
- www.tradingview.com
- Alex Grover - Modular Filter
-------
That's the moving average like baseline following price, filtering long and short trends and providing entry signals when the price crosses the baseline.
Entry signal indicated with arrows.
2. Volume/Volatility, I will called it Trend Strength
The next indicator is commonly known as ASH, Absolute Strength Histogram.
This indicator was shared by VP as a two line cross trend confirmation indicator, however I discovered an interesting property when I modified the calculation of the histogram.
- Alex Grover Absolute Strength
-------
My modification and other info here
- Absolute Strength Histogram v2
-------
I simplified the display of the trend strength by plotting squares at the bottom of the chart.
- Lighted Squares shows strength
- Dimmed Squares shows weakness
3. Second Confirmation / Exits / Trailing Stop
Finally the last indicator is my usage of QQE (Qualitative Quantitative Estimation), demonstrated in my QQE Trailing Line Indicator
- QQE Trailing Line for Trailing Stop
-------
Three usages of this amazing indicator, serving as :
- Second trend confirmation
- Exit signal when price crosses the trailing line
- Trailing stop when you scaled out the second trade
This indicator is plotted with crosses.
Additional plots and information
Bar Color
- Green for longs, Red for shorts, White when the baseline direction conflicts with the QQE trailing line direction
- When it's white, it's usually ranging and not trending, ASH will also keep you off ranging periods.
-------
ATR Filter
- White circles along the baseline, they will show up if the price has moved more than one ATR from the baseline
- The default allowance is 1 ATR.
-------
The previous and current ATR value
- Label on the right side of the chart showing the previous and current value of ATR
TrendLines with AlertsThis isn't my own work, hence giving it in Open Source library for others to benefit from it too.
I have tried to refin the output of trendlines in this Strategy
The original Code is available at
The script needs some modifications, so I'll be making further updates in future, but for now I'm publishing this because most people don't know how to track trandlines, moreover, some use Line.New() by tradingview Pinescript, which again is a bit difficult to deal with.
This script is a basic version of trendlines on a certain angle (anglecheck was provided by the original author in his script).
Nothing fancy in this script.
Also Converted the original Script to Pinescript v4.
Trendlines 2x +Copy of "Trendlines - JD" script by Duyck, which draws Trendlines from the pivot points in the price chart.
I have simply Doubled the amount of Trendlines, so now there are;
A Primary set of Trendlines at a higher lookback length and Thicker Line Width
and
A Secondary set of Trendlines at a Lower lookback length and Thinner Line Width
The default values work well when comparing multiple time frames at 3x time difference, play around with these values for other x time variations
I have also simplyfied the Trendline Extension Function to make it more user friendly
Please use the Alerts with caution as the Trendline Break function still needs to be optimised
Also included are Trend Candles to color the bars according to momentum, Trencandles script is a copy of UCS_Trend by ucsgears
Trend Trader (by JamieSteele)This strategy uses a multi-time-frame approach to trading.
A longer-term set of moving averages represents the Weekly (long-term) Trend.
The current trend represents the intermediate-term trend.
A 10 period exponential moving average represents the short-term trend.
The system trades in the direction of the long-term and intermediate term trend,
and enters trades on pullbacks counter to these trends.
The daily bars are colored based upon their intermediate term trend.
Red=Down Trend, Green=Up Trend.
For short-side trades, we look to capture small, consistent profits. This is necessary
given the extreme manipulation by governments' central banks in an effort to prop-up their
stock markets to give an appearance of an economy that is better than actually exists.
These governments look to limit all downside moves, so we capture small profits and then
re-short after the market resets.
For long-side trades the system stays in the trade until the trend is proven to be over.
Given the extreme valuations present in world markets today, extreme caution should be taken
on all trades, especially long-side trades. Use of derivatives are preferred (e.g. options,
which can be used to limit downside risk.) Naked put selling should be avoided, since huge
losses are possible selling naked puts in a market that is very overdue for a crash/large
price decline.)
Trend tracking strategy of proprietary traders-RabbitThis is my latest strategy integration. It is a combination of trend tracking strategy and visualization trend. I believe it will bring you a clear trend discrimination and relatively reliable trading signal hints.
(Note: This strategy parameter has special parameter debugging and Optimization for BTC1h/BIANACE Heikin-ashi chart. It works best here. Other trade pairs or parameter versions of investment targets will be published specially if necessary.)
Statement of strategy concept:
The concept of strategy is trend tracking. The formation and continuation of trend is the product of speculation market for thousands of years. There are various strategies including CTA trend strategy, shock regression strategy, grid strategy, Martin strategy, Alpha strategy and so on. These strategies have their own merits just like different schools of Chinese knight-errant. Choose one, a master is not able to do hundreds of tricks, but to practice one trick thousands of times.
Every strategy has its own right and wrong. Trading is not violence, but a process of advancing, retreating, and making profits steadily. Therefore, the use of trend tracking strategy must overcome greed in human nature, profit and loss homology, dare to bear the shock of withdrawal in order to make a big profit when the real trend arrives. (Of course, this strategy has largely avoided filtering shocks, which will be explained later.)
Policy-building instructions:
Any trend tracking strategy can produce good results when there is a trend, so judging whether a trend strategy is good or bad depends on its withdrawal performance when it is shaking. This CTA trend tracking strategy uses Kauffman adaptive algorithm, fractal adaptive dimension, self-research algorithm and other tools, and has largely avoided filtering the signal in the shock without delay to follow the trend.
Additional notes for the new version:
The latest integrated version has increased the visualization of trends. It can clearly distinguish the trend of ups and downs or consolidation shocks based on chart color. However, trading signals are not calculated according to color changes, but the visualization helps you identify trends and signals help you to refer to sales.
This is only a simple trading signal strategy, and the other warehouse management and risk control need manual completion operation.
(Note: This strategy parameter has special parameter debugging and Optimization for BTC1h/BIANACE Heikin-ashi chart. It works best here. Other trade pairs or parameter versions of investment targets will be published specially if necessary.)
Good luck to all of you and a smooth deal.~
TrendMaster Premium ©Trendmaster Premium©
We are proud to release the final version of Trendmaster Premium©. This indicator is the result of months of development between @TrendmasterTM and @Crypto_C00kie.
Trendmaster Premium© is a Trend following system that provide entries, exits and stop loss placement. It is extremely simple to follow and we have experienced outstanding results.
When purchasing Trendmaster Premium© you will receive access to the indicator suite and access to our private members discord group.
Discord: The discord channel is a place where traders can discuss ideas and share content.
It includes
Bots – The discord channel currently has two bots that constantly scan Binance for signals. They will alert you by notification of any BTC pair that has printed a signal candle. Currently the bots report D1 and H4 signals as these are the time frames the indicator is designed for. These are designed to alert you to possible trades and should NOT be blindly traded from.
Chat – Several chat servers offering educational resources, guidance on how to use the indicator and chart/idea sharing.
The mandatory Legal bit:
@IchimokuScholar and @Crypto_C00kie wish you the best of luck in achieving your trading goals. Please apply appropriate risk management.
Any form of trading has large potential rewards but also large potential risks. The Purchaser must be aware of those risks and be willing to accept them. Don't trade with money that you, the Purchaser cannot afford to lose. No representation is being made that you are guaranteed positive results. The past performance of any trading methodology is not necessarily indicative of future results. Trading involves high risks. Neither @TrendmasterTM or @Crypto_C00kie are responsible for any trades that you, the Purchaser take. All trades taken are entirely at the Purchasers own risk. Refunds are neither offered nor implied.
1 HOUR Trend Friend (BTC)Trend Friend V.1.
-The Trend Friend indicator is tuned for 1 HOUR timeframe (BTC) only to capture the overall trend.
-Signals are meant to be possible entries and profit taking opportunities
-No strategy is 100%
-Fib Band width can be adjusted for instrument and volatility
ABOVE BASIS (Uptrend)
Long signals = buy and hold bias
Short signals = take profit OR scalp opportunities
Price drops below basis, exit Long position
BELOW BASIS (Downtrend)
Short signals = Short and hold bias
Long signals = take profit OR scalp opportunities
Trend BarsThis trading tool identifies when price is in a range and when the trend is established from.
Exclusive for our members.
io-trend-follow (1.0)Trend Follow script to be used across all market instruments and timeframes.
Now you can display long only, short only or both signals.
TREND barcolorsThe Donchian values are basically from Ed Sekoytas original statistical run, that gave the values 30 & 120 (aren't as relevant today, but still packs a punch).
The idea of this code is just to take that 30, add a very simple inset of it, with ATR, and color code the bar Green or Red to indicate the direction of the trend. When a new break of the 120 line, (thick line) higher or lower, it typically indicates a bigger bias towards the trend.
It's my first publish, and so a very simple easy to understand system.
Use at your own risk. I cannot be held liable for any damages financial or otherwise, directly or indirectly related to using this script.
Trend Oscillator# Trend Oscillator: Advanced Technical Analysis Indicator
## Overview
The Trend Oscillator is a sophisticated technical analysis tool designed to identify market trends, momentum shifts, and potential reversal points. Unlike basic oscillators, this indicator combines key analytical approaches to provide a more comprehensive market analysis:
1. **Mean Deviation-Based Oscillator**:(160) At its core, it measures price deviations from moving averages normalized by mean deviation
2. **Fixed Reference Levels**: Clear overbought/oversold thresholds that define extreme market conditions
3. **Trend Filtering**: EMA(36)-based trend direction confirmation to reduce false signals
## Technical Foundation
### Core Calculation Method
The indicator derives its primary oscillator value using a normalized deviation method:
- Calculates a typical price (average of source + high + low)
- Measures the deviation of typical price from its moving average
- Normalizes this deviation by the mean deviation multiplied by a scaling factor (0.015)
This formula effectively creates a momentum oscillator that quantifies how far price has moved from its equilibrium value, relative to typical market volatility.
### Fixed Overbought/Oversold Levels
The Trend Oscillator uses consistent reference levels to identify extreme market conditions:
- Standardized overbought level set at +100
- Standardized oversold level set at -100
- Neutral zone centered around the zero line
These fixed thresholds provide reliable reference points for signal generation and trend strength assessment.
### Trend Filtering Mechanism
The indicator incorporates an EMA-based trend filter that:
- Calculates a directional bias using price position relative to its EMA 36
- Modifies oscillator interpretation based on the prevailing trend
- Helps distinguish between counter-trend corrections and actual reversals
## How to Use the Trend Oscillator
### For Trend Identification
- **Bullish trend**: Oscillator above zero with positive slope
- **Bearish trend**: Oscillator below zero with negative slope
- **Trend strength**: Distance from zero line indicates trend intensity
- **Trend confirmation**: When oscillator and trend filter align
### For Entry Signals
- **Long entry opportunities**:
- Oscillator crossing above the signal line during uptrend
- Oscillator exiting oversold territory with trend filter positive
- Price showing strength while oscillator moves from negative to positive
- **Short entry opportunities**:
- Oscillator crossing below the signal line during downtrend
- Oscillator exiting overbought territory with trend filter negative
- Price showing weakness while oscillator moves from positive to negative
### For Exit Signals
- **Taking profits**: When oscillator approaches extreme levels in your trade direction
- **Stop-loss placement**: When oscillator crosses signal line against your position
- **Trend change warning**: When oscillator crosses zero line against your position
## Customization Options
### General Settings
- **Length**: (160)Controls the calculation period for the oscillator (higher values create smoother, less sensitive readings)
- **Source**: The price data input (close, open, high, low, hl2, hlc3, etc.)
### Signal Line Settings
- **Signal Line**: Optional smoothed version of the oscillator for crossover signals
- **Signal Length**:(36) Determines signal line responsiveness
### Level Settings
- **Overbought/Oversold Levels**: Standard thresholds that define extreme conditions
### Trend Filter Settings
- **Trend Period**: Lookback period for trend direction calculation
- **Trend Source**: Price data used for trend determination
### Visual Settings
- **Show Background Color**: Toggles colored background based on oscillator readings
- **Background Transparency**: Controls the opacity of background coloring
## Trading Strategy Applications
### Trend-Following Approach
1. Enter in the direction of the prevailing trend when:
- Oscillator and trend filter align
- Oscillator crosses signal line in trend direction
- Price pulls back to neutral zone during strong trend
2. Exit when:
- Oscillator crosses signal line against position
- Trend filter changes direction
- Oscillator reaches extreme level in your trade direction
### Counter-Trend Approach
1. Look for reversal opportunities when:
- Oscillator reaches extreme overbought/oversold levels
- Signal line crossover occurs at extreme readings
- Price action confirms potential reversal
2. Exit when:
- Target price levels are reached
- Oscillator returns to neutral zone
- New signals emerge in opposite direction
## Indicator Strengths
- Combines momentum and trend analysis in one comprehensive tool
- Consistent reference levels provide reliable benchmarks
- Reduces false signals through trend filter confirmation
- Visual color-coding provides intuitive market context
## Best Practices
- Effective on all timeframes for trend analysis
- Use in conjunction with support/resistance or price action
- Start with default settings and gradually adjust to your trading style and instrument
- Consider the overall market context when interpreting signals
The Trend Oscillator offers traders a comprehensive technical analysis framework that goes beyond simplistic overbought/oversold readings by incorporating trend context and normalized deviation methodology—providing a nuanced approach to market analysis with clear, consistent reference points.
Trendline Breakouts With Targets [ Custom by MinhVo ]Trendline Breakout Strategy With Stoploss and Target
Each order if matched stoploss will lose 10% of current balance value and the order have ratio R:R is 1:1.2 as default.
Trend Classifier [ChartPrime]Trend Classifier
This is a multi-level trend classification tool that detects bullish, bearish, and ranging conditions using an adaptive smoothing method. It highlights trend strength through color-coded candles and layered bands, making it easy to interpret market momentum visually.
⯁ KEY FEATURES
Classifies trend strength using 3 bullish and 3 bearish levels relative to an adaptive trend line.
Neutral (range) zones are marked when price stays between key bands, often signaling low volatility or consolidation.
Automatically filters band visibility based on current trend direction:
In uptrends, only levels below the price are displayed.
In downtrends, only levels above the price are shown.
Color-coded candles:
Aqua candles for bullish conditions.
Red candles for bearish conditions.
Orange candles during neutral or ranging conditions.
Includes a trend direction change marker (diamond), plotted when a shift in trend is detected.
Plots a central smoothed trend line to anchor the trend bands dynamically.
Displays a trend strength dashboard in the top-right corner with real-time bull and bear scores (0 to 3).
Labels with arrows (▲/▼) show current trend direction and strength on the chart.
⯁ HOW TO USE
Use bull and bear levels (1–3) to assess the momentum of the current trend.
When bull = 0 and bear = 0 , market is considered ranging or consolidating – consider fading or waiting for breakout confirmation.
Trend bands can be used as dynamic support/resistance during trending phases.
Monitor the trend change diamonds to spot potential early reversals.
Combine with volume or oscillator tools for confirmation of strength shifts.
⯁ CONCLUSION
Trend Classifier helps traders stay aligned with the dominant trend while visually breaking down market momentum into levels. Its clean color-coded design and strength dashboard make it ideal for both trend following and range trading strategies.
Trend Catcher SwiftEdgeTrend Catcher SwiftEdge
Overview
The Trend Catcher SwiftEdge is a simple yet effective tool designed to help traders identify potential trend directions using two Simple Moving Averages (SMAs). It plots two SMAs based on the high and low prices of the chart, visually highlights trend conditions, and provides buy/sell labels to assist with trade entries. This indicator is best used as part of a broader trading strategy and should not be relied upon as a standalone signal generator.
How It Works
Two SMAs: The indicator calculates two SMAs: one based on the lowest price (Low) and one based on the highest price (High) over a user-defined period (default: 20).
Dynamic Colors:
Green: When the price is above both SMAs (indicating a potential uptrend).
Red: When the price is below both SMAs (indicating a potential downtrend).
Purple: When the price is between the SMAs (indicating consolidation).
The SMAs and the background between them change color dynamically to reflect the current trend condition.
Buy/Sell Labels:
A "Buy" label appears when an entire candlestick (including its low) crosses above both SMAs, marking the start of a potential uptrend.
A "Sell" label appears when an entire candlestick (including its high) crosses below both SMAs, marking the start of a potential downtrend.
To reduce noise, only one label is shown per trend direction. The indicator resets when the price enters the consolidation zone (purple), allowing for a new signal when the next trend begins.
Settings
SMA Length: Adjust the period of the SMAs (default: 20). A longer period smooths the SMAs and focuses on larger trends, while a shorter period makes the indicator more sensitive to price changes.
How to Use
Add the indicator to your chart.
Look for "Buy" labels to consider potential long entries during uptrends (green zone).
Look for "Sell" labels to consider potential short entries during downtrends (red zone).
Use the purple consolidation zone to prepare for potential breakouts.
Always combine this indicator with other forms of analysis (e.g., support/resistance, volume, or other indicators) to confirm signals.
Important Notes
This indicator is a tool to assist with identifying trend directions and potential entry points. It does not guarantee profits and should be used as part of a comprehensive trading strategy.
False signals can occur, especially in choppy or ranging markets. Consider using additional filters or confirmations to improve reliability.
Backtest the indicator on your chosen market and timeframe to understand its behavior before using it in live trading.
Feedback
If you have suggestions or feedback, feel free to leave a comment. Happy trading!
Trend Detector [victhoreb]Trend Detector is a streamlined indicator that uses the Pearson correlation coefficient between the average price and time to determine market trends. It measures how closely price movement follows the progression of time over a user-defined period, providing a clear gauge of trend direction on a scale from -1 to 1.
How It Works:
The indicator calculates the correlation between price and time. A positive correlation means that as time advances, the price generally rises—signaling an uptrend. Conversely, a negative correlation indicates that the price tends to fall over time, highlighting a downtrend.
With its simple yet effective approach, Trend Detector offers traders an immediate visual and quantitative insight into prevailing market trends.
Trend AnalyzerThe Trend Analyzer is designed to help traders identify and analyze market trends. Here's a simple explanation of its logic:
Main Features
Customizable Moving Average: The indicator plots a moving average on the chart. Users can choose from various types (SMA, EMA, WMA, VWMA, HMA, SMMA, TMA) and set the period. This flexibility allows traders to adapt the indicator to different trading styles and timeframes.
Trend Detection: It determines whether the current price is above or below the moving average, providing a clear visual representation of the current trend direction.
Sequence Counter: The indicator counts consecutive candles above or below the moving average. This feature helps traders identify trend strength and persistence, which can be crucial for timing entries and exits.
Statistical Analysis: It calculates probabilities for the next candle's direction based on historical data. This unique feature gives traders a statistical edge in predicting short-term price movements.
Visual Candle Counter: An optional feature that displays the number of consecutive candles above or below the moving average directly on the chart, enhancing visual analysis.
How It Works
The indicator continuously tracks the position of price relative to the chosen moving average.
It maintains a count of how many candles in a row have been above or below the moving average.
For each sequence length, it records historical data on how often the trend continued or reversed in the past.
This historical data is used to calculate probabilities for the next candle's direction, providing a statistical insight into potential price movements.
The indicator displays this information directly on the chart, allowing for quick and easy interpretation.
Practical Applications
Trend Confirmation: Use the indicator to confirm the strength and direction of current trends.
Entry and Exit Signals: The sequence counter and probability calculations can help in timing trades more effectively.
Risk Management: Understanding the statistical likelihood of trend continuation can aid in setting appropriate stop-loss and take-profit levels.
Market Analysis: The indicator provides valuable insights into market behavior and can be used for both short-term and long-term analysis.
While the Trend Analyzer provides valuable insights based on historical data and statistical analysis, it's important to remember that past performance does not guarantee future results. The financial markets are complex and influenced by numerous factors. This indicator should be used as part of a comprehensive trading strategy and not as a sole decision-making tool. Always practice proper risk management and consider seeking advice from financial professionals before making investment decisions.
Trend Angle IndicatorTrend Angle Indicator
Description
The Trend Angle Indicator is designed to measure the strength of a trend by calculating the angle of the trend.
Specifically, it computes the angle of a Simple Moving Average (SMA) over a specified length and then applies
an Exponential Moving Average (EMA) to the angle for smoothing.
This approach provides a clear indication of the trend's direction and intensity.
It also includes customizable alerts for significant changes in the trend angle and zero-line crossings,
making it a robust tool for traders seeking to gauge market momentum.
Key Features
- **Trend Angle Calculation**: Measures the trend's angle, providing insights into trend direction and strength.
- **SMA and EMA**: Uses SMA for the base calculation and EMA for smoothening the angle values.
- **Visual Trend Indication**: Visually indicates uptrends and downtrends with customizable colors - red and green.
- **Alerts**: Configurable alerts for significant changes in trend angle and zero-line crossings.
Calculation Methodology
1. **Simple Moving Average (SMA):**
- The script calculates the SMA of the close price over a user-defined `input_length`.
2. **Angle Calculation:**
- The height of the trend is calculated by subtracting the SMA value from the SMA value `input_length` bars ago. A higher angle value indicates a stronger trend.
- The angle in degrees is obtained using the arctangent function: \
3. **Exponential Moving Average (EMA):**
- Applies an EMA to the calculated angle to smooth out the values based on a user-defined `input_ma_length`.
4. **Trend Detection:**
The color of the angle plot and filled area provide a quick visual representation of the current trend direction
- The trend angle changes are monitored and visualized with color-coded plots.
- Uptrend: Angle >= 0 uses `upColor` (green).
- Downtrend: Angle < 0 uses `downColor` (red).
#### Using the Indicator
1. **Adding the Indicator:**
- Add the indicator to your TradingView chart by selecting it from the Pine Script library or by pasting the script into the Pine Script editor.
2. **Inputs:**
- **Length**: Defines the period for the SMA calculation.
- **MA Length**: Sets the period for the EMA smoothing.
- **Angle Change Threshold (degrees)**: Defines the threshold for significant angle change alerts.
- **Color Candles**: Optionally colorizes the price candles based on the angle's trend direction.
3. **Customizing Plots:**
- **Angle Plot**: Displays the EMA of the trend angle. The color changes based on whether the trend is up or down.
- **Zero Line**: A horizontal line at zero to easily visualize crossings that signify a change in trend direction.
- **Fill Color**: Fills the area above/below the zero line with colors representing the direction of the trend.
4. **Setting Alerts:**
- **Cross Above Zero**: Triggers an alert when the trend angle crosses above zero, indicating a potential start of an uptrend.
- **Cross Below Zero**: Triggers an alert when the trend angle crosses below zero, indicating a potential start of a downtrend.
- **Significant Angle Change**: Alerts when the angle change exceeds the user-defined threshold, highlighting significant trend changes.
#### Example Usage
To use and customize the Trend Angle Indicator on your chart:
1. **Add to Chart**: Apply the indicator from the TradingView library or by pasting the script into the Pine Script editor.
2. **Configure Inputs**:
- Adjust the `Length` to set the period for the SMA.
- Set the `MA Length` for the EMA smoothing.
- Define the `Angle Change Threshold` for receiving alerts on significant changes.
3. **Display Customization**:
- Enable `Color Candles` to have the price candles reflect the trend direction.
4. **Set Alerts**:
- Use the alert conditions provided to get notified about critical events like zero line crossings or significant angle changes.
Trend Reversal PredictorTrend Reversal Predictor - An Indicator for Identifying Potential Trend Reversals
This indicator is designed to help traders identify potential trend reversals in the financial markets. It combines multiple criteria including trend identification, volume analysis, average net price movement, and RSI (Relative Strength Index) crossing its moving average to highlight potential danger zones where a trend reversal may occur.
How it Works:
1. Trend Identification: The script uses the Hull Moving Average (HMA) and Parabolic SAR to determine the prevailing trend. The HMA is a smoothing indicator that reduces lag and provides a clear representation of the trend direction.
2. Danger Zone Identification: The script analyzes volume-related metrics and average net price movement to identify potential danger zones where trend reversals might occur. It calculates the rate of change of buying and selling volume and compares it to their respective averages. Additionally, it considers the average net price movement over a specified period.
3. RSI Integration: The script incorporates the RSI, a momentum oscillator, to evaluate overbought and oversold conditions. It calculates the RSI based on user-defined length and source inputs. It also calculates the RSI's moving average using different types of moving averages (SMA, EMA, etc.) specified by the user.
4. Trend Ending Prediction: By combining the conditions of trend identification, volume analysis, average net price movement, and RSI crossing its moving average, the script identifies potential trend reversal points or danger zones. These danger zones are highlighted on the chart using different colors to represent potential uptrend and downtrend reversals.
How to Use:
2. Danger Zone Highlighting: The script highlights potential danger zones on the chart using orange color for uptrend danger zones and blue color for downtrend danger zones. These danger zones suggest areas where a trend reversal may occur.
3. Additional Analysis: Traders can further analyze the danger zones based on their trading strategy and risk management. Consider other technical indicators, price action, and fundamental factors to make informed trading decisions.
Please note that this script provides potential signals for trend reversals but does not guarantee their occurrence. It is important to use this indicator in conjunction with other technical analysis tools and risk management techniques to make well-informed trading decisions.
By understanding the underlying concepts and using the provided visual cues, traders can leverage the Trend Reversal Predictor to potentially identify potential trend reversals in the markets.
Trend forecasting by c00l75----------- ITALIANO -----------
Questo codice è uno script di previsione del trend creato solo a scopo didattico. Utilizza una media mobile esponenziale (EMA) e una media mobile di Hull (HMA) per calcolare il trend attuale e prevedere il trend futuro. Il codice utilizza anche una regressione lineare per calcolare il trend attuale e un fattore di smorzamento per regolare l’effetto della regressione lineare sulla previsione del trend. Infine il codice disegna due linee tratteggiate per mostrare la previsione del trend per i periodi futuri specificati dall’utente. Se ti piace l'idea mettimi un boost e lascia un commento!
----------- ENGLISH -----------
This code is a trend forecasting script created for educational purposes only. It uses an exponential moving average (EMA) and a Hull moving average (HMA) to calculate the current trend and forecast the future trend. The code also uses a linear regression to calculate the current trend and a damping factor to adjust the effect of the linear regression on the trend prediction. Finally, the code draws two dashed lines to show the trend prediction for future periods specified by the user. If you like the idea please put a boost and leave a comment!
Trend Follow SystemTrend following algorithm:
We take 1- 5 Fibonacci Ema values. 21, 34, 55, 89, 144
2- We normalize the changes of these values over time between 1-100.
3- We take the ema value of 1 length so that it does not follow a horizontal course after the normalization process.
4- In order not to experience too much change, we take the value of sma with a length of 5.
5-We think that when all values are 100, the trend is up, when all values are 0, the trend is down, otherwise the trend is horizontal.