I want to execute a trade based on a set of current conditions, only if certain other conditions have occurred in the past x bars.
Is there a more efficient way of doing this than continually accessing/updating lists of data?
Size:
Color:
Size:
Color:
Thanks Eugene, I was actually just overlooking a more complex lookback. Everything is starting to come back to me now that I'm trying to use only code, it's been a few years since c++, but this environment is gorgeous to work in.
Size:
Color: