fxDreema

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

    New Spin! Video Tutorial - Signals Dashboard EA [advanced] - looping Objects, arrays

    Tutorials by Users
    3
    7
    5774
    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.
    • T
      trbedell last edited by

      Re: Video Tutorial - Signals Dashboard EA [advanced] - looping Objects

      @miro1360, I find this to be an excellent project and tutorial. I have created a new spin to this older tutorial and am having a bit of difficulty (as I am not a programmer by trade). I have been able to make some strides, using the existing code you have provided.

      Instead of a Multi Pair dash board, I am looking to create a Multi Time dash board for a single pair. I have found that I need a 3 arrays to create the task but I am having difficulty making the EA loop properly to give the results.

      I have attached my modification and constant/variable changes. Your insight would be grateful to complete the task. Here is what I have so far.

      Shared EA >>> https://fxdreema.com/shared/duB0geW7b

      Results: (notice it only draws 3 MA - Stops at M15)

      0_1560782747743_results.PNG

      Constants:

      0_1560782818561_constants.PNG

      Variables:

      0_1560782837713_Varables.PNG

      On-Init:

      0_1560782875879_on-init.PNG

      On-Timer:

      0_1560782893178_On-Timer.PNG

      The result of this dash board is to provide a Multi-Time View of a pair.

      Can you assist me with this?

      Best,
      Thomas

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

        perhaps a few errors, from what I saw fast, these:

        wrong:
        0_1560816030844_955143eb-cdd4-4689-8901-c4e6e08fecf5-image.png
        right:
        0_1560816045907_73f0d58f-3ee8-430e-a5c2-ef83697b0946-image.png

        wrong:
        0_1560816060152_c709149c-0d51-46c7-94e3-de47ddba3eb9-image.png
        right:
        0_1560816103390_4f565291-77c3-462e-b640-3e1268643303-image.png

        wrong:
        0_1560816129995_67b4ae6a-b4a2-4010-80e5-5001e510adf1-image.png
        right:
        0_1560816142020_da9ed611-b377-450b-b068-7849212bea88-image.png

        ...
        maybe there is something more, I have not tested, you must try 🙂

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

        1 Reply Last reply Reply Quote 0
        • T
          trbedell last edited by

          @miro1360 - Looks good now. I updated the timeFrame in seconds per period. As the system loops, it stops at 30 minutes. I looked and the time calculates Candle 0 - Candle 0 to get the pip size but stops at H1. Any ideas?

          Current EA >>> https://fxdreema.com/shared/czlTvUN9c

          Here are the results:

          0_1560824185080_Complete.PNG

          Again. Thanks for your assistance.
          Tom

          1 Reply Last reply Reply Quote 0
          • T
            trbedell last edited by trbedell

            @miro1360 - On second thought... I am wondering how to express timeFrame - in this application I have been using seconds. Is this the correct way or do I need to use another variable?

            0_1560827139112_complete2.PNG

            Thanks again,
            Thomas

            1 Reply Last reply Reply Quote 0
            • T
              trbedell last edited by

              Found it: Time Frames

              https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes

              Type: ENUM_TIMEFRAMES

              Sample: PERIOD_M1 - one Minute

              Again. Thanks for your assistance.
              Thomas

              1 Reply Last reply Reply Quote 0
              • T
                trbedell last edited by

                @miro1360 - Thanks Miro!

                0_1560856729313_Complete.PNG

                This task has been completed. If anybody wants to use this EA it is here:

                https://fxdreema.com/shared/ZDWXV1bsb

                Constants:

                0_1560856920238_constants.PNG

                Variables:

                0_1560856935602_Varables.PNG

                Good Trading All!
                Tom

                1 Reply Last reply Reply Quote 1
                • E
                  eks last edited by

                  @miro1360 It could exemplify how to interrupt the calculation of a given pair in the matrix using a button in the first example you created. The idea is to inhibit certain pairs temporarily in the same matrix without and leave the others calculating normally.

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

                  Online Users

                  E
                  A
                  G
                  Q
                  C
                  T

                  15
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors