twelvester
New member
Hi,
Need some help with recursion.
If i would like to find a series of 3 Bullish bars:
i could manually compare close > open and close[1] > open[1] and close[2] > open[2].
What if i changed the number to 5 or more? How can i handle this in a function or loop?
Need some help with recursion.
If i would like to find a series of 3 Bullish bars:
i could manually compare close > open and close[1] > open[1] and close[2] > open[2].
What if i changed the number to 5 or more? How can i handle this in a function or loop?
Last edited by a moderator: