SetDrawingStyle
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 02 September 2020 12:12 PM

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, call GetLastError().

Sample

Sub main()

Dim higharry()

CopyHigh 0,1, bars(0),higharry

indKey=AddCustomIndicator(0,higharry,1)

SetDrawingStyle 0,cstr(indKey),DRAW_ARROWS

End Sub

 


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions