fxDreema

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

    Working with graphics dislpay on Fxdreema

    Questions & Answers
    2
    4
    1235
    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.
    • U
      uchiha last edited by

      Hello

      I have been trying to graphically display my EA values on chart, I recently came across a video of someone who did this

      see link: https://www.youtube.com/watch?v=IpowCUZkdGk

      [go to" 26:50]

      Can you help with some sort of tutorial on how to do this with fxdreema?
      I have been able to draw the box, the vertical and horizontal lines with the [Draw Box] command, however adding things such as time at the bottom is difficult (when I "use get_candle_time" it returns the Epoch value)

      Then there's the problem of putting the x and y intervals and updating it in real time, and also how to refer the variables to the appropriate points on the graph itself.

      I would like to suggest a new fxdreema block to handle graphical displays, you can call it [Graphic Displays]

      it can have parameters such as:

      • x-interval: attributes such as [time, variables, e.t.c], max value, min value

      • y-interval: attributes such as [time, variables, e.t.c], max value, min value

      • infinite/static scroll option

      • Data input [x,y group]: type of data, updating every interval??

      • Data display: Line, fill, point, histogram, e.t.c

      These are just the few I could think up. I am sure you will have better ideas 🙂

      But I believe it can be done with fxdreema as it is, I just need a guide to achieving exactly what was done in the video. 🙂
      You can see my progress here;; https://fxdreema.com/shared/5WUkBCGzb

      P.S: Attached are two indicators [formerly EA's] that do interesting graphical displays too
      I'm sure you can get useful parameters from them all.

      ......
      MADdash.ex4
      MathTrader7_AccelerometerIN.ex4

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

        This looks complex 🙂 Now every "Draw..." block is like a MQL function that looks as a block. All the possible input arguments are there + the ability of the block to create/update what it created in 4 different ways, depending on the two settings at the top.

        You want to create multiple objects using the same block and then to keep them updated. I was not thinking about that before, but it should happen by using some loops and variables of course. I'm not sure if using blocks is better in this situation. In the same time writing code to work with objects is really... so many functions are used for every little detail. I noticed that there are libraries to do some things easily, but I never tried them.

        1 Reply Last reply Reply Quote 0
        • U
          uchiha last edited by

          I knew it must be a very complex project to accomplish. Any way if & when you have time maybe you can create blocks using those mql libraries, well I will keep this thread updated as I try to do it with loops and variables.

          First I need help printing out actual computer time on screen : e.g 21:43 not Epoch time, using candle time prints epoch time.

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

            "Comment" block is capable of automatically printing the time in human-readable format, but it includes also day, month and year.
            In "Condition" where you can get the time, it is in this epoch format because only in this format the time can be used for calculations.
            There is no place where the time can be get as a string and it's not because it is hard to do that.

            This is the function to convert the time to string: http://docs.mql4.com/convert/timetostring

            For example:
            TimeToString(TimeLocal(), TIME_MINUTES);
            https://fxdreema.com/shared/0vowJSKZ

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

            Online Users

            A
            E

            10
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors