Analysis Techniques & Strategies
Name | Expression | Default | Description |
Price | Numeric | Close | Price used to calculate the average. |
Length | Numeric | 14 | Number of bars used to calculate the average. |
Price > Avg paints any bar whose price is greater than its average price. The Price input specifies the type of price (that is, High, Low, Close, or any numeric expression) used in the PaintBar. The Length input specifies the number of bars used to calculate the average of the Price input. Using the default values, Price > Avg paints any bar whose closing price (specified by the Price input) is greater than its 14-bar closing average.
This PaintBar study identifies price trends. For example, if the close is greater than its average close, it might indicate the beginning of an uptrend or the continuation of an existing uptrend.