The analog query uses the XMIM query language to find historical price movements for a series that closely matches current price movements. The matching historical price movements that are found can be used to predict what movements may lay ahead should history repeat itself. In other words, it helps answer the question "What's happened in the past to this stock when the chart looks the way it does now?"

LIM offers a few different flavors of analog queries that are useful in predicting future price movements based on historical price movements. The two primary queries are the Best Match Analog and the Threshold Analog.
The following explains the methods behind each of these queries and how to use them to enhance your analysis.