spacer esignallogo
 |  Contact Us   
Developing eSignal Formula Studies

eSignal Pre-Programmed Studies

eSignal offers more than 100 eSignal Formula Studies. These sample formula studies are written in pure JavaScript and are saved in plain text as eSignal Formula Script (EFS) and appear as .efs files in the Formula folder under the eSignal directory. You can use them as-is or view and modify them in the new formula editor to suit your trading strategies.

A partial listing of the sample studies available in eSignal can be found below:

MACD Slow and Fast -- Example of the JavaScript code for the MACD Slow study
Stochastic D, HH, K and LL
OHLC (Previous Day’s and Today’s)
Today’s High, Low and Open
Pivot Point R1, R2, S1 and S2
RSI Plot Dot, Flat Lines, Histogram, Line and Square Wave
30 Msh
Previous High, Low and Open
Bollinger Studies: Bollinger Bands, %b and Bandwidth

 

Developing Studies for eSignal

Third party studies may be developed to work with eSignal. Studies can be converted from another language or developed from scratch in JavaScript or in C++ using a DLL to integrate them into eSignal.

The EFS Help Center and Library is available on eSignal Central to assist you with development of eSignal Formula Studies.

Using JavaScript

This programming language offers amazing flexibility, allowing you to write sophisticated indicators using loops (for/next, do/while), a multitude of variables; it even lets you call other indicators. Additionally, using JavaScript, you can develop formulas for drawing lines on charts and drawing text on charts that can contain a URL link. Also in the works are “Strategy” extensions for EFS that will allow for system testing.

Sample Routines Written in JavaScript

Setting the minimum / maximum of a study
Setting the study title (appears in upper left corner or pane)
Setting the cursor label
Turning off the cursor label (hiding the cursor label)
Setting the plot type
Setting the histogram base (when plotting a histogram)
Setting the default color, style and thickness of the line being plotted
Setting the color, style and thickness of a specific bar being plotted
Adding horizontal lines (aka bands) (e.g., Stochastic Bands @ 20 and 80, RSI Bands @ 30 and 70)
Controlling the color of the price bars
Plotting data with the price bars (Examples: Keltner Bands, Moving Average, Bollinger Bands)
Plotting multiple values from one formula
Setting the color, style, thickness to and cursor label for a formula that plots multiple values
Other tools and debugging

Working with DLLs

Studies developed in C++ can be integrated into eSignal using a DLL (DLL object and sample .efs file).

For information on developing your indicators or trading systems for eSignal for resale to eSignal users or for professional use within a corporation or brokerage, send a message for eSignal Formula Studies via this Contact Us form.