MyLanguage Syntax, Data Types, Operators, and Data Access
Summary
This reference introduces MyLanguage, a domain-specific language for writing programmatic trading analyses on the FMZ Quant platform. It explains scalar and sequence data, strings, numeric and Boolean values, global variables, naming conventions, and assignment forms that determine whether values appear on a chart or in its status display. It also describes comparison, logical, and arithmetic operators, with examples using market series such as closing prices.
The document further outlines function calls and illustrates access to exchange contract identifiers and externally loaded data. Its examples include historical-bar backtests and rules that generate futures entry signals from highs, lows, and loaded series. These examples teach language mechanics rather than establish a profitable strategy. Some passages are incomplete or platform-specific, and the guide does not assess data quality, execution assumptions, or strategy performance.
Key ideas
- MyLanguage distinguishes individual values from time series such as closing prices.
- Assignment operators differ in whether they display values on charts or in status information.
- Conditions combine comparison and logical operators to produce Boolean results.
- Global variables can accumulate values across bars, including initial bars processed during a backtest.
- The DATA and CONTRACT features provide access to external series and mapped exchange contracts.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.