Changes

Jump to navigation Jump to search

4.3 Plotting on the Chart

4 bytes removed, 14:09, 12 June 2019
no edit summary
All types of objects have the Color property. Script can manage the following individual object properties:
# Trendline has ExtRight and ExtLeft properties. If both properties are set as false they will provide a segment, if both are set as true they will provide a straight line and when one property is set as false and the other is set as true a beam be provided. Property size is used to get/set the line thickness. Alert property is used to enable/disable the signals of the trendline cross by the price data series. Property Style represents line style (solid, dashed, dotted, dashed2, dashed3). There is also an arbitrary trendline point price receiving method:<br><syntaxhighlight>double PriceValue(DateTime dateTime);<br></syntaxhighlight><br>
# BSColor property of the text object allows you to get/set a background color.<br>HStyle and VStyle properties are used for text position management, the horizontal and vertical text position, regarding the text drawing point (Location). Border property is used to enclose the text into a frame. FontName property sets the font. Font styles are applied through the SetFont() method. Style availability can be checked through the '''HaveFont()''' method. Text property returns/sets the text.<br>
# The direction of arrow objects can be received/set through Direction property. Size property determines the size of the arrow. Text property allows you to get/set the text to an arrow object. FontName, TextSize, TextColor, TextBGColor properties and '''HaveFont(), SetFont()''' methods are used to manage text attributes.

Navigation menu