@leksand
This is not a bug... just a technical glitch in your logic.
It happens because it's technically impossible to have an "Ask" quote below the lowest price from candle ID 0 to candle ID 10. In Forex candles are in most cases constructed with "Bid" quotes, and because "Ask" is always above Bid, it's impossible that any Ask quote in candle 0 goes below the lowest Bid price. If candle 0 makes a new low of the last 11 candles (from 0 to 10 we have 11 candles), the lowest price will be a "Bid" quote... so even if you choose Bid, it will never be below the lowest price.... So, the lowest Bid will be equal to (but not lower than, "<") the lowest price..
On the other hand, the ">" signal works because the Ask quote can be above the highest price, because the highest price comes from a "Bid" quote and, again, Ask is always above Bid..
I suggest you to choose candle IDs from 1 to 10, not from 0 to 10... then it should work