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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.