通达信组合顶底指标公式

2024-03-03 10:58发布

顶:100,POINTDOT,COLORGREEN;底:15,POINTDOT,COLORWHITE;中:50,POINTDOT,COLORWHITE; DRAWTEXT(ISLASTBAR,顶,'顶'),COLORGREEN;DRAWTEXT(ISLASTBAR,底,'底'),COLORRED;DRAWTEXT(ISLASTBAR,中,'中'),COLORWHITE;A0:=(H+L+C*2)/4;A1:=HHV(A0,21);A2:=LLV(A0,21);A3:=A1-A2;:EMA((A0-A2)/A3,2)*100,COLORRED,LINETHICK2;趋势1:=MA(趋势,3);趋势2:IF(趋势<趋势1,(趋势-(趋势1-趋势)),趋势);IF(趋势>=趋势1,趋势,DRAWNULL),COLORRED,LINETHICK2;IF(趋势<=趋势1,趋势,DRAWNULL),COLORGREEN,LINETHICK2;C1:=LLV(L,21);C2:=HHV(H,21);C3:=REF(C,1);C4:=EMA((C-C1)/(C2-C1),3)*100;C5
 解锁全文需 1  财富值,免费注册即送20财富值!