What we need on top of the long tail is:
- Buy pb:
- candle previous to the pb should have fallen and closed at or very close to, its low. Said low should be the lowest of the lows of the previous MinCandlesInSequence (defaults to 5).
- pb should open at or below the close price of the previous candle.
- the pb needs to have a rising body, ensuring the wick is underneath.
- Sell pb:
- candle previous to the pb should have risen and closed at or very close to, its high. Said high should be the highest of the highs of the previous MinCandlesInSequence (defaults to 5).
- pb should open at or above the close price of the previous candle.
- the pb needs to have a falling body, ensuring the wick is overhead.