OPEN-SOURCE SCRIPT
Atualizado

Guppy CBL

10 550
This is the Count Back Line script from the book Guppy Trading by Daryl Guppy.
It is usually used as a stop loss line, but can also be used to find entries.

Hope someone finds it usefull, if you find anything that is wrong with it, please let me know and I will try to fix it.
This is my first PineScript, hope it is working as intended.
Notas de Lançamento
Cleaned code and added option to show/hide buy/sell arrows
Notas de Lançamento
Changed to the "close" to trigger the change instead of "high/low", as it's intended to work. Also updated it to v6 of pinescript.
Thanks brucewilliamson and others that have noticed this error.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.