Midpoint - MG
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © MGULHANN
//@version=5
indicator('Midpoint - MG', overlay=true)
BPeriod = input(89, 'Başlangıç Period')
midpoint1 = ta.highest(high, BPeriod) + ta.lowest(low, BPeriod)
midpoint2 = midpoint1 / 2
plot(midpoint2, linewidth=2, color=color.blue)

