EasyLanguage Inputs – Basic Tutorial TradeStation and MultiCharts 2020

In this tutorial, you’ll learn how to use the EasyLanguage inputs and variables when programming your Trading System. If you want to assign a default value to your program, such as a Moving Average Lenght, you have to insert the input in your code.

The inputs are in the first part of the code. You can choose any name for your inputs, for example, MA_Lenght or Moving_Average_Period. Remember that you can’t use the space.

Besides, you can’t even use reserved words.

You can find all the reserved words HERE.

PowerLanguage for MultiCharts has some reserved words that are different.

Finally, you can’t use any characters like ( % & / ). If you use these characters, The Build Tab will show you an error message.

Easylanguage Error IN THE OUTPUT

You can use the word “Input” or “Inputs” with two points and the default value in brackets.

In PowerLanguage with MultiCharts is the same. You can enter all the inputs you want. A semicolon must follow the last input.

Input code in EasyLanguage

In this EasyLanguage Tutorial, now we’ll discover how many types of inputs exist.

There are many types of Input:

  • Numeric
  • Boolean
  • String
  • Color

EasyLanguage Inputs – Numeric 

It’s simple… It’s a number value. In the bracket, you can insert one number or one formula.

Easylanguage Numeric Inputs

It’s correct to a number with a decimal, separated by a dot.

Input number with decimals

EasyLanguage Inputs – Boolean

The Boolean input contains a true/false input. For example, you can use it to activate or deactivate a condition.

EasyLanguage Inputs – String

In the string input, you can write a text in the middle of the quotes.

Easylanguage string input for alert

EasyLanguage Inputs – Color

In the color input, you can insert color; the color in EasyLanguage is reserved words:

Easylanguage reserved colors list
EasyLanguage color input

Final Consideration

When you attach your custom indicator to the chart, you’ll change your inputs. Generally, a trading system with a high number of inputs is considered more user-friendly. Graphical inputs are essential: color, width, etc.

We hope this EasyLanguage tutorial was useful for you. You can use this information to create indicators or trading systems with TradeStation and MultiCharts.

Do you want to learn EasyLanguage & PowerLanguage for TradeStation and MultiCharts? Start here: