Premium Only Content

LIVE - AI Trading Bot - Bitcoin + Ethereum - 5 Minute Chart
This trading bot automatically shows LONG or SHORT on the Bitcoin and Ethereum five-minute charts. Entering a LONG position makes money when the price goes up, and SHORT positions make money when the price goes down. This trading strategy makes money when the price goes up and down.
Watch this video to learn how to insert the code below onto your TradingView charts:
https://rumble.com/v4nw19o-how-to-insert-pine-script-trading-strategies-onto-tradingview-charts.html
//@version=5
indicator("CCI.3LONG.3SHORT", overlay=true)
// Calculate CCI
length = input.int(100, title="CCI Length")
cci_value = ta.cci(close, length)
// Define CCI +100 line LONG and SHORT
// LONG occurs when the CCI rises above +100
// SHORT occurs when the CCI drops below +100
buy_signal_pos100 = ta.crossover(cci_value, +100)
sell_signal_pos100 = ta.crossunder(cci_value, +100)
// Define CCI zero line LONG and SHORT
// LONG occurs when the CCI rises above 0.00
// SHORT occurs when the CCI drops below 0.00
buy_signal_zero = ta.crossover(cci_value, 0)
sell_signal_zero = ta.crossunder(cci_value, 0)
// Define CCI -100 line LONG and SHORT
// LONG occurs when the CCI rises above -100
// SHORT occurs when the CCI drops below -100
buy_signal_neg100 = ta.crossover(cci_value, -100)
sell_signal_neg100 = ta.crossunder(cci_value, -100)
// Define conditions of LONG and SHORT
// The bot is always in a position, either SHORT or LONG
// LONG makes money when the price goes up, and SHORT makes money when the price goes down
// If only one LONG is active and SHORT shows next, the LONG is sold and one SHORT position is started
// If only one SHORT is active and LONG shows next, the SHORT is bought to cover, and one LONG position is started
// If the price rises sharply, there can be two or three LONG positions. The next SHORT closes all LONG positions, and starts one SHORT position
// If the price falls sharply, there can be two or three SHORT positions. The next LONG closes all SHORT positions, and starts one LONG position
// Plot LONG and SHORT signals of the CCI on the chart with triangles and text labels
// White LONG occurs when the CCI rises above +100
// Yellow SHORT occurs when the CCI drops below +100
plotshape(series=buy_signal_pos100, title="Buy Signal (Above +100)", location=location.belowbar, color=color.rgb(192,192,192), style=shape.triangleup, size=size.small, text="LONG", textcolor=color.rgb(192,192,192), offset=0)
plotshape(series=sell_signal_pos100, title="Sell Signal (Below +100)", location=location.abovebar, color=color.yellow, style=shape.triangledown, size=size.small, text="SHORT", textcolor=color.yellow, offset=0)
// Blue LONG occurs when the CCI rises above 0.00
// Orange SHORT occurs when the CCI drops below 0.00
plotshape(series=buy_signal_zero, title="Buy Signal (Crossover Zero)", location=location.belowbar, color=color.rgb(0,128,255), style=shape.triangleup, size=size.small, text="LONG", textcolor=color.rgb(0,128,255), offset=0)
plotshape(series=sell_signal_zero, title="Sell Signal (Below +100)", location=location.abovebar, color=color.orange, style=shape.triangledown, size=size.small, text="SHORT", textcolor=color.orange, offset=0)
// Green LONG occurs when the CCI rises above -100
// Red SHORT occurs when the CCI drops below -100
plotshape(series=buy_signal_neg100, title="Buy Signal (Below -100)", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="LONG", textcolor=color.green, offset=0)
plotshape(series=sell_signal_neg100, title="Sell Signal (Above -100)", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="SHORT", textcolor=color.red, offset=0)
-
11:44:33
Day Trading Cryptos
1 year agoThe Best Crypto Charts of the Day
225 -
LIVE
Drew Hernandez
1 hour agoISRAEL PLANNING POSSIBLE DRAFT IN USA & TRUMP'S VIEW ON ETERNAL LIFE ANALYZED
1,254 watching -
3:08:07
TimcastIRL
4 hours agoTexas Republicans Win, House Passes Redistricting Map, GOP Looks To Gain 5 Seats | Timcast IRL
157K58 -
1:30:34
FreshandFit
5 hours agoHow To Stay Focused While Pursuing Women...The Good, The Bad, And The Ugly
41.4K20 -
1:47:05
Drew Hernandez
9 hours agoISRAEL PLANNING POSSIBLE DRAFT IN USA & TRUMP'S VIEW ON ETERNAL LIFE ANALYZED
26.4K55 -
29:55
Afshin Rattansi's Going Underground
3 days agoProf. Omer Bartov: The REAL REASON the US, UK, and EU Have Not Recognised Israel’s Genocide in Gaza
23.6K24 -
LIVE
SpartakusLIVE
6 hours agoWednesday WZ with the Challenge MASTER || Duos w/ GloryJean
408 watching -
2:36:12
Barry Cunningham
6 hours agoREACTING TO STEPHEN MILLER | KASH PATEL | TULSI GABBARD INTERVIEWS AND MORE NEWS!
72.2K63 -
LIVE
Alex Zedra
3 hours agoLIVE! Solo Scary Game night
337 watching -
58:01
MattMorseTV
6 hours ago $10.39 earned🔴The Dems. just lost 4.5 MILLION voters.🔴
66.3K59