通达信三线判顶底指标公式
90,COLOR9966FF,LINETHICK2;
80,COLOR996699;
20,COLORGREEN;
10,COLORCC6633,LINETHICK2;
长期线:MA(-100* (HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,COLOR9900FF,LINETHICK2;
短期线:-100* (HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100,COLORRED,LINETHICK2;
中期线:EMA(-100* (HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORYELLOW,LINETHICK2;
见顶:(REF(中期线,1) 85 AND REF(短期线,1) 85 AND REF(长期线,1) 65) AND CROSS(长期线,短期线) ;
顶部区域:(中期线 REF(中期线,1) AND REF(中期线,1) 80) AND (REF(短期线,1) 95 OR REF(短期线,2) 95 ) AND 长期线 60 AND 短期线 83.5 AND 短期线 中期线 AND 短期线 长期线+4;
顶部:=FILTER(顶部区域,4);