Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 1487
In Process
fresto
fresto

fresto

  • 18 Questions
  • 18 Answers
  • 0 Best Answers
  • 24 Points
View Profile
  • 0
fresto
Asked: December 22, 20202020-12-22T06:30:03+00:00 2020-12-22T06:30:03+00:00

Why does CopyRates only give a limited amount of data?

  • 0

There are 2 options for getting data. 
Open
the strategy tester, select the tool and run it in the specified period for TF = 1 minute. We get all the candles in the OnTick function.
The second
option is written in the CopyRates code for a given tool with TF = 1 minute. But in the end, we only get data for the last 5 months, although
in fact there are much more of them on the server. 

I also checked this with the function 

Print("The very first date by symbol-period at the moment=", (datetime)SeriesInfoInteger(Symbol(),Period(),SERIES_FIRSTDATE));For some reason,
it displays the date from August, but if I check in the strategy tester, I can get the data much earlier with TF = 1 minute

  

How can I fix this problem? You must use CopyRates to get any data that is available on the server.

  • 3 3 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    3 Answers

    • Voted
    • Oldest
    • Recent
    1. i

      i

      • 0 Questions
      • 5 Answers
      • 0 Best Answers
      • 30 Points
      View Profile
      i
      2020-12-22T06:59:22+00:00Added an answer on December 22, 2020 at 6:59 am

      set Unlimited, rebooted the terminal. right?

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. fresto

      fresto

      • 18 Questions
      • 18 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      fresto
      2020-12-22T06:30:13+00:00Added an answer on December 22, 2020 at 6:30 am
      Why does CopyRates only give a limited amount of data?

      Anyway. In the first screenshot, I got the data using CopyRates from 2019.01 to 2019.11, but it ended up with 5 months. And on the tester, if I get
      data, then everything is fine there

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. quantum

      quantum

      • 0 Questions
      • 1 Answer
      • 0 Best Answers
      • 22 Points
      View Profile
      quantum
      2020-12-22T06:59:25+00:00Added an answer on December 22, 2020 at 6:59 am
      Why does CopyRates only give a limited amount of data?

      Fresto:

      How can I fix this problem? You need to get by using
      Copies any data that is on the server.

      You need to upload all the data, try to remove the limit on the maximum number of bars in the terminal and repeat the CopyRates calls.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 504
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 676
    • Popular
    • Comments
    • Tags
    • forexcommunity

      Highlighting what’s important about questions & Answers on Discy Community!

      • 0 Comments
    • forexcommunity

      Introducing Keyboard Shortcuts, our first Labs feature

      • 0 Comments
    • forexcommunity

      Defining quality on Discy Engine — what a helpful answer ...

      • 0 Comments
    • forexcommunity

      Organizational and company accounts on Discy Engine the next step

      • 0 Comments
    • forexcommunity

      Hello world!

      • 0 Comments

    Users

    Geraldimaky

    Geraldimaky

    • 0 Questions
    • 0 Answers
    Jeffreytix

    Jeffreytix

    • 0 Questions
    • 0 Answers
    RobertFoeta

    RobertFoeta

    • 0 Questions
    • 0 Answers

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved