通达信赚了又赚 源码
-
相关简介:Z,:=(C-REF(C,1))/REF(C,1)*100; AA:EMA(EMA((C-REF(C,1)),6),6)*100/EMA(EMA(ABS((C-REF(C,1))),6),6)COLORGREEN,LINETHICK2; DD:=LLV(AA,BARSLAST(AAREF(AA,1))+1); ZT:=BARSLAST(CROSS(AA,DD*0.66) AND AA0 AND DD-20); 收益:SUM(Z,,IF(ZT=0,1,ZT)),COLORRED,LINETHICK
-
文章来源:股海网作者:股海网发布时间:2019-01-12浏览次数:
Z,:=(C-REF(C,1))/REF(C,1)*100;
AA:EMA(EMA((C-REF(C,1)),6),6)*100/EMA(EMA(ABS((C-REF(C,1))),6),6)COLORGREEN,LINETHICK2;
DD:=LLV(AA,BARSLAST(AA<REF(AA,1))+1);
ZT:=BARSLAST(CROSS(AA,DD*0.66) AND AA<0 AND DD<-20);
收益:SUM(Z,,IF(ZT=0,1,ZT)),COLORRED,LINETHICK0;
MR:=CROSS(AA,DD*0.66) AND AA<0 AND DD<-20;
DRAWICON(MR,AA*0.8,25);
MC:=CROSS(DD,0) AND DD=AA;
DRAWICON(MC,AA*0.9,24);
DRAWTEXT(MC,AA*1.02,'快跑')COLORYELLOW;
DRAWTEXT(MR,AA,'买入')COLORRED;