%>
DIFF:=EMA(C,10) -EMA(C,30);
DEA:=EMA(DIFF,3);
向上发散MACD:200*(DIFF-DEA), COLORSTICK;
STICKLINE(C>EMA(C,10),0,向上发散MACD,0,0)COLOR6666FF;
STICKLINE(C<EMA(C,30),0,向上发散MACD,0,0)COLORFFFF66;
VAR1:=(EMA(C,10)-REF(EMA(C,10),1))/REF(EMA(C,10),1)*1000;
VAR2:=(EMA(C,30)-REF(EMA(C,30),1))/REF(EMA(C,30),1)*1000;
STICKLINE(VAR1>=VAR2 AND VAR2>0 AND C>EMA(C,30),0,向上发散MACD,5,1),COLOR6666FF;
个股能量线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)-30, COLORRED,linethick2;
大盘能量线:EMA(100*(INDEXC- LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3)-30,colorgreen,linethick2;
{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}