OPEN-SOURCE SCRIPT
Updated Volume Spike Strategy

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.

Original strategy is buy-only. Option for sells was added (enable in settings).
First published script -- comments/feedback appreciated
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.
Original strategy is buy-only. Option for sells was added (enable in settings).
First published script -- comments/feedback appreciated
Release Notes
Enable "sell" opitonOpen-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.
For quick access on a chart, add this script to your favorites — learn more here.
USDT(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
LTC:LWx9nAqbfZcWB5GBxUuBEpdBCFyVAmSFjm
ETH(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
BTC:113pXq5Lxdp3UUgTpRng24sxX7YRE9dR61p
LTC:LWx9nAqbfZcWB5GBxUuBEpdBCFyVAmSFjm
ETH(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
BTC:113pXq5Lxdp3UUgTpRng24sxX7YRE9dR61p
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.
For quick access on a chart, add this script to your favorites — learn more here.
USDT(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
LTC:LWx9nAqbfZcWB5GBxUuBEpdBCFyVAmSFjm
ETH(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
BTC:113pXq5Lxdp3UUgTpRng24sxX7YRE9dR61p
LTC:LWx9nAqbfZcWB5GBxUuBEpdBCFyVAmSFjm
ETH(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
BTC:113pXq5Lxdp3UUgTpRng24sxX7YRE9dR61p
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.