OPEN-SOURCE SCRIPT

Honey Badger and Dip and Rip Days

**Definitions**

A Honey Badger Day is defined as a day where the market dips below a certain threshold but then closes above it. Specifically:

- The day's low is less than or equal to the lower of either the opening price or the previous day's closing price.
- The day's closing price is greater than or equal to this same lower threshold.

Dip and Rip Day:A Dip and Rip Day is characterized by a more pronounced dip followed by a stronger recovery. The criteria are:

- The day's low is below 0.11% of the lower of the day's opening price or the previous day's closing price.
- The day's closing price is at least 0.405% higher than its opening price.
- The day's closing price is at least 0.792% higher than its low.
- The day's closing price is at least 0.405% higher than the previous day's closing price.

Both patterns indicate a day where the market experiences a dip but then recovers, with the Dip and Rip pattern showing a more dramatic movement in both directions.
statisticsTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer