Skip to content

Instantly share code, notes, and snippets.

@tiagosiebler
Created January 25, 2023 10:46
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/79649551a13c12765a411be2c5f33f88 to your computer and use it in GitHub Desktop.
Save tiagosiebler/79649551a13c12765a411be2c5f33f88 to your computer and use it in GitHub Desktop.
xrpusdt no filter bands
// © tsts123
//@version=5
indicator("Tiago / @AlgoTraderL : SR FVG Bands XRPUSDT")
l0h = hline(1.7287, title="line0 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l0l = hline(1.6058, title="line0 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l0h, l0l, color=color.rgb(255, 156, 114, 98))
if (barstate.islast)
label.new(bar_index, 1.7287, text="2h 8 % | #21", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l1h = hline(1.6538, title="line1 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l1l = hline(1.5359, title="line1 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l1h, l1l, color=color.rgb(255, 156, 114, 94.25))
if (barstate.islast)
label.new(bar_index, 1.6538, text="2h 23 % | #122", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l2h = hline(1.18, title="line2 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l2l = hline(1.048, title="line2 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l2h, l2l, color=color.rgb(255, 156, 114, 75))
if (barstate.islast)
label.new(bar_index, 1.18, text="4h 100 % | #389", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l3h = hline(1.18, title="line3 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l3l = hline(1.0654, title="line3 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l3h, l3l, color=color.rgb(255, 156, 114, 86.5))
if (barstate.islast)
label.new(bar_index, 1.18, text="2h 54 % | #346", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l4h = hline(1.1037, title="line4 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l4l = hline(0.973, title="line4 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l4h, l4l, color=color.rgb(255, 156, 114, 77))
if (barstate.islast)
label.new(bar_index, 1.1037, text="2h 92 % | #741", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l5h = hline(0.9421, title="line5 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l5l = hline(0.8346, title="line5 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l5h, l5l, color=color.rgb(255, 156, 114, 85.75))
if (barstate.islast)
label.new(bar_index, 0.9421, text="4h 57 % | #306", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l6h = hline(0.9421, title="line6 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l6l = hline(0.8346, title="line6 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l6h, l6l, color=color.rgb(255, 156, 114, 82.75))
if (barstate.islast)
label.new(bar_index, 0.9421, text="2h 69 % | #608", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l7h = hline(0.6216, title="line7 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l7l = hline(0.5663, title="line7 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l7h, l7l, color=color.rgb(255, 156, 114, 78.75))
if (barstate.islast)
label.new(bar_index, 0.6216, text="2h 85 % | #640", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l8h = hline(0.3383, title="line8 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l8l = hline(0.3041, title="line8 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l8h, l8l, color=color.rgb(114, 255, 130, 82.25))
if (barstate.islast)
label.new(bar_index, 0.3383, text="4h 71 % | #326", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l9h = hline(0.3383, title="line9 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l9l = hline(0.3102, title="line9 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l9h, l9l, color=color.rgb(114, 255, 130, 80.75))
if (barstate.islast)
label.new(bar_index, 0.3383, text="2h 77 % | #631", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l10h = hline(0.3078, title="line10 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l10l = hline(0.2949, title="line10 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l10h, l10l, color=color.rgb(114, 255, 130, 96.5))
if (barstate.islast)
label.new(bar_index, 0.3078, text="4h 14 % | #43", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l11h = hline(0.3078, title="line11 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l11l = hline(0.2994, title="line11 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l11h, l11l, color=color.rgb(114, 255, 130, 96.25))
if (barstate.islast)
label.new(bar_index, 0.3078, text="2h 15 % | #90", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l12h = hline(0.3018, title="line12 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l12l = hline(0.2851, title="line12 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l12h, l12l, color=color.rgb(114, 255, 130, 92.75))
if (barstate.islast)
label.new(bar_index, 0.3018, text="4h 29 % | #132", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l13h = hline(0.3018, title="line13 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l13l = hline(0.2867, title="line13 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l13h, l13l, color=color.rgb(114, 255, 130, 90.5))
if (barstate.islast)
label.new(bar_index, 0.3018, text="2h 38 % | #274", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l14h = hline(0.2888, title="line14 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l14l = hline(0.2631, title="line14 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l14h, l14l, color=color.rgb(114, 255, 130, 89.25))
if (barstate.islast)
label.new(bar_index, 0.2888, text="4h 43 % | #245", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l15h = hline(0.2888, title="line15 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l15l = hline(0.2631, title="line15 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l15h, l15l, color=color.rgb(114, 255, 130, 84.5))
if (barstate.islast)
label.new(bar_index, 0.2888, text="2h 62 % | #478", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l16h = hline(0.2552, title="line16 4h s.l high", color=color.gray, linestyle=hline.style_solid)
l16l = hline(0.2368, title="line16 4h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l16h, l16l, color=color.rgb(114, 255, 130, 78.5))
if (barstate.islast)
label.new(bar_index, 0.2552, text="4h 86 % | #382", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l17h = hline(0.2552, title="line17 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l17l = hline(0.2383, title="line17 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l17h, l17l, color=color.rgb(114, 255, 130, 88.5))
if (barstate.islast)
label.new(bar_index, 0.2552, text="2h 46 % | #332", size=size.normal, style=label.style_label_left, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l18h = hline(0.2457, title="line18 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l18l = hline(0.2213, title="line18 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l18h, l18l, color=color.rgb(114, 255, 130, 75))
if (barstate.islast)
label.new(bar_index, 0.2457, text="2h 100 % | #793", size=size.normal, style=label.style_label_right, color = color.rgb(0, 0, 0, 100), textcolor = color.white)
l19h = hline(0.2257, title="line19 2h s.l high", color=color.gray, linestyle=hline.style_solid)
l19l = hline(0.2175, title="line19 2h s.l low", color=color.gray, linestyle=hline.style_solid)
fill(l19h, l19l, color=color.rgb(114, 255, 130, 92.25))
if (barstate.islast)
label.new(bar_index, 0.2257, text="2h 31 % | #175", 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