均价:sum(AMOUNT,1)/sum(v,1)/100,PRECISION2,LINETHICK0;
均价差:(均价-ref(均价,1))/ref(均价,1)*1000,LINETHICK0;
sma1:=sma(均价差,3,1);
sma2:=sma(均价差,8,1);
DRAWTEXT(均价差>0,0,'☆'),COLOR0000FF,PXUP8;
DRAWTEXT(均价差<0,0,'☆'),COLOR00FF00,PXUP8;
STICKLINE(sma1>sma2,sma1,sma2,6,0),color955fDc;
STICKLINE(sma1>20,sma1,20,6,0),color00ff;
{爱约股-股票公式网站 }
STICKLINE(sma1>sma2 AND sma1<10,sma1,sma2,6,0),color55DDfc;
STICKLINE(sma1<sma2,sma1,sma2,6,0),colordd9966;
STICKLINE(sma1<-20,sma1,-20,6,0),colorff6600;
STICKLINE(sma1<sma2 AND sma1>-10,sma1,sma2,6,0),color99DD66;
看线:ma((sma1+sma2+均价差)/3,3),COLORFFFF99,LINETHICK2;
PARTLINE(MA(C,5)>REF(MA(C,5),1),看线),COLOR0000FF,LINETHICK2;
6,LINEDOT,colorffffff;-6,LINEDOT,colorffffff;
20,LINEDOT,colorffffff;-20,LINEDOT,colorffffff;

 

飞狐均价差指标公式

 

飞狐均价差指标公式的选股公式如下: