My code:
slowLine = Slope(CCI(14), 1, 0);
fastLine = Slope(CCI(6), 1, 0);
I tried Slope(CCI(14), CurrentBar-1, 0); But got some really funky output. A very large number. I just want the slope from previous bar to current bar.
BTW, what is your formula for the calc'ing of Slope();?

Thanks, let me know when the update is available.
Comment