Chart Aggregation Type
A list of possible aggregation chart types
Entries
Heikin-Ashi charts are time series charts that resemble candle charts. In a normal candle chart, each candle is calculated independent of the other candles. However in Heikin-Ashi charts, the candles appear to link together as a consequence of how they are calculated. The candles are calculated as such:
- Open = the mean of the previous open and the previous close
- Close = the mean of the current open, close, high, and low
- High = the maximum of the current high, open and close
- High = the maximum of the current high, open and close
Kagi charts appear as vertical bars connected by small horizontal segments at right angles. These charts are independent of time and progress forward based on price action. Thick green bars, called ‘Yang’ bars, indicate that a price has broken-out above the previous high price. Thin red bars, called ‘Yin’ bars, indicate that the price has fallen below the previous low. Unlike the other chart types, the colors of kagi lines do not directly communicate upward or downward trends.
Line break charts appear as vertical bars that ascend and descend. These charts are independent of time and are determined only by price action. Ascending bars are colored green and indicate upward price action. Descending bars are colored red, and indicate downward price action.
Line break charts are constructed by looking at the close of a bar and comparing it to a previous bar’s close (which bar to compare is determined by the user, see below). If the current bar’s close is higher than the one it is being compared to, a green ascending bar is drawn. If the current bar’s close is lower than the one that it is being compared to, a red descending bar is drawn. If the current close is the same, or if the price does not move enough in one direction or the other to signify a reversal, then no bar is drawn.
Renko charts appear as a sequence of uniformly sized bars (referred to as ‘bricks’) that connect at their corners. These charts are independent of time and are determined only by price action. Ascending bricks are colored green, and descending bricks are colored red.
Range bars appear as a sequence of uniformly sized bars that connect at their corners and sometimes sit adjacent to one another. These charts are independent of time and are determined only by price action. Ascending bars are colored green, and descending bars are colored red.
Range bars are constructed by assigning a ‘range’ value for each bar to represent. A new bar is drawn when the price moves above or below the amount signified by the previous range bar. Ascending bars adjacent to descending bars indicates price oscillation between the high and low of the bars. Bars obey three rules of construction:
- Bars extend the length of the specified range.
- Bars open at the close of the previous bar.
- Bars must close at either the high or low value.
Point & figure (sometimes shortened to P&F or PnF) charts appear as alternating columns of X’s and O’s. These charts are independent of time and are determined only by price action. The X columns indicate upward price action, and are colored green. The O columns indicate downward price action, and are colored red.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.