Strategy: Intraday buy when RSI > 70 and sell when RSI < 30 in its simplified form.
Requirement: The above trade should only get enabled when RSI comes between 30 and 70 on any new trading day. Basically, if my market starts at 0900 and RSI is already over 70 or under 30, no trade should be taken. Signals should get activated only when after 0900 RSI comes between 30 and 70 range.
How do I code the above condition for enabling requirement in AFL?