我想在同花顺软件中的K线图上增加日均价线,跟移动平均线类似,分1日,5日,10日,20日,30,60,120。

2024-12-13 15:38:03
推荐回答(3个)
回答1:

J1:AMOUNT/VOL/100;
JJ5:MA(J1,5);
JJ1:MA(J1,10);
JJ2:MA(J1,20);
简单一点的。或者:
J1:AMOUNT/VOL/100;
J5:SUM(AMO,5)/(SUM(V,5)*100);
J10:SUM(AMO,10)/(SUM(V,10)*100);
J20:SUM(AMO,20)/(SUM(V,20)*100);
{个人看法,仅供参考。}

回答2:

MA1:MA(C,1);{1日均线实际就是K线的收盘价,画出来意义不大}
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA120:MA(C,120);

回答3:

P1:AMOUNT/(VOL*100);
P5:SUM(AMO,5)/(SUM(V,5)*100);
P10:SUM(AMO,10)/(SUM(V,10)*100);
P20:SUM(AMO,200)/(SUM(V,20)*100);
......