Trendoscope

Recursive Zigzag

Trendoscope Wizard Atualizado   
DO NOT USE THIS FOR TRADING. I am just showing off my new found recipe for pattern recognition ;)

This script generates recursive zigzags till there are only 2 pivots. So, the logic goes like this.

Level1 - Standard zigzag calculated from user input of length and max pivots using OHLC values
Level2 - Multi level zigzag calculated on the basis of level1 pivots.
Level3 - Multi level zigzag calculated on the basis of level2 pivots
..
..
..
Level(n) - Multi level zigzag calculated on the basis of level(n-1) pivots and number of derived pivots is 3 or less.

Ability to generate multi level zigzags were explored earlier in many scripts. But, they were just single level up from base and not fully recursive as this. This can be powerful piece of code for pattern recognition algorithms - will be exploring how useful these are going forward.
Notas de Lançamento:
Made few corrections. Plus added option for better visualisation.
Notas de Lançamento:
Update libraries
Notas de Lançamento:
Updated zigzag library version
Notas de Lançamento:
Update to latest rZigzag library
Notas de Lançamento:
Updated library version.
Added option to use only confirmed bars.
Notas de Lançamento:
Hopefully last update for today :)

Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?