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

Date ([Optional Datetime])

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

This function returns the date component of the current bar, or from the passed in datetime. The returned number is in YYYYMMDD format.

Examples:

  Date; #returns the YYYYMMDD for the current bar
  Date(Ago(DataTime,15)); #returns YYYYMMDD for the bar 15 bars ago

Note:

Because this function has an optional parameter, it is sometimes necessary to specify the parenthesis on the function when passing no parameters, for example use Date() instead of Date.

Related functions:

DateTime , Time , Second , Minute , Hour , Month , Year , DayOfWeek , DayOfMonth , DayOfYear , WeekOfYear , NewHour , NewDay , NewWeek , NewMonth , NewYear , Monday , Tuesday , Wednesday , Thursday , Friday , FormatDateTime , ValidateDateTime , AddDeltaDHMS , AddDeltaYM , DeltaDateTime

© 2011 seer trading systems ltd
feedback FAQ legal privacy