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, for example, a Moving Average Lenght, you have to insert the inputs 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.

reserved words EasyLanguage Tutorial

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. The last input must be followed by a semicolon.

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 a number with a decimal, separated with 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 boolean inputs

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 are 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:

More from Finance Strategy System

EasyLanguage Number to String

EasyLanguage & PowerLanguage Tutorial – Time and Date

MULTICHARTS BACKTESTING TUTORIAL

How to create a Show Me Indicator

How To (AUTO) Trade Divergences

The Vortex Indicator || Tutorial

Coppock Curve Indicator

Market Correlation | Stock Market – Bond – Commodities

OBV Indicator – On Balance Volume Tutorial

EasyLanguage & PowerLanguage Tutorial – The Bars

Recent Posts

error: Alert: Content is protected !!