X_1:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
X_2:=X_1*(CLOSE-LOW);
X_3:=X_1*(HIGH-CLOSE);
X_4:=X_2-X_3;
获利:EMA(X_4,60)*60/(FINANCE(46)*CLOSE)*100,COLORRED;
亏损:EMA(-X_4,60)*60/(FINANCE(46)*CLOSE)*100,COLORGREEN;
高:REF(HHV(X_4/(FINANCE(46)*CLOSE),60),1)*100,DOTLINE,COLORWHITE;