Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
Functions by Category Functions by Alphabetical list

DrawLine ([From x],[From y],[To x],[To y],[Color],[Style])

Usable in an seer chart object

This function draws a line on a chart. This function draws a line based upon the passed in parameters. This function is similar to PlotLine, however this function uses a absolute coordinate system based in pixels. The coordinate 0,0 is the top left corner of the chart.

Color can be any color constant, or result from the color function.

Style can be one of the following:

  1. Dots: Horizontal line as dots.
  2. Dashes: Horizontal line as dashes.

A solid line is drawn as a default.

Example:

  #Draw a line from 0,0 (top left) to 50, 50 in blue as dots
  DrawLine(0,0,50,50,Blue,Dots);

Related functions:

PlotPrice , PlotColumn , PlotFixedLine , PlotSetScale , PlotLine , PlotText , PlotFixedLine , PlotCandlestick , PlotTellTale , PlotPAC , PlotBand , PlotGrid , DrawText , DrawRectangle , DrawFilledRectangle , SetChartOption , Color , Dashes , Dots , Vline , SetBarBackground , SetBarColor , ChartInputSlider , ChartInputCombobox

© 2008 seer trading systems ltd
feedback FAQ legal privacy