♥ 0 |
Hi Pete, How do scan for a Heikin-Ashi Bullish candle with no lower wick? (Conversely, a Heikin-Ashi bearish candle with no upper wick)?
Marked as spam
|
Private answer
I will begin by stealing some code from a previous post on this topic: https://www.hahn-tech.com/ans/two-consecutive-green-heikin-ashi-candles/
These four lines of code give us the complete Heiken-Ashi candle, O, H, L, C. So what you want for a bullish candle is the close greater than the open and the open is equal to the low:
Likewise for the bearish candle:
Put those all together, and adjust the plot to boolean arrows and we have what appears in the screenshot below. Marked as spam
|
Please log in to post questions.
Awesome! Thanks that was exactly what I was looking for!
Hi Pete,
Would you be able to expand on this and show how to scan for the first bullish candle (no lower wick) after a set of 2 or more red candles as well as separate scan that looks finds the first bearish candle (no upper wick) after a set of 2 or more green candles? I don’t want anything returned that is later in trend. The scan would be meant to only catch the beginnings of trend shifts. Thanks!
I think this would be handled best by posting it as a new question.