fxDreema

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

    MQ4 Indicator to Custom Block

    Questions & Answers
    3
    5
    1066
    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.
    • M
      MikeManahan last edited by

      Hey all, I really appreciate this visual tool! I even bought a year subscription! I've been creating EA's for a few months now with it visually and am now just starting to get into using the fxdreema studio. I want to take an mql4 indicator I saw online and make it a custom indicator that I can use in fxDreema so I can get comfortable making those type of complex indicators myself in fxDreema studio. I'm a software engineer for my dayjob using c, c++, java, c#, and a couple other languages. This is the indicator I'm looking at: https://forex-station.com/app.php/attach/file/3370658 How might I go about this? I know this is kind of a generic question because I'm just not very familiar with mql4 yet, so I don't expect specifics but any help specific or generic would be much appreciated thank you so much!

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

        Why bothering with complex indicators in studio? It will slow down your work. Any complex indicator is mostly a combination of math, logic, arrays and custom functions. As a developer you are comfortable with the code and debugger. Metaeditor is the right tool for creating complex indicators. You can run the indicator directly on the chart to view the history. When you have the indicator ready, then import it into fxdreema and test it for a trading strategy.

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

        M 1 Reply Last reply Reply Quote 0
        • roar
          roar @MikeManahan last edited by roar

          @mikemanahan basically, paste the mq4 code as "Custom function", set inputs as "Parameter used in block" and then call the function. This way you can convey the buffers to fxdreema variables. I dont know if thats the best way to manage it, I dont really use the studio - I dont think anyone on this forum does lol

          0_1610825156757_d300255e-5150-47b5-9049-8dd063822447-image.png

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

          1 Reply Last reply Reply Quote 1
          • M
            MikeManahan @miro1360 last edited by

            @miro1360 That's a fair point, I guess I just wanted one tool for the whole development cycle and really like FxDreema. You are right though there'd be no way to debug an indicator not performing correctly besides just not compiling. Is there a specific way to code a custom indicator in MetaEditor so it can import correctly into FxDreema?

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

              Not that specifically for fxdreema, but in general:
              avoid repainted indicators (fisher is a good example, offline renko charts generated from history prices) .. or use it correctly
              try to make the indicator effective so that it does not recalculate the whole history, but recalculates only the necessary number of prices
              avoid a possibility of division by zero

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

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

              Online Users

              P

              6
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors