OPEN-SOURCE SCRIPT

Buy The Dip - Does It Work?

Updated
Buying the dip has become a meme in crypto, but does it actually work?

Using this script you can find out.
The dip is defined here as the average true range multiplied by a number of your choosing (dipness input) and subtracted from the low.
When price crosses under the dip level, a long is initiated. The long is then closed using a timestop (default value 20 bars), no fancy exits here.

A general rule for buying the dip should be to be more passive in a bull market and aggressive in a bear market.
Same goes for all counter trend trading.

Heres a few other examples of dip buying statistics using the H4 timeframe:

50% profitable, 1.692 Profit Factor
PIVXBTC
snapshot

56.52% profitable, 1.254 Profit Factor
KMDBTC
snapshot

27.27% Profitable, 0.257 Profit Factor... yikes!
BINANCE:BTSBTC
snapshot

73.33% Profitable, 13.627 Profit Factor... o.O
MANABTC
snapshot
Release Notes
Had accidentally hard coded the forward looking number.
Bitcoin (Cryptocurrency)BTCbtfdcryptostatstradingVolatility

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