The TypicalPrice function in ProBuilder language calculates the average price of a security over a specified number of candlesticks. This average is derived from the high, low, and close prices of each candlestick. The Typical Price provides a simple representation of a period’s price action and is often used in financial analysis and trading systems.
TypicalPrice[N]
Where N represents the number of periods (candlesticks) over which the Typical Price is calculated. If N is not specified, the Typical Price is calculated for the current candlestick only.
myTypicalPrice = TypicalPrice[14]
This example calculates the Typical Price over the last 14 candlesticks. The result, myTypicalPrice, can be used in further calculations or conditions within a trading strategy.
Understanding the Typical Price can be beneficial for traders looking to gauge the overall price trends without the noise that might come from more granular price movements within each trading session.