Close Time (UTC) of the last historical element.
SYNTAX
public DateTime TimeClose ()
RETURN
DateTime Returns a value representing the close time of the referenced element.
EXAMPLE
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Drawing; using PTLRuntime.NETScript; namespace TimeCloseExamples { public class TimeCloseExamples : NETStrategy { public override void OnQuote() { Instrument inst = Instruments.GetInstrument("/ES[U4]"); BarData Bars = GetHistoricalData(new HistoricalDataRequest(inst,Period.Min)) as BarData; if(Bars!=null) { Print(Bars.TimeClose()); } } } }