OPEN-SOURCE SCRIPT

Fractal Breakout V2

Atualizado
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
Notas de Lançamento
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.
Notas de Lançamento
Found a bug, where a perfect storm could cause extensions to become limitlessly negative.
Notas de Lançamento
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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal