论坛

取成交量出错,提示cannot load indicator 'Moving Average' [4002]

//取6、36日成交均量 int volAverage1 = iMA(_Symbol, _Period, 6, 0, MODE_SMA,EMPTY_VALUE); int volAverage2 = iMA(_Symbol, _Period, 36, 0, MODE_SMA,EMPTY_VALUE); //int volAverage1 = iVolumes(_Symbol,6,VOLUME_REAL); //int volAverage2 = iVolumes(_Symbol,36,VOLUME_REAL);

持仓价格的取值

一个新来小白,请问如果取我开仓的价格?持仓价格、赢亏数、持仓量?