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