[UPRIGHT Trading] Auto-Trendlines Pro (cc)Hello Traders -
Today I am releasing a full-featured auto-trendline indicator.
This makes it easier for beginners and professionals alike to analyze a charts trending support and resistance.
What are Trendlines and why do we use them?
In short, a trendline is a diagonal line that connects to two or more price points on a chart to show the current direction of price. These are used to identify and confirm trend direction in technical analysis and show support and resistance points.
Utilizing pivot points and different calculations for sources we're able to create the trendlines; with adjustable slopes (or just use of proprietary calculations) we are able to make these lines to line up with the current trend.
How it's different:
Accurate auto-drawn calculated trendlines.
Fully customizable - the ability to adjust the trendlines easily to exact specifications with every type of trader in mind.
Can be used to spot long trend as well as short, by adjusting length or using extend both to see previous pivots it's touched.
Then retracted, for perfect long trend.
Can show old trendlines for analysis (click image to see).
Auto-labels Higher-Highs, Higher-Lows, Lower-Highs, Lower-Lows at pivots.
Lining up trendlines with Break signals can help provide more accurate trendlines (potentially teaching) beginners how to draw them better.
Signature double trendline set.
Also notice the additional sell/buy signals (shown above).
Squeeze / Low-float mode adjusts to fit big moves.
Adjust the opacity to hide or fade a line (as seen above).
Pre-filled alerts for breakouts / breakdowns.
Please see author instructions for access.
Cheers,
Mike
(UPRIGHT Trading)
스크립트에서 "TRENDLINES"에 대해 찾기
Algo + Trendlines :: Medium PeriodThis indicator helps me to avoid overlooking Trendlines / Algolines. So far it doesn't search explicitly for Algolines (I don't consider volume at all), but it's definitely now already not horribly bad.
These are meant to be used on logarithmic charts btw! The lines would be displayed wrong on linear charts.
The biggest challenge is that there are some technical restrictions in TradingView, f. e. a script stops executing if a for-loop would take longer than 0.5 sec.
So in order to circumvent this and still be able to consider as many candles from the past as possible, I've created multiple versions for different purposes that I use like this:
Algo + Trendlines :: Medium Period : This script looks for "temporary highs / lows" (meaning the bar before and after has lower highs / lows) on the daily chart, connects them and shows the 5 ones that are the closest to the current price (=most relevant). This one is good to find trendlines more thoroughly, but only up to 4 years ago.
Algo + Trendlines :: Long Period : This version looks instead at the weekly charts for "temporary highs / lows" and finds out which days caused these highs / lows and connects them, Taking data from the weekly chart means fewer data points to check whether a trendline is broken, which allows to detect trendlines from up to 12 years ago! Therefore it misses some trendlines. Personally I prefer this one with "Only Confirmed" set to true to really show only the most relevant lines. This means at least 3 candle highs / lows touched the line. These are more likely stronger resistance / support lines compared to those that have been touched only twice.
Very important: sometimes you might see dotted lines that suddenly stop after a few months (after 100 bars to be precise). This indicates you need to zoom further out for TradingView to be able to load the full line. Unfortunately TradingView doesn't render lines if the starting point was too long ago, so this is my workaround. This is also the script's biggest advantage: showing you lines that you might have missed otherwise since the starting bars were outside of the screen, and required you to scroll f. e back to 2015..
One more thing to know:
Weak colored line = only 2 "collision" points with candle highs/lows (= not confirmed)
Usual colored line = 3+ "collision" points (= confirmed)
Make sure to move this indicator above the ticker in the Object Tree, so that it is drawn on top of the ticker's candles!
More infos: www.reddit.com
Algo + Trendlines :: Long PeriodThis indicator helps me to avoid overlooking Trendlines / Algolines. So far it doesn't search explicitly for Algolines (I don't consider volume at all), but it's definitely now already not horribly bad.
These are meant to be used on logarithmic charts btw! The lines would be displayed wrong on linear charts.
The biggest challenge is that there are some technical restrictions in TradingView, f. e. a script stops executing if a for-loop would take longer than 0.5 sec.
So in order to circumvent this and still be able to consider as many candles from the past as possible, I've created multiple versions for different purposes that I use like this:
Algo + Trendlines :: Medium Period : This script looks for "temporary highs / lows" (meaning the bar before and after has lower highs / lows) on the daily chart, connects them and shows the 5 ones that are the closest to the current price (=most relevant). This one is good to find trendlines more thoroughly, but only up to 4 years ago.
Algo + Trendlines :: Long Period : This version looks instead at the weekly charts for "temporary highs / lows" and finds out which days caused these highs / lows and connects them, Taking data from the weekly chart means fewer data points to check whether a trendline is broken, which allows to detect trendlines from up to 12 years ago! Therefore it misses some trendlines. Personally I prefer this one with "Only Confirmed" set to true to really show only the most relevant lines. This means at least 3 candle highs / lows touched the line. These are more likely stronger resistance / support lines compared to those that have been touched only twice.
Very important: sometimes you might see dotted lines that suddenly stop after a few months (after 100 bars to be precise). This indicates you need to zoom further out for TradingView to be able to load the full line. Unfortunately TradingView doesn't render lines if the starting point was too long ago, so this is my workaround. This is also the script's biggest advantage: showing you lines that you might have missed otherwise since the starting bars were outside of the screen, and required you to scroll f. e back to 2015..
One more thing to know:
Weak colored line = only 2 "collision" points with candle highs/lows (= not confirmed)
Usual colored line = 3+ "collision" points (= confirmed)
Make sure to move this indicator above the ticker in the Object Tree, so that it is drawn on top of the ticker's candles!
More infos: www.reddit.com
Zones + Trendlines (raphii7)Here you go — in English, simple and clear:
Designed for a clear read of worked zones and trend paths on any timeframe.
-Zones: rectangles where price has touched multiple times = support/resistance zones.
-Trendlines: lines that connect two highs (H–H) or two lows (B–B), with a dotted extension.
Settings
Zones
-Minimum candles between highs/lows (minSepBars): minimum spacing between pivots. Larger = cleaner pivots.
-Show highs/lows (showHBZones): shows small H/B labels on the chart.
-Max highs/lows used (maxPivotsUsed): cap on stored pivots.
-Minimum contacts in the zone (minContacts): minimum touches required to draw a zone.
-Zone size unit (sizeMode):
-Pips = fixed thickness.
-ATR = thickness adapts to volatility.
-Zone size (zoneSize): zone thickness (in Pips or ATR).
-Max candles back (lookbackBars): how far back to scan.
-Max zones to draw (maxZonesDraw): prevents too many rectangles.
-Border / fill color (borderCol / fillCol): zone styling.
Trendlines
-Pivot Length (pivotLen): “size” of the pivot. Higher = more reliable lines, fewer of them.
-Pivot Type (pivotType):
Normal = cleaner, slower.
Fast = very reactive, can move more.
VoluTrend | Auto Trendlines + VolumeVoluTrend is a trendline tool that combines pivot detection with volume validation to help traders see only meaningful market structures.
How it works:
Pivot Detection: The script scans for local swing highs and lows using a customizable number of left and right bars. This ensures that each pivot reflects a significant turning point in price action.
Volume Filter: Each pivot is checked against a simple volume filter: the pivot is only valid if its associated bar has higher volume than a user-defined multiple of the average volume over a configurable period. This prevents weak or irrelevant pivots from cluttering the chart.
Automatic Trendlines: Once a valid pivot is found, the script automatically draws a trendline from the previous pivot to the new one. It keeps only a limited number of lines to avoid overcrowding the chart. This creates a dynamic, real-time trendline system that updates as price action evolves.
Why combine these elements?
Many auto trendline tools draw lines for every swing, but not all swings are significant. By combining pivot detection with a volume filter, VoluTrend focuses on price levels where notable participation occurred, helping traders better interpret real support/resistance and trend continuation or reversal points.
{20}Dashboard RSI-trendlines_Pro[vn]👉 Here is a script of 20 trading pairs scanner with RSI trendline.
-On each chart of the trading pair, there is only 1 trendline pair that comes closest to the RSI: 1 uptrendline and 1 downtrend line.
-So when the statistics on the table also show the column of the uptrend and the column of the downtrend
-When the RSI approaches any trendline and the ratio is 10%, the trendline will be colored blue (downtrend) and red (uptrend).
-Column ✎ T.line-trendline above (✐ T.line-trendline below) is the value of the current trendline compared to RSI
-Column \n\𝖗𝖊𝖘𝖎𝖘𝖙𝖆𝖓(𝖘𝖚𝖕𝖕𝖔𝖗𝖙\n\══════) when RSI breaks trendline will show 1|1|1 ( first candle) and percentage value when breaking through the point of the trendline. This is a good signal for us to consider trading with the RSI line
-The parameter when breaking shows 10|10|10, it means that the price has broken 10 candles (RSI candles), and the first 10 candles are colored yellow, then it will be
hidden. (can be changed in settings) put)
-Also, when displaying the parameters and yellow color of the box as above, the column next to it (above/below T.line) will show the percentage from when RSI broke that
point to the current price of the candle.
-The RSI column is the current of the candle and the 20:2 parameter is the RSI trendline length and to combine the same parameters with the "RSI - trendlines - div "
indicator.
-The time can be changed in the Resolution indicator setting to show multiple time arcs.
-The up arrow symbols represent the price breaking upwards, the down arrow showing the price breaking downwards
Thank you everyone for your interest and trust
-----------------------------------------------------------------------------
Vietnamese
👉 Đây là script về máy quét 20 cặp giao dịch với đường trendline của RSI .
-Trên mỗi biểu đồ của cặp giao dịch chỉ tồn tại duy nhất 1 cặp trendline đi sát nhất với RSI là: 1 trendline tăng và 1 trendline giảm
-Vì vậy khi thống kê trên bảng cũng hiển thị cột của trend tăng và cột của trend giảm
-Khi RSI tiến gần đến 1 đường trendline bất kì mà tỉ lệ còn 10% thì đường trendline đó tô màu xanh(trend giảm) ,màu đỏ(trend tăng)
-Cột ✎ T.line-đường trendline bên trên(✐ T.line-đường trendline bên dưới) là giá trị của đường trendline hiện tại so với RSI
-Cột ══════\n\𝖗𝖊𝖘𝖎𝖘𝖙𝖆𝖓(𝖘𝖚𝖕𝖕𝖔𝖗𝖙\n\══════) khi RSI phá vỡ trendline sẽ thể thiện 1|1|1 (tức là cây nến đầu tiên) và giá trị phần trăm khi phá qua điểm của trendline.Đây là tín hiệu tốt để ta xem xét giao dịch với đường RSI
-Thông số khi phá vỡ hiển thị 10|10|10 thì hiểu là giá đã phá vỡ 10 nến(nến RSI), và 10 nến đầu tiên được tô màu vàng ,sau đó sẽ bị ẩn.(có thể thay đổi trong cài đặt)
-Ngoài ra khi hiện thông số và màu vàng của ô như trên thì cột bên cạnh (above/below T.line) sẽ hiển thị được số phần trăm tính từ khi RSI phá vỡ điểm đó đến giá hiện tại của cây nến.
-Cột RSI là hiện tại của nến và thông số 20:2 là độ dài đường trendline RSI và để kết hợp cùng thông số với chỉ báo "RSI - trendlines - div "
-Có thể thay đổi thời gian trong cài đặt chỉ báo Resolution để hiển thị nhiều cung thời gian.
-Các biểu tượng mũi tên lên 🡹 thể hiện giá phá vỡ lên trên, mũi tên xuống 🡻 thể hiện giá đã phá vỡ xuống dưới
Cảm ơn mọi người đã quan tâm và tin dùng
RSI - trendlines - div[vn]This is an indicator for traders of trendline analysis with RSI (the formula for calculating RSI I don't mention here anymore because every trader knows it)
-
The Pine Script strategy plots pivot points and trendlines on the RSI chart.
This strategy allows the user to specify the interval for calculating the pivot points and the number of pivot points used to generate the RSI trendlines.
As all traders know, the RSI line closely follows the actual price line, it is an indicator of momentum, the RSI often tells us the direction of the price line in advance, it often precedes and goes along with the price.
RSI is one of the indicators that predicts price trends very well when it crosses its trendline (except in case of divergence).
On the chart of the RSI indicator, I only show 2 trendlines closest to the RSI (1 increase, 1 decrease) and the trend lines far away from me are hidden so that traders can focus on observing better.
When an uptrend line of RSI (or a decrease of RSI) is drawn according to the settings in the settings of the indicator, then that line is support and resistance so that we can proceed to make a BUY or SELL point according to the indicator. RSI support and resistance strategy
When the RSI line breaks above the definitive uptrend line or breaks below the trendline definitively, the price signals a reversal to the nearest trendline.
When the RSI breaks the downtrend line of the RSI (definitively), it signals that the price has a high probability of reversing or approaching the nearest resistance area or possibly reversing from bearish to bullish.
When the RSI breaks the uptrend line of the RSI (definitively), it signals that the price is likely to reverse or reach the nearest resistance area or it may reverse from bullish to bearish.
In addition, I have integrated the normal divergence function of RSI for traders to use in case of divergence - combined with trendline to identify trend reversal more clearly.
-------------------------------------------------------------------------------------------------------
Vietnamese
-Đây là chỉ báo dành cho các trader thuộc trường phái phân tích đường xu hướng với RSI(công thức tính RSI tôi không nhắc ở đây nữa vì mọi trader đều biết)
-Chiến lược Pine Script vẽ các điểm trục và đường xu hướng trên biểu đồ RSI.
-Chiến lược này cho phép người dùng chỉ định khoảng thời gian tính toán các điểm xoay và số điểm xoay được sử dụng để tạo các đường xu hướng của RSI.
-Như các Trader đều biết đường RSI bám sát thực tế với đường giá, nó là chỉ báo về động lượng ,RSI nhiều khi cho chúng ta "biết trước" được hướng đi của đường giá, nó thường đi trước và đi cùng với giá
-RSI là một trong những chỉ báo dự đoán xu hướng giá rất tốt khi cắt đường xu hướng của nó (chỉ trừ trường hợp phân kì)
-Trên biểu đồ của chỉ báo RSI tôi chỉ đưa ra 2 đường trendline gần với đường RSI nhất (1 tăng , 1 giảm)còn các đường xu hướng cách xa tôi đều để ẩn để các Trader tập chung quan sát tốt hơn
-Khi đường xu hướng tăng của RSI (hoặc giảm của RSI) được vẽ ra theo các thiết lập trong cài đặt của chỉ báo,thì đường đó là hỗ trợ,kháng cự để ta có thể tiến hành thực hiện điểm BUY hoặc SELL theo chiến lược hỗ trợ và kháng cự của RSI
-Khi đường RSI mà phá vỡ lên trên đường xu hướng tăng dứt khoát hoặc phá xuống dưới đường xu hướng cách dứt khoát thì giá báo hiệu sắp đảo chiều ngược với đường xu hướng gần nhất
-Khi RSI phá vỡ đường xu hướng giảm của RSI (cách dứt khoát) thì báo hiệu sắp tới giá có khả năng cao sẽ đảo chiều hay tiến tới vùng kháng cự gần nhất hay có thể đảo chiều từ giảm thành tăng
-Khi RSI phá vỡ đường xu hướng tăng của RSI (cách dứt khoát) thì báo hiệu sắp tới giá có khả năng cao sẽ đảo chiều hay tiến tới vùng kháng cự gần nhất hay có thể đảo chiều từ tăng thành giảm
-ngoài ra tôi có tích hợp thêm vào công cụ chức năng phân kì thường của RSI để trader dùng trong trường hợp phân kì - kết hợp với đường trendline để xác định xu hướng đảo chiều rõ ràng hơn
Auto TrendlinesAuto Trendlines
-This indicador show automatically trendlines
- Allows you to select the amount and importance of the trendlines.
-Works in any timeframe or market like Forex, Crypto, Commodities even Stocks.
-Recommended manual trading.
Do you need an Script or an expert adviser for Forex, contact our coding service!
Get this indicator today! contact us.
nNouSignnNouSign
☆
Welcome to a path to trading success in the world of trading, where fortunes are made and dreams come true.
But amidst the excitement and possibilities, there lies the challenge of deciphering the market's complexities.
Fear not, for we present to you the ultimate weapon in your trading arsenal: the nNouSign indicator.
Prepare to embark on a thrilling journey of trading mastery as we guide you through its optimal usage, enlightening you with its potential and empowering you with the ability to navigate the markets with confidence.
Embracing the nNouSign magic as you apply the nNouSign indicator to your TradingView chart, envision a realm where the convergence of art and science births incredible trading opportunities.
• The indicator's smooth moving average line, represented by a vibrant orange hue, acts as your guiding light. It captures the essence of market sentiment and unveils the hidden patterns that govern price movements.
Decoding the colors of success, possess a mystical power to evoke emotions and ignite motivation . The nNouSign indicator harnesses this power, allowing you to personalize your trading experience.
• Choose the color of prosperity for your buy signals, perhaps a vivid shade of green. Let it symbolize the life-giving force of profits flowing into your trading account.
• As for sell signals, embrace the passionate intensity of red, signifying your ability to seize opportunities and protect your gains.
Riding the trend waves is one of the nNouSign indicator's core strengths. It lies in its ability to identify trends.
Whether the market surges upwards like a fearless tide or recedes like a wise old ocean, the indicator whispers the secrets of trend direction.
• When the moving average is conquered by the closing price, rejoice, for it signals a bullish trend.
• Conversely, when the closing price descends beneath the moving average, it reveals a bearish trend.
Harmonizing with the trading signals which are the magical spells that teleport you to the forefront of profitable trades.
Watch as the nNouSign indicator casts its spells in the form of tiny triangles on your chart.
• When a bullish trend is confirmed, a mystical triangle points upwards, signaling a buy opportunity.
• On the contrary, when a bearish trend emerges, a bewitching triangle points downwards, beckoning you to sell.
Embrace these signals and let them guide your path to success.
Unleashing the power of alerts like the modern trader(s) whom thrives on speed and efficiency.
The nNouSign indicator empowers you with its alert system , ensuring you never miss a precious trading moment.
• Customize your alerts to receive notifications when the bullish or bearish trends are confirmed.
Imagine the thrill of being the first to seize an opportunity, swiftly executing trades with confidence, and reaping the rewards.
Dance with the trendline as you journey through the market's ebb and flow, through the nNouSign indicator its visual masterpiece.
Behold the trendline , gracefully drawn on your chart.
• In the presence of a bullish trend, it steps aside, allowing the moving average to shine brightly.
• Yet, in the depths of a bearish trend, it emerges, painted in shades of red, serving as a reminder to exercise caution.
Let this visual spectacle guide your decision-making process.
☆
Intrepid trader! ,may you now have unlocked the secrets of the nNouSign indicator and embark on a journey that will forever transform your trading experience.
Armed with its wisdom and most importantly YOUR OWN WISDOM, may you possess the ability to navigate the markets with confidence and precision.
Embrace its vibrant colors, heed its trading signals and dance with the trendline as you ride the waves of market trends. Let the indicator be your constant companion, guiding you through the ever-changing tides of the financial world.
Remember, trading is not just a science; it is an art. The nNouSign indicator provides you with the tools to create your masterpiece.
Embrace its colors, for they evoke the emotions and motivation necessary for success.
Let the green of buy signals ignite your passion for profit, and the red of sell signals fuel your determination to protect your gains.
But trading is more than just following signals; it requires discipline and adaptability.
Observe the trendlines and understand the market's rhythm.
Be patient when the trend favors the bulls, and exercise cautio n when the bears take control.
The nNouSign indicator, with its magical trendline, will be your compass in navigating these changing conditions.
In the fast-paced world of trading, timing is everything. The alerts generated by the nNouSign indicator will keep you informed, ensuring you never miss an opportunity.
Stay alert, for swift and decisive action can be the key to reaping substantial rewards.
☆
Finally, remember that trading is a journey of growth and learning.
Embrace the educational aspect of using the
nNouSign indicator.
Analyze your trades, study the outcomes, and fine-tune your strategies.
With each trade , you'll gain valuable insights and develop the skills necessary for long-term success .
☆
So, fellow trader, take this guide as your roadmap to trading mastery.
Let the nNouSign indicator be your guide, entertaining you with its vibrant colors, motivating you with its signals, and educating you through each trading experience.
Embrace the power it bestows upon you, and let it unleash your full potential in the exciting world of trading.
Success awaits those who dare to seize it!
-HappyTrading- J
zavaUnni- Trendlines Pro & fibonacci Zones zavaUnni- Trendlines Pro & fibonacci Zones is a momentum-based trading tool that automatically detects pivot points to visualize real-time trendlines, zigzag structures, and Fibonacci retracement zones.
Key Features
1. Divergence-Based Pivot Detection
Utilizes popular momentum indicators like RSI, CCI, MACD CCI, OBV, etc.
Automatically detects significant highs/lows based on divergence signals
These pivot points are used to construct trendlines and calculate retracement zones
2. Automatic Fibonacci Retracement Zones
Draws Fibonacci levels such as 0.382, 0.618, and 0.786 from detected pivot highs/lows
Supports both initial fixed levels and dynamic updated zones based on live price action
Recalculates zones automatically when specific price conditions are met
3. Supertrend-Based Zigzag and Trendlines
detect real-time trend direction changes
Plots zigzag lines between significant pivot highs/lows
Automatically generates trendlines only when slope conditions are met (e.g., below -3° or above +1°)
Invalidates and resets trendlines if broken or the slope becomes too flat/steep
Settings Overview
Index
Selects the indicator (RSI, CCI, MACDcci, OBV, etc.) used for pivot detection
zigzag Length
Supertrend sensitivity period for direction changes
Fibonacci_bg
Toggle background color fill for Fibonacci zones
Fibonacci_label
Show labels for each Fibonacci level (23.6%, 38.2%, etc.)
Bull Trend Line Color
Color of upward trendlines
Bear Trend Line Color
Color of downward trendlines
zigzag_color
Color of the zigzag lines
Dynamic Trendlines Multi-TimeframeThe Dynamic Trendlines indicator is a useful tool for traders to identify potential support and resistance levels in the market. By analyzing price volatility and drawing trendlines based on high volatility candles, it helps traders visualize key price levels that may influence future price action. This indicator uses the Average True Range (ATR) as a measure of price volatility to determine the threshold for high volatility candles. This indicator can be used on multiple time frames, so just choose which one works best for you!
The underlying concept of this indicator revolves around the calculation of the True Range and Average True Range. The True Range is the maximum value among the difference between the current high and low, the absolute value of the difference between the current high and previous close, and the absolute value of the difference between the current low and previous close. The ATR is then calculated as the simple moving average of the True Range over a user-defined period (default is 14). The threshold for high volatility candles is determined by multiplying the ATR by a user-defined multiplier (default is 1.5).
The indicator identifies high volatility candles when the closing price is greater than the previous closing price plus the threshold. Based on the price action, trendlines are drawn connecting the high or low of high volatility candles. The initial color and style of the trendline are determined by whether the price is moving up or down. Green solid lines represent upward price movement, while red solid lines represent downward price movement.
As the price crosses the trendlines, the indicator tracks the number of crosses and updates the line's style accordingly. If the price crosses a trendline twice, the line style is changed to dashed, indicating the potential weakening of the support or resistance level.
This indicator works best with trading methods that focus on capturing price breakouts or reversals. Traders can use the trendlines to identify potential entry or exit points, stop-loss levels, or take-profit targets. It's important to note that this indicator should be used in conjunction with other technical analysis tools and an understanding of the overall market context to make informed trading decisions.
When using the Dynamic Trendlines indicator on TradingView, users can customize the ATR length, threshold multiplier, and the number of recent trendlines displayed on the chart. Additionally, small triangles are plotted below high volatility candles, with their color based on the trendline it starts, providing a quick visual reference for traders.
In summary, the Dynamic Trendlines indicator is a valuable tool for identifying potential support and resistance levels in the market by analyzing price volatility and drawing trendlines based on high volatility candles. It is best suited for breakout and reversal trading strategies and should be used in conjunction with other technical analysis tools for optimal results.
[TC] -- DayTrader's Auto Ultra TrendlinesThe goal of this indicator is to provide day traders with more realistic and general support and resistance trendlines for the chart timeframe they are trading, without the need for excessive parameter adjustment or manual consideration of trendlines from higher timeframes. As we all know, when trading smaller timeframes, it is not only the trendlines from the current timeframe which are significant - we must also consider the position of trendlines from higher ones.
Auto Ultra Trendlines plots a set of multi-timeframe-based resistance and support trendlines that are dynamically calculated depending on the timeframe of the chart which the indicator is applied to.
The indicator calculates conglomerated support and resistance trendlines based on trendline values calculated from several timeframes higher than the chart's. The higher timeframes are logically selected and differ based on the chart timeframe.
This indicator is designed to be applied to charts with a timeframe up to and including the 8H, and cannot be applied to charts with a timeframe greater than 1D.
To increase or decrease the lookback period for the trendlines, use the 'Lookback Factor' parameter.
Auto TrendLines and Support Resistance - Ultimate [Trendoscope]Have been working on this script from sometime. Thought it would be right time to publish this now :)
This is enhanced and combined version of two open source scripts.
Auto-TrendLines-HeWhoMustNotBeNamed
Divergence-Support-Resistence
⬜ Major Enhancements to open source
▶ Concept of drawing trendlines remains same. But, logic has been altered to allow considering existing trendlines before scanning new one and also finding the strongest of all.
▶ Strength of trendlines now takes more factors into consideration such as weightage of each candles from two points with respect to a given trendline.
▶ Angle of the trendlines are calculated and considered for determination of overall trend.
▶ Trendlines come with invalidation point and trend definition also can be based on single trendline instead of multiple ones.
▶ Improved divergence and based support/resistance calculations which yield less but more significant levels.
⬜ Components
Below are the summary of indicator components
⚪ Trend Lines Summary Widget
This can have up-to 4 types of trend lines.
Uptrend Lower pivot based
Uptrend Higher pivot based
Downtrend Lower pivot based
Downtrend Higher pivot based
Direction of the lines dependent on slope of the trend as well. If angle is not steep, the trend lines are considered as neutral. Meanwhile, trend lines which are too steep are also ignored. Angle calculation depends on the ATR and Angle loopback input parameters which can be altered. Also TrendLines with negative Line strength or formed way too back are ignored based on the settings. Hence, it is perfectly normal to have less than 4 trend lines on charts at times.
⚪ S/R Summary Widget
This widget has been used in other indicators. Notations are same though there are logical improvements to derive only the high impact levels.
⬜ Settings
⚪ Trend Detection Settings
These are the settings used for scanning the trend lines. Summary of these settings are as below:
⚪ Pattern Detection Settings
The pattern detection settings help identify overall trend pattern and status based on the combination of higher and lower pivot trend lines.
Important bit here is the Sort Order which impacts the identification of overall trend. Available types are:
Distance : Sort based on distance from close price
LineStrength : Sort based on line strength of the trend line
Latest : Sort based on when the trend lines are formed.
⚪ Support/Resistance Settings
Base settings for calculating divergence based Support/Resistance.
⚪ Widgets
Widgets settings allow users to control display of Trend Lines and S/R summary widgets.
⚪ Alerts
Below are the settings for configuring alerts.
Alerts are formatted in Json for easier consumption via web-hook.
BOSS Automatic Trendlines and Support Zones IndicatorTHE BEST FOREX, BINARY OPTIONS, STOCK AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
Our auto-trendlines indicator and our support and resistance zones indicator with Fast and Slow EMA's all combined in one!
TrendLines
Trendlines when drawn properly make an excellent tool for traders. Used improperly though, they become ineffective and even counterproductive, resulting in a belief that prices have made a reversal when they really haven't, or that a trend has strength when price action suggests it doesn't.
The Boss Auto Trendline Indicator draws the trendlines automatically, and now you can effectively use trendlines as part of your trading strategy.
Trendlines highlight a trend or range (sideways movement). A trendline connects swing lows, where the low is lower than the surrounding prices, and swing highs in price. When the price rises, the swing lows rise.
Red Lines & Dots.
Connecting these lows with a line results in an ascending trendline , showing you that the trend is up. A trendline can also be drawn along the swing highs. This shows the angle of ascent, and the strength of the price move, whether strongly higher or not.
Green Lines & Dots
When the price falls, the swing highs fall. Connecting these highs with a line results in a descending trendline , illustrating the downward trend. A trendline can also be drawn along the swing lows. This shows the angle of descent and the strength of the downward price movement.
Support & Resistance Zones
Green = Support Zones
Red = Resistance Zones
The basic trading method for using support and resistance is to buy/long near support in uptrends, and to sell/short near resistance in downtrends.
Fast & Slow EMA's
Trend Following - you essentially use the EMA to track the primary trend. If a trading pair does not close beyond the average - you stay in the trade.
Moving Average Crosses - by using two different exponential moving average crosses you can generate buy and/or sell signals. For example, you can have a fast average cross a slow average to trigger a trade signal.
Dynamic Support and Resistance - EMA periods like the 21 or 55 can act as support and resistance zones.
Mohammad - Auto Trendlines - Versión EstableMohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
Pivot Trendlines with Breaks [HG]🧾 Pivot Trendlines and Breaks
A script meant to debut and provide an example usage of the Simple Trendlines library using Pine Script's built-in pivot system.
In under 50 lines of code, with inputs, plots, styling, and alerts included we're able to create trendlines with a breakout system.
▶️ How it works
Calculating pivot points helps traders identify moments at which the market's attitude can shift from bullish to bearish. In the background, the script tracks pivot events for trendlines and uses a system that prevents any leakage between the trendlines before they are drawn.
⚫️ Settings
Pivot Length
Color Adjustments
⚫️ Alerts
MTF TrendLines [Private]As the name suggests, the Multi-Timeframe (MTF) Trendlines indicator allows you to extrapolate trendlines from a higher timeframe into your chart timeframe. A maximum of one upper trendline and one lower trendline will be plotted per indicator instance. You can load multiple copies of the indicator into your chart and manually set each copy to operate in a different higher timeframe.
The trendlines are based on the two most recent upper and lower qualifying pivots found in the higher timeframe, and you can adjust the pivot size via the settings menu. In order to qualify, an upper trendline must have a flat to downward slope and a lower trendline must have a flat to upward slope. In both cases there should not be any breach of the trendline between the two pivots. A tolerance factor is provided so you can introduce some leeway in terms of what constitutes a breach.
As mentioned above, the trendlines are actually extrapolated into the chart timeframe. By that we mean that the cluster of bars that comprise each individual pivot in the higher timeframe are located in the chart timeframe, and the bar with the highest-high/lowest-low is used as the actual pivot point. This is necessary because, for example, the high of a daily pivot bar may not always exactly match the highest-high found in the pivot cluster in the chart timeframe.
In terms of selecting the higher timeframe, there are two modes of operation which can be selected via the settings dialog. In Auto Mode the indicator will automatically select the higher timeframe to use based on your chart timeframe. In Manual Mode you select the higher timeframe to use. In either case the selected higher timeframe must always be greater than or equal to the chart timeframe.
Along with each trendline you can also elect to plot pivot markers as well as price labels. Each can be customized and/or toggled on or off via the settings dialog.
The pivot markers will display as up or down triangle shapes plotted below (for lower trendline) or above (for upper trendline) the two price bars that represent the two pivots used in generating the trendline. You have the option to display just the marker, or display the marker plus the timeframe.
The price labels will display on the most current price bar (an offset is provided) and can be configured to display the trendline value as of that bar, the trendline timeframe, or both. You can also adjust the orientation of the price labels.
For the trendlines themselves, you can adjust the color, thickness, and line type. You can also toggle upper and lower trendlines on or off independently.
Please visit the link in our Signature for pricing.
BOSS Automatic TrendlinesTHE BEST FOREX, BINARY OPTIONS, AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
Trendlines when drawn properly make an excellent tool for traders. Used improperly though, they become ineffective and even counterproductive, resulting in a belief that prices have made a reversal when they really haven't, or that a trend has strength when price action suggests it doesn't.
The Boss Auto Trendline Indicator draws the trendlines automatically, and now you can effectively use trendlines as part of your trading strategy.
Trendlines highlight a trend or range (sideways movement). A trendline connects swing lows, where the low is lower than the surrounding prices, and swing highs in price. When the price rises, the swing lows rise.
Red Lines & Dots.
Connecting these lows with a line results in an ascending trendline, showing you that the trend is up. A trendline can also be drawn along the swing highs. This shows the angle of ascent, and the strength of the price move, whether strongly higher or not.
Green Lines & Dots
When the price falls, the swing highs fall. Connecting these highs with a line results in a descending trendline, illustrating the downward trend. A trendline can also be drawn along the swing lows. This shows the angle of descent and the strength of the downward price movement.
Available at bosscripts.com
Website bosscripts.com
RSI Trendlines [RG]Overview
RSI Trendlines combines the power of automatic trendline detection with the popular Relative Strength Index (RSI) indicator. This tool identifies and plots dynamic support and resistance trendlines directly on the RSI chart, helping you spot potential trend changes and divergences in momentum before they appear in price.
Key Features
Automatically detects and draws trendlines on the RSI indicator
Identifies significant pivot points in RSI momentum
Customizable appearance with adjustable colors and line widths
Built-in alerts for trendline breaks
How It Works
The indicator calculates the standard RSI using your preferred settings
It identifies pivot highs and lows in the RSI using the specified lookback period
Valid trendlines are drawn connecting consecutive pivots
Lines extend until they experience a confirmed break
Customization Options
RSI Parameters: Adjust length and source to your preference
Trendline Settings: Control pivot detection sensitivity and maximum lines
Visual Options: Customize colors, line widths, and optional midline display
Ideal For
Identifying established trends in momentum
Spotting potential RSI divergences early
Timing entries and exits based on momentum shifts
Confirming trend changes with objective trendline breaks
This indicator aims to help traders move beyond static overbought/oversold levels by revealing the dynamic structure of momentum trends and highlighting potential reversals and continuations.
Please don't use this as a buy and sell indicator. Use it to get an idea on the market trend and as an extra confirmation for your trades. Happy Trading :)
Stochastic Trendlines with Breakouts [Jamshid] - EnhancedStochastic Trendlines with Breakouts - Enhanced Version
This advanced Stochastic Trendlines with Breakouts script combines several powerful features to provide enhanced breakout detection based on the Stochastic Oscillator and additional confirmation signals. This script is designed to help traders identify key trend reversals, breakout points, and pivot levels with more accuracy by integrating advanced filters such as RSI confirmation, moving average trend filtering, volatility filtering, divergence detection, and multi-timeframe analysis.
Key Features:
Stochastic Oscillator-Based Breakouts:
Automatically detects breakouts based on the smoothed Stochastic Oscillator values (%K and %D), providing insights into overbought and oversold conditions.
Customizable overbought and oversold levels, with a mid-level (50) line for additional reference.
Trendlines on Pivot Points:
Automatically plots dynamic trendlines based on pivot highs and lows of the smoothed Stochastic %K, helping to visualize potential reversal points.
RSI Confirmation (Optional):
Filters breakout signals using the Relative Strength Index (RSI) to confirm breakouts only when the RSI is below 50 for downtrend breakouts and above 50 for uptrend breakouts.
Visual confirmation with a green "RSI Conf." label displayed on the chart when the RSI condition is met.
Moving Average Filter (Optional):
Confirms breakout signals in the direction of a user-defined Moving Average (MA) to trade in the overall market trend direction.
MA length is fully customizable.
Stochastic Divergence Filter (Optional):
Detects bullish or bearish divergence between the price and Stochastic Oscillator values, adding an extra layer of confirmation.
Multi-Timeframe Confirmation (Optional):
Confirms breakouts by checking the Stochastic %K and %D values from a higher timeframe. This helps in avoiding false signals by aligning with the broader market trend.
The higher timeframe can be customized to any timeframe (e.g., daily, weekly, etc.).
Volatility Filter (Optional):
Uses the ATR (Average True Range) to filter out breakouts during periods of low volatility, ensuring signals are only triggered when there is sufficient price movement.
ATR length and multiplier are fully customizable.
Custom Alerts:
Alerts are available for new trendline detections (both pivot high and pivot low) and for confirmed breakout signals. These alerts help traders stay informed in real-time without needing to monitor the chart continuously.
How to Use:
Customize the Stochastic Oscillator settings, such as %K smoothing and %D line parameters, to fit your trading strategy.
Enable or disable additional filtering features (RSI, MA, divergence, MTF, volatility) as needed.
Set up alerts for specific breakout conditions directly in TradingView to stay notified when breakout signals are triggered.
This script is designed for traders who are looking for precision breakout signals with added layers of confirmation to avoid false breakouts and enhance trading accuracy.
Dynamic Touch Trendlines [QuantVue]The Dynamic Touch Trendlines (DTT) indicator automatically draws and manages trendlines on your chart, helping traders identify key support and resistance levels.
What sets the DTT indicator apart from other trendline indicators is its ability to let traders customize the number of touches required to validate a trendline. This flexibility allows you to fine-tune the indicator for different markets or trading styles, ensuring only strong trendlines with the specified number of touches are considered valid.
This indicator features both uptrend lines (drawn from pivot lows) and downtrend lines (drawn from pivot highs), making it suitable for detecting bullish and bearish trends.
An uptrend line connects three (default setting) or more significant lows, showing where price has historically found support. Traders often look for price to bounce off this line during pullbacks in an uptrend.
When price breaks below an uptrend line, it suggests a weakening of the bullish trend. This could mean that buyers are losing strength, and the market may be transitioning into a bearish phase, providing a potential opportunity for traders to enter short positions or exit long positions.
Conversely, a downtrend line connects three (default setting) or more significant highs, indicating potential resistance in a downtrend. Price action below this line can signal continued bearish momentum.
When price breaks above a downtrend line, it indicates a potential reversal of the bearish trend. This can signal the end of selling pressure and the beginning of a new bullish phase, offering traders a potential opportunity to enter long positions.
Key settings:
Minimum Touches: This sets the number of price touches required to validate a trendline. Increasing the minimum touches filters out weaker trends, ensuring that only more reliable trendlines are drawn.
Buffer: The buffer is used to account for minor price overshoots or near misses relative to the trendline. It creates a margin around the trendline, allowing price to come close to the line—whether it overshoots slightly or falls just short—and still count as a valid touch. This helps ensure that small price fluctuations or market noise don’t prevent valid trendline touches from being recognized, making the trendlines more reliable.
Trendline Break Source: Allows traders to define how a trendline is considered broken—either based on the close of the price bar or the wicks (highs and lows) of the price action.
The DTT indicator also features alerts whenever a new trendline is detected or an existing trendline is broken!
MATRIX HMA Filters and TrendlinesThis update to the previous HMA-Kahlman Trend, Clipping & Trendlines script features the same structure with the three modules:
- Trendlines module,
- NEW Winsorizing submodule using difference-based filtering.
- HMA-Kahlman Trend module.
The Winsorizing submodule filters signals by a volume level, eliminating the ones with the volume below a threshold. This module substitutes the previous 'low-level' filtering implementation. This time it filters out based on difference between scaled volume and its moving average.
Tested with BTCUSD .
Esta atualização do script HMA-Kahlman Trend, Clipping & Trendlines anterior apresenta a mesma estrutura nos três módulos:
- módulo Trendlines,
- NOVO sub-módulo Winsorizing usando filtragem baseada em diferenças.
- Módulo HMA-Kahlman Trend.
O submódulo Winsorizing filtra sinais por um nível de volume, eliminando aqueles com o volume abaixo de um limite. Este módulo substitui a implementação de filtragem 'baixo nível' anterior. Dessa vez, ele é filtrado com base na diferença entre o volume escalado e sua média móvel.
Testado com BTCUSD.
TRAPPER TRENDLINES — PRICEDraws dynamic trendlines on price by connecting the two most recent confirmed swing points (highs to highs for resistance, lows to lows for support). Swings are defined with a symmetric left/right pivot window. Old anchors are ignored so lines stay attached to current structure. Optional break alerts are included.
How it works (plain language)
Pivots: A bar is a swing high (or low) only if it’s the most extreme point compared with a set number of bars on the left and the right.
Lines:
Support connects the last two confirmed swing lows.
Resistance connects the last two confirmed swing highs.
Lines can be extended right only or both left & right (toggle).
Recency filter: Only swings within the last N bars are kept. This avoids anchoring to very old pivots far from current price.
Alerts: Optional alerts fire when price closes above resistance or below support.
Inputs
Auto Settings
Auto pivot size by chart timeframe: When ON, the script picks a pivot size suitable for the current timeframe (you can scale it with Auto pivot multiplier). When OFF, the manual left/right inputs are used.
Auto pivot multiplier: Scales the auto pivot size (e.g., 1.5 makes pivots stricter).
Manual Pivots
Pivot Left / Pivot Right: Bars to the left/right required to confirm a swing. Example: Left=50 & Right=50 keeps only major swings.
Recency Filter
Use last N bars for pivots: Swings older than this window are discarded so trendlines stay relevant to current price.
Style
Support/Resistance color: Line colors.
Extend Left & Right: When ON, both endpoints extend; when OFF, lines extend to the right only.
Alerts
Enable Break Alerts: When ON, alert conditions are exposed:
Price: Break Up — close above resistance.
Price: Break Down — close below support.
Suggested settings
Higher timeframes (4H / 1D / 1W):
Manual: Pivot Left = 50, Pivot Right = 50, Use last N bars = 400–800.
Or enable Auto with Auto pivot multiplier = 1.0–1.5.
Intraday (15m / 30m / 1H):
Manual: Pivot Left = 30, Pivot Right = 30, Use last N bars = 300–500.
Or enable Auto with multiplier ≈ 1.0–1.2.
Pairing with RSI for confluence/divergence
This tool is designed to pair with a companion TRAPPER TRENDLINES — RSI (or any RSI trendline script):
To mirror swings, set RSI Pivot Lookback equal to the price Pivot Left/Right you use here.
Example: Price = 50/50 → RSI Pivot Lookback = 50.
Keep RSI at Length 14 with 70/30 channel for clarity.
Confluence: Price holds/rejects at a trendline while RSI trendline agrees.
Divergence: Price prints a higher high (resistance line rising) while RSI prints a lower high (RSI resistance line falling), or vice-versa for lows. Matching pivot windows makes these relationships clear and reduces false signals.
Reading the signals
Trendline touch/hold: Potential reaction area; wait for follow-through.
Break Up / Break Down (alerts): Close beyond the line. Consider retest behavior, higher-timeframe context, and volume/RSI confirmation.
Notes & limitations
Pivots require future bars to confirm (by design). Lines update as pivots confirm.
“Use last N bars” purposely ignores very old swings. Increase this value if you need legacy structure.
Lines are based on two most recent confirmed pivots per side; rapidly changing markets can replace anchors as new swings confirm.
This is a visual/analytical tool. No strategy entries/exits or performance claims are provided.
Compliance
This script is for educational purposes only and does not constitute financial advice. Trading involves risk. Past results do not guarantee future outcomes. No promises of profit, accuracy, or performance are made.
Alerts (titles/messages)
Price: Break Up — “Price broke above resistance trendline.”
Price: Break Down — “Price broke below support trendline.”
Quick start
Add the indicator to your chart.
Choose Auto or set Pivot Left/Right manually.
Set Use last N bars for how far back to consider swings.
Toggle Extend Left & Right to your preference.
(Optional) Add your RSI trendline indicator and match Pivot Lookback with your price pivot size for clean confluence/divergence.
Enable alerts if you want notifications on breaks.