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.
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).
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.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue