About the EasyLanguage Editor

The EasyLanguage Editor is word processor-like text editor for editing EasyLanguage documents including studies, strategies, and functions that contain EasyLanguage statements that combine reserved words, functions, and methods.

Overview

The EasyLanguage Editor features include:

  • Color coded elements. Green: comments, Blue: reserved words, Purple: functions, Olive pre-declared variables, Black user code.

{Creates timer object and sets initial values}

method override void Initialize()

begin

timer1 = new Timer;         // new timer object

timer1.Interval = 5000;     // time in milliseconds

  • Autocomplete.
  • Line numbering.
  • Projects allow you to group studies into a project file.
  • Bookmarking to quickly move between marked lines.
  • Outlining features for managing collapsible code blocks.
  • Right-click on reserved words, functions, object properties, methods, and events to access Definition of <word>...  help topic.
  • Access to the EasyLanguage Dictionary with the ability to drag reserved words and objects from Dictionary into the editor.
Using the Editor

Before you can use the editor you'll need to either open an existing EasyLanguage document or create a new one.

  • Use the File > Open menu sequence to access the window, specify a type  (Indicator, Strategy, etc.), and select a document from those listed. See Open an EasyLanguage Document for details.
        or
  • Use the File > New menu sequence to create a new EasyLanguage document of a specified type (Indicator, Strategy, etc.).   Enter a Name for the document and other related information about it's use.  See Create a New Document for details.
Using Components

Designer components, available from the Toolbox, allow you to drag and drop templates into the EasyLanguage Editor that automatically generate protected code.  Component code is modified using the Properties editor. Some component tools include the following:

Tool

Description

Toolbox

Lists the components and other items that can be added to the code editor.

Properties

Lists the properties values that can be modified for a specified design component.

Outline Bar

Provides an outline view of the components and other code elements.