N:=250;
均价:=(0.618*(0.809*C+0.191*O)+0.382*(IF(H=C,C,H)+IF(L=C,C,L))/2);
AA:=(WMA(均价,34)*0.618+(WMA(均价,55)+WMA(均价,89))/2+WMA(均价,144)*0.382)/2;
黄金线:=(REF(AA,2)+REF(AA,1)+REF(AA,0))/3;
AC:=IF(BARSCOUNT(C)=1,C,均价);
AO1:=REF(AC,1)/2;
AO:=IF(BARSCOUNT(C)=1,O,REF(AO1,1)+REF(AC,1)/2);
M:=C/REF(C,1);{www.9m8.cn 九毛八公式指标网}
G:=AMOUNT/HHV(REF(AMOUNT,1),250);
HI:=HHV(REF(C,1),250)-LLV(REF(C,1),250);
MGH:=IF(均价 黄金线,SGN(AC-AO)*M*G*HI,-1*ABS(M*G*HI));
相对重力势能:MGH/ABS(HHV(MGH,N)-LLV(MGH,N)),VOLSTICK;
0.4;