LonesomeTheBlue

Breakout Finder

Helo All,

I got many requests for a Breakout script and here it's. This script searches the breakouts/breakdowns and draw square if there is one.

The options:
"Period" is used to find Pivot Points
"Max Breakout Length" is the maximum length to search breakouts
"Threshold Rate %"
is channel width of the breakout area. calculated using highest/lowest of last 300 bars.
"Minimum Number of Tests" is the minimum number of tests that the Price tried to break the S/R level
and some options for coloring and linestyle

Lets see some examples:

in this example "Minimum Number of Tests" is 2 so the Price must have tested to break resistance area 2 times and then it breaks it as seen in the screenshot:

in following example Threshold rate is %10, so the channel width is very big:

as you can see in followinf screenshot you can choose different colors and line styles:

Alerts added ;)


Enjoy!
版本注释: Fixed.
版本注释: Explanation added
版本注释: updated

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?