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

TimeSeries

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

iHighest

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

Syntax

 Public Function iHighest(Symbol As String, timeFrame As ENUM_TIMEFRAMES, barsCount As Long, Start As Long) As Double

Description

This function is used to return the highest high value for the specific bars by giving the symbol and time frame of the chart.

Parameters

Key Description
Symbol Chart symbol name, a value of type String.
TimeFrame Chart period, a value of type ENUM_TIMEFRAMES
BarsCount The chart bars number, a value of type Long.
Start The first bar number to get the highest high value after it, a value of type Long.

Return value

Returnsthe highest high value for indicated symbol and bars. Return 0 if the bar’s history not loaded.

Sample

 Public Sub main()    Dim BarsNumber    Dim FirstBar    Dim Result    BarsNumber= 20     FirstBar=1    Result= iHighest (EUR/USD, PERIOD_D1, Clng (BarsNumber), Clng (FirstBar))     AlertMessage Result End Sub

See Also

  • iLowest
  • Bars
  • CopyHigh


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  iBarShift

iLowest  

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.