MA5:MA(C,5),COLORF00FF0;
MA10:MA(C,10),COLORYELLOW;
MA20:MA(C,20),COLORE66878;
MA30:MA(C,30),COLORWHITE;
MA120:MA(C,120),COLORGREEN,POINTDOT;
MA240:MA(C,240),COLORRED,POINTDOT;
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势:=(A1+A2+A3+A4+A5+A6)/6*100,COLORCYAN,LINETHICK3;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWTEXT(crOSS(X2,X3),L*0.98,’B’);
DRAWTEXT(CROSS(X3,X2),H*1.02,’S’);
STICKLINE(X2>=X3,LOW,HIGH,1,0),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,2,0),COLORBROWN;
STICKLINE(X2<X3,LOW,HIGH,1,0),COLORGREEN;
STICKLINE(X2<X3,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,2.5,0),COLORBLUE;
DRAWTEXT(趋势>=100 AND MA5>REF(MA5,1) AND (CLOSE-OPEN)/OPEN*100>5 AND CLOSE>MA5,L*0.99,”),COLORMAGENTA;
{
选股公式:
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
XG:CROSS(X2,X3);
}
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/172778.html,转载请注明出处。