fxDreema

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

    My EA with fxdreema not running

    Questions & Answers
    2
    6
    1299
    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.
    • I
      indra_jangkrik last edited by

      I am new with fxdreema. I want to ask why my EA that create in fxdreema cant not run in backtest with MT4 ?

      I use indicator Value_Chart to entry long. Value chart has 4 buffer (g_ibuf_80, g_ibuf_92, g_ibuf_84, g_ibuf_88). I will go long when previews g_ibuf_88 <-4 and now g_ibuf_88 cross above -4. I need help to do this.

      Here is what I have made in fxdreema

      ......
      fxdreema vclose.jpg

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

        Well, I don't know this particular indicator, but for any custom indicator you can first check if it's buffers are actually giving you normal values using "Indicator tester" block. Then, when you know that buffer X is working and when you know how it's working, you can use it.

        Block "AND" is not needed at all.

        This value of "0" for "Adjust" is... just clear this value, this field is not used like this. Maybe you should read the description of "Condition" block.

        1 Reply Last reply Reply Quote 0
        • I
          indra_jangkrik last edited by

          how can I know when buffer x is running ?

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

            Buffers are always "running". Buffers are... let's say the interface between the EA and the indicators. The indicator puts numeric values there and the EA can then read them. In programming language, these are numeric arrays.

            There is always some value in all existing buffers. For candle 0, for candle 1... for all candles on the chart. There is a specific value that tells the EA that the indicator is "invisible" and this value is the biggest possible 32 bit numeric value - 2,147,483,647. As a constant in MQL4/MQL5 this is also known as EMPTY_VALUE. If you use the 64 bit MT5 this value is the biggest 64 bit value, but anyway.

            If the indicator is like MA or like oscillators, it should have normal price value for all candles. But if the indicator draws arrows, then most of the time it's value is EMPTY_VALUE, and only sometimes it has price values - where the arrows actually appear. Often these arrow-indicators work on some old candle - 1, 2, 3... and for the current candle they aways return EMPTY_VALUE. There are also indicators that draw something on the chart, but does not use their buffers to transfer data to the EA.

            If "Indicator tester" shows you the same value all the time and the indicator is arrow-type, then try to set "Candle ID" to 1. To use some buffer in an EA, it must have values that change over time.

            1 Reply Last reply Reply Quote 0
            • I
              indra_jangkrik last edited by

              I still can make it. Here it's my formula used. I use buffer 3 if preview bars below -4 and today buffer 3 cross above -4 to to buy. Please help use fxdreema to make this EA.

              ......
              Value_Chart_Deluxe_Edition_v1_0_2.mq4
              Value_Chart_Deluxe_Edition_v1_0_2.ex4

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

                Do you know how to backtest?

                I found a bug when importing custom indicators when color parameters have values like C'255,164,177'. I fixed it now, but your project was giving error messages. I mean... how are you using it if you can't export it?

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

                Online Users

                D
                F
                C
                N
                E

                9
                Online

                146.9k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors