重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
Gao:=HHV(C,60)-LLV(C,60);
rsi:=SMA(MAX(重心-REF(重心,1),0),5,1)/SMA(Abs(重心-REF(重心,1)),5,1);
黄金线:重心+GAO*(RSI-0.5);
上升:crOSS(黄金线,REF(黄金线,1)),COLORRED,LINETHICK0;
PARTLINE(黄金线>ref(黄金线,1),黄金线),LINETHICK3,COLORRED;
下降:CROSS(ref(黄金线,1),黄金线),COLORGREEN,LINETHICK0;
PARTLINE(黄金线<ref(黄金线,1),黄金线),LINETHICK1,COLORGREEN;
DRAWICON(上升,L*0.995,1);
DRAWICON(下降,H*1.005,2);