DIFF : EMA(CLOSE,12) – EMA(CLOSE,26);
DEA : EMA(DIFF,9);
macd : 2*(DIFF-DEA), COLORSTICK;
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIFF-DEA);
UP:IF(DIFF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORBB0000,LINETHICK2;
DN:IF(DIFF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2),COLORAA00AA,LINETHICK2;
A1:=BArslAST(REF(crOSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
{抢钱:IF(底背离,0.1,0),LINETHICK3,COLORRED;}
DRAWTEXT(底背离,0.1,’←抢钱啦’),COLORWHITE;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,0.1,’←逃命啦’),COLORWHITE;
{低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;
A:DYNAINFO(3)>L AND 低吸>L;}
D1:=EMA(C,3)-EMA(C,8);
D2:=EMA(O,3)-EMA(O,8);
D3:=EMA(L,3)-EMA(L,8);
D4:=EMA(H,3)-EMA(H,8);
A11:=(D1+D2+D3+D4)/4;
股价轨迹:A11,COLORGREEN,LINETHICK2;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)