手机端
当前位置:爱约股 > 公式技巧 > 把大盘K线作为附图指标

把大盘K线作为附图指标

请教老师怎么把大盘K线作为附图指标?请老师出手编个指标

爱约股解答:

DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);

大盘:INDEXC,COLORWHITE,NODRAW;

X:INDEXC-REF(INDEXC,1),COLORLIGRAY,NODRAW;

沪深:"000300$CLOSE",NODRAW;

Y:"000300$CLOSE"-REF("000300$CLOSE",1),COLORLIGRAY,NODRAW; 

MA5:MA(INDEXC,5),COLORFFFFFF;

MA10:MA(INDEXC,10),COLOR00FFFF;

MA20:MA(INDEXC,20),COLORFF00FF;

MA60:MA(INDEXC,60),COLOR00FF00;

TAG:
分享至:

相关推荐