网友求助:

公式在下面

UPPERL: MA(HIGH,n1)*(1+p1/100),colorwhite;
UPPERS: MA(HIGH,n2)*(1+p2/100),coloryellow;
LOWERS: MA(LOW,n2)*(1-p2/100),colorff00ff;
LOWERL: MA(LOW,n1)*(1-p1/100),color00ff00;
 

 

 

解答如下:

p1:=15;n1:=30;
UPPERL:=MA(HIGH,n1)*(1+p1/100);
C>UPPERL;