N:=10;
主导:EMA(C,3),LINETHICK2;
FL:=MA(CLOSE,N)+ABS(MA(CLOSE,N)-REF(MA(CLOSE,N),1)),COLORF4E201;
FS:=MA(CLOSE,N)+MA(CLOSE,N)-REF(MA(CLOSE,N),1),COLORF4E202,LINETHICK1;
CG:=IF(MA(CLOSE,N)<FS,FS,MA(CLOSE,N)),COLORF4E202,LINETHICK1;
先导:EMA(CG-(EMA(CLOSE,3)-CG),3),COLORCYAN;
间距:(主导-先导)/先导*100,NODRAW;{}
线1:=SMA(HHV(HIGH,13)+LLV(LOW,13)-C,3,1);
延续:SMA(线1,3,1),LINETHICK2,COLOR4400FF;
线:=SMA(HHV(HIGH,10)+LLV(LOW,10)-C,3,1);
惯性:SMA(线,3,1),,COLOR4499FF;
{变盘:(惯性-先导)/先导*100,NODRAW;};