The number of bars before the order should be canceled if it is not filled.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public int BarsValid { get; set; }
Visual Basic
Public Property BarsValid As Integer
	Get
	Set
Visual C++
public:
property int BarsValid {
	int get ();
	void set (int value);
}
F#
member BarsValid : int with get, set

Property Value

Type: Int32

Remarks

By default, an order to open a position will be canceled after 1 bar if it is not filled. This setting allows you to specify the number of bars before it will be canceled. If this value is set to -1, the order will not be automatically canceled at all.

See Also