public virtual bool CrossesAbove(Indicator indicator, DateTime dateTime) { return this.series.CrossesAbove((FreeQuant.Series.TimeSeries)indicator.indicator, dateTime); }
public void Add(Indicator indicator) { indicator.indicator.Draw(); }
public virtual Cross Crosses(Indicator indicator, DateTime dateTime) { return EnumConverter.Convert(this.series.Crosses((FreeQuant.Series.TimeSeries)indicator.indicator, dateTime)); }
public Cross Crosses(Indicator indicator, Bar bar) { return EnumConverter.Convert(this.series.Crosses(indicator.indicator, bar.bar)); }
public bool CrossesAbove(Indicator indicator, Bar bar) { return this.series.CrossesAbove(indicator.indicator, bar.bar); }
public void Draw(Indicator indicator, int padNumber, DrawStyle style) { if (indicator is UserIndicator) (indicator as UserIndicator).Init(); this.Draw((DoubleSeries) indicator.indicator, padNumber, style); }
public void Draw(Indicator indicator, DrawStyle style) { int padNumber = -1; switch ((int) indicator.indicator.Type) { case 0: case 2: padNumber = this.maxPadNumber + 1; break; case 1: padNumber = 0; break; } if (indicator is UserIndicator) (indicator as UserIndicator).Init(); this.Draw((DoubleSeries) indicator.indicator, padNumber, style); }
public virtual bool CrossesAbove(Indicator indicator, DateTime dateTime) { return this.series.CrossesAbove(indicator.indicator, dateTime); }