通达信回归主图指标公式

2024-05-13 13:00发布

回归线:=EMA(SLOPE(C,4)*20+C,42);R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(R,3,1); D:=SMA(K,3,1); J:=3*K-2*D;MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));MAHL2:=IF(EMA(C,2)>回归线 AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}MAHL3:=IF(EMA(C,2)>回归线 AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}回归带:DRAWBAND(回归线,RGB(235,0,230),REF(回归线,2),RGB(0,104,154));DRAWKLINE(H,O,L,C);Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z
 解锁全文需 1  财富值,免费注册即送20财富值!