User Tools

Site Tools


create_a_new_trading_system

How to Create a New Trading System

Step 1: Create a Trading System

Choose File > Create new > Trading system.

Give a name to the trading system then press ENTER.

Step 2: Define the Condition of Market Entry

The Trading System Building Assistant is opened automatically.

Click Next to go to Condition of market entry.

The entry condition is made of one or more comparisons. To enable an additional comparison, check the corresponding AND: checkbox on its left.

For each comparison, use the drop-down menus to select the left and right operands, then choose the appropriate condition operator.

Step 3: Set the Entry Order

Click Next to go to Entry order.

Choose the type of entry order:

  • Buy at market to enter a long position
  • Sell short at market to enter a short position

Click Next to go to Parameters of entry order.

You can set four parameters:

  • Position size: the number of shares to buy or sell.
  • Stop-loss: the loss level at which to automatically exit the position.
  • Trailing stop: the draw-down level at which to automatically exit the position.
  • Take-profit: the profit level at which to automatically exit the position.

Only set these parameters now if you are sure of their values, and you do not want to experiment with them. Otherwise, skip the step and click Next - you will later be able to set these parameters in the Backtest Assistant.

Step 4: Define the Condition of Market Exit

Define the condition of market exit like you did for market entry.

Click Finish.

Step 5: Customize the system with TSL

Once you are finished with the Trading System Building Assistant, the code of your trading system appears in a new window. You can either use it as-is in a backtest, or further edit it to create more complex rules using the TSL Language and its special features for trading systems.

create_a_new_trading_system.txt · Last modified: 2014/08/02 06:29 (external edit)