Hi.
Very new here, but I can't seem to find a way to build this back test.
I'm trying to do a back test where if a condition is hit like an RSI lets say, then I want to enter into a VirtualPut, but only on the next Friday or perhaps two Fridays out.
as an example
RSI test is hit on Monday, then the options to use would be 11 Days out, that is the Friday of the following week.
and if the RSI test hits on:
Tuesday then use 10 days out, that is the Friday on the following week as well
Wednesday would be 9 days
Thursday would be 8 days.
Friday would be 7 days.
Thank you