|
Description |
This function tests whether a candlestick has a small real body. The definition of what "small" is depends on the function's third argument. |
|
|
Formula |
SmallRealBody(instrument, targetBar, smallForm)=begin thisRange = Range(instrument, targetBar) thisBody = Abs(RealBodyLen(instrument, targetBar)) thisQuotient = Percentage(thisBody,thisRange) retval = FALSE if thisQuotient < smallForm then retval = TRUE end |
|
|
Parameters |
instrument An instrument.
targetBar The index of the bar you want to evaluate. 0 is the current bar, 1 is the first bar back, etc.
smallForm A value between 1 and 100 that defines, on a percentage basis, what constitutes a small real body. |
|
|
Return Value |
TRUE or FALSE |
|
|
Examples |
... if SmallRealBody($1, pnt1, SmallForm) then begin ... |
|
|
Comments |
NA |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.