Functions by Category Functions by Alphabetical list
DrawRectangle ([Top left x],[Top left y],[Bottom right x],[Bottom right y],[color],[style]) |  | 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: - Dots: Horizontal line as dots.
- 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
|