Premium Only Content
LIVE - AI Trading Bot - Bitcoin + Ethereum - 1 Minute Chart
This trading bot automatically shows LONG or SHORT on the Bitcoin and Ethereum one-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.
I use ChatGPT to help create pine script code:
//@version=5
indicator("CCI.3LONG.3SHORT", overlay=true)
// Calculate CCI
length = input.int(150, 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)
-
5:46:23
Day Trading Cryptos
4 months agoThe Best Crypto Charts of the Day
111 -
49:12
Ben Shapiro
3 hours agoEp. 2087 - Here Comes The BOOM: Trump Exploding Status Quo
55.8K47 -
10:48
Silver Dragons
2 hours agoWere is Silver Price Headed in 2025? 🚀 These CRAZY Silver Predictions MAY COME TRUE
9.26K3 -
1:32:24
vivafrei
6 hours agoMore Covid Jab & Canada "Nothing To See Here" Insanity! Viva Frei w/ Jessica Rose & Mocha Bezigran
95.1K38 -
2:41:37
Nerdrotic
4 hours ago $11.53 earnedThe Woke Hollywood RECKONING | Silver Surf-HER | An FNT Square Up - Nerdrotic Nooner 443
75.5K14 -
2:00:11
The Charlie Kirk Show
4 hours agoThe Great American Vibe Shift + Stop the Steal PA | Schmitt, Parnell, Don Jr. | 11.18.24
152K45 -
1:15:35
The New American
2 hours agoWill Incoming Trump Officials Eliminate Entire Government Agencies? | The New American Daily
26.4K5 -
1:13:32
The Kevin Trudeau Show
6 hours agoMy Battle With The Government Is Finally Over ! | The Kevin Trudeau Show | Ep. 66
15.7K9 -
37:39
Tudor Dixon
2 hours ago $1.08 earnedExploring Cultural Shifts in America | The Tudor Dixon Podcast
14.4K2 -
1:21:47
Russell Brand
5 hours agoBiden Unleashes Long-Range Missiles Against Russia & Trump's UFC Takeover in NYC – SF495
143K275