{} 收距:=(INDEXC-EMA(INDEXC,12))/EMA(INDEXC,12)*100; 九收:=EMA(收距,9); DIF2:(EMA(C,12)-EMA(C,26))/EMA(C,26)*100; DEA2:EMA(DIF2,9); DRAWBAND(DIF2,RGB(205,92,92),DEA2,RGB(28,134,238)); MACD2:(DIF2-DEA2)*2,NODRAW; STICKLINE(MACD2>=0 AND MACD2>REF(MACD2,1),0,MACD2,2.5,0),COLORRED; STICKLINE(MACD2<0 AND MACD2<REF(MACD2,1),0,MACD2,2.5,0),COLORMAGENTA; D升:IF(DIF2>=REF(DIF2,1),DIF2,DRAWNULL)COLORRED,LINETHICK2; M升:STICKLINE(MACD2<0 AND MACD2>=REF(MACD2,1),0,MACD2,2.5,0)COLORWHITE; M降:STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,2.5,0)COLORYELLOW; M位:(MACD2-LLV(MACD2,20))/(HHV(MACD2,20)-LLV(MACD2,20))*10,COLORRED,LINETHICK2; 上:IF(M位>REF(M位,1),M位,DRAWNULL),COLORRED; 下:IF(M位<REF(M位,1),M位,DRAWNULL),COLORGREEN,LINETHICK2; D位:(DIF2-LLV(DIF2,20))/(HHV(DIF2,20)-LLV(DIF2,20))*10,COLORYELLOW; E位:(DEA2-LLV(DEA2,20))/(HHV(DEA2,20)-LLV(DEA2,20))*10,COLORLICYAN; DRAWICON(CROSS(E位,0.001),-9,13); 筑底:IF(M位=0 AND D位=0,-7,-10); 短底:IF(M位=0 AND D位=0 AND E位=0,-5,-10),LINETHICK2,COLORGREEN; 潜:IF(LAST(MACD2<0,5,0)AND MACD2>=REF(MACD2,1),-12,-10),COLORYELLOW; DRAWICON(M位<10 AND REF(M位,1)=10,M位*0.985,2); 大盘超跌:IF(九收<=-5 AND DEA2<=-5,5,0); 声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)