Equilla Basics

With the programming language Equilla, Tradesignal offers you an easy to learn but powerful programming language. With its help, you can easily perform even complex tasks.

Equilla resembles programming languages like Pascal or Visual Basic. All functions, indicators and strategies in Tradesignal are written in Equilla. (For the relationship between these three, see the chapter Introduction to Functions, Indicators and Strategies).

The special benefits of Equilla are the extensions for the trading business. They allow you to translate your ideas about finance and analyses into executable routines. This way, you can write your own strategies, indicators or other applications for the various software components of Tradesignal. Equilla helps you to solve your individual problems, to test new trading ideas and to work outside the box of externally defined, inflexible procedures.

To quickly get accustomed to Equilla, we recommend familiarity with a programming language. However, you can also learn to tap the potential of Equilla by analyzing and editing available Equilla code (e.g. customizing an indicator).

Equilla scripts are edited in the Equilla Editor, which supports you with color-coding of the Equilla source code. In the editor, you can also retrieve detailed information for Equilla functions via the context menu.

The Equilla chapters in this help are intended to be more of an introduction to the various topics. For an extensive documentation of all features, please refer to Tradesignal help under the menu entry Equilla Formula Language.

Sequence of Events when Compiling Equilla Code

When compiling Equilla code into an executable Equilla program, it is important to remember that all Equilla scripts are saved in packages. The compilation sequence partly depends on the sequence of these packages, which you can change in the Package Management in the Tradesignal Options.

Calling up Functions from Indicators/Strategies

For indicators and strategies, functions are called up by their name (without information about their package). Tradesignal searches for the function in the following sequence:
  1. in the same package as the indicator/strategy
  2. in all packages, in the sequence given in the Package Management in the Tradesignal Options
As soon as a function with the correct name is found, the search ends and this function is used.

Therefore, if you move indicators/strategies to another package, it may give different results if another function is used due to the changed package sequence.

Exporting packages can also lead to problems, if packages exchanged with other users use functions from another package. If the user has no function with the same name, the script will not compile; if the user has another or older version, the results for the users may differ.

Calling up Indicators/Strategies from Saved Documents

When saving a chart, scanner, watchlist or portfolio, not only all settings but also all applied indicators and strategies (including their respective package names) are saved.

When the documents are opened again, Tradesignal checks whether a newer version of the indicator/strategy is available, and will use that one if possible. Tradesignal searches in the following sequence:
  1. in the packages as given in the saved document
  2. in all packages, in the sequence given in the Package Management in the Tradesignal Options
If no newer version is to be found, the indicator/strategy as saved in the document is used.