关于引用取值
OnInit() { id = SubscribeBar(ContinuousSymbol(), "1d", 20180101); } OnBar(ArrayRef<Integer> indexs) { Ma60 = Data[1].AverageFC(Close,60); PlotNumeric("Ma60",Ma60); }老师请问代码中写的这个引用 但是明显这条曲线是错误的 是哪里出的问题呢 目前是引用日线60日均到15min周期
OnInit() { id = SubscribeBar(ContinuousSymbol(), "1d", 20180101); } OnBar(ArrayRef<Integer> indexs) { Ma60 = Data[1].AverageFC(Close,60); PlotNumeric("Ma60",Ma60); }老师请问代码中写的这个引用 但是明显这条曲线是错误的 是哪里出的问题呢 目前是引用日线60日均到15min周期
你上面是不是复权了。上下保持设置一致,要么都复权,要么都不复权