How to use the Strategy Wizard?

The Strategy Wizard saves the need to write strategy code. It save the need to learn our language and allows you to use a simple drop down menus to build a new or update an existing strategy.
Once you are done with the Wizard, it will generate a strategy code for you (compilation success is guaranteed). At any time, you can modify or improve the code directly or select the Wizard to create a new one.
When you create a new strategy (Strategies/add) or edit an existing strategy, you will find a new link (or button in edit menu) : Strategy Wizard. Follow this link and open the Strategy Wizard screen:
Strategy Wizard Screen
The Wizard has four sections:

  • Strategy name.
  • Strategy code.
  • Sell rules.
  • Buy rules.

If you are editing an existing strategy, the strategy name will be filled in automatically. If you are adding a new strategy, just ignore the name.
When you enter first time, the strategy code will be empty (even if you update an existing strategy!). You do not need to write here, it will automatically be filled by the wizard.
Sell rule and Buy rule sections, are the area you use to define a new strategy.

Lets define the Buy rule section now:
Strategy Wizard Screen
As you recall, a strategy is a collection of rules (conditions) to Buy and a set of conditions to Sell. When Strategy Seeker executes a strategy, it checks on every bar (currently every bar is a day) if the Buy conditions are met (issue a Buy order) or the Sell conditions are met (issue a Sell order). You can specify multiple rules for Buy and Sell. By default, only one line is displayed. You can Add lines (Rules) by pressing the '(+) Add Buy Rule' (See 1 in the image below) or delete a line by pressing the '(-) Del Buy Rule'.

A rule structure:
Rule start with a function (such as Open, High, Low, Close, Volume, etc.) or an Indicator (Such as RSI, SMA, ADX, etc.) - the "left wing", a condition, and a "right wing"which may be a value or again function/indicator.
Select the first function or indicator from the first (most left) drop down. Note that if you select an indicator, a new text box will be displayed to enter the indicator value (for example RSI(14) ). Next, you need to specify the time parameter. This may be 'Last Bar' (default) or you can pull down to select 'Bars ago'. In such case you will need to specify number of bars. For example: we used the function 'Close' and we keep the 'Last Bar' options: this means that we are checking the Close of last bar (or last trading day). if we specify 5 Bars Ago, the system will check the value of Close 5 trading days ago.
Next, we select a condition to check, this may be: equal, not equal, greater, smaller, etc.
Now lets define the right wing: you may keep the default Value option, and just specify a value or use the pull down to select a function or indicator for the right wing. Repeat the steps of left wing function / indicator definition.
In the above image you can see that the first rule is: Close of last trading day > 5 days SMA this will be translated later by the wizard to Close() > SMA(5) .

You can now add a new line to define additional rule. Note that you may change the rules condition to be AND or OR. (number 2 in the image below)

Strategy Wizard Screen
When you are done press 'Accept Buy Rules' button (number 3 in the image above). The Wizard will now generate the strategy Buy section code and insert it into the strategy code text area (number 1 in the below image). Note that the wizard automatically adds comments to the code, such as a strategy header with the strategy name, your user name and creation date, as well as a comments in the Buy and Sell sections.
Also at any time you can select different rules and Accept again or clear the Buy section by pressing the 'Clear Buy lines'.

Strategy Wizard Screen

Now, you can do the same with the Sell rules. Define your Sell rules, and press the 'Accept Sell Rules' button. By now you have a complete strategy code in the strategy code window. you may browse it and check the code, or just finish by pressing the 'save' button. This will save the content in the system and will redirect you to the strategy edit screen to continue. If you do not want to save the strategy code and resume previous code , press the 'Back' button.

That's it! you are done with your first strategy wizard experience.

p.s. if you notice that the images above shows '(-) Dell Buy Rule' instead of '(-) Del Buy Rule' we know that you read this carefully :-)

X
Enter your Strategy Seeker username.
Enter the password that accompanies your username.
2 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Secure Login

This login is SSL protected

Loading