Bruce,
Looks like there is syntax error. I could not figure it out.
Venkat

input stDevLength = 6;
input averageLength = 2;
input averageType = AverageType.EXPONENTIAL;
def stDevHi = StDev(high, stDevLength);
def stDevLo = StDev(low, stDevLength);
def avgStDevHiUp = MovingAverage(averageType, if high > high[1] then stDevHi else 0, averageLength);
def avgStDevHiDown = MovingAverage(averageType, if high < high[1] then stDevHi else 0, averageLength);
def avgStDevLoUp = MovingAverage(averageType, if low > low[1] then stDevLo else 0, averageLength);
def avgStDevLoDown = MovingAverage(averageType, if low < low[1] then stDevLo else 0, averageLength);
def rviHi = if avgStDevHiUp + avgStDevHiDown == 0 then 50 else 100 * avgStDevHiUp / (avgStDevHiUp + avgStDevHiDown);
def rviLo = if avgStDevLoUp + avgStDevLoDown == 0 then 50 else 100 * avgStDevLoUp / (avgStDevLoUp + avgStDevLoDown);
plot RVI = (rviHi + rviLo) / 2;
plot OverBought = 80;
plot OverSold = 20;

When will the V16 be available for MAC

When will the MAC version of V16 be relased

I am interested in dividing SP500 stock price chart by US dollar index and multiply by the current ten year interest rate. How can i do this TC2000?
Thanks in advance for suggestions
