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
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 Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out