Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

TimeSeries

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

iHigh

5 views 0 Updated on December 16, 2021 hybrid-solutions


Syntax

Public Function iHigh(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double

Description

This function is used to return the high price value for bar at a specific time frameby a given it number.

Parameters

Key Description
Symbol Trading symbol name, the value of type String.
timeframe The chart time frame can be one of the ENUM_TIMEFRAMES
Shift Bar number to gethigh price value for it, the value of type Long.


Return value

Return’s the high value for the indicated symbol, Time frame and bar number as a double value. These Function returns 0 if the history is not loaded.


Sample

Public Sub main()  Dim barNumber Dim result barNumber=3  result=iHigh("EUR/USD",PERIOD_D1,Clng(barNumber))  if result=0 then  ' print a message  to the  VTL10Log log file   PrintData " The High value not loaded "     else  ' print a message  to the  VTL10Log log file  PrintData("The High value for bar Number " & Cstr(barNumber) &  " is "  & CSTR(result)) end if End Sub

See Also

  • iLow
  • iOpen
  • iClose


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  GetMinute

iLow  

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 2023 hybridsolutions.com. All Rights Reserved.