caanuragsaraogi

AS - Tightness

4% up - stocks up 4% and close is in top 75% of days range
4.5% up - stocks up 4.5% and close is not in top 75% of days range
4% down - stocks down 4%
TB D - Inside Bar with days range of less than 2.5%
IB D - Inside Bar Daily
Rev D - lowest in 5 days and close in top 60% of days range
TB W - Inside Bar with weekly range of less than 6%
IB W - Inside Bar Weekly
3WTC - 3 Week Tight Close

showlast - no. of bars you want to see 4% up move and 4% down move
showlastib - no. of bars you want to see IB in Daily and Weekly

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?