1.ͬ?同花图?˳??ͼ??ʽԴ??
ͬ??˳??ͼ??ʽԴ??
修改后的源码如下,这个指标用了未来函数,顺主式源jpush 源码使用时要特别小心
VAR1:=MA(CLOSE,码同ibm mq源码解析);
FLY1: MA(CLOSE,5),LINETHICK1;
FLY2: MA(CLOSE,),LINETHICK1;
FLY3: MA(CLOSE,),LINETHICK1;
FLY4: MA(CLOSE,),LINETHICK1;
FLY5: MA(CLOSE,),LINETHICK1;
VAR2:=CROSS(MA(CLOSE,5),MA(CLOSE,));
DRAWICON(VAR2,LOW-LOW*0.,1);
DRAWTEXT(VAR2 AND CLOSE>MA(CLOSE,),LOW-LOW*0.,'←少量买 '),coloryellow;
DRAWTEXT(VAR2 AND CLOSE>=MA(CLOSE,) AND CLOSE<=MA(CLOSE,),LOW-LOW*0.,'←半仓买'),coloryellow;
DRAWTEXT(VAR2 AND CLOSE<MA(CLOSE,),LOW-LOW*0.,'←全仓买 '),coloryellow;
DRAWTEXT(CROSS(ZIG(3,),REF(ZIG(3,),1)),LOW*0.,'←买') , coloryellow,LINETHICK2;
DRAWTEXT(CROSS(REF(ZIG(3,),1),ZIG(3,)),HIGH*1.,'←卖') , colorgreen,LINETHICK2;
STICKLINE(CROSS(ZIG(3,),CLOSE,OPEN,8,0),COLORYELLOW;//加了一句代码