How to code this logic? | Forex Factory