Pending orders are triggered by Ask line by default no matter what. This is how the platform works. The best you can do is programming a condition block so that bid line touching or crossing the pending order's open price will trigger a market execution, but it will never be as accurate as a pending order execution.
M