a:=ma(-100*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)),19),colorred;b:=-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14));d:=ema(-100*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)),4),linethick2;长期线:a+100,color9900ff;短期线:b+100,color888888,colorred;中期线:d+100,coloryellow,linethick2;80,color996699;20,colorgreen;10,colorcc6633,linethick2;90,color9966ff,linethick2;见顶:=((ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线)) ,colorgreen;顶部区域:(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5and 短期线<中期线 and 短期线<长期线+4,colorgreen;顶部:=filter(顶部区域,4);stickline( {见顶 or} 顶部,99,103,20,1 ),colorred,linethick2;底部区域:(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1)))or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ,colorgreen;stickline( 底部区域,-4,0,22,0 ),colorgreen;低位金叉:50*(长期线<15 and ref(长期线,1)<15 and 中期线<18 and 短期线>ref(短期线,1) and cross(短期线,长期线) and 短期线>中期线 and (ref(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线 or ref( 短期线,1)<1 )),colorred;stickline( 低位金叉,0,5,11,0 ),colorred;股票公式专家团为你解答,希望能帮到你,祝投资顺利。 20210311