DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
macd1:=(DIF1-DEA1)*2*60;
MacDA:IF(MACD1>REF(MACD1,1),MACD1,DRAWNULL),
STICK,COLORMAGENTA,LINETHICK1;
MACDB:IF(MACD1<REF(MACD1,1),MACD1,DRAWNULL),
STICK,COLORLICYAN,LINETHICK1;
{ Gupang.com 股-旁-网_通达信股票指标公式}
A10:=BArslAST(REF(crOSS(DIF1,DEA1),1));
底背:=REF(CLOSE,A10+1)>CLOSE AND DIF1>REF(DIF1,A10+1) AND CROSS(DIF1,DEA1);
DRAWLINE(A10=0,DEA1,底背,DEA1,0),COLORYELLOW,LINETHICK3;
DRAWTEXT(底背,-9,’*底背’),COLORRED;
JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
金叉:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(金叉,DEA1*1.04,26) ;
DRAWTEXT(金叉,-2,’*金叉’),COLORYELLOW;
今日换手:vol/CAPITAL*100,COLORYELLOW,NODRAW;
今日量【万手】:VOL/10000,COLORRED;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。