fxDreema

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

    Custom Indicator- Compilation error

    Questions & Answers
    2
    3
    155
    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.
    • M
      max_well last edited by

      94b87729-6a24-4454-849e-a547b8e9fbdf-image.png

      I'm using a custom indicator, but I'm unable to download the exe file-getting this compilation error when trying to download exe file.

      I've declared the input/output buffers as shown:
      6edb2c3f-bd9f-440f-8293-a3e50ec4ce0f-image.png

      In my custom indicator the first input is actually set as "---------------". Like this:
      dac7fb95-274b-4aca-8493-6ebf4300d6f4-image.png
      So I'm not sure if i need to actually declare it in the Input parameters or not, however, i did it but I'm getting that error message.

      I tried removing it, still i get the same error message.

      Few days back it was working fine but today the indicator got cleared from the list while updating the relative path, and so I'm trying to bring it back all again.

      I'm able to download the mq4 file, so I had a look at iCustom() part, this is what its like at the moment:

      iCustom(symbol, timeframe, "Indicators/custom_indicator" , (Str)0, buffer, shift);
      

      which I believe is incorrect.

      This is what it actually should be I guess (unsure):

      iCustom(symbol, timeframe, "Indicators/cutom_indicator" , (int)2, (int)2, (int)2, (int)6, (int)5, (int)3, (int)1, buffer, shift);
      

      I made these changes, it compiles successfully but doesn't work when I pull it on the chart.

      Any help on this please!!

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

        Output buffer session. Enter names for buffers

        M 1 Reply Last reply Reply Quote 0
        • M
          max_well @sktsec last edited by max_well

          @sktsec the buffer names are same as in the indicator.

          It's working fine now with nothing changed, was a glitch in fxdreema itself I guess.

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

          Online Users

          S
          O
          K
          M
          M

          15
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors