Volatility Proscreener
After the conversations on this board at the weekend regarding volatility, I decided to try and write a little bit of code to find volatile instruments with proscreener. Proscreener is a search facility available free within IG charts and prorealtime. If anyone wants to install it, but doesn't know how, send me a pm.
It's based on Average True Range, over an 8 hour period. And can be applied to any instrument. I've written a 20 day version too, if anyone's interested - probably more useful for swing traders though.
timeframe (1 hour)
atr = 0
atr = AverageTrueRange[8]
price = close[8]
VOL = 100*(atr/price)
sp = close
c1 = (sp >= 250)
c2 = (sp <= 500)
SCREENER[VOL and c1 and c2] sort by VOL as "VOL %"
This will return the most volatile instruments in the last 8 hours of trading, based on ATR.
The lines c1/c2 filter results, to only return instruments between those values, easily changed though... and definately would have to be changed for indices and currencies. Just up the values!
Using this with IG charts isn't perfect I have to admit, as there's lots of spiky data, which screws up the results a little. Also, there's no ways to filter out just the FTSE 350 shares, from allshares... ****! Anyway, still very useful for the prorealtime free EOD data.
Any comments/crits on the code welcome.
Ollie