飞狐股经线副图指标
源码
N1:=8;N2:=20;
VAR4: EMA(CLOSE,N1); VAR5: EMA(CLOSE,N2); STICKLINE(VAR4>VAR5,VAR5,VAR4,0.1,0); STICKLINE(VAR4 主线: EMA(VAR5,N2), , ; DRAWTEXT(CROSS(VAR5,VAR4),VAR4,'★止损'), ,; DRAWTEXT(CROSS(VAR4,VAR5),VAR4,'★买入'), , ;