code When it comes to writing computer programs or in this case automated trading systems translating English into programming code can be fraught with danger. Pseudo Code on the other hand refers to a more structured English for describing a process or program. It is important that you learn to write quality pseudo code as it will make a big difference when you come to coding your system your self or hiring a programmer.

There are many benefits in writing your algorithms or trading logic in pseudo code these include:

  • You will gain a detailed understanding of the program or algorithm you are developing.
  • Errors in logic picked up early.
  • Not constrained by a single programming language.

Below is a brief example of pseudo code:

IF movingAverage1 = movingAverage2 THEN
    SEND buyOrder
END IF

If you wish to learn pseudo code these links will be very helpful:

If you are new to programming you may be interested in free for (educational use) program called P-Coder. P-Coder allows you to define the structure of a program in a graphical context and then you will be able to generate code automatically. This program is not intended for production use but is a good tool that can help in the learning process. The program will automatically generate code for java, C++, VB and Perl. Some screenshots highlighting the features are attached below.

Designer View

Design View P-Coder

Code View

Code Gen P-Coder

Class View

Class Viewer P-Code

Text View

P-Coder Text View

Our Random Articles

Sponsored Links