wiki:StrategyCreate

Create a Trading Strategy

File the File menu select New -> Script Strategy.

The wizard will then guide you to the creating of the trading strategy.

Choose a name for your new strategy and a repository location (if unsure keep the default).

Select the instruments to manage with this strategy. The left panel shows the available instruments, the right panel shows the instruments already selected for the strategy. Click or Ctrl+Click on one panel to select the instruments and click on the arrows to move the instruments between panels. Instruments can also be added or removed later.

Select the bar sizes to receive.

Click on the Finish button to save the strategy and open the script editor.

Type the code of your strategy using standard JavaScript syntax. A small reference of EclipseTrader's specific functions and classes is available on the Reference page. An example strategy is available on the Sample page.

Attachments