Type/to search
Getting Started
Welcome to FMZ Quant Trading Platform
Quick Start
Key Security
Platform Basics
Account and Billing
Live Robot Billing and Top-up
Sub-accounts
Exchange
General Protocol
Local Credential Files
Exchange-Specific Notes
Securities and Futures
Crypto
Docker
Strategy Library
Live Trading
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Integrations

The platform supports MyLanguage for writing and designing strategies, compatible with most syntax, instructions and functions of Wenhua MyLanguage. MyLanguage encourages modular programming, breaking down complex algorithms into function modules. Through concise syntax, dedicated data structures and powerful financial function libraries, it supports the implementation of complex financial logic. Building applications in a modular way improves development efficiency and code maintainability.

MyLanguage Strategy Example: System Based on Displaced Bollinger Bands

mylang
M := 12; // Parameter range 1, 20 N := 3; // Parameter range 1, 10 SDEV := 2; // Parameter range 1, 10 P := 16; // Parameter range 1, 20 // This strategy is a trend-following trading strategy, suitable for larger timeframes such as daily charts. // This model is only used as a model development case. Trading based on this carries your own risk. //////////////////////////////////////////////////////// // Displaced BOLL channel calculation MID:=MA(C,N); // Calculate middle band TMP:=STD(C,M)*SDEV; // Calculate standard deviation DISPTOP:=REF(MID,P)+TMP; // Displaced BOLL channel upper band DISPBOTTOM:=REF(MID,P)-TMP; // Displaced BOLL channel lower band // System entry H>=DISPTOP,BPK; L<=DISPBOTTOM,SPK; AUTOFILTER;