Syntax
Public Function SetDrawingStyle(chart_id As Long, seriesName As String, draw_style As ENUM_DRAWING_TYPE) As Boolean
Description
This function is used to set drawing style for specific indicator line on a given chart
Parameters
Key | Description |
chart_id | Chart identifier, 0 is the current chart ,value of type Long. |
seriesName | Series Name to set the style for it,value of type String. |
draw_style | Style type ,value of type ENUM_DRAWING_TYPE |
Return value
If the function succeeds, the returned value will be True, otherwise it will be false .To get the detailed error information, callGetLastError().
Sample
Sub main()Dim higharry()CopyHigh 0,1, bars(0),higharryindKey=AddCustomIndicator(0,higharry,1)SetDrawingStyle 0,cstr(indKey),DRAW_ARROWSEnd Sub
See Also