Is there any way to select every bar from X bars ago to now, so say I want to compare something like so:
Compare[0] > BarsAgo[x] // Including every bar in between
Or do I have to do it manually, so:
if(compare[0] > compare[1] && compare[0] > compare[2] && compare[0] > compare[3] etc etc?)
Because that seems really labour intensive? Surely there's a way to select Bar[10] + every bar in between?
Cheers
Comment