OPEN-SOURCE SCRIPT
Runner

Highlights run days on a chart
Run days are defined as:
Up run day.
A day that meets the following two conditions:
1. The true high of the run day is greater than the maximum true high of the past N days (e.g., N = 5).
2. The true low on the run day is less than the minimum true low on the subsequent N days.
Down run day.
A day that meets the following two conditions:
1. The true low of the run day is less than the minimum true low of the past N days.
2. The true high on the run day is greater than the maximum true high on the subsequent N days.
Taken from: Schwager, Jack D.. A Complete Guide to the Futures Market: Technical Analysis, Trading Systems, Fundamental Analysis, Options, Spreads, and Trading Principles (Wiley Trading) (Kindle Locations 3376-3382). Wiley. Kindle Edition.
Run days are defined as:
Up run day.
A day that meets the following two conditions:
1. The true high of the run day is greater than the maximum true high of the past N days (e.g., N = 5).
2. The true low on the run day is less than the minimum true low on the subsequent N days.
Down run day.
A day that meets the following two conditions:
1. The true low of the run day is less than the minimum true low of the past N days.
2. The true high on the run day is greater than the maximum true high on the subsequent N days.
Taken from: Schwager, Jack D.. A Complete Guide to the Futures Market: Technical Analysis, Trading Systems, Fundamental Analysis, Options, Spreads, and Trading Principles (Wiley Trading) (Kindle Locations 3376-3382). Wiley. Kindle Edition.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
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.