PROTECTED SOURCE SCRIPT
SOZAY Advanced Trend Lines v6

“SOZAY Advanced Trend Lines v6”
It automatically draws on the chart:
Downtrends (pivot high → lower new high)
Uptrends (pivot low → higher new low)
It can place H (High) and L (Low) labels on pivot points.
The most recent trend line is solid, and older ones can be shown as dashed if you want.
To avoid too many lines, it only keeps the last X trends (you set this value).
What do the settings mean?
Left Bars / Right Bars
Defines how many bars to the left and right must be lower/higher for a bar to be considered a pivot.
Higher values = fewer but “bigger” trends.
Lower values = more frequent, shorter-term trends.
Maximum number of trends to draw
The maximum number of trend lines that will be kept on the chart (e.g. 50).
Show Pivot H / L labels
Turns the H and L labels on or off.
Draw downtrends (High)
Enables or disables downtrend lines that start from pivot highs.
Draw uptrends (Low)
Enables or disables uptrend lines that start from pivot lows.
Uptrend / Downtrend color
The colors of the lines (typically green for up, red for down).
Show old lines as dashed
The newest trend line is solid; the previous line(s) of the same type are shown as dashed.
In summary:
This script automatically draws all possible uptrends and downtrends using pivot logic so you don’t have to draw trend lines manually. You just use the settings to decide how selective it should be.
It automatically draws on the chart:
Downtrends (pivot high → lower new high)
Uptrends (pivot low → higher new low)
It can place H (High) and L (Low) labels on pivot points.
The most recent trend line is solid, and older ones can be shown as dashed if you want.
To avoid too many lines, it only keeps the last X trends (you set this value).
What do the settings mean?
Left Bars / Right Bars
Defines how many bars to the left and right must be lower/higher for a bar to be considered a pivot.
Higher values = fewer but “bigger” trends.
Lower values = more frequent, shorter-term trends.
Maximum number of trends to draw
The maximum number of trend lines that will be kept on the chart (e.g. 50).
Show Pivot H / L labels
Turns the H and L labels on or off.
Draw downtrends (High)
Enables or disables downtrend lines that start from pivot highs.
Draw uptrends (Low)
Enables or disables uptrend lines that start from pivot lows.
Uptrend / Downtrend color
The colors of the lines (typically green for up, red for down).
Show old lines as dashed
The newest trend line is solid; the previous line(s) of the same type are shown as dashed.
In summary:
This script automatically draws all possible uptrends and downtrends using pivot logic so you don’t have to draw trend lines manually. You just use the settings to decide how selective it should be.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.