同花顺公式 跑赢BS PLOYLINE(C>0,-0.2),DOTLINE,colorgreen;
PLOYLINE(C>0,0),DOTLINE,coloryellow;
PLOYLINE(C>0,0.2),DOTLINE,colorred;
CY:=INDEXDATA("399006",&CLOSE,0);
ZXB:=INDEXDATA("399005",&CLOSE,0);
HS300:=INDEXDATA("399300",&CLOSE,0);
DP:=HS300;
GG:=C;
DP5:=SUM((DP/REF(DP,3)-1)*100,1);
GG5:=SUM((GG/REF(GG,3)-1)*100,1);
PY6:COUNT(GG5>DP5,6)/6-0.5;
PY12:COUNT(GG5>DP5,12)/12-0.5;
PY24:COUNT(GG5>DP5,24)/24-0.5;
DP1:=SUM(LN(DP/REF(DP,1))*100,1);
GG1:=SUM(LN(GG/REF(GG,1))*100,1);
PY61:=COUNT(GG1>DP1,6)/6-0.5;
PY121:=COUNT(GG1>DP1,12)/12-0.5;
.......
部分源码省略,公式没加密,下载公式导入可看源码
|
