public void Add(PnF pnF) { this.fArray[pnF.DateTime] = pnF; this.EmitItemAdded(pnF.DateTime); }
public PnF(PnF pnF) : this(pnF.BoxSize, pnF.beginTime, pnF.endTime, pnF.open, pnF.high, pnF.low, pnF.close, pnF.volume, pnF.openInt) { }
public double LowY(PnF pnF, int yearsAgo) { return this.LowY(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day).AddDays((double)-yearsAgo)); }
public double LowY(PnF pnF) { return this.LowY(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day)); }
public double LowW(PnF pnF, int weeksAgo) { return this.LowW(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day).AddDays((double)(-weeksAgo * 7))); }
public double LowM(PnF pnF, int monthsAgo) { return this.LowM(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day).AddMonths(-monthsAgo)); }
public double HighM(PnF pnF) { return this.HighM(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day)); }
public bool Contains(PnF pnF) { return base.Contains(pnF.DateTime); }
public double HighD(PnF pnF, int daysAgo) { return this.HighD(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day).AddDays((double)-daysAgo)); }
public double OpenW(PnF pnF) { return this.OpenW(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day)); }
public double CloseM(PnF pnF) { return this.CloseM(new DateTime(pnF.DateTime.Year, pnF.DateTime.Month, pnF.DateTime.Day)); }
public void Remove(PnF pnF) { this.fArray.Remove(pnF.DateTime); }