In this paper generalized barrier options of American type in discrete time are studied. Instead of a barrier, a domain of knock out type is considered. To find the optimal time of exercising the contract, or stopping a Markov price process, an optimal stopping domain can be constructed. To determine the optimal stopping domain Monte Carlo simulation is used. Probabilities of classification errors when determining the structure of the optimal stopping domain are analyzed.