指标名:通达信EMA乾坤掘金副图指标
EMA是一种用于分析股票价格趋势的平滑平均线,它给予最近的价格更多的权重,使得EMA对价格变动的反应比简单移动平均(SMA)更快。 通过计算价格的EMA,分析师可以更清晰地看到价格趋势的变化,尤其是在短期内。
效果图:
副图指标源码:
HGW:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,HGW,REF(HGW,1),4,0),COLORRED;
STICKLINE(A< B,HGW,REF(HGW,1),4,0),COLORGREEN;
XG1:=A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10 AND HGW>50 AND REF(HGW,1) < 50 AND C/REF(C,1)>1.02 AND C/REF(C,1)< 1.05 AND H/C< 1.03 AND C>O;
AAA:=A>B,HGW,REF(HGW,1);
XG2:=C/REF(C,1)>1.05 AND A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10;
XG:=XG1 OR XG2;
AAQ:=C>MA(C,50);
乾坤线:50 DOTLINE;{股口袋WWW.GUKOUDAI.COM}
AA:=A>B>乾坤线;
DRAWICON(CROSS(AAA,50),50*1.002,9);