新闻资讯Position
你的位置:开云彩票(中国)官方网站 > 新闻资讯 > 开云彩票'↓')-开云彩票(中国)官方网站
发布日期:2025-03-09 08:02 点击次数:155
DEA : EMA(DIFF,15),COLORYELLOW开云彩票,LINETHICK2;
MACD:=2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSSDOWN(DIFF,DEA);
CROSS(DIFF,DEA),SOUND('A');
CROSSDOWN(DIFF,DEA),SOUND('B');
DRAWTEXT(CROSS(DIFF,DEA),DIFF,'↑'),COLORWHITE,FONTSIZE72,VALIGN0;
DRAWTEXT(CROSSDOWN(DIFF,DEA),DIFF,'↓'),COLORYELLOW,FONTSIZE72,VALIGN2;
N1:=BARSLAST(JC)+1;
N2:=BARSLAST(SC)+1;
HH:=VALUEWHEN(CROSSDOWN(DIFF,DEA),HHV(H,N1));//前次MACD红柱技碰巧约最大值
HH2:=VALUEWHEN(CROSSDOWN(DIFF,DEA),REF(HH,1));//上前次MACD红柱技碰巧约最大值
MHD:=VALUEWHEN(CROSSDOWN(DIFF,DEA),HHV(MACD,N1));//前次MACD红柱技巧MACD最大值
MHD2:=VALUEWHEN(CROSSDOWN(DIFF,DEA),REF(MHD,1));//上前次MACD红柱技巧MACD最大值
LL:=VALUEWHEN(CROSS(DIFF,DEA),LLV(L,N2));//前次MACD绿柱技碰巧约最小值
LL2:=VALUEWHEN(CROSS(DIFF,DEA),REF(LL,1));//上前次MACD绿柱技碰巧约最小值
MLD:=VALUEWHEN(CROSS(DIFF,DEA),LLV(MACD,N2));//前次MACD绿柱技巧MACD最小值
MLD2:=VALUEWHEN(CROSS(DIFF,DEA),REF(MLD,1));//上前次MACD绿柱技巧MACD最小值
A:=CROSSDOWN(DIFF,DEA)&&HH>HH2&&MHD<MHD2;//顶背离
B:=CROSS(DIFF,DEA)&&LL<LL2&&MLD>MLD2;//底背离
DRAWTEXT(A,DIFF,'顶背'),COLORGREEN,FONTSIZE21;
DRAWTEXT(B,DIFF,'底背'),COLORWHITE,FONTSIZE21;
STICKLINE(MACD>0&&MACD>REF(MACD,1),0,MACD,COLORRED,0);
STICKLINE(MACD<0&&MACD<REF(MACD,1),0,MACD,COLORGREEN,0);
图片开云彩票
本站仅提供存储作事,统共本质均由用户发布,如发现存害或侵权本质,请点击举报。Powered by 开云彩票(中国)官方网站 @2013-2022 RSS地图 HTML地图