fxDreema

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

    Rex indicator buffers???

    Questions & Answers
    5
    12
    433
    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.
    • J
      joemarkey6 last edited by joemarkey6

      Hi all, does any body know how to modify the code so that FXDreema recognises the buffers on this code?

      I'd like to get a value from the signal line and the main rex line.
      Any help please

      link to Rex, written by Scriptor.

      1 Reply Last reply Reply Quote 0
      • B
        biztet last edited by

        @joemarkey6 have you tried looking at data window? Press Ctrl+D on your MT4 chart.

        1 Reply Last reply Reply Quote 0
        • J
          joemarkey6 last edited by

          OK but i want my ea to know the values automatically

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

            Added indicators will use these values, there is normally a buffer doing this (think these values are taken from buffer, if not you can get them from icustom, as custom code).

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • J
              joemarkey6 last edited by

              Thanks for the info but I can't write code, the buffers don't show in the indicator inside the condition block, I asked the creator of the indicator if he could do this but he hasn't got back to me yet.

              S 1 Reply Last reply Reply Quote 0
              • S
                sktsec @joemarkey6 last edited by

                @joemarkey6
                I am afraid the only reason why the buffer not showing up in the condition block is because you have not set the buffer for the indicator in the import indicator session.

                1 Reply Last reply Reply Quote 0
                • J
                  joemarkey6 last edited by joemarkey6

                  Thanks, how do I do that? normally the buffers are already there when you add custom indicator, but not with the Rex

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

                    Add the indicator here, I'll have a look.

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

                    1 Reply Last reply Reply Quote 0
                    • J
                      joemarkey6 last edited by

                      THats great, thanksRex.mq5

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

                        Couldn't get my mt5 working, Try adding them like this:
                        image.png

                        https://fxdreema.com/shared/RNcoLHiS

                        Learn fxDreema Without the Wait!

                        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                        Don’t miss out

                        Click here➡️ https://mybook.to/fxDreema to get your copy today!

                        Enjoy! 😊

                        1 Reply Last reply Reply Quote 0
                        • J
                          joemarkey6 last edited by

                          Thanks for the help jstap, I can't get it to work, I tried naming them buffers a and b, also using the names from the code but I can't make it work.

                          I'm guessing it's this part of the code

                          //--- set global variables
                          period_rex=int(InpPeriod<1 ? 1 : InpPeriod);
                          period_sig=int(InpPeriodSig<2 ? 2 : InpPeriodSig);
                          //--- indicator buffers mapping
                          SetIndexBuffer(0,BufferRex,INDICATOR_DATA);
                          SetIndexBuffer(1,BufferSignal,INDICATOR_DATA);
                          SetIndexBuffer(2,BufferTVB,INDICATOR_CALCULATIONS);
                          //--- setting indicator parameters
                          IndicatorSetString(INDICATOR_SHORTNAME,"Rex ("+(string)period_rex+","+(string)period_sig+")");
                          IndicatorSetInteger(INDICATOR_DIGITS,Digits());
                          //--- setting buffer arrays as timeseries
                          ArraySetAsSeries(BufferRex,true);
                          ArraySetAsSeries(BufferSignal,true);
                          ArraySetAsSeries(BufferTVB,true);

                          I've no idea what needs to be done to make it work with FXDreema

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

                            Please take a look at these helpful custom indicators tutorials:

                            https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
                            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.

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

                            Online Users

                            S
                            A
                            B
                            A
                            J

                            15
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors