With functions, reoccurring tasks in EasyLanguage can be made easier. Functions are also used intensively in backtesting a strategy.
General
- The article Passing values to and from a function describes how variables can be send to, and received from, a function.
Examples of EasyLanguage Functions
- Bars Since Start Session; returns the number of bars since the start of the current session.
- Decimals Of Instrument; gives the number of decimals for an instrument.
- Tick Value; returns the value of a tick.