Trendoscope

Recursive Zigzag

Trendoscope Wizard Telah dikemas kini   
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.
Nota Keluaran:
Made few corrections. Plus added option for better visualisation.
Nota Keluaran:
Update libraries
Nota Keluaran:
Updated zigzag library version
Nota Keluaran:
Update to latest rZigzag library
Nota Keluaran:
Updated library version.
Added option to use only confirmed bars.
Nota Keluaran:
Hopefully last update for today :)

Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?