User login

  

Developing Custom Trading System

What is a Trading System in PTL?

A Trading System starts to run with every incoming tick for a given symbol. The Trading System will not be launched for a new tick if it is processing the previous one at this moment (i.e., the Trading System has not completed its operation yet). A Trading Systems will automatically execute trades according to some conditions defined by the trader and calculated in real time. The Trading System can both inform you about a possibility to trade and trade at an account automatically sending orders directly to the trade server. Like most trading systems,

ProTrader

supports testing strategies on history data with displaying trading in-and-out points in the chart.  ProTrader  has internal templates for your own Trading Systems. There are also a lot of standard Trading System are completed available.

Creating a New Trading System

If you need a new Trading System, start ProTrader Desktop and create a new project for the Trading System. After creating the project a code template for the Trading System appears in the Editor.

For trading and market operation  it's recommended to use platform collection. You can find description and prototype of each function in Dictionary panel. Also may use whole potential of any supported language.
For example, to open position you can type: ptl.OpenOrder(...).

Running a Trading System

After you have finished programing, run your script. Press F5 or right click in the Editor and select Run. The Strategy Manager window with default instrument then appears. Your Strategy Manager will show you all opened positions just like in a Chart. Move the mouse over any position in the chart to view details of it.

12345

Comments