Statistics and exclusion code added to indicator generator. V1.0