The Trading Index, also known as TRIN, is a widely used market indicator in the realm of finance. It is calculated by dividing the number of advancing issues by the number of declining issues, and then dividing the total up volume by the total down volume. This provides a ratio that reflects the overall demand in the market. A TRIN value of less than 1.0 is indicative of bullish demand, while a value above 1.0 signals a bearish market. To further refine this index, it is often smoothed with a simple moving average.