阴线数跌副图公式源码 直观看调整阴线的天数

[复制链接]
查看48 | 回复0 | 2022-7-24 06:29:38 | 显示全部楼层 |阅读模式

阴线数跌副图公式源码 直观看调整阴线的天数

DOWN1:=COUNT(C<REF(C,1),1)=1;
 STICKLINE(DOWN1,55,45,2,0),COLOR999999;
 DOWN2:=COUNT(C<REF(C,1),2)=2;
 STICKLINE(DOWN2,45,55,2,0),COLOR999999;
 STICKLINE(DOWN2,35,45,2,0),COLOR009900;
 DOWN3:=COUNT(C<REF(C,1),3)=3;
 STICKLINE(DOWN3,45,55,2,0),COLOR999999;
 STICKLINE(DOWN3,35,45,2,0),COLOR009900;
 STICKLINE(DOWN3,25,35,2,0),COLOR009999;
 DOWN4:=COUNT(C<REF(C,1),4)=4;
 STICKLINE(DOWN4,45,55,2,0),COLOR999999;
 STICKLINE(DOWN4,35,45,2,0),COLOR009900;
 STICKLINE(DOWN4,25,35,2,0),COLOR009999;
 STICKLINE(DOWN4,15,25,2,0),COLOR993399;
 DOWN5:=COUNT(C<REF(C,1),5)=5;
 STICKLINE(DOWN5,45,55,2,0),COLOR999999;
 STICKLINE(DOWN5,35,45,2,0),COLOR009900;
 STICKLINE(DOWN5,25,35,2,0),COLOR009999;
 STICKLINE(DOWN5,15,25,2,0),COLOR993399;
 STICKLINE(DOWN5,5,15,2,0),COLOR990000;
 DOWN6:=COUNT(C<REF(C,1),6)=6;
 STICKLINE(DOWN6,45,55,2,0),COLOR999999;
 STICKLINE(DOWN6,35,45,2,0),COLOR009900;
 STICKLINE(DOWN6,25,35,2,0),COLOR009999;
 STICKLINE(DOWN6,15,25,2,0),COLOR993399;
 STICKLINE(DOWN6,5,15,2,0),COLOR990000;
 STICKLINE(DOWN6,-5,5,2,0),COLORCYAN;
 DOWN7:=COUNT(C<REF(C,1),7)=7;
 STICKLINE(DOWN7,45,55,2,0),COLOR999999;
 STICKLINE(DOWN7,35,45,2,0),COLOR009900;
 STICKLINE(DOWN7,25,35,2,0),COLOR009999;
 STICKLINE(DOWN7,15,25,2,0),COLOR993399;
 STICKLINE(DOWN7,5,15,2,0),COLOR990000;
 STICKLINE(DOWN7,-5,5,2,0),COLORCYAN;
 STICKLINE(DOWN7,-15,-5,2,0),COLORFFFFFF;
 

634488359.jpg

634488359.jpg

 

回复

使用道具 举报

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

本版积分规则