Elliot Wave - ImpulseLets dabble a bit into Elliot Waves.
This is a simple script which tries to identify Wave 1 and 2 of Elliot Impulese Wave and then projects for Wave 3.
Ratios are taken from below link: elliottwave-forecast.com - Section 3.1 Impulse
Wave 2 is 50%, 61.8%, 76.4%, or 85.4% of wave 1 - used for identifying the pattern.
Wave 3 is 161.8%, 200%, 261.8%, or 323.6% of wave 1-2 - used for setting the targets
Important input parameters
Length : Zigzag Length. Keep the numbers low if you are looking for smaller and shorter trades. Keep the numbers high if you are looking for longer and bigger trades.
Error Percent : Adjustments for ratios as it is not always possible to find exactly equal retracement ratio.
Entry Percent : Once Wave 2 is formed, entry is set after reversing 30% of wave 2. This number can be increased or decreased. Caution: Keeping the number too low may result in false signals.
Ignore Trend Direction : If unchecked, it will only look for pattern if Wave 1 has made a higher high. If not, it will ignore Wave 1 condition and only look at wave 1 to 2 ratio.
Handle Duplicates : Since, the labels are generated upon crossover of entry price, this crossover may happen multiple times. Or sometimes wave 2 can further extend and generate new signal with same wave 1. This parameter says how to handle such cases. Keep Last is set to default and is most preferred option.
ShowRatios and ShowWaves lets you display wave line and retracement ratios for each pivots
Cari dalam skrip untuk "trend"
Previous High/Low MTFIndicator to plot higher time frame previous candle highs and lows.
One of the key factor in understanding the trend is to look at higher time-frames chart.
Parameters are explained below:
resolution : Chose resolution of higher timeframe. If set to same as symbol, it will consider next parameter HTFMultiplier for calculation of higher timeframe
HTFMultiplier : Multiply symbol timeframe to by HTFMultiplier to derive higher time-frame
Offset : Number of higher timeframe candles before to be plotted. 1 means - it will show highs/lows of previous higher timeframe candle.
Trend Direction Force Index v2 - TDFI [wm]TDFI can range from -1 to 1 and thus indicate the direction of the trend.
In periods of consolidation ratios take very low values close to zero as a rule, do not exceed the value of 0.05 (and -0.05), which have set arbitrarily as horizontal signal lines. Rate accelerates rapidly to higher values when the consolidation ends and is a good chance of becoming a permanent trend.
As an extension, the trader can assume that as long as the pointer moves above the signal line and does not come down to the low value of less than 0.05 for at least two bars the trend continues. So the descent below signal line and a return to higher values should be interpreted as a temporary weakening trend. Not before rate remains below 0.05 for at least 2 bars, can we consider that the market is likely to begin to consolidate
In addition, we can assess the strength of the trend, depending on the value of the index – the index reaches 1 trend is strong (-1 is a strong downward trend) and generally values above 0.6 should be so interpreted. Less than in decline should be considered that the trend is losing its momentum.
Change Log:
* Refactored tdfi implementation. Functionally exactly the same
* Added selectable smoothers
* Added finer grained inputs fora each smoother
Trend Lines+++scripts taken from
Nothing here is mine , just put it as I like the combination of those script together when I analyse data
so it make life easy to draw line automode
I suggest 4 hours or daily chart with MACD and RSI
Thanks to autors in scripts
trend hybridThis indicator based on two part
first part is the lower of the famous Darvas top
the upper part is made from EMA trend as replacement for th ethe top of the Darvas box
By similar logic we can decide to go long or short as the Darvas box but herfe by using the Ema trend line which is MTF type we can find better optimum for shorting or longing
So it a simple indicator but can ce very usefull to see trends if properly done
Trend Setter Max BarsThis script allows you to visualize trends. It counts continuous bars in the same direction, then makes an average of the maximum count in the look back period. If Green is above Red, its strength is upward and vice versa. This doesn't use returns or measure price moves.
*Positive Gray is current up bars count. Negative Gray down current down bars count
*Green and Red are average max counts.
This info could possibly be used to gauge trends or momentum.
Note: I finally figured out how to use loops and mutable variables in V3.
Trend Strength Index - ZTFThis is a modification of TradingView's default Trend Strength Index indicator.
The Trend Strength Index measures the tendency of a symbol to either trend steadily or to revert to its mean. The core idea behind TSI is that the more momentum a symbol has relative to its volatility, the more likely it is to follow a trend and less likely to revert to its mean.
This indicator analyzes price momentum using the Pearson correlation coefficient, a normalized measure of the linear relationship between time series. Its output shows the correlation between the chart's closing prices and bar index values over a defined number of bars.
A value near +1 shows that prices experienced relatively steady increases across successive bars, indicating high upward trend strength
A value near -1 shows that prices experienced relatively steady decreases across successive bars, indicating high downward trend strength
A value near 0 suggests a lack of trend strength, because prices did not demonstrate a steady positive or negative relationship with the bar index
ZTF Modification: Added a green background highlight that appears when TSI reaches 0.90 or above, providing a visual alert for extremely strong bullish trend conditions.
Credit: Based on TradingView's default Trend Strength Index indicator.
Trend Degree Dashboard (Table)📈 Trend Degree Dashboard (Table) — v1.0
This indicator calculates and displays the trend angle (in degrees) based on the linear regression of the selected source (default: close) over a user-defined lookback period (default: 21 bars).
The trend angle gives a quick visual reference of the current market slope — positive (uptrend) or negative (downtrend).
A dashboard table shows the trend angle directly on the chart, with a background color:
🟩 Green background for positive angles (uptrend)
🟥 Red background for negative angles (downtrend)
🔧 Features:
Customizable Lookback Period: Set the number of candles to consider for trend calculation.
Source Selection: Apply the analysis to close, open, high, low, or any other price series.
Dashboard Positioning: Choose where the dashboard appears (Top Left, Top Right, Bottom Left, Bottom Right).
Clean Table Design: Minimalistic and easy-to-read dashboard with automatic background color highlighting based on trend direction.
⚙️ How It Works:
It uses Linear Regression to measure the slope between two consecutive points.
Converts the slope into degrees using the arctangent function (atan) for a geometric interpretation of trend strength and direction.
Updates the dashboard table live with the latest angle value.
✅ Script Highlights:
Non-repainting: Once a bar closes, its value is fixed.
Efficient performance: Lightweight table visualization with no heavy calculations.
Clear trading signals: Positive angles suggest bullish momentum, negative angles suggest bearish momentum.
⚠️ Disclaimer:
This script is a technical analysis tool designed to assist in decision-making but does not guarantee results.
Please use it alongside other tools and practice proper risk management. Always test any indicator on demo accounts before applying it to live trading.
Trend with Mathematical Approach GOLD [AstroHub]
Welcome to the Trend with Mathematical Approach! 🚀
This tool uses a unique mathematical approach to help you spot potential trend beginnings in the market.
By analyzing the derivative of closing prices and applying a specialized moving average, SmartTrend identifies
key points where a new trend might be starting.
🟢 Green arrows show potential BUY opportunities when a new uptrend begins.
🔴 Red arrows indicate potential SELL opportunities when a new downtrend starts.
Additionally, the indicator provides easy-to-read colored backgrounds to highlight potential trend zones.
Green means a potential uptrend, and red suggests a potential downtrend.
To make it even more user-friendly, SmartTrend adds clear labels for BUY and SELL signals directly on the chart,
making it easy for you to spot opportunities at a glance.
💡 Pro Tip: Use the built-in alerts to get notified when SmartTrend identifies a potential trade opportunity.
Enjoy using SmartTrend and happy trading! 📈💰
TREND RBReduce Fake Signals, and identify the trend and use as double confirmation
How Does it work ?
- it calculates main trend direction by using the length that is user-defined. so you can change it as you wish
- then it calculates trend direction for each 9 lower lengths. if you set the length = 20 then the lengths are 19, 18,...11
- and it checks if the trend directions that came from lower lengths is same or not with main trend direction.
- it changes the trend color of the ribbon.
Trend Ravi TrialTrial for trend analysis
it was not difficult to convert to look like and work like Trend Trader Karan's Tool, who invested " Lakho Rupaya" and works on the basis of price action trading also.
Let me tell you guys, this is nothing but an ATR based system which people already traded as Half Trend, Super Trend and various names. Half Trend is no more a copyrighted indicator, which stopped marketing after being exposed, but people are still cheating with such indicators.
TrendLineThis is a tool to see trend lines on charts. This code takes two maximum and two minimum and draws a line between them.
Trend MasterNotes:
Tradingview has strict house rules of not allowing Heikin Ashi charts (and others beside normal price chart) to be used together with the indicator for trend analysis.
However, there may be users already using previous version of Trend Master but unfortunately has been hidden by Tradingview.
In view of this I decided to re-post the updated version, with the use of normal price chart only. Hope this help.
1. Trend Master, an indicator for trend analysis with the use of normal price chart.
2. Trend Master candle is in the form of solid candle without upper and lower tails.
The candle is in green color during an uptrend and red color during a downtrend.
When candle changes from red color to green color, it may signify the potential change from a down trend to an uptrend, vice versa.
3. Users can select the trend analysis model as they see fit, namely EMA , SMA , WMA and HMA .
4. Moving average lines of Trend Master are also included. Default is SMA13, the rest are SMA5, SMA21.
5. Users can turn on Rainbows if needed, it may help to detect the small changes of trend, if any.
6. A table of Indicator Name, Trend Model and Trend status is included. User can turn on to see the details.
Comments are welcome to further improve the accuracy of indicator that will benefit public users. Hope this help.
Disclaimer : attached chart is for the purpose of illustrating the indicator, no recommendation on buy/sell
Trend Indicators CollectionAnalyses MACD crosses with Ichimoku cloud direction and state
General idea:
- MACD crosses usually point to a change in trend direction and Kumo state and direction often act as a confirmation as well as a trend strength indicator. Using this, the script points out where there were was or can be a point where the trend change may have the strength to carry on.
Buy warnings:
- This warning will be triggered in two ways, both of them only if MACD is above EMA and the current close price is over Kumo:
- Senku span A crosses over Senku B (Kumo turns positive) when MACD is already positive
- MACD turns positive when Kumo is already positive
Sell warnings
- Triggered in two ways:
- Kumo turns negative when the current close price is bellow EMA
- The inverse of the above, the current close price falls bellow EMA when the Kumo is already negative
Trend Indicators Collection (TIC) contains:
- MACD, EMA, ADX, Mass index, Ichimoku Cloud, and Pivot points
- Best suited for monthly charts with 30m bars
Trend M ver1this simple tool a helper for trader in order to put your target at the correct places:)
so script based on Trend M (open script in my page)
the script based on non security MTF that allow us to detect the M = mean average of resistance and support by MTF
best setting is either monthly or weekly
when you go on lower chart just put in the min the exact TF that you on. 60 min =60
2 hour 120
5 min =5
etc
when ever the trend is above the mean or M then it bullish =lime color. bellow the M is bearish =red color
the R1 and S level are % from the mean . so it can act for us either target or as stop loss
you can set the R1 or S1 as you like by % ratio . so 0.01 is 1%
0.1 is 10 % etc
all you need to find is the weekly or monthly range of the asset then put the % ratio that you wish up or down
you can use it with trend lines or other method .it just another tool to make you trade smarter
Trend detectorThis is trend detector
buy above 0 sell bellow zero (lime and orange color)
you can set it using min distance (now set to 1440)
The MTF sytem source original idea by Duyck
perfect indicator for the day trader
you can use the Low scanner that i put early for entry or use this system for it
tesla
Trend diffrentSo I make this trend indicator . the trend base on length
so I set it to 14. but try to set it set to your optimal length that you like.
The idea here is to make the trend line over the candles so in this way we can disregard unwanted ups or low that are not part of the overall trend
So i hope you like it
Trend BarsIndicated by the red and green boxes above/below the candlesticks, this indicator shows any candlestick with a candle body GREATER than 50% of the entire range of the candle (from high to low). For example, a red box above a candlestick indicates that this particular candle has a body greater than 50% of the entire range of the candle in a bearish direction. This can be used as confirmation of a bearish trend or reversal in a bearish direction.
trend detectorThis is just template to build up better indicator on it
So in basic we have modified trend SMA which is fast length 10 to detect fast changes
then we weis volume (done by lazy bear)
Bollinger channel with my addition of trend lines
the median is based on basis line of the channel
so good long entry spot are when trend is positive , weis positive and rsi bellow 45 and the candles bellow median
good exit is opposite
one can can add more indicators to make it better
so I just put this together since in my trading I use this indicators allot
Trend-reversalThis indicator is for detection of trend reversal based on trailing stop (blue line)
the Bullish zone is in blue (red above blue line), bearish zone in orange ( blue line above red line)
gray line is the average of donchian channel
I put the line on 1440 min (so it like daily trailing line) , you can make it shorter if you want .
In this example of BNB coin we see in red arrow that the coin drop from red line so it loosing power -here it sell point during bullish period(blue)
on the other hand when we are in bearish (orange), we can see that the coin is breaking the red line -buy point and the trend is reverse
main script is taken from ceyhun so credit is to him on this