飞狐均线金叉三角主图指标公式

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

ft:=cross(ma(c,5),ma(c,10));
fy:=cross(ma(c,10),ma(c,20));
fu:=cross(ma(c,5),ma(c,20));
ts510:=if(cross(ma(c,10),ma(c,5)),0,BARSLAST(ft));
ts1020:=if(cross(ma(c,10),ma(c,5)),0,BARSLAST(fy));
ts520:=if(cross(ma(c,10),ma(c,5)),0,BARSLAST(fu));
ft1:=ref(ma(c,5),ts510+1);
fy1:=ref(ma(c,10),ts1020+1);
fu1:=ref(ma(c,20),ts520+1);
ts520:=BARSLAST(fu);
DRAWLINE(ft,ft1,fy,fy1,0),colorred,linethick2;
DRAWLINE(ft,ft1,fu,fu1,0),colorred,linethick2;
DRAWLINE(fu,fu1,fy,fy1,0),colorred,linethick2;

202108211148.jpg

202108211148.jpg

 

回复

使用道具 举报

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

本版积分规则