Posted by Angham Al-Banawien, Last modified by Diana Alkouni on 25 August 2020 06:50 AM


 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.


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 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.


 Public Sub main()

    Dim BarsNumber
    Dim FirstBar
    Dim Result

    BarsNumber= 20 

    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))
Not helpful

Comments (0)
Post a new comment
Full Name:
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