{趋势和位置3}
轴:0,COLORGREEN;
XA_1:=IF(DATE<=127121588,1,0);
DB:(EMA(CLOSE,8)-EMA(CLOSE,26))*XA_1,COLORWHITE,LINETHICK2;
XA_2:=CLOSE>MA(CLOSE,5) OR (MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND (HIGH+LOW)/2>MA(CLOSE,5));
XA_3:=CLOSE>EMA(CLOSE,5) OR (EMA(CLOSE,5)>REF(EMA(CLOSE,5),1) AND (HIGH+LOW)/2>EMA(CLOSE,5));
XA_4:=XA_2 OR XA_3;{WWW.70822.com}
红:IF(DB>=REF(DB,1) OR XA_4,DB,DRAWNULL),COLORRED,LINETHICK2;
XA_5:=MACD.DIF#WEEK*XA_1;{WWW.70822.com}
XA_6:=(BARSLAST(XA_5<REF(XA_5,1) OR XA_5>REF(XA_5,1))+1)*XA_1;
DDA:EMA(EMA(XA_5,XA_6+5),XA_6+5)*XA_1,COLORBLUE,LINETHICK2;
XA_7:=MACD.MACD#WEEK*XA_1;
粉:IF(DDA>=REF(DDA,XA_6),DDA,DRAWNULL),COLORMAGENTA,LINETHICK2;
浅绿:IF(XA_7>=REF(XA_7,XA_6),DDA,DRAWNULL),COLORLICYAN,LINETHICK2;
黄:IF(XA_7>=REF(XA_7,XA_6) AND DDA>=REF(DDA,XA_6),DDA,DRAWNULL),COLORYELLOW,LINETHICK2;
p20183112311614244.jpg
|