通达信赚了又赚短线指标源码+图无未来数据(九月惠会员免费)通达信公式
2017-06-13 来源:网络 编辑:翔博软件
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:=BAR
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;