fixed bug for market indicator