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
Cerca negli script per "trend"
RSI, Range, and Key Level Support Tool v2.1This indicator is actually 3 different indicators combined to be able to watch key levels such as daily/weekly/monthly opens, previous days and week range highs and lows, as well as see Oversold and Overbought conditions relating to the Relative Strength Index (RSI).
- RSI DOTS SYSTEM
The first part is a custom Relative Strength Index indicator that shows RSI dots above in Red and Below in Green of the bars.
As the RSI Dots go from dark and barely visible to bright and Red For Oversold or Green for Overbought it gives a direct representation above the bar chart of Overbought or Oversold conditions. The brighter the color, the closer to 100 (Overbought and Red) or 0 (Oversold and Green) the current RSI is.
As the Overbought and Oversold conditions reverse this will show a bright Yellow Dot over the bar if it crosses a value from Overbought conditions to not Overbought conditions and the same if it crosses from Oversold conditions to not oversold conditions. To put it simply, it shows RSI reversal.
- KEY LEVELS OPENS - Daily, Weekly, Monthly Opens
This is a simple line indicator that shows 3 key levels: Daily Open, Weekly Open, and Monthly Open.
These higher time frame key levels show precisely at what price that time frame opened based on 0 UTC.
- PREVIOUS HIGHS/LOWS
This part of the indicator will show the previous day and even week highs and lows. This will help the user establish a functional range of the previous days and weeks.
The highs and lows for the daily are rows of circles above and below the high and low for that specific day and the previous weekly range are rows of crosses above and below the high and low for the past week.
How to Best use the indicator:
The RSI dots will help the user find the tops and bottoms where the Key Levels Opens and Previous Highs and Lows will help the user establish the range.
Knowing where the local top/bottom is in correlation to the potential range tops and bottoms allows the user to effectively time trend reversals and potential tops/bottoms.
trend detection systemFX:USDCHF time frame of chart shown is 1hr candles
this indicator has been designed to sniff out trends and plot its findings on the candles directly
when all of the confluences line up it will colour the candles green in the case of a bullish idea or red in the case of a bearish idea
it develops its signal by adding a multitude of tools together and waiting for the response to be positive
the tools it uses are
a heavily modified rsi that has been converted to a long term trend flow tool
multiple moving averages all of which are hidden as they are just used as a part of the calculation
pip hunter bacd which is another one of my indicators that takes 2 moving averages and through some complex calculation gets a signal on whether it is bullish or bearish
the combination of all of these tools into one easy to use item allows you as a trader to take your mind off the charts and frees up space to use other things you might like
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 SignalINTRODUCTION
Trend Signal is based on two-period averages algorithm to filters out market noise based.
This gives the chart a smoother appearance, making it easier to spots trends and reversals
USAGE
BUY when candle change from RED to GREEN
SELL when candle change from GREEN to RED
This indicator come with an alert. User able to set an alert notification when trend change detected.
Note:
Best use with Turtle Pro and MCDX+ indicators
Please contact me for access.
Trending Band IndicatorThis indicator shows the trend of the market. The middle line is the 200-day moving average because it shows the long term trend of the market. However, since the market does give fake signals of going up and down through the 200-day moving average, I had to put a band on it to push through the fake signals. The first band around the middle line is 1 standard deviation of historical volatility which gives an area of cushion to prevent fake signals. The goal is if the stock is above the first top band, then the stock is in an uptrend. If the stock is below the first bottom band, then the stock is in a downtrend. If it is the middle of the first bands, then the stock is known to be rangebound.
The top most and bottom most yellow lines are 4 standard deviations of historical volatility which give an idea of where the floor and ceiling are. This helps investors and traders identify good buy and sell zones using the yellow lines to see overbought and oversold sides.
Trend-following Strategy E v2.6 4H ETHBTCHi All,
Welcome to my first published Trend-following strategy for Ethereum, designed specifically for POLONIEX:ETHBTC on 4H due its long price history.
This script is based on my previously published scripts for bitcoin.
In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 4H ETHBTC which you can find here:
Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
As you can see from the backtest I've done my best to create a decent ROI with limited DD .
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as your risk will fundamentally increase.
With a constant order size this strategy should be quite safe to use.
Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.
There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 4H candle.
I've also added start and end dates to test specific time periods.
Please let me know if you have any questions.
NiftyAnalysis - TrendLinesTrend Lines with various timeframes, beginning 15min to monthly.
It doesn't change with the chart layout TF.
Trend-following Strategy E v2.6 4HHi All,
Welcome to my second published Trend-following strategy for bitcoin , designed specifically for BITMEX:XBTUSD on 4H.
This is an extension of my first script but then for the 4H timeframe.
In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 4H which you can find here:
Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
As you can see from the backtest I've done my best to create a decent ROI with limited DD.
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as your risk will fundamentally increase.
With a constant order size this strategy should be quite safe to use.
Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.
There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 2H candle.
I've also added start and end dates to test specific time periods.
Please let me know if you have any questions.
Trend-following Strategy E v2.6Hi All,
Welcome to my first published Trend-following strategy for bitcoin, designed specifically for BITMEX:XBTUSD.
In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 which you can find here:
Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
As you can see from the backtest I've done my best to create a decent ROI with limited DD, i.e., the current max. losing trade for this is -3.8% and max. DD is a mere -8.09%.
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as DD increases significantly.
With a constant order size, and due to the low inherent DD, this strategy should be quite safe to use.
Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.
There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 2H candle.
Please let me know if you have any questions.
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 signal with AlertHello traders,
I updated the Trend signal indicator from @riffster21 () and added alerts to it.
Nothing fancy but still extremely useful
How to use the Trend signal with alerts indicator
In this screenshot, I didn't select the most optimal timeframe, neither the most optimal input for the indicator. I just wanted to explain with a very simple example, how it works and how to use it
Basically, it's being used to simulate obliques trendlines. I draw that one in pink to highligh what is the trendline simulated by the indicator
For Which timeframe ?
It's working for all timeframes.
Recommended input for the indicator ?
The greater the timeframe, the lesser the input should be. Which makes sense because setting a high value period on a weekly chart will give entry/exit signals way too late
On the contrary, on a m5 chart, setting a low value period will give too many fake signals and you'll get angry. I don't want that to happen :)
For crypto intraday trading (meaning m5 to H4), I feel the sweet spot is between 7 and 14 for the indicator input.
For crypto Swing trading (meaning H8 to weekly), an input between 3 and 5 is best
I can only strongly encourage you to apply it on a newly created chart without any other indicator and try to find the best input for the asset. Please note the ideal input might change between assets (example: BTC/USD vs ETH/BTC)
Drawing the corresponding oblique is very important the first time setting them on a chart to find the best setup
Please let me know in the comments section if you have any question
Good luck folks
Dave
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 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