飞狐专捕主升浪指标公式

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

N:=99;
M:=21;
X:=9;
VARA:ema((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,M);
VARB:ema(VARA,X);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
XG:CROSS(CCI,10) AND COUNT((C/REF(C,1)-1)*100>5,10)<4 AND C>O AND VOL>REF(VOL,1);
STICKLINE(CROSS(VARA,VARB) AND VARB>REF(VARB,1) AND COUNT((C/REF(C,1)-1)*100>5,4)<3,0,50,2,0),COLORYELLOW;
STICKLINE(XG AND CROSS(VARA,VARB) AND VARB>REF(VARB,1) AND VARB<50 AND COUNT((C/REF(C,1)-1)*100>5,4)<3,0,100,2,0),COLORRED;

202108211147.jpg

202108211147.jpg

 

回复

使用道具 举报

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

本版积分规则