有点赚 源码
2016-7-25 10:01:02点击:
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
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
- 上一篇:个股基本面指标(通达信副图) 2016/7/25
- 下一篇:出击 (源码) 2016/7/25