TRX Advanced Optimizer Scripts

Return to Divergence Software Studies Page

The Advanced Optimizer scripts in the TRX category are similar in design to the standard Optimizer scripts. However, the TRX scripts have some additional functionality that we think you will find useful.
  • The TRX scripts have the ability to create Heat Map displays of the optimization data. A Heat Map is basically a 3-dimensional contour mapping of all of the parameters tested during the optimization process. You can use it to quickly and efficiently identify ranges of robust parameter settings for analysis and trading purposes.
  • Click on the image to the right for an enlarged view.
Advanced Optimizer
Advanced Optimizer
  • The TRX scripts also have the ability to run "Quick Backtests". A "Quick Backtest" is simply a backtest that is performed internally by the script so it is much faster than going through the process of launching and configuring the eSignal Strategy Analyzer. This can save you a lot of time when you want to quickly tweak parameters and see what the impact is.
  • A "Quick Backtest" is launched by clicking on the Backtest button you will find on the chart. It takes a couple of seconds to run. A backtest summary and a trade-by-trade analysis are printed directly to the eSignal Formula Output window.
  • Click on the image on the left for an enlarged view of a sample "Quick Backtest" report.
  • The TRX scripts create optimization reports that are written to the eSignal Formula Output window. As with the original Optimizer scripts, the optimization process will seek out the most profitable parameters for the time period you have specified.
  • At any time, you can "Override" the optimized parameter settings with your own preferred/default settings. This is done by clicking on the Override button on the chart. Your preferred settings can be entered or updated at any time via the script parameter menu.
  • Click on the image to the right for an enlarged view.
Advanced Optimizer
Advanced Optimizer
  • The Heat Map functionality is a very powerful addition. It gives you a bird's eye view of the entire optimization process and helps you to find the very best parameter settings to use.
  • A Heat Map is created by running an optimization process and then clicking on the Heat Map button that you will find at the bottom-left of your chart.

  • The display was designed to be user-friendly. The chart itself can be rotated 360-degrees on any axis simply by dragging your mouse cursor over the chart surface. The chart can be zoomed and panned and the colors can be quickly changed and/or adjusted.
  • Click on the image on the left for an enlarged view of a sample Heat Map.
  • The Heat Map can be viewed as a 3-dimensional display, as in the example chart above.....
  • ...or it can be viewed flat (e.g. a true Heat Map) as in the example chart on the right. Either way, it provides important information on trading system performance over the parameter range you are testing.
  • Click on the image to the right for an enlarged view.
Advanced Optimizer
Advanced Optimizer
  • The x axis, y axis and z axis are clearly labelled using the values taken from the actual optimization. The chart title bar will always show you your current cursor x/y coordinates.
  • Using the Heat Map slider controls, you can quickly adjust the relative size of any axis. Use the Scale slider control to zoom in or out to practically any level of detail.
  • Click on the image on the left for an enlarged view.
  • Two versions of the TRX scripts are currently available: The Advanced CCI Optimizer and the Advanced MA Optimizer. A RSI version will be developed shortly.
  • As with the standard Optimizer scripts, full source code is provided so that you can customize the scripts to suit your trading style or integrate portions of the code into other scripts. Alternatively, we can customize these scripts for you at our standard hourly rate.
  • The Heat Map module is implemented as a DLL file (source code not included) and it can be integrated into other scripts that you develop. Licensing for the Heat Map module is on a per-user basis. When you place your order you will need to provide us with your eSignal username so that a Heat Map module can be activated for your user account. There are no recurring charges involved (e.g., you only pay for the script/module once) but use of the Heat Module itself will be tied to your eSignal account.
Advanced Optimizer