The model of the stock market and the types of resonance effects on its indicators