fxDreema

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

    Buffers in Indicator

    Questions & Answers
    4
    8
    1955
    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.
    • Johann 0
      Johann 0 last edited by

      @fxDreema I tried loading a custom indicator and it gave this error. iCustom' Wrong Parameters Count. I take it's because it has too many settings? I've tried everything I could think of including importing it without adding Input Parameters and just the buffers.

      Johannes

      1 Reply Last reply Reply Quote 0
      • R
        Rakiura last edited by

        Hi All

        I have an Indicator that I was trying to work out what the Buffers did. I built a simple ea using a Pass & a Trace Block so the EA would put a line on the chart when that buffer was activated.

        I compiled the indicator in Metaeditor & got no errors. I then compiled the EA & got seven errors all saying the same thing " 'iCustom' Wrong Parameters Count" . Line & Column are given where the error in the Code occurs and I can find the line but not the column. The EA symbol in the Navigator window also has a small diamond symbol in the corner which is normally gold whereas mine is gray. Is this a symptom of the problem?

        I have attached a picture showing the EA symbol in the Navigator window, the Indicator and the EA in question.

        Any help would be greatly appreciated.

        Thanks

        ......
        BUY SELL.mq4
        Navigator_001.png
        BUY SELL BUY.mq4

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

          Nothing is wrong with the buffers. It appears that iCustom always gives error when the parameters of the indicator are 60 or more. It works with 59 or less, but once you reach 60 parameters it starts to fail. Or in other words, if all parameters in iCustom are more than 64, it fails. Note that this function does not contact with the actual indicators and it does not now how many parameters it really have.

          Try this:

          iCustom(NULL, 0, "MyIndicatorName", 
          			   1,2,3,4,5,6,7,8,9,0,
          		   	1,2,3,4,5,6,7,8,9,0,
          			   1,2,3,4,5,6,7,8,9,0,
          			   1,2,3,4,5,6,7,8,9,0,
          			   1,2,3,4,5,6,7,8,9,0,
          			   1,2,3,4,5,6,7,8,9,
          			0, 0);
          

          This compiles successfully, but put one more parameter anywahere and it fails.

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

            By the way this also compiles without problems:

            iCustom(
               1,2,3,4,5,6,7,8,9,0,
               1,2,3,4,5,6,7,8,9,0,
               1,2,3,4,5,6,7,8,9,0,
               1,2,3,4,5,6,7,8,9,0,
               1,2,3,4,5,6,7,8,9,0,
               1,2,3,4,5,6,7,8,9,0,
               1,2,3,4
            );
            
            1 Reply Last reply Reply Quote 0
            • Johann 0
              Johann 0 last edited by

              It's this one.
              https://www.mql5.com/en/market/product/93461?utm_campaign=MetaTrader+5+Terminal&utm_medium=special&utm_source=Market+Product+details+in+community&source=MetaTrader+5+Desktop

              Johannes

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

                MT5 files are not accepted on fxDreema. Did you try to emulate all input parameters and buffers as explained in this 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
                • Johann 0
                  Johann 0 last edited by

                  Hi @l'andorrà.
                  I've been using fxDreema for quite a while now and am busy slowly making Youtube tutorials on it.
                  I've come accross many strange problems using fxdreema and this one seems like a coding issue with this indicator.
                  It has so many settings it seems to have hit some sort of parameter limit which generates the error.
                  The one way I found to work around this is using on chart signals which means using the discriptions, colors and values that's on chart.
                  So far it's not doing too bad.
                  Tricky but it works.
                  https://fxdreema.com/shared/dg4hqZtkc
                  Still working on it but this should give an idea of how to use on chart signals.

                  Johannes

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

                    Hey, if it works, it works. 😉

                    (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

                    D
                    E
                    J
                    T
                    J

                    22
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors