• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

TimeSeries

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/TimeSeries/GetLow

GetLow

34 views 0 Updated on December 26, 2023 hybrid-solutions


Syntax

Public Function Getlow(chart_ID As Long, Record As Integer)As Double

Description

This function is used to return the low price value for the bar of indicated chart. If local history is empty, a function returns -1.

Parameters

Key Description
chart_ID Chart identifier, 0 is the current chart, value of type Long.
Record Bar number to get the low price for it, value of type Integer.


Return value

If the returns value was -1, the local history is empty.If it fails, the returned value will be 0. To get the detailed error information, call GetLastError().

Sample

Public Sub main()  Dim result  result = GetLow(0,50)  If result = -1 Then    AlertMessage "The local history is empty "   elseif  result = 0 then    AlertMessage "the returned value is false .To get the detailed error information, call GetLastError()."   Else    AlertMessage "The Low Value for the bar of indicated chart is : " &  resultEnd If End Sub

See Also

  • GetClose
  • GetTime
  • GetYear

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  GetTime

GetClose  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.