FREE ALGOs [MarketCipher A & B]
FREE ALGOs [MarketCipher A & B]
FREE ALGOs [MarketCipher A & B]
.d88888b. As you
// 888 888 Y88b 888 888 d88888 888 d88P Y88b
d88P" "Y88b Can see
// 888 888 888 888 888 d88P888 888 888 888
888 888 Are all
// 8888888 888 d88P 8888888 8888888 d88P 888 888 888
888 888 .d8888b Basic free
// 888 8888888P" 888 888 d88P 888 888 888 88888
888 888 88K tradingview
// 888 888 T88b 888 888 d88P 888 888 888 888
888 888 "Y8888b. indicators
// 888 888 T88b 888 888 d8888888888 888 Y88b d88P
Y88b. .d88P X88 repackaged
// 888 888 T88b 8888888888 8888888888 d88P 888 88888888 "Y8888P88
"Y88888P" 88888P' into one
//
// FAQ
//
// Why?
// I want you to see what you are willing to pay hundereds of dollars a month
// What's the accuracy I can expect from this version of the indicator?
// I'd say it's about 95% the same as the one you would pay
// Enjoy ;)
//@version=5
indicator("FREE ALGOs [MarketCipher A & B]", overlay=false)
// Get components
pivotHigh = request.security(syminfo.tickerid, "D", ta.highest(high, pivotPeriod),
barmerge.gaps_off, barmerge.lookahead_on)
pivotLow = request.security(syminfo.tickerid, "D", ta.lowest(low, pivotPeriod),
barmerge.gaps_off, barmerge.lookahead_on)
ema1 = ta.ema(close, 5)
ema2 = ta.ema(close, 11)
ema3 = ta.ema(close, 15)
ema4 = ta.ema(close, 18)
ema5 = ta.ema(close, 21)
ema6 = ta.ema(close, 25)
ema7 = ta.ema(close, 29)
ema8 = ta.ema(close, 33)
sma9 = ta.sma(close, ribbon9Len)
// Signals
yellowDiamond = math.max(open, close) > ema1 and ema1 > ema2 and ema1 > ema8 and
vwap > 0
blueTriangle = ta.crossover(ema1, ema6) and vwap > 0 and (bw1 > - 15 or bw2 > -25)
and stcRsiMod < 80 and not ta.crossover(ema2, ema8)
greenDot = ta.crossover(ema2, ema8) and yellowDiamond
redX = ta.crossunder(ema1, ema2)
redDiamond = ta.crossunder(bw1, bw2)
yellowX = redDiamond and bw1 < -40 and stcRsiMod < 20
bloodDiamond = redX and redDiamond
// Plots
plot(showPivotHigh ? pivotHigh : na, "Pivot High", color.new(#4DA6FF, 20),
force_overlay = true)
plot(showPivotLow ? pivotLow : na, "Pivot Low", color.new(#4DA6FF, 20),
force_overlay = true)
p1 = plot(showRibbon1 ? ema1 : na, "Ribbon 1", ema1 < ema8 ? #FF0100 : #0166CC, 2,
force_overlay = true)
p2 = plot(showRibbon2 ? ema2 : na, "Ribbon 2", ema2 < ema8 ? #FF0100 : #198CFF, 2,
force_overlay = true)
p3 = plot(showRibbon3 ? ema3 : na, "Ribbon 3", ema3 < ema8 ? #FF0100 : #4DA6FF, 2,
force_overlay = true)
p4 = plot(showRibbon4 ? ema4 : na, "Ribbon 4", ema4 < ema8 ? #FF0100 : #80BFFF, 2,
force_overlay = true)
p5 = plot(showRibbon5 ? ema5 : na, "Ribbon 5", ema5 < ema8 ? #FF0100 : #99CCFF, 2,
force_overlay = true)
p6 = plot(showRibbon6 ? ema6 : na, "Ribbon 6", ema6 < ema8 ? #FF0100 : #B4D9FF, 2,
force_overlay = true)
p7 = plot(showRibbon7 ? ema7 : na, "Ribbon 7", ema7 < ema8 ? #FF0100 : #CCE6FF, 2,
force_overlay = true)
p8 = plot(showRibbon8 ? ema8 : na, "Ribbon 8", ema8 > ema7 ? #FF0100 : #E6F2FF, 2,
force_overlay = true)
p9 = plot(showRibbon9 ? sma9 : na, "Ribbon 9", #FFFB03, 2, force_overlay = true)
plotshape(yellowDiamond, "Yellow Diamond", shape.diamond, location.belowbar,
color.new(#FFFB03, 70), size=size.tiny, force_overlay = true)
plotshape(blueTriangle, "Blue Triangle", shape.triangleup, location.belowbar,
#4259F4, size=size.small, force_overlay = true)
plotshape(greenDot, "Green Dot", shape.circle, location.belowbar, #03FC04,
size=size.tiny, force_overlay = true)
plotshape(redX, "Red X", shape.xcross, location.abovebar, #FF0100, size=size.tiny,
force_overlay = true)
plotshape(yellowX, "Yellow X", shape.xcross, location.abovebar, #FFFB03,
size=size.small, force_overlay = true)
plotshape(redDiamond, "Red Diamond", shape.diamond, location.abovebar,
color.new(#FF0100, 45), size=size.tiny, force_overlay = true)
plotshape(bloodDiamond, "Blood Diamond", shape.diamond, location.abovebar, #FF0100,
size=size.small, force_overlay = true)
fill(p2, p8, color.new(#B4D9FF, 90))
fill(p1, p2, color.new(#80B3FF, 85))
// Alerts
alertcondition(bloodDiamond, "Blood Diamond", "WARNING, Blood Diamond")
alertcondition(blueTriangle, "Blue Triangle", "WARNING, Blue Triangle")
alertcondition(greenDot, "Green Dot", "WARNING, Green Dot")
alertcondition(redDiamond, "Red Diamond", "WARNING, Red Diamond")
alertcondition(redX, "Red X", "WARNING, Red X")
alertcondition(yellowX, "Yellow X", "WARNING, Yellow X")