源码
{K线历史回顾公式,需要下载盘后数据}
{如果要查看200天以上的K线需要断线查看。}
{参数名 N 最小 1.00 最大 999999.00 缺省 90.00}
开:REF(OPEN,N),NODRAW,COLORCYAN;
高:REF(HIGH,N),NODRAW,COLORYELLOW;
低:REF(LOW,N),NODRAW,COLORLIGRAY;
收:REF(CLOSE,N),NODRAW,COLORGREEN;
A:DRAWKLINE(高,开,低,收);
±%: (REF(CLOSE,N)-REF(CLOSE,N+1))/REF(CLOSE,N+1)*100,NODRAW;
均价:REF(SUM(AMO,N),1)/REF(SUM(VOL,N),1)/100,NODRAW;
万股:REF(VOL/100,N)NODRAW;
换手%:REF(VOL,N)/(CAPITAL)*100,NODRAW;
振幅:REF((HIGH-LOW)/LOW*100,N),NODRAW;
十:=REF(EMA(C,10),N),COLORWHITE;
日期:REF(DATE,N)NODRAW,COLORWHITE;