Candlestick Pattern Recognition ?
#2
Hey,

Gekko documentation on TAlib indicators is not very good (and the candle indicators are not even part of the docs).

Here is an example of using the indicator cdl3inside: https://gist.github.com/askmike/655f63de...269473dfd8

Sample ouput:

Code:
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 100 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }
             { outInteger: 0 }

The outInteger inside the result variable on will be either 1 of three values:

- 0 meaning no pattern found.
- 100 meaning pattern found upwards (bullish indicator)
- -100 (negative 100) meaning pattern found downwards (bearish indicator)

If anyone feels like improving docs for this I would love a PR! Else I'll do it eventually.
  Reply


Messages In This Thread
Candlestick Pattern Recognition ? - by TCMabe - 07-12-2018, 12:15 AM
RE: Candlestick Pattern Recognition ? - by askmike - 07-12-2018, 05:30 AM
RE: Candlestick Pattern Recognition ? - by TCMabe - 07-12-2018, 05:51 AM
RE: Candlestick Pattern Recognition ? - by TCMabe - 07-19-2018, 05:37 AM

Forum Jump:


Users browsing this thread: