Analysis Techniques & Strategies
Name | Expression | Default | Description |
ApproxNumRows | Numeric | 10 | Approximate number of rows of cells to generate per bar. |
BlockSize | Numeric | 1000 | Volume divisor used to determine the number of cells to add. |
MaxWeight | Numeric | 15 | Maximum number of cells to add for any one price range. |
UpColor | Numeric | Cyan | Cell color used to represent ActivityData with higher close. |
DnColor | Numeric | Red | Cell color used to represent ActivityData with lower close. |
The Up vs. Down Strength ActivityBar study uses cells to display the relative volume of each ActivityData bar and the direction of its close.
If the ActivityData bar's close is lower than the previous ActivityData bar's close, cells are added to the left of the bar, in the color specified by DnColor. If the ActivityData bar's close is higher than the precious ActivityData bar's close, cells are added to the right of the bar, in the color specified by UpColor.
The number of cells added, if any, is based on the trade volume of each ActivityData bar. One cell is added for each multiple of the input BlockSize in an ActivityData bar. An ActivityData bar with volume that is five times the specified BlockSize would add five cells. Any remainder is ignored.
No cells are added if the ActivityData bar volume is less than the BlockSize.
Cells placed by this study are placed at the closing price of the ActivityData.
The ApproxNumRows input determines the approximate number of cell rows placed between the high and low of the ActivityBar. The setting is approximate because the number of rows is dependent, in part, on the price range of that bar with respect to the range of other bars on the chart. This input controls the resolution of cells; if greater resolution is needed, , increase the ApproxNumRows input. Increasing the resolution also increases the system time required to update a chart.
By default, no alert criteria are included in this ActivityBar study.