Find Answers/MarketDelta Charts/Technical Indicators

Trading System Indicator - TSYS

Trevor Harnett
posted this on June 05, 2010 21:57

The Description

The Trading System Indicator (TSYS) provides the ability to chart any trading system, using any periodicity, both historically (backtesting) and going forward. TSYS clearly marks all position changes, whether it be an entry, and exit, a reversal, or a addition or subtraction from an existing position. Stepped lines are also optionally drawn on every bar in every trade, to show the entry price, stop/trailing stop price, target price, and
much more. An optional trade box can also be wrapped around every trade. Since Trading Systems can use multiple signals/rules to manage the behavior of the system over time, this indicator is much more powerful than a single Signal Marker or combination of Signal Markers. The Trading System allows each signal/rule to have knowledge of the current condition of other signals, as well as the current characteristics of the overall system. TSYS also has an option for "Custom Result". When this option is checked, the indicator will simplify into a single result which can be drawn with any of the standard line or histogram drawing formats.

Custom Results include:

  • Position
  • SizeBars In Position
  • Balance
  • Entry
  • Stop
  • Target
  • All 512 User Variables (V# Variables)

TSYS gives the user the unique ability to plot User (V#) Variables historically. User Variables, along with the Trading System tokens STOP, ENTRY, and TARGET, are not historical by nature, since each symbol has only one value for any of these variables at any given instant. TSYS captures these values as the system unfolds, and presents the values historically, allowing the user to closely monitor the state of his system at the current time, as well as in the past. TSYS is a "completed bar" indicator. It only recalculates once per bar, and only when that bar is completed. While a bar is in the process of forming, TSYS will not reflect any actions that might have resulted from the processing of that partial bar. Then the bar is completed, TSYS processes it and takes any necessary actions, and displays the results. There are two reasons for using this method. First, it prevents premature signals from firing, and ensures that any signal that triggers and action, is performing on completed data, and is therefore permanent. Secondly, by calculating only once per bar, the processing becomes much more efficient. This can certainly be an issue when using complex trading systems. Along the same lines, before adding TSYS to any chart, make sure the viewing period of the chart is reasonable, as the TSYS will initially compute on all the bars involved in the chart. Initial calculation can become somewhat lengthy on extended viewing periods (last 50 days of 1-minute data).

New "Custom Band" Feature Added to Trading System Indicator.

The Trading System Indictor (TSYS) now has a new custom band option. This option is labeled "Draw Band Between Values 2 and 3" and gives the user the ability to draw a solid or hollow band between ony of the available price values. As a common example, the user might want to draw a band between the system's stop and target values. Combining such a "stop-target" band with a Profit Band (drawn between Entry and
current price) results in a nice visual representation of the trading systems state both historically and going forward. This setup also works well when drawn behind an instrument which is in turn drawn as a connected line. The custom band also has a "hollow" option. When "hollow" is checked, the only the borders of the band will be drawn for each bar.

The Presentation - more on Charts

Trading_System_Indicator.png

The Preferences

Trading_System_Indicator_-_Prefs.png

  • System - The Trading System that will be used to compute all results specified below.
  • Buy - The Marker (including shape, size, and position) that will be used to mark the bars in which the system experienced an increase in position size. This could include actions of "BUY", "BUYMORE",
    "REVERSE (Cover Short & Go Long), "BUYSTOP", or "COVERSHORT".
  • Sell - The Marker (including shape, size, and position) that will be used to mark the bars in which the system experienced a decrease in position size. This could include actions of "SELL", "SELLSTOP", "REVERSE (Exit Long & Sell Short), "SELLSHORT", or "SELLMORE".
  • Show Values - The first three options in the group box are "historical", and include options for "Entry", "Stop", "Target", "Profit Band", and all User Variables (up to 512). These values are plotted historically, and only when positions are open (this may change going forward). The last line gives the user the added ability to plot the "current" value of up to 10 User Variables. The User Variables numbers should be separated with a comma (V#1, V#2, V#5 should be entered as "1, 2, 5").
  • Trade Box - When checked, a "Trade Box" is drawn around every trade. The box is drawn in the "Up" color when the position is long, and the "Dn" color when the position is short. The user specifies the
    thickness (in pixels) of the boxes top and base.
  • Custom Result - When this option is checked, the indicator will simplify into a single result which can be drawn with any of the standard line or histogram drawing formats. Custom Results include "Position Size", "Bars In Position", "Balance", "Entry", "Stop", "Target", and all User (V#) Variables (up to 512).

For additional information on RTL Tutorials for Custom Indicators, Signals and Backtesting, click here.

RTL Token - more on RTL

The RTL token TSYS.