OPEN-SOURCE SCRIPT

Fractal Breakout V2

已更新
Version 2 of my fractal pattern aid (Version 1).

I added a bouncing line between the high and low trend lines, connecting consecutive extreme points. I also chased down a pesky bug in the slope calculation...and for now I have disabled the ability to change resolution basis for extreme detection (e.g. 30m on a 1hr chart).

For fun, I added some shading to make it more apparent at a glance what is happening, but if you find it gimmicky, there's an option to turn that off.

I am inexperienced with pattern recognition, so please send feedback if you have any ideas that would make this more useful.

Thanks!
Lemrin
版本注释
Extensions to upper and lower boundary lines now continue through new extreme points, as long as that point is within a configurable ratio of the extended line. This helps identify when important resistance/support or pattern formation lines have been broken. To add visibility to such conditions, I have re-enabled shading by default, based on price breaking outside the extended boundary lines.
版本注释
Found a bug, where a perfect storm could cause extensions to become limitlessly negative.
版本注释
I kinda forgot to make the setting to turn off the new dotted extensions actually do anything. Sorry about that, fixed!
breakoutconfigurableLinear RegressionpatternrangeboundreversalshapeSupport and ResistanceWilliams Fractal

开源脚本

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

想在图表上使用此脚本?

免责声明