运行此代码时,出现错误“使用ReadTableMinMaxMovingAverage时出错 数据输入必须与轴配置匹配。数字轴必须具有数字数据输入或 可以转换为两倍的数据输入”。 请告知。
Low_Gate=tbl.PX_LOW;
High_Gate=tbl.PX_HIGH;
Open_Gate=tbl.PX_OPEN;
Last_Gate=tbl.PX_LAST;
meridian_price=(Low_Gate+High_Gate)/2;
ma_medianPrice13 = movavg(meridian_price,'simple',13);
ma_medianPrice8 = movavg(meridian_price,'simple',8);
ma_medianPrice5 = movavg(meridian_price,'simple',5);
%candle(High_Gate,Low_Gate,Last_Gate,Open_Gate)
grid on
hold on
plot(Date,ma_medianPrice13)
plot(Date,ma_medianPrice8)
plot(Date,ma_medianPrice5)