MAA:=MA(CLOSE,N1); MAB:=MA(CLOSE,N2); MAC:=MA(CLOSE,N3); MA1:MA(MA(CLOSE,N1),1); MA2:MA(MA(CLOSE,N2),2); MA3:MA(MA(CLOSE,N3),3); 买入:STICKLINE(CROSS(MA1,MA2),HIGH,LOW,0.5,1),COLOR00FF00; STICKLINE(CROSS(MA1,MA2),OPEN,CLOSE,8,1),LINETHICK2,COLOR00FF00; DRAWICON(CROSS(MA1,MA2),LOW-0.1,3); 加仓:STICKLINE(COUNT(CLOSE>MA3,1)=1 AND REF(CLOSE,3)<REF( REF(MA3,3),1),HIGH,LOW,0.5,1),COLORYELLOW; STICKLINE(COUNT(CLOSE>MA3,1)=1 AND REF(CLOSE,3)<REF( REF(MA3,3),1),OPEN,CLOSE,5,1),COLORYELLOW; DRAWTEXT(COUNT(CLOSE>MA3,3)=3 AND REF(CLOSE,3)<REF( REF(MA3,3),1),LOW,’加仓’),COLORF0F000; 卖出:STICKLINE(CROSS(MA2,MA1),HIGH,LOW,0.5,1),COLORE66878; STICKLINE(CROSS(MA2,MA1),OPEN,CLOSE,6,0),LINETHICK2,COLORE66878; DRAWICON(CROSS(MA2,MA1),HIGH+0.1,4); 声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)