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:
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.
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.