在(涨)主图指标上加多一个大于45度角条件
2020/5/3 19:13:18
公式编写说明:
请老师在以下原码加多一个大于斜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;
投股票 网 www .tou18.cn
股市公式下载推荐