// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
//@version=6
indicator("Tik 2 USD", overlay = true)
start_ratio = input(1.3, "Start point")
end_ratio = input(1.4, "End point")
show_enty = input(true, "Show entry and exit")
step = 0.1
entry = 0.00060
for i = start_ratio to end_ratio by step
line.new(x1=bar_index - 1000, y1=i, x2=bar_index + 5, y2=i, extend=extend.right, color=color.red, width=1)
if show_enty
line.new(x1=bar_index - 1000, y1=i + entry, x2=bar_index + 5, y2=i + entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i - entry, x2=bar_index + 5, y2=i - entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
if i + step / 4 < end_ratio
line.new(x1=bar_index - 1000, y1=i + step / 4, x2=bar_index + 5, y2=i + step / 4, extend=extend.right, color=color.aqua, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5, x2=bar_index + 5, y2=i + step / 4 / 5, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 2, x2=bar_index + 5, y2=i + step / 4 / 5 * 2, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 3, x2=bar_index + 5, y2=i + step / 4 / 5 * 3, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 4, x2=bar_index + 5, y2=i + step / 4 / 5 * 4, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
if show_enty
line.new(x1=bar_index - 1000, y1=i + step / 4 + entry, x2=bar_index + 5, y2=i + step / 4 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 - entry, x2=bar_index + 5, y2=i + step / 4 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 2 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 2 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 2 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 2 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 3 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 3 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 3 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 3 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 4 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 4 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 4 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 4 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
if i + step / 2 < end_ratio
line.new(x1=bar_index - 1000, y1=i + step / 2, x2=bar_index + 5, y2=i + step / 2, extend=extend.right, color=color.yellow, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 6, x2=bar_index + 5, y2=i + step / 4 / 5 * 6, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 7, x2=bar_index + 5, y2=i + step / 4 / 5 * 7, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 8, x2=bar_index + 5, y2=i + step / 4 / 5 * 8, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 9, x2=bar_index + 5, y2=i + step / 4 / 5 * 9, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
if show_enty
line.new(x1=bar_index - 1000, y1=i + step / 2 + entry, x2=bar_index + 5, y2=i + step / 2 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 2 - entry, x2=bar_index + 5, y2=i + step / 2 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 6 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 6 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 6 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 6 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 7 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 7 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 7 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 7 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 8 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 8 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 8 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 8 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 9 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 9 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 9 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 9 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
if i + step / 4 * 3 < end_ratio
line.new(x1=bar_index - 1000, y1=i + step / 4 * 3, x2=bar_index + 5, y2=i + step / 4 * 3, extend=extend.right, color=color.aqua, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 11, x2=bar_index + 5, y2=i + step / 4 / 5 * 11, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 12, x2=bar_index + 5, y2=i + step / 4 / 5 * 12, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 13, x2=bar_index + 5, y2=i + step / 4 / 5 * 13, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 14, x2=bar_index + 5, y2=i + step / 4 / 5 * 14, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 16, x2=bar_index + 5, y2=i + step / 4 / 5 * 16, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 17, x2=bar_index + 5, y2=i + step / 4 / 5 * 17, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 18, x2=bar_index + 5, y2=i + step / 4 / 5 * 18, extend=extend.right, color=color.green, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 19, x2=bar_index + 5, y2=i + step / 4 / 5 * 19, extend=extend.right, color=color.aqua, style = line.style_dashed , width=1)
if show_enty
line.new(x1=bar_index - 1000, y1=i + step / 4 * 3 + entry, x2=bar_index + 5, y2=i + step / 4 * 3 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 * 3 - entry, x2=bar_index + 5, y2=i + step / 4 * 3 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dotted, width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 11 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 11 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 11 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 11 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 12 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 12 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 12 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 12 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 13 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 13 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 13 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 13 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 14 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 14 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 14 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 14 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 15 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 15 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 15 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 15 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 16 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 16 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 16 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 16 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 17 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 17 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 17 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 17 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 18 + entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 18 + entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
line.new(x1=bar_index - 1000, y1=i + step / 4 / 5 * 18 - entry, x2=bar_index + 5, y2=i + step / 4 / 5 * 18 - entry, extend=extend.right, color=color.fuchsia, style = line.style_dashed , width=1)
Show all 85 lines