S:=26;P:=12;M:=9;
A:=EMA(CLOSE,S);
T:=EMA(CLOSE,P);
B:=EMA(A,M);
T1:=EMA(T,M);
DEA:EMA(T-(T1-T),2);
DIFF:DEA-EMA(((A-B)-(T-T1)),1)*6;
DRAWBAND(DEA,RGB(55,55,55),DIFF,RGB(160,20,180));
{macd_:STICKLINE(DIFF>DEA,DIFF,DEA,0,0),COLORCCCCFF;
STICKLINE(DIFF<DEA,DIFF,DEA,0,0),COLOREEAA88;}
IF(A-B<T-T1,DEA,DRAWNULL),COLORRED;
IF(A>T AND A-B>T-T1,DEA,DRAWNULL),COLOR00FF00;
IF(A>T AND A-B<T-T1,DEA,DRAWNULL),COLORFF00BB;
持股:DEA<DIFF,NODRAW,COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XG:crOSS(DIFF,DEA),NODRAW,COLORWHITE;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)