Typical price of the required Historical element.
SYNTAX
public double Typical (int offset)
PARAMETERS
offset — int
Defines index of the required element
RETURN
double Returns a double value representing the typical price of the required Historical element.
EXAMPLE
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Drawing; using PTLRuntime.NETScript; namespace TypicalExamples { public class TypicalExamples : 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.Typical(1)); } } } }