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 3265
Next
In Process
starleynsk
starleynsk

starleynsk

  • 3 Questions
  • 6 Answers
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
starleynsk
Asked: December 26, 20202020-12-26T13:20:09+00:00 2020-12-26T13:20:09+00:00In: Forex Expert Advisors

The indicator is not updated in a separate window

  • 0

Good day to all!

There was a problem. The indicator, if it is opened in a separate window (indicator_separate_window), is not updated until the next candle occurs. If the indicator is hung on the chart window, then the update (calculation) is correct in real time, i.e. the price has changed – the indicator value has changed immediately.

What could be the catch in the case of a separate window? A normal calculation in real time is absolutely necessary. 

Maybe there is some “operator” responsible for this?

Unfortunately, I can’t upload the code here.

  • 4 4 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    4 Answers

    • Voted
    • Oldest
    • Recent
    1. starleynsk

      starleynsk

      • 3 Questions
      • 6 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      starleynsk
      2020-12-26T13:20:36+00:00Added an answer on December 26, 2020 at 1:20 pm

      Ihor Herasko:

      If the versions differ only in the Directive, then the problem is the” empty ” values of the indicator buffers. How are they (“empty” values) specified in the code, and are they specified at all? In any case, you need to explicitly specify.

      Thanks. The error was corrected by our own efforts. I really don’t know how 🙂

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

      scriptong

      • 2 Questions
      • 37 Answers
      • 0 Best Answers
      • 94 Points
      View Profile
      scriptong
      2020-12-26T13:20:31+00:00Added an answer on December 26, 2020 at 1:20 pm

      StarleyNSK:
      the version is the same. I just changed the chart to separate to check the performance in a separate window.

      If the versions differ only in the Directive, then the problem is the” empty ” values of the indicator buffers. How are they (“empty” values) specified in the code, and are they specified at all? In any case, you need to explicitly specify.

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

      vitales

      • 1 Question
      • 22 Answers
      • 0 Best Answers
      • 66 Points
      View Profile
      vitales
      2020-12-26T13:20:21+00:00Added an answer on December 26, 2020 at 1:20 pm

      StarleyNSK:
      Why immediately so? Perhaps there are some specific “operators” or commands that are standard for any constructions and are responsible for real-time calculation. Or some settings in the MT5 itself.

      There are no such settings. From your words, I understand that you have two versions of the same indicator. One version is compiled with the indicator_separate_window Directive, the other without (indicator_chart_window). See how they differ from each other in addition to this Directive. I can’t say anything else.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. starleynsk

      starleynsk

      • 3 Questions
      • 6 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      starleynsk
      2020-12-26T13:20:17+00:00Added an answer on December 26, 2020 at 1:20 pm

      Vladimir Karputov:

      Well, there is no trial. Here you go: The Telepath Club

      Why immediately so? Perhaps there are some specific “operators” or commands that are standard for any constructions and are responsible for real-time calculation. Or some settings in the MT5 itself.

      • 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 503
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 672
    • 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

    Related Questions

    • pinupcasinoo

      Pin Up Casino

      • 0 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 2 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 0 Answers
    • c00l777

      Optimization results differ on different accounts

      • 3 Answers
    • fresto

      Invalid price error occurs

      • 2 Answers

    Users

    pinupcasinoo

    pinupcasinoo

    • 1 Question
    • 0 Answers
    JamesSwics

    JamesSwics

    • 0 Questions
    • 0 Answers
    Charlesnam

    Charlesnam

    • 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