飞狐特殊曲线指标公式

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

趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
FILLRGN(趋势>50,趋势,50),COLOR32329B;
FILLRGN(50>趋势,趋势,50),COLOR326400;
PARTLINE(趋势>50,趋势),COLORRED;
PARTLINE(趋势<50,趋势),COLORGREEN;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
{www.gupang.com 股旁网_飞狐股票指标公式}
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
STICKLINE(转点=1,50,50,6,0),COLORYELLOW;
STICKLINE(转点=0,50,50,6,0),COLORCYAN;
顶部:90,LINEDOT,COLORYELLOW;
底部:10,LINEDOT,COLORCYAN;

202108211205.jpg

202108211205.jpg

 

回复

使用道具 举报

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

本版积分规则