How to know when to enter a position?