EasyLanguage Object Reference
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