6) Using OneClick Automation

New Training Video! 

Click Here to see a training video of this step!

A OneClick Search uses the AutoSearch as a foundation, but then adds a great deal of intelligence to the search.  Perhaps most importantly, a OneClick Search allows you to filter and rank systems based on any of the performance values in the Detailed Analysis.  This is significantly more flexible than the AutoSearch itself, which allows you to filter and rank only on the limited performance values in the Combination Results Listing.  But even further, a OneClick Search allows you to automatically test the systems against out-of-sample data, test shifted parameter sets, run optimization routines on the best results, and even combine the best performing Strategies into a multi-system.

The OneClick Search has a large number of settings that allow you to customize the search to a very fine degree.  We won't cover all the settings here, but between this step and the next step of Improving Your OneClick Search, you should have a good understanding of the basics by the time we're through.

Creating a Basic Setup

Running the OneClick

Examining the Results

Creating a Basic Setup

To create a new OneClick Setup, open the Setups > OneClick Setups menu and click the Add button.

Begin by giving your setup a name, such as My First OneClick.  Next, on the General tab, enter a Start Date and End Date for your OneClick evaluation.  Since this example is an extension of the AutoSearch and Strategy we ran earlier, you may want to set the Start Date and End Date to the same ones you used in Step 3 earlier.

As mentioned, the OneClick Search is an extension of the AutoSearch, and it in fact uses the AutoSearch as its foundation.  For the AutoSearch setting, you should select the AutoSearch you created in Step 5.  If you used the same name that was used in the example, it will be called My First AutoSearch.

Finally, while we'll discuss multi-systems a bit later, for now you should set the Number of Strategies to 1.  This tells the OneClick Search that you're looking for just a single strategy rather than a multi-system comprised of multiple strategies.

Next, we'll identify the Sector that we'd like this OneClick to run its strategies against.  Click the Sectors tab to make the sector selection:

The OneClick Search can be directed to use any of the available sectors, or it can be directed to use a select few.  When multiple sectors are defined, the OneClick Search will simply rotate which sectors are used against which strategies.  Thus, you can not only search for trading systems, you can also search for the sectors against which they should be run.

In this example, however, we'll be running the OneClick Search against just one sector.  You should select Selected Sectors as the option, and then double-click on the same sector that you previously ran your Strategy and AutoSearch against.

Next, navigate to the Optimization tab.

The OneClick Optimization provides two phases of optimization, either of which can be turned on or off.  In the first phase, alternate parameter sets are tested.  This is very similar to how we ran the Strategy earlier.  We used the same trading rules, but tested a variety of parameter sets within those rules.  In the second phase of optimization, the use of additional trading rules can be used alongside our initial system.  This is very similar to how we ran the AutoSearch.  We began with our base system, and we then used the AutoSearch to test additional trading rules.  Notice how, in the New Trading Rules Optimization section, you can set a separate AutoSearch Setup that defines which trading rules will be used for the optimization phase.

For this example, you should uncheck the Enable New Trading Rules Optimization box.  All other settings can be left at their defaults.

During a OneClick Search, StrataSearch will create one strategy after another, each built from the definitions of your AutoSearch.  Based on the Run optimization after every 1000 combinations setting, StrataSearch will enter the optimization phase after creating and running 1000 combinations.  As configured in the Parameter Optimization section, it will then take the best 3 combinations through this optimization phase, attempting 250 different parameter sets for each. 

Once you've completed the above settings, click OK to save your setup.

Running the OneClick

To run your OneClick Setup, open the Run > Run Combinations menu:

Set the Run Type to OneClick, and then select your OneClick Setup from the list.  There is no need to set the Sector for a OneClick Search, since this is defined in the OneClick Setup itself.

Click Start to begin the OneClick Search.  You'll then see the Processor running your OneClick Search.

Note: If you hadn't previously stopped the Strategy or AutoSearch from the previous step, that may still be running and your OneClick Setup may simply be waiting in the Queue.  If so, click the Terminate button on the Processor to terminate the previous searches.  You should see the name 'OneClick', followed by the name of your setup at the top of the Processor.

As you watch the Processor, you'll see that the Entry and Exit Strings look just like the ones that were run in the AutoSearch.  However, there is a great deal of additional processing going on behind the scenes.  You'll probably see the Processor creating a Detailed Analysis on occasion, which is one of the many things the OneClick Search will do for you automatically.

Examining the Results

To open the Combination Results, open the Display > Combination Results menu.

Set the Selection to OneClick, and then select your OneClick Setup from the list.  You can then click OK to display the results.

The first thing you might notice is that the results listing displays just one result instead of the large number that we saw in the Strategies and AutoSearch results.  This is because the OneClick is keeping only the best performer for you, preventing you from having to sift through countless results on your own.

As you watch the Combination Results Listing, you'll see the performance numbers changing quite frequently in the beginning.  The OneClick Search is finding better strategies, and replacing the old results with the new ones as the search progresses.  Over time, it becomes harder and harder to find better performers, so the Combination Results will refresh much less frequently, and the improvements will become smaller in magnitude.

By selecting the Display > Processor menu, you can watch both the Processor and the Combination Results Listing.  Keep watching until the Processor gets to 1,000 runs, and you'll see it enter the optimization phase.  At that point, the trading rules will remain static, but alternate parameter sets will be tested to see if additional improvements can be found.  When the optimization phase has completed, the OneClick Search will go back to the regular search for another 1,000 runs.

Initially, it can be difficult to view a Detailed Analysis because improvements are found so frequently and the Detailed Analysis must be rerun.  If you're viewing a Detailed Analysis at that time, it will close automatically.  For this reason, it is often best to wait to view a Detailed Analysis until a large number of the initial improvements are already out of the way.

After viewing the results of your OneClick Search, you might be thinking of areas where you'd like to see improvement.  For example, maybe the holding periods are too long, or the drawdowns too large, or perhaps the trades are unevenly skewed, with a small number of trades creating the majority of the system's gains.  This is as expected, since we haven't yet told the OneClick Search what we're looking for in a trading system.  In the next step, you'll see how to better direct the OneClick Search to find the trading systems you're most interested in seeing.

New Training Video! 

Click Here to see a training video of this step!

Next StepImproving Your OneClick Search

See AlsoOneClick, OneClick Setups, AutoSearch, AutoSearch Setups, Processor