Untitled

 avatar
unknown
plain_text
a month ago
296 B
3
Indexable
/@version=5
indicator("Evo-Period60 by Hassonya", "Evo-Period60", overlay = true)

S1 = input(0.98, title="S1")
S2 = input(1.02, title="S2")

ORT = 0.0
ORT := close * S1 > nz(ORT[1]) ? close * S1 : close*S2 < nz(ORT[1]) ? close * S2 : nz(ORT[1])
plot(ORT, linewidth = 2, color=color.aqua)
Leave a Comment