Investors who believe in technical analysis will find out how to verify the efficiency of their technical arguments by ergodic theory of stationary stochastic processes, which form a mathematical background for technical analysis. The authors also discuss technical details of the IT system design for high-frequency trading.