EasyLanguage ® is a full-featured programming language designed for traders. EasyLanguage ® can be used to create powerful trading indicators, strategies and custom trading applications.
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.
- Praise For TradeStation ® Made Easy! 'Sunny Harris has been a TradeStation ® user and advocate since its inception in 1991. Her back-testing methodologies using TradeStation ® have remained widely popular over the years with online strategy traders. Sunny's writing is thorough and easy to read. We think this is a valuable book for anyone who is interested in learning more about strategy.
- Synchronization In the Synchronization tab, Auto Trading can be halted unless certain conditions are true. If Back-Test position is long one contract but real-time.
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.
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.
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.
It’s correct a number with a decimal, separated with a dot.
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 Inputs –Color
In the color input, you can insert color, the color in EasyLanguage are reserved words:
Easylanguage Essentials 2
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.
Easylanguage Essentials Login
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
JOHN EHLERS INDICATORS: I have compiled most of the indicators on this page from Ehlers books. Some adjustments have been made for clarity or to get them to work properly. They have all verified in TradeStation but no guarantees of perfection or proper functionality are implied. The MESA formula (Maximum Entropy Spectral Analysis) which is used in many of these indicators, was originally developed to interpret seismographic information for oil exploration. They have been adapted here for measuring market cycles - they produce high resolution outputs with exceptionally short amounts of information, an ideal combination for market evaluation.
MAMA FAMA Indicator: - MAMA stands for MESA Adaptive Moving Average (It has also been dubbed Mother of All Moving Averages). This is a MA that adjusts itself to up/down cycles and is very robust - I'm planning to incorporate it into some strategies soon.
Fisher Transform Indicator: This is a very fast crossover trade trigger indicator and if used in conjunction with a good trend-following tool it is predictive and can be applied in strategies (coming soon). When compared to MACD or other crossover indicators the Fisher Transform is clearly superior and timely.
Instantaneous Trend Indicator (iTrend): Trend indicator with nearly zero lag and about the same smoothing as EMA. Trade signals are generated by crossing of the trigger line and iTrend line.
Center of Gravity Indicator: Another Ehlers oscillator - I have not experimented much with this one - may require an additional trend indicator to help function best - do your own testing.
Cyber Cycle Indicator: An early Ehlers indicator that attempts to measure market cycles.
Cycle Measure indicator: Same as Cycle Period indicator. Another Cycle Measuring indicator, more robust than the one above, but with only one line - no crossovers.
Fisher Cyber Cycle Indicator: A cycle measuring indicator with a Fisher Transform modification.
Relative Vigor Index: The concept of RVI is that prices close higher than they open in up mkts and v.v. in down mkts. RVI is an oscillator where movement is normalized to the trading range of each bar. It uses four-bar symetrical FIR lag-cancelling filters to produce a readable indicator.
Stochastic CG Oscillator: Rev.10/01/08 Several indicators have been modified with a stochastic algorithm. In some cases this improves performance but not significantly.
Stochastic Cyber Cycle indicator: Rev. 10/01/08 -Same comment as above.
Fisher Stochastic CG Oscillator: The Fisher Stochastic CG indicator/oscillator is similar to the Stochastic CG Oscillator but with sharper reversals and occasionally earlier signals.
Stochastic RSI indicator:
Easylanguage Essentials Login
Stochastic RVI index: Rev.10/01/08 -The concept of RVI is that prices close higher than they open in up mkts and v.v. in down mkts. RVI is an oscillator where movement is
normalized to the trading range of each bar. It uses four-bar symetrical FIR lag-cancelling filters to produce a readable indicator.
Cycle Period Calculator: posted 8/26/08
These adaptive indicators are more responsive than their static (non-adaptive) counterparts. They are meant to eliminate lag. The sine wave (coming soon) is supposed to be predictive.
Adaptive Cyber Cycle: posted 8/26/08
Adaptive CG: posted 8/26/08
Adaptive RVI: posted 8/26/08
Sine Wave Indicator: posted 8/27/08 - This indicator tries to determine the current phase of the cycle you are in, has an advantage over other oscillators such as RSI and Stochastic because it predicts rather than waits for confirmation. SW gives entry and exit signals 1/16th of a cycle period in advance of the cycle turning point and seldom gives false whipsaw signals when the market is in a trend mode.