TD Gap Parameters
This study marks gap and lap bars. The display is simply small labels drawn
above or below some bars. (No values are presented in Aspen cursor window by
this study.) (NB:
An up gap bar has a low price strictly greater than the prior bar's high; a
down gap bar has a high price strictly less than the prior bar's low. An up lap
bar has a low price strictly greater than the prior bar's close, but not
greater than the prior high (so that it is not a gap bar). Similarly, a down lap bar
has a high price strictly less than the prior bar's close, but not less than
the prior low. Thus every bar is in at most one of these four categories.
Up gaps are marked with a
A gap or lap label is upper case (
Gap bars (in the Aspen sense) are ignored by this study: a bar is always
compared to the prior non-gap bar to determine if it is a gap/lap bar, and Aspen gap
bars are ignored in counting forward to determine upper or lower case labeling.
The study command for TDGap is .TDGAP.