EasyLanguage Object Reference

DTPoint Class

The DTPoint class is used to define a drawing object point based on a bar date/time stamp and a price value. Drawing objects positioned with a DTPoint will move along with the bars they are anchored to when the chart is scrolled.

For example, the following creates an instance of a trendline that will plot from the Close of the current bar's date/time to the Close of the bar whose date/time is 25 bars back from the current bar.

      myDTTrendLine = TrendLine.Create(DTPoint.Create(BarDateTime[0],Close),DTPoint.Create(BarDateTime[25],Close[25]),);

Namespace: elsystem.drawingobjects

[ Expand All ]
Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property DateTimeOfBar object Gets or sets the DateTime of the DTPoint.
Methods
  Name Description
Public property Create(datetime, double) Initializes a new instance of the class using DateTime and Price.
Inheritance Hierarchy

elsystem.Object

  elsystem.DOPoint

    elsystem.DrawingObjects.DTPoint