SHIBRAVIS

Dynamic SUPRES

Dynamic SUPRES can be interpreted in different ways. Each square marks an area of congestion that could serve as support and resistance .
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Dynamic SUPRES",shorttitle="DySR", overlay=true)

multiplier = input(title="M", type=float, defval=1.21, minval=0.5, maxval=1.9)
anomalia = security(tickerid,period, abs(open-close) > multiplier*sma(tr,5)) ? 1 : 0
barcolor(anomalia==1?silver:na,0) 
atr = sma(tr,5)
dot = (anomalia == 1 and close<open)?open+atr:(anomalia == 1 and close>open)?open-atr:na
plotshape(dot,style=shape.square, color=black, location=location.absolute, transp=0)



Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Help Center Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out