Trendarrays
Trendarrays are a data structure used in certain algorithmic trading strategies. They are designed to capture and represent directional price movements over a defined period. A trendarray typically stores a sequence of boolean values or simple numerical indicators that signify whether the price has increased or decreased relative to a previous point. For instance, a trendarray might represent the last N periods, with a 'true' value indicating an upward trend in that period and 'false' indicating a downward trend.
The primary purpose of trendarrays is to simplify the analysis of market trends. Instead of complex calculations,
Different variations of trendarrays exist, each with its own method of determining the trend for a given