xxattaxx-DisDev

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


Release Notes:
Enable "sell" opiton

USDT(TRC20):THb7BFnXP3FceQDSoLqG8DiE7KrfjZLJn7
USDT(ERC20):0xe5f4aab4dd0f297843146d51605010bf2c2f83e7
BTC:19VVs5MGYi9gWDoHZVwqpiXfqao3WpePRY
Link:0xe5f4aab4dd0f297843146d51605010bf2c2f83e7
ETH(ERC20): 0xe5f4aab4dd0f297843146d51605010bf2c2
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?