Hey,

For whatever reason I can't get the rollingwindow history to work for me.

Can someone hook me up with a quick sample code for something like:

 

If High(of last bar) > high (of 100+ bars ago), then buy?

 

Thanks!