iCustom 第三根线如何调用? 新评论 Deros 2014.03.17 18:22 int iCustom( string symbol, // 交易品种名称 ENUM_TIMEFRAMES period, // 周期 string name // 文件夹/自定义指标_名称 ... // 指标输入参量列表 ); 看了以上icustom 的说明,但还是不懂,求教各位。 例:icustom(null,0,"mymacd",12,26,9) 默认是第一根线的值,如何得到第三根的呢? Need help writing a custom indicator 请教关于多品种同时切换周期问题? iMA() in EA is not the same like in Custom indicator Ziheng Zhuang 2014.03.19 06:29 #1 Deros: int iCustom( string symbol, // 交易品种名称 ENUM_TIMEFRAMES period, // 周期 string name // 文件夹/自定义指标_名称 ... // 指标输入参量列表 ); 看了以上icustom 的说明,但还是不懂,求教各位。 例:icustom(null,0,"mymacd",12,26,9) 默认是第一根线的值,如何得到第三根的呢?MT5中iCustom() 返回的是指标的句柄,得到句柄后,用CopyBuffer来获得相应的线的值. 新评论
int iCustom(
string symbol, // 交易品种名称
ENUM_TIMEFRAMES period, // 周期
string name // 文件夹/自定义指标_名称
... // 指标输入参量列表
);
看了以上icustom 的说明,但还是不懂,求教各位。
例:icustom(null,0,"mymacd",12,26,9) 默认是第一根线的值,如何得到第三根的呢?