Command Line


Command Line
The command line is a central control element of Tradesignal. From here, you can
  • create new documents like charts or scanners
  • open Internet pages
  • enter Equilla formulas
  • change the trading period of charts
  • enter Tradesignal-specific !Bang commands

Global Command Line Functions


Command line with open menu
  • The command line is context-sensitive, i.e. in the drop down menu of the command line, only functions available for the entered command or text are displayed. The most probable function is offered first.
  • Double-click in the command line field to open the drop-down menu. This can be useful e.g. if there is a symbol shortcut in the command line and you want to call up a function for it.
  • The command line "remembers" previous entries. Click the small arrow to the right of the command line field to open the list of previous entries. You can delete the command line history in the Tradesignal Options.
  • On the basis of these remembered entries, the command line offers auto-completion upon entering letters. For example, if you have already entered "nsd.x" once, the next time you type "nsd" it will lead to the correct auto-completion.

Symbol Shortcuts

With a symbol shortcut you can open a Chart, a Scanner, a Watchlist or a Portfolio. If such document types are already open, you can display the symbol in them. In case of an open chart, you can either substitute the displayed symbol or add a second time line to the existing chart.

Further commands can be entered along with the symbol shortcut:
  • Periods - Enter a trading period right after the symbol shortcut. For example, ".DJI 60m" will open an hourly chart of the Dow Jones index.
  • Data fields - Enter a data field name, for example "CAT NYS bid" oder "CAT NYS ask". (Calls up data from the data provider.)
  • Units - Enter a unit; this is especially useful in case of commodities and goods. (Calls up data from the data provider.)
  • Currency - Enter the currency in which the symbol should be displayed. For example, enter "IBM NYS eur" to display IBM in euros. You can find the currency shortcuts in the symbol properties in the toolbox.

Short Codes for Indicators

Each Tradesignal indicator, as well as many indicators from other sources offer a short code. With it you can call up the program from the command line. For example, to apply the Momentum indicator, enter "MOM" in the command line and select the offered option "Add Indicator Momentum".

Short codes can be applied to all document types that can work with indicators. To find out possible short codes, open the indicator window in the toolbox and hover over the list entries with the mouse. You can find the short code in the tool tip.

Equilla Code

You can also enter Equilla Code directly in the command line (not available for trading commands like Buy or Short). This way you can easily set up new indicators or display an often-used spread between two symbols.

Enter a Formula in a Chart

You can create and apply indicator combinations by directly entering the formula in the command line. In that formula, you can combine Equilla functions and perform arithmetic operations. An editor is not necessary.

To apply the following examples, an instrument has to be open in a chart.

Example 1: Calculate a five day average of the trading volume and then the ten day momentum:
Momentum( Average( Volume, 5 ), 10 )
Example 2: Calculate the absolute difference between the open and close, then the 14 day RSI and then the exponential average for it over 5 days:
Drawline( XAverage( RSI( ABS( Open - Close ), 14 ), 5 ) )
Example 3: Display the difference between the close and the 200 day average line:
Close - Average( Close, 200 )

Display Synthetic Time Lines, e.g. Spreads

If you want to display the difference or ratio between two timelines, enter the two symbol shortcuts with the arithmetic operator between them. Instead of entering the symbol short cuts you can also drag the symbol from a symbol list, scanner, watchlist or an open chart to the command line.

For example, enter
fdax 2006m / fdax 2006z
and choose the option New Formula Chart to display the spread.

Open Web Address

To open a web site, enter a website address in the command line and choose the option New Browser.

Change the Trading Period

This feature is available for every document with an editable time period. Enter one of the following period shortcuts in the command line and choose the option Set Intra-Bar Period:
  • m or monthly - Display a monthly period.
  • w or weekly - Display a weekly period.
  • d or daily - Display a one day period. You can add a number, e.g. "2d" for a two day period.
  • h - Display a period based on hours. A leading number has to be added, e.g. "3h" for a three hour period.
  • m - Display a period based on minutes. A leading number has to be added, e.g. "5m" for a five minute period.
  • s - Display a period based on seconds. A leading number has to be added, e.g. "6s" for a six second period.
  • t or tick - Display a one tick period.

!!Bang Commands

The so-called !!Bang commands in Tradesignal work in a similar manner to the traditional commands for command line interpreters. They always have a leading "!!" (2 exclamation marks) and offer you a quick way to access certain software functions.
  • !! - Enter only the 2 exclamation marks in the command line to open a list of all available Bang!! commands.
  • !!add - Adds a symbol to an open document in the workspace. Example: "!!add .dax" adds the dax in a Chart, Scanner, Watchlist or Portfolio.
  • !!close + option - "!!close d" Closes the active document, "!!close w" closes the active workspace and "!!close all" closes all workspaces and documents.
  • !!eval + formula name - Adds an Equilla formula in the chart. Example: "!!eval open of .dax" adds the timeline for the dax open to a chart.
  • !!evalseries + formula series name - Adds an Equilla formula series to a chart.
  • !!log - Opens the Tradesignal log file which contains important information about the program status and error messages.
  • !!new + type shortcut (+ content) - Opens a new document. For most documents, the content, e.g. a symbol or web address, has to be given. The following shortcuts are available: b - browser, c - chart, f - Equilla function, i - indicator, m - Scanner, o - Portfolio, p - market profile, s - strategy, t - Position Manager, v - Watchlist, w - workspace.
  • !!replace + symbol shortcut - Exchanges the symbol in the active chart with the symbol given in the command. Example: "!!replace .dax".
  • !!replaceall + old symbol shortcut + new symbol shortcut - Exchanges the old symbol in all charts with the new symbol. Example: "!!replaceall ADS GER".
  • !!set + document property - Changes the property settings of a document. Example: "!!set historylength 100" for a chart.
  • !!setall + document property - Changes the property settings of all documents in which this property is applicable. Example: "!!setall historylength 100" for all charts.