Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
Functions by Category Functions by Alphabetical list

BarsSince([Column])

Usable in an seer event objectUsable in an seer indicator objectUsable in an seer chart object

This function returns a column, where the number of bars since the [Column] was last true. This function is often used with the Cross function.

Examples:

  #Returns the number of bars since the 5 bar EMA crosses the 12 bar EMA.
  BarsSince(Cross(EMA(Close,5),EMA(Close,12))); 

Related functions:

ValidatePeriods , ValidateColumns , SetColumnName , Value , SetValue , BarsBack , NumberOfBars , NewColumn , SetColumnType

© 2011 seer trading systems ltd
feedback FAQ legal privacy