请老师在以下原码加多一个大于斜45度角的条件,谢谢! AA:=(C-REF(C,1))/REF(C,1)*100>=6.5 AND BETWEEN(C,MA(C,60)*0.98,MA(C,60)*1.14) AND(VOL*100/CAPITAL)>6 AND (C-REF(C,1))/REF(C,1)*100>=6.5 ; DRAWTEXT(AA,C*0.90,'☆'),COLOR00FFFF; DRAWTEXT(AA,C*0.87,'涨'),COLOR00FFFF;
爱约股解答:
角度:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
AA:=(C-REF(C,1))/REF(C,1)*100>=6.5 AND BETWEEN(C,MA(C,60)*0.98,MA(C,60)*1.14)
AND(VOL*100/CAPITAL)>6 AND (C-REF(C,1))/REF(C,1)*100>=6.5 ;
DRAWTEXT(AA,C*0.90,'☆'),COLOR00FFFF;
DRAWTEXT(AA,C*0.87,'涨'),COLOR00FFFF;
DRAWTEXT(角度>=45,C*0.90,'∠45'),COLOR00FFFF;