飞狐均价差指标公式

[复制链接]
查看203 | 回复0 | 2021-8-21 12:50:40 | 显示全部楼层 |阅读模式

均价: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.gupang.com}
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;

202108211228.jpg

202108211228.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则