%> 飞狐均价差指标公式_股票教程网
飞狐均价差指标公式 2195

均价: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;

{股票教程网-股票公式网站 www.gwgz.net}

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;


 

{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}