fxDreema

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

    Unable to read/write indicator buffer data

    Questions & Answers
    4
    14
    2447
    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.
    • L
      leventecsibi last edited by

      Hi all,

      I've been struggling with this for two days without any success. I would like to create an EA based on currency slope strengths, using the Currency Slope Strength indicator published here: https://www.best-metatrader-indicators.com/currency-slope-strength/.

      I downloaded the indicator and added the mq4 file to My Indicators in the Builder. At the same time, I of course tried out the indicator on my MetaTrader as well, to see how it works, what it shows etc. No problems so far.

      Then, I wanted to set up conditions based on the indicator but the EA didn't work at all. After a while, I started suspecting that the data might not be read correctly from the 8 buffers. So I set up a simple EA which writes all the content of the buffers into a csv file and the surprise came: the buffers do not contain any of the numeric information I see on my MetaTrader chart!

      I am totally puzzled at this point... Has anyone encountered a similar problem before? How is it possible that the indicator shows the information correctly in the indicator window (i.e. the indicator places the numeric values correctly into the buffers, otherwise they wouldn't appear on the indicator window I assume) but the content of these buffers are not read in fxdreema / do not arrive?

      0_1586713957510_220f7d33-2ff9-422e-84f4-472531fa2ec3-image.png
      This first image shows how the indicator appears on the MetaTrader platform.

      0_1586714133482_6691b58b-0fe9-419f-9f0f-82fce8fb4f0b-image.png
      And this second one shows the csv output I obtained.

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Working woth ex5 files in fxDReema is tough. Please read the following tutorial to be sure you did it correctly:

        https://fxdreema.com/forum/topic/9105/tutorial-working-with-ex4-ex5-indicator-file

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        L 1 Reply Last reply Reply Quote 0
        • L
          leventecsibi @l'andorrà last edited by

          Hi @l-andorrà

          Thank you for your answer, I had a look at the link you provided but I did everything in order. I even mentioned it in my comment above that "I downloaded the indicator and added the mq4 file to My Indicators in the Builder," so the problem I am facing doesn't seem to be due to incorrect import into fxDreema.

          X A 2 Replies Last reply Reply Quote 0
          • X
            Xfire @leventecsibi last edited by Xfire

            @leventecsibi, please share your project.
            How you can use this indicator for trade?! i don't have any idea about that

            IN GOD WE TRUST

            A L 2 Replies Last reply Reply Quote 0
            • A
              ambrogio @leventecsibi last edited by

              @leventecsibi i have already used this indicator but give me an error in the journal (don't remember wich one)

              L 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @Xfire last edited by

                @xfire it is a kind of indicator that measures the strength between the pairs, buy the strong pair and sell the weak

                1 Reply Last reply Reply Quote 0
                • l'andorrà
                  l'andorrà last edited by

                  Could yopu please share your project?

                  (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                  (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                  (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                  1 Reply Last reply Reply Quote 0
                  • L
                    leventecsibi last edited by

                    I shared it above already, the very simple code is here. It just saves the data that is read from the indicator buffers, into a csv file:
                    https://fxdreema.com/shared/WLbzZ5d6c

                    I really hope you guys can access the indicator as well through this shared file. I'm not sure if that gets attached too.

                    1 Reply Last reply Reply Quote 0
                    • L
                      leventecsibi @ambrogio last edited by

                      @ambrogio said in Unable to read/write indicator buffer data:

                      @leventecsibi i have already used this indicator but give me an error in the journal (don't remember wich one)

                      Seems odd. It works fine for me on the MT4 platform, I haven't yet experienced any errors. Perhaps we are talking about different versions of the same indicator, that's the only thing I can think of. 🙂

                      1 Reply Last reply Reply Quote 0
                      • L
                        leventecsibi @Xfire last edited by

                        Hi @xfire ,

                        It essentially compares the strength of the 8 main currencies to each other. There are "strong" currencies and "weak" currencies in this comparison. One would trade those which are the furthest away from each other. So if at a moment the EUR is indicated as the strongest while the CHF as the weakest, you would look for opportunities to enter a long trade on EURCHF. This is the main idea.

                        Of course, the notion of "strong" and "weak" currencies is nonsense. If a high value is indicated on the chart for a given currency, it means the currency has been strongly trending in the recent past. So with the previous example, if EUR is indicated as the strongest, it means we have some sort of bullish move on EURUSD, EURCHF, EURCAD etc. The strength of this move depends on the strength of the other currencies: if CHF is the weakest, EURCHF will experience the strongest bullish move, while all pairs with CHF will see the value of the CHF against the other currency fall.

                        Hope this helps to clear it out a bit. 🙂

                        P.S.: In real time I'd surely not use the indicator chart as it is shown above. Luckily, it is possible to switch off those currencies which are not relevant for the evaluation of the current currency pair. On the image above, we have a chart of the EURUSD so, in this case, I'd switch off the other 6 currencies so that I am only left with the strength of EUR and that of USD. Then it is not confusing to use it 🙂

                        X 1 Reply Last reply Reply Quote 0
                        • X
                          Xfire @leventecsibi last edited by

                          @leventecsibi Thank you so much. it was good to explain. your problem is solved or i check for you?

                          IN GOD WE TRUST

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            leventecsibi @Xfire last edited by

                            @xfire You're welcome!
                            Unfortunately, I'm still facing the issue 😞

                            X 1 Reply Last reply Reply Quote 0
                            • X
                              Xfire @leventecsibi last edited by Xfire

                              @leventecsibi I checked it and i see the buffers working good but your indicator isn't perfect

                              if you look at the indicator currency list your can see it cant refresh perfect and some numbers are under others

                              for example in my screenshot USD is -23 and EA show - 0.299 then your indicator calculates the real numbers
                              and EUR is 39 and in your indicator, you cant see clearly.
                              i think you can work with buffers
                              0_1586863373720_Annotation 2020-04-14 211555.png

                              IN GOD WE TRUST

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                leventecsibi @Xfire last edited by leventecsibi

                                Hi @Xfire
                                So apparently, I might need to look up a better functioning indicator or try to look into the source code and compute the currency strength manually in fxDreema. I'll see! Thanks a ton for your help!

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

                                Online Users

                                N
                                E
                                S
                                L
                                N
                                Q
                                A
                                F
                                S
                                T

                                18
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors