Results 1 to 3 of 3

Thread: Bars count

  1. #1
    Junior Member
    Join Date
    Dec 2015
    Posts
    4

    Default Bars count

    Hi,

    I am converting a MQL4 script to VTL. The Bars() function returns a different value than the MQL Bars() function. Could you tell me why is this discrepancy? Also, Can we get the number of Bars in an indicator?
    Thanks for your help.

  2. #2
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello

    It's not supposed to be identical between the platforms.

    Note: Bars return the total loaded bars for a specific chart in your client terminal, to load the whole bars from the server you can press F5 or Load All Chart Data button that's exist on Charts Toolbar.

  3. #3
    Junior Member
    Join Date
    Dec 2015
    Posts
    4

    Default

    Quote Originally Posted by Hassan-HS View Post
    Hello

    It's not supposed to be identical between the platforms.

    Note: Bars return the total loaded bars for a specific chart in your client terminal, to load the whole bars from the server you can press F5 or Load All Chart Data button that's exist on Charts Toolbar.

    Hi,

    Thank you very much for the info..

Thread Information

Users Browsing this Thread

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

Posting Permissions

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