Internal error: unknown command

Forums ProRealTime English forum ProOrder support Internal error: unknown command

Viewing 4 posts - 1 through 4 (of 4 total)
  • #210905

    Dear members,

    For several times I have seen ProRealTime code that all gave errors. And all these errors I could not explain after looking at these commands in the programming manuals. It starts on the first line: Internal error: unknown command. It is the line with the ‘DEFPARAM’ command: the word ‘CumulateOrders’ is underlined here to indicate that it is not recognized. The same also applies to the commands ‘BUY’ and ‘EXITSHORT’. I can’t possibly figure out why those commands produce such errors. Maybe someone can shed some light on this? I have only added the lines below that give an error.

     

    Internal error: unknown command

    #210916

    Maybe you apply this to Indicator code ? that should not be. This is meant for Strategy code (the rightmost tab at the attempt of selecting/opening the code by means of the editor).

    1 user thanked author for this post.
    #210932

    The code you posted reports no errors.

    Bear in mind that you can exit long trades using SELL, as EXITSHORT is used to exit short trades opened with SELLSHORT, instead.

     

    #210939

    Dear Peter,

    Thank you very much for your answer. Indeed, I had copied the code into the wrong editor. No more error messages this time. Thank you very much for this tip! Sincerely, Karel.

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login