Results 1 to 2 of 2

Thread: Bars

  1. #1

    Default Bars

    Hello sir,

    please suggest me that how to get number of bar as per timeframe given .
    I want to convert this line iBars(NULL,PERIOD_D1)

    thanks in advance.

    BGT

  2. #2
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    388

    Default

    Dear BGT

    You can get the bars count for any symbol and for any time frame you want by calling the HighPrices method which returns the bars count for the requested symbol that was opened before, if was not opened you have to wait the PriceLoaded event to fire then get the Ubound value for any buffer that returns with the event

    Note : You have to make sure that all chart data are loaded if you want to get all the chart bars count for the opened chart

    Check the bellow sample
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Gimmee Bars Indicator
    By Bahaa-HS in forum VertexFX API/VTL Forum
    Replies: 0
    Last Post: 01-11-2018, 05:29 PM
  2. Trend Bars Indicator
    By Bahaa-HS in forum VertexFX API/VTL Forum
    Replies: 0
    Last Post: 12-26-2017, 07:38 PM
  3. Bars count
    By OST in forum VertexFX API/VTL Forum
    Replies: 2
    Last Post: 12-29-2015, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •