PPO true/false condition

I’m trying to add a PPO as a condition in my watchlist. The script is valid but gives a value instead of a true/false. This is the script I’m using. Can someone tell me where my error lies.

Thanks Peter

//Calculate the Moving averages  MA1 = MA(BARS=12, STYLE=Exponential, CALC=Close); 
 MA2 = MA(BARS=24, STYLE=Exponential, CALC=Close);  
  //Calculate the output plots 
 Plot1 =((MA1 - MA2) / MA2)*100; 
Plot2 = MA(Plot1, BARS=9, STYLE=Exponential); 
Plot3 = (Plot1 - Plot2) isup ;

Plot3=Plot1-Plot2;

Plot3 IsUp

 

Thanks Michael. I needed to add the histogram back in, and it’s working correctly.

Thanks