V1:=MA(CLOSE,17)+Abs(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
V2:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
IF(MA(CLOSE,17)<V2,V2,MA(CLOSE,17))COLORFF00FF,LINETHICK2;
MA10:MA(CLOSE,10),COLORWHITE;
MA30:MA(CLOSE,30),COLOR00FF00,LINETHICK2;
MA55:MA(C,55);
STICKLINE(MA10>=REF(MA10,1),MA10,REF(MA10,1),8,1)COLORRED,LINETHICK2;
STICKLINE(MA10<REF(MA10,1),MA10,REF(MA10,1),8,1)COLORFF9900,LINETHICK2;
A1:=BArslAST(REF(crOSS("macd.DIF"(12,26,9),"MacD.DEA"(12,26,9)),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIF"(12,26,9),A1+1)<"MACD.DIF"(12,26,9) AND CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));
{ _通达信股票指标公式}
C1:=BARSLAST(REF(CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9)),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF"(12,26,9),C1+1)>"MACD.DIF"(12,26,9) AND CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9));

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