buy sell pressure
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
//trader nawab
//@version=5
indicator("buy sell pressure","buy sell pressure")
number1=(close-low[1])
number2=(high[1]-close)


len1=input.int(defval=15,title="length1",minval=1,maxval=200,step=1)
len2=input.int(defval=15,title="length2",minval=1,maxval=200,step=1)
len3=input.int(defval=50,title="length3",minval=1,maxval=200,step=1)

ema1=ta.ema(number1,len1)
ema2=ta.ema(number2,len2)

p1=plot(ema1,color=color.green)
p2=plot(ema2,color=#FF5733)
p3=plot(0,linewidth=1,color=color.blue)


