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

Second([Optional Datetime])

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

This function returns the number of seconds of the current bar, or from the passed in datetime.

This function can be used in chart and indicator objects.

Examples:

  Second; #returns the seconds of the current bar
  Second(Ago(DateTime,15)); #returns seconds of 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 Second() instead of Second.

Related functions:

DateTime , Time , 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