fxDreema

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

    ICUSTOM WRONG PARAMETER COUNT aftre del. INPUT & EXTERN

    Questions & Answers
    2
    3
    533
    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.
    • Archer
      Archer last edited by

      Hello everyone!

      So I'm trying to build an EA based on the attached indicator but I keep geting error 'iCustom' - wrong parameters count.

      I looked through the forum and there was one suggestion to delete all the words INPUT & EXTERN but it did not work.

      Can someone please help me and make it work ?

      0_1650655432765_smHiLoOpen_Lines_vH1_BuffersAAAA.mq4

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

        @archer Try this, create a variable and add this to a custom code block:

        VARIABLE = iCustom(NULL,0,"name of the custom indicator",0,0);

        in your platform run the indicator and open the data window , starting at 0 count down until you get to the number of the data you want, put this into the penultimate 0, make sure the created variable is of the same type.

        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! 😊

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

          @jstap said in ICUSTOM WRONG PARAMETER COUNT aftre del. INPUT & EXTERN:

          @archer Try this, create a variable and add this to a custom code block:

          VARIABLE = iCustom(NULL,0,"name of the custom indicator",0,0);

          in your platform run the indicator and open the data window , starting at 0 count down until you get to the number of the data you want, put this into the penultimate 0, make sure the created variable is of the same type.

          OK, thx. Will try to figure it out

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

          Online Users

          J
          P
          B
          S
          H
          A

          14
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors