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 4615
Next
In Process
vitaliy9999999
vitaliy9999999

vitaliy9999999

  • 4 Questions
  • 4 Answers
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
vitaliy9999999
Asked: December 27, 20202020-12-27T05:22:45+00:00 2020-12-27T05:22:45+00:00In: Forex Expert Advisors

How to use an external indicator in mkl5?

  • 0

Please tell me who knows How to use an external indicator in mkl5?

  • 7 7 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    7 Answers

    • Voted
    • Oldest
    • Recent
    1. -aleks-

      -aleks-

      • 2 Questions
      • 35 Answers
      • 0 Best Answers
      • 72 Points
      View Profile
      -aleks-
      2020-12-27T05:23:30+00:00Added an answer on December 27, 2020 at 5:23 am

      vitaliy9999999:

      thank you for your advice! apparently there should have been zeros) now I will know)

      I was glad to help.

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

      vitaliy9999999

      • 4 Questions
      • 4 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      vitaliy9999999
      2020-12-27T05:23:25+00:00Added an answer on December 27, 2020 at 5:23 am

      Aleksey Vyazmikin:

      Iterate through the loop to find out where the empty values are not and reset them to a separate buffer for the convenience of further work – but how else? In General, I had an idea to add buffers to the indicator and put the value of peaks there without gaps, but this has not yet been implemented.

      Your code was not analyzed, so I do not know why there were zeros, maybe they should have been there, if there was no value….

      thank you for your advice! apparently there should have been zeros) now I will know)

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. -aleks-

      -aleks-

      • 2 Questions
      • 35 Answers
      • 0 Best Answers
      • 72 Points
      View Profile
      -aleks-
      2020-12-27T05:23:09+00:00Added an answer on December 27, 2020 at 5:23 am

      vitaliy9999999:

      In General, external is not included in the terminal. That is, handwritten. I have a problem with the ZigZag indicator, it is standard, but its handle can only be obtained through the iCustom () function.

      Then, using CopyBuffer (), I copied its data to the buffer. But when displaying extremes in the log it shows some kind of heresy) defines either the first vertex that has not yet formed. Either 6 is also not yet formed-those are the current extreme. 

      Could you tell me the pros pliz!

      In the branch about ZZ, I gave You the code where the ZZ indicator is used, what is not clear there?

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

      vitaliy9999999

      • 4 Questions
      • 4 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      vitaliy9999999
      2020-12-27T05:23:05+00:00Added an answer on December 27, 2020 at 5:23 am

      In General, external is not included in the terminal. That is, handwritten. I have a problem with the ZigZag indicator, it is standard, but its handle can only be obtained through the iCustom () function.

      Then, using CopyBuffer (), I copied its data to the buffer. But when displaying extremes in the log it shows some kind of heresy) defines either the first vertex that has not yet formed. Either 6 is also not yet formed-those are the current extreme. 

      Could you tell me the pros pliz!

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    5. alexx_v

      alexx_v

      • 1 Question
      • 4 Answers
      • 0 Best Answers
      • 26 Points
      View Profile
      alexx_v
      2020-12-27T05:22:57+00:00Added an answer on December 27, 2020 at 5:22 am

      vitaliy9999999:
      Please tell me who knows How to use an external indicator in mkl5?

      Find out the short name and handle of the indicator, if it is not one-go through all the available ones on the chart in a cycle, 

      // – – – number of Windows on the chart (there is always at least one main window)
         int windows=(int)ChartGetInteger(0,CHART_WINDOWS_TOTAL);
      // – – – go through the chart Windows
         for(int w=0;w
           {
            // – – – how many indicators are there in this window/subwindow
            int total=ChartIndicatorsTotal(0,w);
            // – – – let’s go through all the indicators in the window
            for(int i=0;i
              {
               // – – – get the short name of the indicator
               string name=ChartIndicatorName(0,w,i);
               // – – – get the indicator handle
               int handle=ChartIndicatorGet(0,w,name);

      next, use the CopyBuffer() function to take values from the buffer of the selected indicator at the time of interest, and then do what you wanted with them.

      Perhaps there is a simpler and more effective way.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    6. vdev

      vdev

      • 1 Question
      • 42 Answers
      • 0 Best Answers
      • 100 Points
      View Profile
      vdev
      2020-12-27T05:22:53+00:00Added an answer on December 27, 2020 at 5:22 am

      vitaliy9999999:
      Please tell me who knows How to use an external indicator in mkl5?

      Help knows

      MQL5 reference /Technical indicators-this is in the editor

      Or on the website

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    7. barabashkakvn

      barabashkakvn

      • 7 Questions
      • 162 Answers
      • 0 Best Answers
      • 314 Points
      View Profile
      barabashkakvn
      2020-12-27T05:22:48+00:00Added an answer on December 27, 2020 at 5:22 am

      vitaliy9999999:
      Please tell me who knows How to use an external indicator in mkl5?

      What is an “external indicator”?

      • 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 673
    • 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

    • Brus Agell

      Правельный выбор

      • 0 Answers
    • 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

    Users

    Brus Agell

    Brus Agell

    • 1 Question
    • 0 Answers
    pinupcasinoo

    pinupcasinoo

    • 1 Question
    • 0 Answers
    JamesSwics

    JamesSwics

    • 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