Closed marcus-n3rd closed 6 years ago
Wow, Thats awesome, I'll merge it. Is the image that is shown are from the tests ran?
Yes, those are the images generated during the tests. There are more images from other scenarios, but I only wanted to use one-per in the PR.
@marcus-n3rd I have merged the PR. One thing that was missing is adding the patterns into the more generic bullish and bearish file, which calculates all bullish and bearish candlestick patterns, which you can see here.
https://github.com/anandanand84/technicalindicators/blob/master/src/candlestick/Bullish.ts#L13
I'll add those in the next release. Thanks again for contributing.
Related Issues
Feature Request : Candle Stick Pattern Hammer Identification: #75
Changes Made
Indicator Logic
Single-Day Candlestick Hammers
open
andclose
valueshigh
value is approximately equal to theopen
orclose
value, depending on if bearish or bullish, respectiveSingle-Day Candlestick Inverted Hammers
open
andclose
valueslow
value is approximately equal to theclose
oropen
value, depending on if bearish or bullish, respectivelyFive-Day Candlestick Hammers
AverageGain
andAverageLoss
are used to extract the respective values from the subsetFive-Day Candlestick Hammers (Unconfirmed)
AverageGain
andAverageLoss
are used to extract the respective values from the subsetFive-Day Candlestick Hanging Man
AverageGain
andAverageLoss
are used to extract the respective values from the subsetFive-Day Candlestick Hanging Man (Unconfirmed)
AverageGain
andAverageLoss
are used to extract the respective values from the subsetFive-Day Candlestick Shooting Star
AverageGain
andAverageLoss
are used to extract the respective values from the subsetFive-Day Candlestick Shooting Star (Unconfirmed)
AverageGain
andAverageLoss
are used to extract the respective values from the subset