Open hardvain opened 3 years ago
I think it should be a method first.
There are lot of different patterns, so we can't encode them in IndicatorResult
. So we can't create raw indicator.
If we create a method, then we just need to create enum
with all the patterns and set it to Method
s Output
type (https://docs.rs/yata/0.4.0/yata/core/trait.Method.html#associatedtype.Output).
After method creation an indicator might implemented, that will produce a signal based on patterns. But for now it is not obvious for me how we can interpret patterns to produce a signal.
Create method/indicator for recognizing various common candlestick patterns