lvturner

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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?