Suggestion: position direction

It would be nice to be able to set the position direction to auto
example: lets say we trade FX some times strategys open bad positions long when the price is high and short when the price is low
So my idea is to be able to set it to open only short when the price is lets say over 80% of daily movement and only long when the price is under 20% and between those to open both
also daily can be hourly or (6-12-18 hours prices) maybe weekly even monthly
and the price percentage to be optional