LC:=REF(C,1);
rsiI:=SMA(MAX(C-LC,0),14,1)/SMA(Abs(C-LC),14,1)*100;
压力:HHV(MA(RSII,3),13),COLORGREEN;
支撑:LLV(MA(RSII,3),13),COLORYELLOW;
VAR2:MA(RSII,8),COLOR888888;
VAR3:REF(VAR2,3),COLOR888888;
STICKLINE(VAR2>=VAR3,VAR3,VAR2,3,1),COLOR00FFFF;
STICKLINE(VAR3>VAR2,VAR2,VAR3,3,1),COLORFFBB00;
RSI:RSII,COLORFFFFFF,LINETHICK2;
VAR4:IF(RSI<VAR2,RSI,VAR2),COLORRED,LINETHICK3;
AA:=REF(RSI,3)=HHV(RSI,2*3+1);
BB:=MA(AA,3+1);
CC:=FILTER(BB,3) AND RSI=HHV(RSI,3+1);
{股旁网-股票公式网站 www.gupang.com}
A1:=BArslAST(REF(CC,1));
顶背离:=REF(CLOSE,A1+1)<CLOSE AND REF(RSI,A1+1)>RSI AND CC;
DRAWTEXT(顶背离,压力+1.5,’DBL’),COLORMAGENTA;
DRAWLINE(CC,RSI,FILTER(顶背离>0,5),RSI,0),COLORWHITE;
AA2:=REF(RSI,3)=LLV(RSI,2*3+1);
BB2:=MA(AA2,3+1);
CC2:=FILTER(BB2,3) AND RSI=LLV(RSI,3+1);
A2:=BARSLAST(REF(CC2,1));
底背离:=REF(C,A2+1)>CLOSE AND REF(RSI,A2+1)<RSI AND CC2;
DRAWTEXT(底背离,支撑-1.5,’DBL’),COLORMAGENTA;
DRAWLINE(CC2,RSI,FILTER(底背离>0,5),RSI,0),COLORWHITE;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)