通达信提示顶底主图指标公式

通达信简明波段主图指标公式

通达信提示顶底主图指标公式:

M5:EMA(CLOSE,5),COLOR008000;

{M8:EMA(CLOSE,8) ;

M13:EMA(M8,13),COLOR0000FF;

M62:EMA(M8,55),COLORF0F000;

VAR1:=EMA(M13,62);

MA50:MA(CLOSE,50);

M81:EMA(M62,81),COLOR00FFFF;

M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;

M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;}

MA10:MA(CLOSE,10);

MA18:MA(CLOSE,10);

RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

X:=LLV(J,2)=LLV(J,8);

Y:=IF(crOSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);

主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);

散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);

VAR2:=LLV(LOW,10);

VAR3:=HHV(HIGH,25);

动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);

DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'风险'),COLORGREEN;

DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减仓'),COLOR00FF00;

DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE;

DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF;

DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED;

DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);

通达信与庄齐舞指标公式