fxDreema

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

    HELP with Error "Cannot Load Custom Indicator" on Strategy Tester MT5

    Questions & Answers
    2
    5
    4149
    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.
    • E
      everjn17 last edited by

      Hi' guys,
      I just stuck in this error with no clear clue at all for a day.
      So, i create a custom indicator which just an RSI but taking it's value using VWAP instead of "Close". I successfully build the indicator and load it to the chart with no problem.
      Then i upload it to my EA on Fxdreema as Custom Indicator then use it for the calculation. Basically when the RSI corss the BuyLine Value, it'll open a BUY trade. Simple.
      I download the Ex5 from Fxdreema and try to test it using Strategy Tester. Then here's the big error i don't have any clear clue.
      The strategy tester just threw this error:0_1607419023414_Screenshot_168.png

      I did check the Indicator and load it manually, it successfully loaded without any issue. I also try to load the EA right away into the chart, it loaded successfully. So the error only appears on Strategy Tester. I try using Every Tick and 1 minute OHLC test and results are the same.

      Here's my indicator if you want to check the code inside,
      0_1607419142201_vwap.mq5

      Here's my FxDreema Project :
      https://fxdreema.com/shared/HYCH1kx2e

      Please help me if you find some clue,

      Thanks

      M 1 Reply Last reply Reply Quote 0
      • M
        miki @everjn17 last edited by

        @everjn17 First, rename indicator file in vwap,after, comment "//" Indicator name line in indicator file ,otherwise wrong parameters are passed from iCustom. Like this work,but for me is better delete (PRICE_TYPE)CLOSE_HIGH_LOW in every iCustom line in expert file for the right parameter passed.

        E 1 Reply Last reply Reply Quote 0
        • E
          everjn17 @miki last edited by

          @miki
          Thanks for your answer,
          I did delete the PRICE_TYPE enum and try to run it again on strategy tester, but the same error still come up.

          M 1 Reply Last reply Reply Quote 0
          • M
            miki @everjn17 last edited by miki

            @everjn17 Comment with // line 97 in indicator file and compile it again.
            0_1607428821569_test1.png
            0_1607428830951_test.png

            E 1 Reply Last reply Reply Quote 0
            • E
              everjn17 @miki last edited by

              @miki
              Wow, it works.
              Sorry i misunderstood what you mean previously,

              Thanks Miki, you save me a lot of time

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

              Online Users

              F
              M
              A
              L
              O
              S
              E
              J
              D
              M
              X
              K
              E

              25
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors