年线开关:=1;
XA_1:=IF(年线开关,1,DRAWNULL);
操盘线:EMA(SLOPE(CLOSE,22)*20+CLOSE,55),COLORYELLOW,LINETHICK2;
上升:IF(CLOSE>操盘线,操盘线,DRAWNULL),COLORRED,LINETHICK2;
下降:IF(CLOSE<操盘线,操盘线,DRAWNULL),COLORBLUE,LINETHICK2;
压力:MA(REF(HHV(CLOSE,30),1),2),DOTLINE,COLORGREEN;
支撑:MA(REF(LLV(CLOSE,30),1),2),DOTLINE,COLORRED;
支压域:(压力-支撑)/支撑*100,NODRAW;
MA5:MA(CLOSE,5),COLORCCCCCC;
MA8:MA(CLOSE,10),COLOR00BBBB;
大势线:MA(CLOSE,120),COLOR1188FF,LINETHICK2;
年线:MA(CLOSE,250)*XA_1,COLORMAGENTA,LINETHICK2;
NOTEXT主升:crOSS(CLOSE,压力) AND CLOSE/REF(CLOSE,1)*100>103 AND CLOSE>OPEN AND 支压域<15,NODRAW;
钻石底:CROSS(CLOSE,支撑) AND COUNT(REF(CLOSE<支撑,1),3)=3 AND CLOSE!=REF(CLOSE,1),NODRAW,COLORRED;
DRAWICON(钻石底,LOW*0.98,26);
XA_2:=(压力-支撑)/支撑;
XA_3:=CROSS(CLOSE,压力) AND CLOSE/REF(CLOSE,1)-1>0.05;
NOTEXTF放量:vol>MA(VOL,10)*2 AND CLOSE/REF(CLOSE,1)-1>0.05,NODRAW;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。