实用型指标 趋势和位置 通达信指标公式 源码 贴图
{趋势和位置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.88GS.COM}
红:IF(DB>=REF(DB,1) OR XA_4,DB,DRAWNULL),COLORRED,LINETHICK2;
XA_5:=MACD.DIF#WEEK*XA_1;{WWW.88GS.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;
- 上一篇公式:源码奉上 猎豹出击升级 通达信指标 源码 贴图
- 下一篇公式:股友们的炒股神器 拓荒神器 通达信指标 源码 贴图