通达信宝塔线主图指标公式

通达信流动资金指标公式

{宝塔线主图}

{MA5:MA(C,5),COLORYELLOW;

MA10:MA(C,10),COLORFF00FF;

MA15:MA(C,15),COLOR00FF00;

MA30:MA(C,30),COLORFFCCCC;}

R1:=MA(CLOSE,1);

R2:=MA(CLOSE,3);

R3:=(MA(R2,1)*1);

R4:=(MA(R2,3)*1);

DRAWTEXT(crOSS(R3,R4),(LOW-0.1),'B'),COLORBDB76B;

X1:=(C+L+H)/3;

A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);

LC:=REF(CLOSE,1);

rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'S'),COLORGREEN;

通达信全息线主副图指标公式