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);
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:
https://www.zhibiao123.cn/161165.html,转载请注明出处。