Functions by Category Functions by Alphabetical list
DrawLine ([From x],[From y],[To x],[To y],[Color],[Style]) |  |
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: - Dots: Horizontal line as dots.
- 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
|