Hello,
can you describe what to following line do:
if(Lowest.Series( SMA.Series( Close,1 ), 2 )[bar] > 0 )
Lowest.Series(SMA.Series(Close,1),2)
determines the Lowest SMA of the last 2 Days I think,
but what is [bar] > 0 for?
Thank you.
Size:
Color:
Hi Andreas,
As with any DataSeries, the square bracket [] that you see here is the so called indexer used to access a value at a specified bar. Although the line is out of context, and whatever is the purpose, but it checks if the resulting value is greater than 0.
P.S. Please consider using meaningful topic titles, thank you.
Size:
Color: