Knowledgebase:
ChartOpen
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 11 July 2017 02:57 PM

Syntax

Public Function ChartOpen(Symbol As String, Period As ENUM_TIMEFRAMES) As Integer

This function is used to open a new chart with the specified symbol and specified period.

Parameters

Key Description
Symbol Symbol name to open new chart at ,value of type is String.
Period Time frame value of type  ENUM_TIMEFRAMES.

Return value

If successful, it returns the opened chart ID, otherwise returns 0.

Sample

Public Sub main()

AlertMessage ChartOpen("EUR/USD",PERIOD_M1) 

End Sub


See Also


Back to VTL Client Script Index

(1 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