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)
-
4:00
Day Trading Cryptos
1 year agoThe Best Crypto Charts of the Week
1522 -
2:45:52
DLDAfterDark
5 hours ago $3.87 earnedWhat Are We Missing From The Charlie Kirk Incident? Feat. TN Tactical - After Hours Armory Live!
23.5K7 -
16:23
True Crime | Unsolved Cases | Mysterious Stories
1 month ago $1.62 earnedThe Strange Disappearance of Mekayla Bali | (Mini-Documentary)
19.8K4 -
10:03
nospeedlimitgermany
12 days ago $2.33 earnedVW Golf 5 R32 | 250 PS | Top Speed Drive German Autobahn No Speed Limit POV
24.1K4 -
1:35
Memology 101
1 day ago $1.49 earnedChicago Mayor Johnson calls LAW ENFORCEMENT a "SICKNESS" he will "ERADICATE"
24.1K39 -
10:17
Advanced Level Diagnostics
13 days ago $4.18 earned2007 Chevy Express - Replaced Everything But The Code Remains!
31.9K -
1:01:11
The Mel K Show
6 hours agoMel K & Harley Schlanger | History Repeats: A Wake-Up Call for Humanity | 9-20-25
96.8K28 -
2:13:52
Mally_Mouse
14 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Lockdown Protocol (New Updates!)
91.4K6 -
12:57
Culture Apothecary with Alex Clark
1 day agoMy Last 6 Years With Charlie Kirk | In Memoriam with Alex Clark
41.4K9 -
2:48:55
Barry Cunningham
11 hours agoPRESIDENT TRUMP WILL ENSURE THAT CHARLIE KIRK DID NOT DIE IN VAIN!
75.1K124