DIFFPCT() Function
Overview
Available from Optuma 2.0 and onward the DIFFPCT() scripting function allows you to plot the difference (as a percentage) between two different plot values.
For example, the difference in value between 2 moving averages, or the Closing Price and Upper Bollinger band plot.
Example Script
V1 = MA(BARS=25);
V2 = MA(BARS=150);
DIFFPCT(V1,V2)
Show View using the above script to display the difference between a 25SMA and 150SMA (as a percentage).