OPEN-SOURCE SCRIPT
Porcupine

Displays "spike days" by colouring the bars (Default: yellow for a Spike High and blue for a Spike Low)
Spike Day's definition taken from Jack D Schwager's Book: A Complete Guide to the Futures Market: Technical Analysis, Trading Systems, Fundamental Analysis, Options, Spreads, and Trading Principles
A spike is:
The more extreme each of these conditions, the greater the likelihood that a spike high will prove to be an important relative high or even a major top.
(inverse is true for lows, basically)
Enjoy!
Spike Day's definition taken from Jack D Schwager's Book: A Complete Guide to the Futures Market: Technical Analysis, Trading Systems, Fundamental Analysis, Options, Spreads, and Trading Principles
A spike is:
- A wide difference between the spike high and the highs of the preceding and succeeding days.
- A close near the low of the day's range.
- A substantial price advance preceding the spike's formation.
The more extreme each of these conditions, the greater the likelihood that a spike high will prove to be an important relative high or even a major top.
(inverse is true for lows, basically)
Enjoy!
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.