Knowledgebase:
iLowest
Posted by Angham Al-Banawien, Last modified by Rawan Al Hourani on 11 July 2018 11:30 AM

Syntax

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

This function is used to return the lowest low 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, value of type ENUM_TIMEFRAMES
BarsCount             The chart bars number, a value of type Long.
Start The first bar number to get the lowest low value after it, a value of type Long.

Return value

Return the lowest low 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= iLowest (“EUR/USD”, PERIOD_D1, Clng (BarsNumber), Clng (FirstBar))

    AlertMessage Result

 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