I would like to set a condition that the indicator has been below 0.5 at some point in the last 10 days (for example) and that today at the close it values 0.7 or greather (for example).
I have programmed this:
Buy = indicator> 0.7 AND (LLV(indicator,10) < 0.5);
Would it be like this?
Best regards,