Closed iofirag closed 5 years ago
@iofirag It works the way you expect. Did you check this https://github.com/anandanand84/technicalindicators/blob/master/src/candlestick/CandlestickFinder.ts ? If you still face this issue, can you send a sample data?
yes, i see, https://github.com/anandanand84/technicalindicators/blob/master/src/candlestick/CandlestickFinder.ts#L66 so just for understand, if i set open:[5/12/19(data), 4/12/19(data), 3/12/19(data), and vice versa..] so i dont need to set reversedInput = true ?
(i a little bit confuse about reversedInput field)
oldest data is always last. If you give oldest data first you need to say reversedInput as true
got it!. thanks 👍
First, Love the library! Thanks for all the hard work! my issue is:
Current
current situation is that we need to create input for pattern that need 2 days, and create another for the one with the 3 days, and kind of.
how can i check all the patterns in the same input?
Expected
think to create it more generic way. in that way i will build input as long as max pattern need, when we build it with first value is the latest value (today) and the other one is yesterday, and the third is 2 days back, .... and send it for checking.
for example if i will check the input for 5 last days, every pattern
for example if i gave input
pattern that need 2 days will take the first #1 and second #2 parameters from the array. pattern that need 3 days will take the first #1 and second #2 and third #3 parameters from the array.
in that way- we can create one input object for all the patterns.