However, there is a small problem. According to the candlestick theory, Hammer and Shooting Star mark a reversal: in other words, the Hammer should occur just after a downtrend and reverse it, the Shooting Star just after an uptrend, and reverse it either.
On the contrary, the results of the above mentioned NT functions - instead of always starting countertrends - sometimes happen to follow the current trend direction, what would eventually identify other candlestick patterns with different names (like the Hanging Man) but not the desired ones.
Therefore my question: do these NT functions consider the previous direction, as the red "3" in the brackets seems to suggest ? I feel to say they don't.
If so, I'd be glad if someone can point out how to modify the code in order to search for reversals only.
Thanks.
Mauro
Comment