Print listing of code

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

    Is it possible to print a listing of code for indicators, screeners etc direct from ProRealTime including indentations for IF, WHILE, FOR and any other statements that automatically generate an indentation of 3 or 4 spaces.

    Please don’t respond with “Copy the code and past into a document and put the spaces in yourself”.  Due to the error rate, that is a non-solution.

    #5212

    Hello Free2Trade, I used to make a syntax highlighter into NotePad++ with code indentations. But I lost the file.. damn! It’s not difficult to do it, but it needs a lot of time because of the many instructions of the language.

    If you don’t know what is NotePad++, here is the link :

    https://notepad-plus-plus.org/

    and a documentation to create UDL (User Defined Language) here :

    http://udl20.weebly.com/

    I’m curious, why do you want to have prorealtime codes elsewhere than in its own IDE? 🙂

    #5216

    It’s a bit like a Kindle vs a book.  A novel is read sequentially from start to finish with the occasional need for random access.  But any sort of technical reference has a high demand for random access with the occasional need for sequential access.

    Having been a programmer in my previous worklife, printed listings enabled desk checking the program step by step (including simulated breakpoints), monitoring values of many variables, testing various inputs and observing subsequent outputs.  All of these can be checked on paper and interestingly none of these can be done in ProRealTime.

    Besides, I cannot study a number of listings at the same time for the purposes of transferring knowledge to a new section of code.

    My problem exists now and the partial solution in V10.3 still has no implementation date on the IG Markets platform.

    Printed listings are still an effective version control.

     

    #5218

    For “step by step checking” you can create boolean variables for each step you want to check and display them with the GRAPH instruction, but you can also display any variables with an unlimited instance of GRAPH.

    I know you can’t print as text for debugging purpose, but the graph instruction give us something clear with a graphical representation over time and on the same chart as the strategy is running on.

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