LIVE - Bitcoin + Ethereum - 5 Minute Charts - AI Trading Bot

Streamed on:
397

This AI trading bot is the simplest, safest and most effective strategy I've developed for trading so far. It can be used for day trading the one, five and fifteen-minute charts. It also works for swing trading using the hourly, daily and weekly charts.

The strategy is based on the Commodity Channel Index technical indicator. The CCI is set at 20. The bot will buy when the CCI is greater than zero. The bot will sell when the CCI is less than zero. The bot automatically puts green and orange triangles on the chart when the CCI crosses up or down through zero.

---------------------------------------------------------------

// @DayTradingCryptos -> this code is open source freeware

//@version=5
indicator("CCI.1LONG.1SHORT.ZEROLINE", overlay=true)

// Calculate CCI
// Test different settings by changing "20"
length = input.int(20, title="CCI Length")
cci_value = ta.cci(close, length)

// Define buy and sell conditions
buy_signal = ta.crossover(cci_value, 0)
sell_signal = ta.crossunder(cci_value, 0)

// Plot buy and sell signals with green and orange triangles
plotshape(series=buy_signal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="LONG", textcolor=color.green, offset=0)
plotshape(series=sell_signal, title="Sell Signal", location=location.abovebar, color=color.orange, style=shape.triangledown, size=size.small, text="SHORT", textcolor=color.orange, offset=0)

---------------------------------------------------------------

How-to insert Pine Script trading strategies onto TradingView charts: https://rumble.com/v4nw19o-how-to-insert-pine-script-trading-strategies-onto-tradingview-charts.html

---------------------------------------------------------------

Loading comments...