PeakTrough Indicator
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © agungkuswanto

//@version=5
indicator("PETRUK", "", true)

import agungkuswanto/PEAKTROUGHLIB268/1 as showNow

plot (showNow.showThePeak(), color=color.lime)
plot (showNow.showTheTrough(), color=color.orange)
