This is the first cut of this script to measure volatility potential with various steps Links here http://quantlabs.net/blog/2016/08/demo-report-of-my-atr-forex-python-script-for-analysis/