fxDreema

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

    Check trades count compilation errors

    Bug Reports
    2
    2
    403
    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.
    • S
      stakemaster last edited by

      Check trades count generates the following incorrect MQL:

      77 extern string inp19="(19) Check BUY trades count MAX";
      78 extern sign inp19_Compare=<=; //
      79 extern int inp19_CompareCount=20; //
      80
      81 extern string inp20="(20) Check SELL trades count MAX";
      82 extern sign inp20_Compare=<=; //
      83 extern int inp20_CompareCount=20; //

      1170 if (countinp19_CompareCompareCount) {block9(19);} else {/* Yellow output /}
      1205 if (countinp20_CompareCompareCount) {block13(20);} else {/
      Yellow output */}

      along with the following compilation errors:

      'sign' - declaration without type line 78
      'sign' - declaration without type line 82
      'countinp19_CompareCompareCount' - undeclared identifier line 1170
      'countinp20_CompareCompareCount' - undeclared identifier line 1205

      What should the lines with errors actually say?

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

        Simply uncheck the "Compare" parameter. And use those checkboxes only when you want to quickly optimize some parameter. For real input parameters I will recommend to use the "Constants"

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

        Online Users

        E
        H
        R
        A

        18
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors