I've got a code that checks if a condition is verified 10 bars ago AND 15 bars ago.
The problem is: have I to re-write the code 2 times (the first one for 10 bars ago and the second one for 15 bars ago) or there a better and efficient way to write this?
My CPU and me thank a lot!
Mirko
Comment