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

DrawRectangle ([Top left x],[Top left y],[Bottom right x],[Bottom right y],[color],[style])

Usable in an seer chart object

This function draws a rectangle based upon the passed in parameters. 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:

  DrawRectangle(5,5,50,50,Blue); #draw a blue line rectangle from 5,5 to 50,50
  DrawRectangle(5,5,70,70,Red,Dots);#draw a red dot rectangle from 5,5 to 70,70

Related functions:

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

© 2008 seer trading systems ltd
feedback FAQ legal privacy