飞狐顶部预测指标公式

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

input:mm(50),nn(20);
DT:=IF(CLOSE>REF(CLOSE,1),0.65*VOL,0.45*VOL);
CW2:=SUM(DT,MM);
中期成本:=SUM(CLOSE*DT,MM)/CW2;
YC:=中期成本*1.55/(MA(DT,MM/3)/MA(VOL,MM*2/3));
{压力或支撑:(CLOSE+YC)/2.81*FILTER(IF(CLOSE=HHV(CLOSE,5) AND VOL=HHV(VOL,NN) AND (CLOSE>OPEN OR CLOSE>REF(CLOSE,1)),1,0),10),STICK,LINETHICK8;}
CY:=(CLOSE+YC)/2.81*IF(CLOSE=HHV(CLOSE,5) AND VOL=HHV(VOL,NN) AND (CLOSE>OPEN OR CLOSE>REF(CLOSE,1)),1,0),STICK,LINETHICK8;
压力或支撑:IF(CY>0,SUM(CY,10)/COUNT(CY>0,10),0);
{撑压位:压力或支撑*0.89,STICK;}
目标1:压力或支撑*1.2,STICK,COLORGREEN,LINETHICK5;
目标2:压力或支撑*1.43,STICK,LINETHICK3;
目标3:压力或支撑*1.66,STICK,LINETHICK2;
目标4:压力或支撑*1.9,STICK;

202108211153.jpg

202108211153.jpg

 

回复

使用道具 举报

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

本版积分规则