C_InvertedHammer (Function)
The C_InvertedHammer function identifies occurrences of the Inverted Hammer Japanese candlestick pattern.
Syntax
C_InvertedHammer(Price, TrendAvgLength, BodyAvgLength, ShadowPercent, ShadowFactor)
Returns (Boolean)
Returns True when an Inverted Hammer candlestick pattern is found, otherwise, returns False if no pattern is identified.
Parameters
| Name | Type | Description |
| Price | Numeric | Price for the moving average calculation. |
| TrendAvgLength | Numeric | Length used to calculate the moving average of the trend. |
| BodyAvgLength | Numeric | Length used to calculate the average body. |
| ShadowPercent | Numeric | Body size is multiplied by this percent as part of the pattern criteria. |
| ShadowFactor | Numeric | Body size is multiplied by this factor as part of the pattern criteria. |