INVITE-ONLY SCRIPT
업데이트됨 Auto Chart Patterns - Ultimate [Trendoscope]

Here is an attempt to gather and present stats and probabilities of different chart patterns. Here, we challenge few traditional biases such as rising wedge is bearish, falling wedge is bullish etc. All the chart patterns identified in this script are bi-directional. Meaning they offer opportunities to trade in either direction.
This indicator is built on the base of two free scripts
🎯 Wedge-and-Flag-Finder-Multi-zigzag
🎯 Trendline-Pairs-Deep-Search
🎲 Following are the major highlights/updates in the present script
▶ Uses the similar deep search algorithm for finding patterns. Pattern identification logic has been optimised to provide more accurate patterns.
▶ Provides suggestion on how to trade these patterns - along with entry, stop and target suggestions.
▶ Advanced options available in setting such as 'Safe Repaint' - which enables repaint only when trade has not started.
▶ Option to run algorithm within specified time window
▶ Comprehensive stats on historical patterns which include win ratio, risk reward, trailing win ratio and trailing risk reward.
▶ Open Trades Stats widget which can help tracking trades easily.
▶ Fully customisable alerts - which can be used to plugin into bots.
🎲 Chart Patterns Included
▶ Channel - Uptrend, Downtrend, Ranging
▶ Triangle - Expanding, Contracting
▶ Rising Wedge - Expanding, Contracting
▶ Falling Wedge - Expanding, Contracting
If unable to determine the type and yet pivots are inline to form two trend lines, then it goes to category - Indeterminate
🎲 Indicator Components
Below is a quick snapshot of indicator components.
https://www.tradingview.com/x/k8Lkt9ML/
Now, lets look at some of the individual components:
▶Open trade stats helps recognise trades in motion.
https://www.tradingview.com/x/tnXjhx3q/
▶ Closed trade stats can either be shown with minimal stats or fully detailed stats.
https://www.tradingview.com/x/nCW9cJX0/
🎲 Settings
▶ Generic Settings
https://www.tradingview.com/x/BUsJkgak/
▶ Zigzag and pattern selection
https://www.tradingview.com/x/FwLQiDlZ/
▶ Channel Settings
https://www.tradingview.com/x/UTn8fz8A/
▶ Risk/Reward and Stats/Display Settings
https://www.tradingview.com/x/XK7ExemS/
🎲 Key Features
⬤ Safe Repaint :
This option allows redrawing pattern only if trade has not been taken. This increases accuracy of pattern detection. Example of impact of safe repaint is shows as below:
https://www.tradingview.com/x/yxZINpJf/
⬤ Trade Reversal or Breakout of Channels :
This option is useful to handle channels of different size. If the distance between channel trendlines are huge, then it is more advantageous to trade reversals. If the distance between trendlines of channel is small, it is more rewarding to trade the breakouts.
Here is an example of how this setting impacts the trade suggestions.
https://www.tradingview.com/x/3hQXSYPQ/
https://www.tradingview.com/x/OuRQsG6Q/
⬤ Detailed Closed Trade Stats :
Closed Stats settings give users option to see in depth details such as risk reward and win ratios for past patterns along with numbers.
https://www.tradingview.com/x/tyNXIU20/
⬤ Fully Customisable Alerts :
Alerts are implemented using alert method. Hence, users will not see text box in alert window where they can set alert format. To overcome this challenge, the indicator offers customisation of alerts through settings.
In the settings window, you notice below options for alerts
https://www.tradingview.com/x/I72qsuI3/
These settings allow users to enable/disable alerts for different status of patterns. The text box in the settings allows users to set customisable alert formats using specific placeholders.
Valid placeholders are:
{type} - Alert Type
{id} - Pattern id for which alert is generated
{ticker} - Ticker for which alert is generated
{timeframe} - Chart timeframe
{price} - Current close price
{pattern} - Name of the pattern
{longTrade} - Array containing stop, entry, target1 and target2 for long side of the trade for given pattern
{shortTrade} - Array containing stop, entry, target1 and target2 for short side of the trade for given pattern
{status} - Contains status of both long and short side of the trades as text
Default alert template set for all type of alerts is as below
Pine Script®
An example alert looks like this:
https://www.tradingview.com/x/2nRig9ny/
If you just want to display pattern name and alert type, your alert message in the box should be something like this:
Pine Script®
Will make a video on settings and usage when I get time :)
This indicator is built on the base of two free scripts
🎯 Wedge-and-Flag-Finder-Multi-zigzag
🎯 Trendline-Pairs-Deep-Search
🎲 Following are the major highlights/updates in the present script
▶ Uses the similar deep search algorithm for finding patterns. Pattern identification logic has been optimised to provide more accurate patterns.
▶ Provides suggestion on how to trade these patterns - along with entry, stop and target suggestions.
▶ Advanced options available in setting such as 'Safe Repaint' - which enables repaint only when trade has not started.
▶ Option to run algorithm within specified time window
▶ Comprehensive stats on historical patterns which include win ratio, risk reward, trailing win ratio and trailing risk reward.
▶ Open Trades Stats widget which can help tracking trades easily.
▶ Fully customisable alerts - which can be used to plugin into bots.
🎲 Chart Patterns Included
▶ Channel - Uptrend, Downtrend, Ranging
▶ Triangle - Expanding, Contracting
▶ Rising Wedge - Expanding, Contracting
▶ Falling Wedge - Expanding, Contracting
If unable to determine the type and yet pivots are inline to form two trend lines, then it goes to category - Indeterminate
🎲 Indicator Components
Below is a quick snapshot of indicator components.
https://www.tradingview.com/x/k8Lkt9ML/
Now, lets look at some of the individual components:
▶Open trade stats helps recognise trades in motion.
https://www.tradingview.com/x/tnXjhx3q/
▶ Closed trade stats can either be shown with minimal stats or fully detailed stats.
https://www.tradingview.com/x/nCW9cJX0/
🎲 Settings
▶ Generic Settings
https://www.tradingview.com/x/BUsJkgak/
▶ Zigzag and pattern selection
https://www.tradingview.com/x/FwLQiDlZ/
▶ Channel Settings
https://www.tradingview.com/x/UTn8fz8A/
▶ Risk/Reward and Stats/Display Settings
https://www.tradingview.com/x/XK7ExemS/
🎲 Key Features
⬤ Safe Repaint :
This option allows redrawing pattern only if trade has not been taken. This increases accuracy of pattern detection. Example of impact of safe repaint is shows as below:
https://www.tradingview.com/x/yxZINpJf/
⬤ Trade Reversal or Breakout of Channels :
This option is useful to handle channels of different size. If the distance between channel trendlines are huge, then it is more advantageous to trade reversals. If the distance between trendlines of channel is small, it is more rewarding to trade the breakouts.
Here is an example of how this setting impacts the trade suggestions.
https://www.tradingview.com/x/3hQXSYPQ/
https://www.tradingview.com/x/OuRQsG6Q/
⬤ Detailed Closed Trade Stats :
Closed Stats settings give users option to see in depth details such as risk reward and win ratios for past patterns along with numbers.
https://www.tradingview.com/x/tyNXIU20/
⬤ Fully Customisable Alerts :
Alerts are implemented using alert method. Hence, users will not see text box in alert window where they can set alert format. To overcome this challenge, the indicator offers customisation of alerts through settings.
In the settings window, you notice below options for alerts
https://www.tradingview.com/x/I72qsuI3/
These settings allow users to enable/disable alerts for different status of patterns. The text box in the settings allows users to set customisable alert formats using specific placeholders.
Valid placeholders are:
{type} - Alert Type
{id} - Pattern id for which alert is generated
{ticker} - Ticker for which alert is generated
{timeframe} - Chart timeframe
{price} - Current close price
{pattern} - Name of the pattern
{longTrade} - Array containing stop, entry, target1 and target2 for long side of the trade for given pattern
{shortTrade} - Array containing stop, entry, target1 and target2 for short side of the trade for given pattern
{status} - Contains status of both long and short side of the trades as text
Default alert template set for all type of alerts is as below
{
"alert" : "{type}",
"id" : {id},
"ticker" : "{ticker}",
"timeframe" : "{timeframe}",
"price" : {price},
"pattern" : "{pattern}",
"long[Stop, Entry, Target1, Target2]" : {longTrade},
"short[Stop, Entry, Target1, Target2]" : {shortTrade},
"status" : "{status}"
}
An example alert looks like this:
https://www.tradingview.com/x/2nRig9ny/
If you just want to display pattern name and alert type, your alert message in the box should be something like this:
Type - {type}, Pattern - {pattern}
Will make a video on settings and usage when I get time :)
릴리즈 노트
U 1.1 Minor bugfixes릴리즈 노트
Update U1.2- Added Live RR to open trades stats
- Removed Failed patterns from the list to avoid confusion. Failed patterns are nothing but, they have opened on the other side. Hence, trade can be continued on the other side.
릴리즈 노트
Update U1.3Introduced selective closed stat mode - which when selected only show details for open patterns and overall totals. Removed stop percent as the data can be derived via win percent of target1
https://www.tradingview.com/x/1h6uZ8iO/
릴리즈 노트
Update U1.4Updated alerts to use alerts library method to avoid overlapping
릴리즈 노트
Update U1.5- Updated zigzag implementation
- Update libraries
- Extended stats - now contain retest status and related counts, average size and age of patterns etc.
- Tooltips added for closed stats.
릴리즈 노트
Update U1.6Updated zigzag library version
릴리즈 노트
Update U1.7- Minor bugfixes
- Update alerts to use library
릴리즈 노트
Update U1.8Fixed an error associated with tradingview update
릴리즈 노트
Update U1.9- Updated alert template to assist easier interpretation in auto trading. Now the alert template also has separate longStatus and shortStatus placeholders along with generic placeholder status
- Updated alert fields to use text_area for better visibility
릴리즈 노트
Major Update U2.0Revised settings. Click on the tooltips for more info on each of the items.
Major feature additions:
- Long and short trades have its own stop. Before, long stop was same as short entry and vice versa. This change will allow users to control risk/reward in better ways.
- Targets are made purely based on ratios. This again helps in controlling risk reward.
- Pattern calculation happens on bar close - this will help avoid repaints. Input option to force use current bar is also added for users to explore. This option will be removed in later versions.
릴리즈 노트
Update U2.1Removed Ignore If Entry Crossed check as this was causing runtime issues. Will rethink about adding option later.
릴리즈 노트
Update U2.2Minor bug fix. Updated default zigzag lengths.
릴리즈 노트
Minor update U2.4Updated libraries
릴리즈 노트
Update U2.5Updated library versions
릴리즈 노트
Update Ux2.6Added following templates to alerts
{basecurrency}
{quotecurrency}
Fixed a minor bug in the default template.
릴리즈 노트
Update U2.7Library updates and improved color combinations
릴리즈 노트
Update U2.8Minor updates on display
릴리즈 노트
Update ACPU 3.0Update to Pine V6 and other library updates
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 Trendoscope에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Trial Access : https://www.trendoscope.io/trial
Subscribe: https://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에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Trial Access : https://www.trendoscope.io/trial
Subscribe: https://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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.