EasyLanguage 入门-1
认识 EasyLanguage
- MultiCharts 中国服务团队
目的
了解程序运行的架构
了解将交易规则转化为程序策略的过程
EasyLanguage 基础语法和基础框架
预备知识
您已经熟悉 MultiCharts 的各种操作和特
色
有一定的交易经验
初步了解 MultiCharts 内置技术指标
交易规则:
收盘价大于前高,则下根 K 线时市价买入 100 手;
if the close(price) is greater than the high
(price) of 1 bar ago, then buy 100 contracts
next bar at market;
写成
EasyLanguage:
If the Close > the High of 1 bar ago then
buy 100 contracts next bar at market;