Show / Hide Table of Contents

Class LookbackGroup.Lookback

Simple lookback class

Inheritance
object
LookbackGroup.Lookback
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public abstract class LookbackGroup.Lookback

Constructors

| Edit this page View Source

Lookback(double)

Create and initialize new loockback object.

Declaration
protected Lookback(double init)
Parameters
Type Name Description
double init

Fields

| Edit this page View Source

values

List of historical values.

Declaration
protected List<double> values
Field Value
Type Description
List<double>

Properties

| Edit this page View Source

this[int]

Retrieve value from lookback.

Declaration
public double this[int offset] { get; }
Parameters
Type Name Description
int offset

lookback offset, 0 is current, 1 is previous

Property Value
Type Description
double

value at time offset

| Edit this page View Source

Value

Get or set the current value of lookback.

Declaration
public double Value { get; set; }
Property Value
Type Description
double

Operators

| Edit this page View Source

implicit operator double(Lookback)

Get the current value of lookback.

Declaration
public static implicit operator double(LookbackGroup.Lookback s)
Parameters
Type Name Description
LookbackGroup.Lookback s
Returns
Type Description
double
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com