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:44:33
Day Trading Cryptos
2 months agoThe Best Crypto Charts of the Day
170 -
40:00
Popcorn In Bed
23 hours agoHEAT (1995) | FIRST TIME WATCHING | MOVIE REACTION
14.5K2 -
28:08
Science & Futurism with Isaac Arthur
1 day ago $0.19 earnedLife As An Asteroid Miner
31.7K10 -
13:05
ThinkStory
22 hours agoFROM Season 3 Episode 2 Breakdown, Theories & Clues!
15.8K3 -
2:21
Memology 101
1 day ago $0.48 earnedJohn Kerry says "1st Amendment stands as a MAJOR BLOCK" to THEIR ability to control the "FACTS"
28.3K60 -
8:21
Adam Does Movies
21 hours agoWolfs Movie Review - The Old Dogs Are Back
15.9K2 -
17:21
The Based Mother
20 hours agoThe Based Mother Show - Harris & Biden Invited 662,566 Criminals Into the U.S.
22.7K18 -
2:01:49
Nerdrotic
16 hours ago $24.63 earnedDo We Live In a Simulation? | Forbidden Frontier #076
81.1K117 -
2:18:38
vivafrei
20 hours agoEp. 230: Kamala Goes to Border! Klappenstein X Ban! Pennsylvania Corruption & MORE! Viva & Barnes
235K258 -
7:52:14
Vigilant News Network
20 hours agoMainstream Journalists Inadvertently Reveal the Shocking Truth About Climate Change - Media Blackout
119K59