Close strength line
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © akjuvekar1
//@version=5
indicator(title="Close strength", shorttitle="Close strength")
len=input(13,title="Interval")
val1=ta.sma(high-low,len) //strength
val2=close-val1
plot(ta.sma(val2,len*3),color=color.red,title="Close strength")
