Skip to content

Instantly share code, notes, and snippets.

@tiagosiebler
Created January 25, 2023 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagosiebler/13f516e7cd7c90f3b20212af786c1dc4 to your computer and use it in GitHub Desktop.
Save tiagosiebler/13f516e7cd7c90f3b20212af786c1dc4 to your computer and use it in GitHub Desktop.
MATIC - no filter - bands
// © tsts123
//@version=5
indicator("Tiago / @AlgoTraderL : SR FVG Bands MATICUSDT")
l0h = hline(2.7, title="line0 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l0l = hline(2.285, title="line0 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l0h, l0l, color=color.rgb(255, 156, 114, 79.75))
if (barstate.islast)
label.new(bar_index, 2.7, text="4h 81 % | #98", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l1h = hline(2.7, title="line1 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l1l = hline(2.285, title="line1 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l1h, l1l, color=color.rgb(255, 156, 114, 78))
if (barstate.islast)
label.new(bar_index, 2.7, text="2h 88 % | #198", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l2h = hline(2.185, title="line2 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l2l = hline(1.98764, title="line2 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l2h, l2l, color=color.rgb(255, 156, 114, 76.5))
if (barstate.islast)
label.new(bar_index, 2.185, text="4h 94 % | #130", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l3h = hline(2.185, title="line3 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l3l = hline(1.99507, title="line3 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l3h, l3l, color=color.rgb(255, 156, 114, 76))
if (barstate.islast)
label.new(bar_index, 2.185, text="2h 96 % | #259", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l4h = hline(0.985, title="line4 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l4l = hline(0.79005, title="line4 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l4h, l4l, color=color.rgb(114, 255, 253, 75))
if (barstate.islast)
label.new(bar_index, 0.985, text="4h 100 % | #963", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l5h = hline(0.985, title="line5 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l5l = hline(0.89178, title="line5 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l5h, l5l, color=color.rgb(114, 255, 253, 75))
if (barstate.islast)
label.new(bar_index, 0.985, text="2h 100 % | #768", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l6h = hline(0.62386, title="line6 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l6l = hline(0.56141, title="line6 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l6h, l6l, color=color.rgb(114, 255, 130, 78))
if (barstate.islast)
label.new(bar_index, 0.62386, text="4h 88 % | #126", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l7h = hline(0.62386, title="line7 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l7l = hline(0.56141, title="line7 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l7h, l7l, color=color.rgb(114, 255, 130, 77))
if (barstate.islast)
label.new(bar_index, 0.62386, text="2h 92 % | #255", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l8h = hline(0.22243, title="line8 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l8l = hline(0.19698, title="line8 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l8h, l8l, color=color.rgb(114, 255, 130, 84.25))
if (barstate.islast)
label.new(bar_index, 0.22243, text="4h 63 % | #37", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l9h = hline(0.22243, title="line9 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l9l = hline(0.19698, title="line9 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l9h, l9l, color=color.rgb(114, 255, 130, 81.25))
if (barstate.islast)
label.new(bar_index, 0.22243, text="2h 75 % | #70", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l10h = hline(0.04177, title="line10 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l10l = hline(0.03723, title="line10 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l10h, l10l, color=color.rgb(114, 255, 130, 84.25))
if (barstate.islast)
label.new(bar_index, 0.04177, text="2h 63 % | #41", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l11h = hline(0.03997, title="line11 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l11l = hline(0.02279, title="line11 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l11h, l11l, color=color.rgb(114, 255, 130, 87.5))
if (barstate.islast)
label.new(bar_index, 0.03997, text="4h 50 % | #18", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l12h = hline(0.03997, title="line12 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l12l = hline(0.02279, title="line12 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l12h, l12l, color=color.rgb(114, 255, 130, 87.5))
if (barstate.islast)
label.new(bar_index, 0.03997, text="2h 50 % | #36", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l13h = hline(0.0291, title="line13 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l13l = hline(0.02413, title="line13 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l13h, l13l, color=color.rgb(114, 255, 130, 84.25))
if (barstate.islast)
label.new(bar_index, 0.0291, text="2h 63 % | #41", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l14h = hline(0.022, title="line14 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l14l = hline(0.02, title="line14 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l14h, l14l, color=color.rgb(114, 255, 130, 86))
if (barstate.islast)
label.new(bar_index, 0.022, text="4h 56 % | #24", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l15h = hline(0.02183, title="line15 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l15l = hline(0.02, title="line15 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l15h, l15l, color=color.rgb(114, 255, 130, 83.25))
if (barstate.islast)
label.new(bar_index, 0.02183, text="2h 67 % | #50", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l16h = hline(0.01886, title="line16 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l16l = hline(0.01762, title="line16 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l16h, l16l, color=color.rgb(114, 255, 130, 82.75))
if (barstate.islast)
label.new(bar_index, 0.01886, text="4h 69 % | #71", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l17h = hline(0.01886, title="line17 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l17l = hline(0.01768, title="line17 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l17h, l17l, color=color.rgb(114, 255, 130, 80.25))
if (barstate.islast)
label.new(bar_index, 0.01886, text="2h 79 % | #100", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l18h = hline(0.01825, title="line18 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l18l = hline(0.01739, title="line18 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l18h, l18l, color=color.rgb(114, 255, 130, 82.25))
if (barstate.islast)
label.new(bar_index, 0.01825, text="2h 71 % | #51", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l19h = hline(0.01798, title="line19 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l19l = hline(0.01167, title="line19 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l19h, l19l, color=color.rgb(114, 255, 130, 81.25))
if (barstate.islast)
label.new(bar_index, 0.01798, text="4h 75 % | #87", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l20h = hline(0.01798, title="line20 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l20l = hline(0.01167, title="line20 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l20h, l20l, color=color.rgb(114, 255, 130, 79.25))
if (barstate.islast)
label.new(bar_index, 0.01798, text="2h 83 % | #171", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l21h = hline(0.01627, title="line21 2h r.l high", color=color.gray, linestyle=hline.style_solid)
l21l = hline(0.01565, title="line21 2h r.l low", color=color.gray, linestyle=hline.style_solid)
fill(l21h, l21l, color=color.rgb(114, 255, 130, 86.5))
if (barstate.islast)
label.new(bar_index, 0.01627, text="2h 54 % | #37", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment