HHV and LLV
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// Matriksde bulunan HHV ve LLV fonksiyonunu çizer.
// ©muratd

//@version=4
// 
study("HHV and LLV", overlay=true)
highBAR = input(10, title="HHV BAR")
lowBAR = input(10, title="LLV BAR")
srcHHV= input(high, title="HHV Source")
srcLLV= input(low, title="LLV Source")

HHV = highest(srcHHV, highBAR)
LLV = lowest(srcLLV, highBAR)

plot(HHV[1], color=#009BFF, linewidth=2, title="HHV", transp=0)
plot(LLV[1], color=#E000FF, linewidth=2, title="HHV", transp=0)



