INVITE-ONLY SCRIPT
已更新 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
https://www.tradingview.com/x/QvmQxkEN/
⚪ Trend Lines Summary Widget
This can have up-to 4 types of trend lines.
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.
https://www.tradingview.com/x/IZ5Az9fD/
⚪ 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.
https://www.tradingview.com/x/Oo7AssR1/
⬜ Settings
⚪ Trend Detection Settings
These are the settings used for scanning the trend lines. Summary of these settings are as below:
https://www.tradingview.com/x/A0ZLEbaQ/
⚪ 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.
https://www.tradingview.com/x/vbW41ii7/
Important bit here is the Sort Order which impacts the identification of overall trend. Available types are:
⚪ Support/Resistance Settings
Base settings for calculating divergence based Support/Resistance.
https://www.tradingview.com/x/uqmEd1rT/
⚪ Widgets
Widgets settings allow users to control display of Trend Lines and S/R summary widgets.
https://www.tradingview.com/x/kr6yTZzr/
⚪ Alerts
Below are the settings for configuring alerts.
https://www.tradingview.com/x/Zcz76378/
Alerts are formatted in Json for easier consumption via web-hook.
https://www.tradingview.com/x/5eWG3MDz/
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
https://www.tradingview.com/x/QvmQxkEN/
⚪ 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.
https://www.tradingview.com/x/IZ5Az9fD/
⚪ 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.
https://www.tradingview.com/x/Oo7AssR1/
⬜ Settings
⚪ Trend Detection Settings
These are the settings used for scanning the trend lines. Summary of these settings are as below:
https://www.tradingview.com/x/A0ZLEbaQ/
⚪ 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.
https://www.tradingview.com/x/vbW41ii7/
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.
https://www.tradingview.com/x/uqmEd1rT/
⚪ Widgets
Widgets settings allow users to control display of Trend Lines and S/R summary widgets.
https://www.tradingview.com/x/kr6yTZzr/
⚪ Alerts
Below are the settings for configuring alerts.
https://www.tradingview.com/x/Zcz76378/
Alerts are formatted in Json for easier consumption via web-hook.
https://www.tradingview.com/x/5eWG3MDz/
發行說明
V1.2 Minor updates- Updated library references
- Added styling options
https://www.tradingview.com/x/mQfDLDYV/
發行說明
V 1.3 UpdatesFully customisable alerts where alert template can be defined by the users in settings.
https://www.tradingview.com/x/BxK9O37b/
Alert parameters are defined below:
Generic parameters
{type} - alert type
{ticker} - Ticker information
{timeframe} - Timeframe information
{price} - Current close price
Trendline status
{laststatus} - Last Trend status
{status} - current trend status
New S/R Alert
{dtype} - Divergence Type
{bias} - Bullish or bearish bias
{pricelevel} - S/R price level
Broken Support/Resistance alert (Only for S/R levels)
{brokenLevels} - Broken Levels
{supportLevels} - Immediate support levels
{resistanceLevels} - Immediate Resistance Levels
{supportCount} - Total support level count
{resistanceCount} - total resistance level count
Added option to select divergence base for determining support/resistance levels.
https://www.tradingview.com/x/EoS031qE/
發行說明
Republishing to update the front chart發行說明
Minor update V1.4- Update library references
- Few minor updates to array based methods based on new pine features.
- Minor color adjustments
發行說明
Update 1.5Fixed issue caused due to pine updates on memory
發行說明
Update U1.6- Added options to set line width for each levels
- Performance optimisations with respect to load time.
發行說明
Update U1.7Library updates
Minor updates to parameter display on charts
發行說明
Update V1.8Pine v6 and library updates
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫Trendoscope。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Trial - http://www.trendoscope.io/trial
Subscribe - http://www.trendoscope.io/pricing
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫Trendoscope。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Trial - http://www.trendoscope.io/trial
Subscribe - http://www.trendoscope.io/pricing
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。