this works:
Bollinger(2, 300).Lower[0] < s.Close[0]
this doesn't
Bollinger(2, 300).Lower[0] > s.Close[0]
In the log I get: Error on calling 'OnBarUpdate' method for strategy 'atw38vbbbbase1': Index was out of range. Must be non-negative and less than the size of the collection.'
What am I doing wrong? If I leave it greater than ">"than everything works ok. hcange it to "<" and get the error, nothing else is changed. I did it 4 times just to make sure I wasn't crazy. I only changed the one character and recompile.
Cliff

Comment