fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    indicator integration

    Questions & Answers
    3
    7
    2165
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gunterd last edited by

      If I have the source file for an indicator is there a way to integrate it into the ea so that I wouldn't need to run the indicator along with the EA?

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        yes you can do this using custom code blocks, and avoid whole calculation of data (all historical candles which you dont need in EA, calculate only present data) ..

        Between trading and gambling is a very small gap, be careful.

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          Well, indicators are separate projects for a reason. Their code is similar to Expert Advisors, but also different. Indicators produce array of values (aka buffers) and those values are translated in the chart as lines, arrows, histograms or something similar. EAs can draw some objects, but not those kind of lines that indicators can. Indicators are also normally designed in a way to not recalculate the same data over and over again, which is tricky to do in an EA.

          1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            I think he need it because of reason "hide indicator" to prevent create copy of his EA đŸ˜„ but this is only one of reasons why somebody need integrate indicator into EA, maybe it is something other ...

            Between trading and gambling is a very small gap, be careful.

            1 Reply Last reply Reply Quote 0
            • G
              gunterd last edited by

              so how would i do that with the custom code blocks? just copy and paste the indicator into a custom code block and run it with a pass block?

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by

                not so easy, you need recreate part of code (of data calculation) into this code ... maybe you can do it with formula blocks but result can be a lot of blocks, all depends on indicator itself

                Between trading and gambling is a very small gap, be careful.

                1 Reply Last reply Reply Quote 0
                • G
                  gunterd last edited by

                  Oh ok. I'll pass on that then! thank you

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  Y
                  L
                  F
                  S
                  F
                  N
                  S
                  E
                  H
                  E

                  22
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors