编写要求:
请老师帮忙写出这个主图的选股公式。即出现红箭头和“注”的提示的选股。谢谢
DRAWLINE(C=HHV(C,60),HHV(H,3),C=HHV(C,30) AND C=HHV(HIGH,30),HIGH,LOW<=LLV(LOW,10),HHV(HIGH,6),1),COLORFFCCCC;
AB:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;
DRAWLINE(LOW<=LLV(LOW,120),LOW,HHV(H,6)<=HHV(H,10),LLV(LOW,6),1),COLORBLUE;
VA11:=HIGH>=HHV(HIGH,60);
V1:=(REF(VA11,1)>0 AND VA11<1);
VA12:=LOW<=LLV(LOW,60);
V2:=REF(VA12,1)>0 AND VA12<1;
CD:DRAWLINE(V2,LOW,V1,LLV(LOW,6),1),COLOR0099FF;
DRAWICON(CROSS(C,AB),L*0.98,1);
{DRAWTEXT(CROSS(C,AB),L*0.98,'B'),COLORGRAY;}
DRAWTEXT(CROSS(CD,C),L*0.98,'注'),COLORYELLOW;
解答:
?{红箭头}
AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1);