|
Description |
This function determines the difference between the real body low and the low. This is the lower shadow. |
|
|
Formula |
LowerShadowLen(instrument, targetBar)=begin rBody = RealBody(instrument, targetBar) cLow = GetPrice(instrument, BATE_LOW, targetBar, 0) cOpen = GetPrice(instrument, BATE_OPEN, targetBar, 0) cClose = GetPrice(instrument, BATE_CLOSE, targetBar, 0) retval = cClose - cLow if rBody > 0 then retval = cOpen - cLow retval 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. |
|
|
Return Value |
The difference between the real body low and the low. |
|
|
Examples |
... if LowerShadowLen($1, targetBar) >= (2 * Abs(RealBodyLen($1, targetBar))) then begin ... |
|
|
Comments |
NA |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.