 
等级: 超级版主
- 注册:
- 2021-5-18
- 曾用名:
|
tt:=time>=020000&&time<=030000;
upqk:=l-ref(h,2);
q0:=exist(tt&&c>ref(c,2)&&upqk>0,todaybar);
condd:q0&&tt&&l<valuewhen(q0&&tt&&c>ref(c,2)&&upqk>0,l)&&l>=valuewhen(q0&&tt&&c>ref(c,2)&&upqk>0,ref(l,2));
condp:=q0&&tt&&l<valuewhen(q0&&tt&&c>ref(c,2)&&upqk>0,l)&&l<valuewhen(q0&&tt&&c>ref(c,2)&&upqk>0,ref(l,2));
drawtext(condd&&count(condd,barslast(cross(tt,0.5))) and ref(condd=0,1),l,'b',rgb(128,0,0)); |
|