OPEN-SOURCE SCRIPT
Updated

Volume Spike Strategy

8021
This is a Pine Script implementation of “Capitalize AI: Volume Spike Strategy" by Bitcoin Trading Challenge (copied with permission).

Original Capital AI formula :

If BTC/USD 1 minute volume > BTC/USD average volume in 20-1m bar by at least 500% and if BTC/USD is below the MA(5,1m,close) of BTC/USD then buy 10,000 USD WORTH of BTC/USD

Tested on XBTUSD 1 minute.

snapshot

Original strategy is buy-only. Option for sells was added (enable in settings).

First published script -- comments/feedback appreciated


Release Notes
Enable "sell" opiton

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.