Scanning for high Volatile stocks using streak

How to code for scanning high Volatile Stocks of the last 7 days (or) 3 days in streak? Let’s say the Volatility be +2% to -2%… How to scan these high Volatile stocks of the last 1 week or past 3 days?

Help needed

@Streak @krishnendu

You can try using ATR to do this. But a good way to do this is by using Standard Deviation(SD). The scanner will support SD shortly.

Using ATR, what you can do is create a condition for rising ATR,
for example,
Period min(5,ATR(0)-ATR(-1)) higher than 0

The period of period min here is 5, so it will check the ATR(0)-ATR(-1) for the past 5 candles, this you can adjust as per your requirement after seeing the result in charts. Also, ATR is dependent on the asset price, it is logical to not set an ATR level like 30, as it would differ.

Refer

1 Like