|
Description |
A Doji is a candlestick with identical (or nearly identical) open and close prices. |
|
|
Formula |
Doji(INPUT, RealBodyPercentage=10)=begin retval = NONUM targetBar = 0 if
DojiForm($1,targetBar,RealBodyPercentage)==TRUE
then begin end retval end |
|
|
Parameters |
INPUT The INPUT directive makes this formula available as a Formula Overlay. INPUT refers to the instrument in the chart.
RealBodyPercentage The RealBodyPercentage parameter represents a percentage. This parameter serves as the basis for determining whether a candlestick is Doji or near Doji. The smaller the value assigned to RealBodyPercentage the more stringent the test. The default is 15, or fifteen percent. |
|
|
Return Value |
The string plot for a Doji is the abbreviation "D" rendered in gray and plotted above the candlestick. |
|
|
Examples |
|
|
|
Comments |
This overlay uses a ratio between the high low range and the real body length to determine whether a candlestick is a Doji. See DojiStar for another method of making this determination. |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.