以下是大智慧三金叉主图指标
大智慧三金叉主图指标
源码
{三金叉见底}
{均线}
maM:ma(c,5);
maN:ma(c,10);
均线金叉:if(cross(maM,maN),1,0);
AA:if(count(均线金叉,5)>0,1,0);
{均量}
MAvM:=MA(VOL,5);
MAvN:=MA(VOL,10);
均量金叉:=if(cross(MAvM,MAvN),1,0);
AB:if(count(均量金叉,5)>0,1,0);
{MACD}
SQX:=(C-MA(CLOSE,13)*10);
diff:=EMA(MA(sqx,7),1);
dea:=EMA(diff,7);
macd:=(diff-dea)*2,;
MACD低位金叉:=IF(CROSS(DIFF,DEA) AND DIFF<-0.1,0.3,0);
AC:if(count(MACD低位金叉,5)>0,1,0);
三金叉★: if(AA>0 and AB>0 and AC>0,1, 0 ),COLORred;
DRAWTEXT(三金叉★>0,LOW*0.99,’★’),COLORred;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)