VAR0:=((Ema(C,5))*7+(EMA(C,10))*3)/10;
VAR1:=IF((YEAR)>=(2025),0,1);
VAR2:=EMA(EMA(L,21)+(6.8)*(stD(L,2)),55);
VAR3:=EMA(((C/(VAR2))*((1.88)*C+L+O))/(2.75),3);
VAR4:=(((VAR3)-(VAR2))/(VAR2))/2;
VAR5:=(EMA((VAR3)-((VAR4)*(VAR3)),5))*(VAR1);
黄金轨道:=(IF((VAR0)>(VAR5),VAR0,VAR5))*(VAR1),LINETHICK2,COLORYELLOW;
上轨:=IF(((VAR5)<(VAR0))AND((VAR5)<(C*(0.15))),(EMA(C,300))-(3*(STD(C,300))),VAR5),LINETHICK2,COLORYELLOW;
开口XG:BArslASTCOUNT(黄金轨道!=上轨)=1;