Premium Only Content
LIVE - AI Trading Bot - Bitcoin + Ethereum - 1 Minute Chart
These buy and sell signals are automatically generated by an AI trading bot I created using the pine script coding language that can only be used on TradingView.com's charts.
Here is the code for you to use and modify:
//@version=5
indicator("CCI.200.LONG.SHORT", overlay=true)
// Calculate CCI
length = input.int(150, title="CCI Length")
cci_value = ta.cci(close, length)
//Define +100 line buy and sell conditions
buy_signal_pos100 = ta.crossover(cci_value, +100)
sell_signal_pos100 = 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)
// Define -100 line buy and sell conditions
buy_signal_neg100 = ta.crossover(cci_value, -100)
sell_signal_neg100 = ta.crossunder(cci_value, -100)
// Plot buy and sell signals on CCI with text labels
// LONG reverses a SHORT position. SHORT reverses a LONG position
// If there is a yellow SHORT followed by an orange SHORT followed by a red SHORT, the next LONG reverses all three
// Yellow SHORT occurs when the CCI drops below +100
plotshape(series=buy_signal_pos100, title="Buy Signal (Above +100)", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="LONG", textcolor=color.green, 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)
// 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.green, style=shape.triangleup, size=size.small, text="LONG", textcolor=color.green, 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)
// 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:29:09
Day Trading Cryptos
5 months agoThe Best Crypto Charts of the Day
157 -
34:12
inspirePlay
1 day ago $4.66 earned🏆 The Grid Championship 2024 – Cass Meyer vs. Kelly Rudney | Epic Battle for Long Drive Glory!
65.6K8 -
17:50
BlackDiamondGunsandGear
10 hours ago $0.24 earnedTeach Me How to Build an AR-15
41.3K4 -
9:11
Space Ice
1 day agoFatman - Greatest Santa Claus Fighting Hitmen Movie Of Mel Gibson's Career - Best Movie Ever
103K44 -
42:38
Brewzle
1 day agoI Spent Too Much Money Bourbon Hunting In Kentucky
68.3K12 -
1:15:30
World Nomac
19 hours agoMY FIRST DAY BACK in Manila Philippines 🇵🇭
52K9 -
13:19
Dr David Jockers
1 day ago $2.14 earned5 Dangerous Food Ingredients That Drive Inflammation
72.2K17 -
1:05:13
FamilyFriendlyGaming
1 day ago $0.46 earnedCat Quest III Episode 8
126K3 -
10:39
Cooking with Gruel
2 days agoMastering a Succulent London Broil
81.7K5 -
22:15
barstoolsports
1 day agoWhite Elephant Sends Barstool Office into Chaos | VIVA TV
57.4K1