Premium Only Content

LIVE - AI Trading Bot - Bitcoin + Ethereum - 5 Minute Chart
I added a BUY and SELL parameter to the LONG and SHORT from the previous version.
BUY occurs when the CCI rises above 0.00
SELL occurs when the CCI drops below 0.00
LONG occurs when the CCI is below -100 and then rises above -100
SHORT occurs when the CCI drops below -100
Going LONG reverses a SHORT position
Going SHORT reverses a LONG position
A LONG followed with a BUY = 2X LONG
2X LONG positons are closed with a SELL
Here is the code for you to use and modify:
//@version=5
indicator("CCI.36.LONG.BUY.SELL.SHORT", overlay=true)
// Calculate CCI
length = input.int(36, title="CCI Length")
cci_value = ta.cci(close, length)
// Define -100 line buy and sell conditions
buy_signal_neg100 = ta.crossover(cci_value, -100)
sell_signal_neg100 = ta.crossunder(cci_value, -100)
// Define zero line buy and sell conditions
buy_signal_zero = ta.crossover(cci_value, 0)
sell_signal_zero = ta.crossunder(cci_value, 0)
// Plot buy and sell signals on CCI with text labels
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)
plotshape(series=buy_signal_zero, title="Buy Signal (Crossover Zero)", location=location.belowbar, color=color.blue, style=shape.triangleup, size=size.small, text="BUY", textcolor=color.blue, offset=0)
plotshape(series=sell_signal_zero, title="Sell Signal (Crossunder Zero)", location=location.abovebar, color=color.orange, style=shape.triangledown, size=size.small, text="SELL", textcolor=color.orange, offset=0)
-
11:30:45
Day Trading Cryptos
1 year agoLIVE - Bitcoin + Ethereum - 5 Minute Charts - Pine Script Trade Bot
5545 -
59:44
Preston Stewart
8 hours agoPokrovsk: Ukraine's Most Dangerous Front
533 -
4:42:31
Barry Cunningham
6 hours agoREACTING TO THE PRESIDENT TRUMP INTERVIEW ON CNBC! (THE CONTRAST OF COMMUNISM AND MORE NEWS))
85.3K9 -
22:00
Jasmin Laine
2 hours ago“$750B GONE”—U.S. HUMILIATES Carney Over Climate Lies in BRUTAL Public Takedown
2.39K10 -
LIVE
StoneMountain64
5 hours agoBATTLEFIELD 6 BETA Training and Prepping
298 watching -
1:14:11
vivafrei
4 hours agoAcosta AI Interview: Journalism or Exploitation? The War of the Jeans! Cincinnati Update & MORE!
80.9K19 -
1:18:26
The White House
5 hours agoPresident Trump Signs an Executive Order, August 05, 2025
20.5K20 -
3:01:50
The Illusion of Consensus
5 days agoDave Smith & Rav Arora REACT To Douglas Murray x Sam Harris Podcast On Misinformation & "Expertise"
16.4K7 -
2:00:46
The Quartering
4 hours agoClintons To Testify, Zoo Asks For Peoples Pets For Food, Young Voters, GTA To Require ID To Play
95.8K34 -
1:15:15
Awaken With JP
4 hours agoArrest Warrants for Dems, MSNBC Sucks, and More - LIES Ep 103
46.2K38