飞狐精灵趋势主图指标
源码
N:=21;M:=55;Q:=3;
回归:=(EMA(SLOPE(CLOSE,N)*20+CLOSE,M))*1;
平滑:=EMA(CLOSE,Q);
简单差:=平滑-回归;
STICKLINE(简单差>=0,OPEN,CLOSE,8,0),colorFF;
STICKLINE(简单差>=0,HIGH,LOW,0.1,0),colorFF;
STICKLINE(简单差<0,OPEN,CLOSE,8,0),colorFF00;
STICKLINE(简单差<0,HIGH,LOW,0.1,0),colorFF00;