Wait for the next candle: buy above the doji's high or sell below its low.
Why here?
This candle does not say who will win; it says the market has paused. So we don't trade the candle itself but the one that leaves its range: the exit sets the direction.
Beyond the doji's opposite end.
Why here?
The candle's opposite end is the edge of the balance. Price returning there means the exit was false.
The nearest support or resistance, or twice the stop distance.
Why here?
After a contraction price often travels roughly the range of the move before it, or to the nearest important level.