通达信有点赚 源码源码
2016-07-25 09:56:00来源:本站整理浏览:150
A1:=(C-REF(C,1))/REF(C,1)*100;
A2:=IF(A1>0,(WINNER(C)-WINNER(REF(C,1)))*100,0);
A3:=IF(A1<0,(WINNER(REF(C,1))-WINNER(C))*100,0);
A4:=EMA(SUM(A2-A3,13),5);
买点1:=CROSS(A4,0) AND EMA(C,5)>EMA(C,13) AND C>EMA(C,13);
买点2:=CROSS(EMA(C,5),EMA(C,13)) AND A4>0;
有点赚:买点1 OR 买点2;
DRAWTEXT(有点赚,0.5,'入就赚')COLORRED
- 上一篇公式:通达信个股基本面指标副图
- 下一篇公式:通达信出击 (源码)